/* General Reset */
body, h1, p, button, a {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* Body Styling */
body {
    background: #121212;
    color: white;
    text-align: center;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

/* Ensure page is long enough to prevent footer overlap */
#content-wrapper {
    padding-bottom: 80px;
}

/* Holographic Badge */
#icp-badge {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0.8;
    transition: opacity 0.3s ease-in-out;
    text-decoration: none;
    color: white;
}

#icp-badge img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

#icp-badge:hover {
    opacity: 1;
}

/* Introduction Section */
#intro {
    margin-top: 100px;
}

#techbod-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
}

h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Button Section */
#buttons {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    padding: 20px;
}

/* Button Groups Styling */
.button-group {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* Holographic Buttons Styling */
button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(45deg, #ff00ff, #00ffff, #ff7300);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 1rem;
    min-width: 180px;
    text-align: left;
    background-size: 300% 300%;
    animation: gradient-animation 6s infinite linear;
    transition: transform 0.4s ease-in-out,
                filter 0.4s ease-in-out,
                box-shadow 0.4s ease-in-out;
}

/* Button Images */
button img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
}

/* Hover Effect */
button:hover {
    transform: scale(1.05);
    background-position: 100% 50%;
}

/* Active Click Effect */
button:active {
    transform: scale(0.95);
    transition: transform 0.1s ease-in-out;
}

/* Continuous Gradient Animation */
@keyframes gradient-animation {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* ICP Dapps Section */
#icp-dapps {
    margin-top: 60px;
    margin-bottom: 120px;
}

#icp-dapps h2 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    font-size: 2rem;
}

#icp-dapps h2 img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
}

/* Footer Section */
footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    text-align: center;
    font-size: 0.9rem;
    color: gray;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px 0;
    z-index: 999;
}

/* Mobile Responsiveness */
@media only screen and (max-width: 768px) {

    #intro {
        margin-top: 50px;
    }

    #techbod-image {
        width: 120px;
        height: 120px;
    }

    h1 {
        font-size: 2.5rem;
    }

    p {
        font-size: 1rem;
        margin-bottom: 10px;
    }

    /* Keep desktop-like layout on mobile */
    .button-group {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }

    button {
        min-width: 150px;
        font-size: 0.9rem;
        padding: 8px 14px;
    }

    /* ICP dapps buttons */
    #icp-dapps .button-group button {
        min-width: 150px;
    }

    #buttons {
        margin-bottom: 40px;
    }

    #icp-dapps {
        margin-bottom: 140px;
    }

    #icp-badge {
        position: static;
        justify-content: center;
        margin-top: 15px;
        margin-bottom: 15px;
    }
}