* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 12pt;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

body {
    width: 100%;
    background: linear-gradient(45deg, #0e0021, #06000f, #0f0f0f);
    font-family: system-ui, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    min-height: 100vh;
    padding: 40px 20px;
}

/* ========== Section Styling ========== */

.about-section, .developer-section {
    max-width: 1000px;
    width: 90%;
    margin: 80px auto 150px;
    padding: 30px;
    background: linear-gradient(145deg, #14001d, #1e002f, #14001d);
    background-size: 300% 300%;
    border-radius: 20px;
    box-shadow: 0 0 30px rgba(144, 77, 255, 0.4);
    color: #e6dcff;
    display: flex;
    flex-direction: column;
    gap: 20px;
    animation: appear 0.8s ease-out forwards 0.3s, shimmer 30s infinite linear;
    opacity: 0;
    transform: translateY(10px);
}

.developer-section {
    animation-delay: 0.4s;
    margin: 20px auto;
    max-width: 800px;
    background: #1e002f;
}

@keyframes appear {
    0% {
        transform: translateY(10px);
        opacity: 0;
    }
    100% {
        transform: translateY(0px);
        opacity: 1;
    }
}

@keyframes shimmer {
    0% {
        background-position: -200%;
    }
    50% {
        background-position: 200%;
    }
    100% {
        background-position: -200%;
    }
}

.about-section:hover, .developer-section:hover {
    transform: rotate(-3deg) scale(1.05);
}

/* ========== Header ========== */

.about-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    justify-content: center;
}

.about-header img {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 0 10px #6f3edc88;
    transition: transform 0.3s ease;
}

.about-header h1 {
    margin: 0;
    font-size: 2rem;
    font-weight: 800;
    color: #cbb2ff;
    text-shadow: 0 0 12px rgba(180, 150, 255, 0.4);
    letter-spacing: 1px;
}

/* ========== Developer ========== */

.aboutDeveloper {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
}

.developer-logo img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 20px #fff700df;
    transition: transform 0.3s ease;
}

.developer-logo img:hover {
    transform: scale(1.1);
}

.developer-content h2 {
    margin: 0 0 10px;
    font-size: 1.8rem;
    font-weight: 700;
    color: #cbb2ff;
    text-shadow: 0 0 10px rgba(180, 150, 255, 0.4);
}

.about-section p, .developer-content p {
    font-size: 1.1rem;
    line-height: 1.75;
    text-align: center;
    color: #e0d0ff;
    text-shadow: 0 0 5px rgba(130, 90, 210, 0.2);
}

.about-section a, .developer-content a {
    color: #b370ff;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.about-section a:hover, .developer-content a:hover {
    color: #e2c6ff;
    text-shadow: 0 0 8px #b370ff88;
}

/* ========== Social Buttons ========== */

.wrapper {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}

.social-button {
    position: relative;
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background-image 0.3s ease, color 0.3s ease;
    text-decoration: none;
    cursor: pointer;
    overflow: hidden;
    box-shadow: 0 0 10px #6f3edc88;
    mix-blend-mode: screen;
}

.social-button:hover {
    transform: scale(1.1);
}

.social-button:before {
    content: '';
    position: absolute;
    top: -5px;
    right: -5px;
    bottom: -5px;
    left: -5px;
    background-size: 400%;
    border-radius: 12px;
    opacity: 0;
    transition: opacity 0.5s ease;
    filter: blur(10px);
    z-index: -1;
}

.social-button:hover:before {
    opacity: 1;
    animation: animate 8s linear infinite;
}

@keyframes animate {
    0% { background-position: 0%; }
    100% { background-position: 400%; }
}

.social-button.youtube:before {
    background: linear-gradient(90deg, #ff0000, #ff5555, #ff0000);
}

.social-button.discord:before {
    background: linear-gradient(90deg, #5865F2, #8e99ff, #5865F2);
}

.social-button.bloxd:before {
    background: linear-gradient(90deg, #00f, #0ff, #00f);
}

.icon-svg {
    width: 36px; /* Slightly larger for better visibility */
    height: 36px;
    fill: white;
    transition: fill 0.3s ease;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Center SVG precisely */
}

/* Hover color per platform */
.wrapper .youtube:hover, .wrapper .discord:hover {
  color: #fff;
}

/* Tooltip */
.tooltip {
    position: absolute;
    top: -35px;
    background: white;
    color: black;
    padding: 4px 8px;
    font-size: 12px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.tooltip::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: white;
}

.social-button:hover .tooltip {
    opacity: 1;
    top: -45px;
}

/* Responsive Tweaks */
@media screen and (max-width: 768px) {
    .about-section, .developer-section {
        margin: 40px auto 100px;
        padding: 20px;
    }

    .about-header h1 {
        font-size: 1.5rem;
    }

    .about-header img {
        width: 40px;
        height: 40px;
    }

    .about-section p, .developer-content p {
        font-size: 1rem;
    }

    .aboutDeveloper {
        flex-direction: column;
        align-items: center;
        padding: 15px;
    }

    .developer-logo img {
        width: 120px;
        height: 120px;
    }

    .developer-content h2 {
        font-size: 1.5rem;
        text-align: center;
    }

    .social-button {
        width: 40px;
        height: 40px;
    }

    .icon-svg {
        width: 24px;
        height: 24px;
    }

    .social-button:before {
        top: -4px;
        right: -4px;
        bottom: -4px;
        left: -4px;
        border-radius: 10px;
        filter: blur(8px);
    }
}