/* ================================================
   RESET & BASE
   ================================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #000000;
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
    position: relative;
}


/* ================================================
   MAIN CONTAINER
   ================================================ */
.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 48px;
    padding: 40px 20px;
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================================================
   LOGO
   ================================================ */
.site-title {
    font-family: 'Poppins', sans-serif;
    font-size: 64px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 2px;
    text-align: center;
}

/* ================================================
   SOCIAL MEDIA ICONS
   ================================================ */
.social-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    max-width: 600px;
}

.social-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.65);
    font-size: 16px;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    cursor: pointer;
    overflow: hidden;
}


/* Tooltip */
.social-icon::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    background: rgba(20, 20, 20, 0.95);
    color: #fff;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.social-icon:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Inverted hover effect */
.social-icon:hover {
    background: #ffffff;
    border-color: #ffffff;
    color: #000000;
    transform: translateY(-4px);
}

/* Staggered entrance animation */
.social-icon {
    opacity: 0;
    animation: iconFadeIn 0.5s ease-out forwards;
}

.social-icon:nth-child(1) { animation-delay: 0.3s; }
.social-icon:nth-child(2) { animation-delay: 0.38s; }
.social-icon:nth-child(3) { animation-delay: 0.46s; }
.social-icon:nth-child(4) { animation-delay: 0.54s; }
.social-icon:nth-child(5) { animation-delay: 0.62s; }
.social-icon:nth-child(6) { animation-delay: 0.70s; }
.social-icon:nth-child(7) { animation-delay: 0.78s; }
.social-icon:nth-child(8) { animation-delay: 0.86s; }
.social-icon:nth-child(9) { animation-delay: 0.94s; }

@keyframes iconFadeIn {
    from {
        opacity: 0;
        transform: translateY(16px) scale(0.85);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ================================================
   CONTACT SECTION
   ================================================ */
.contact-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    animation: fadeInUp 1s ease-out 1.1s both;
}

.contact-item {
    text-align: center;
}

.contact-title {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 6px;
}

.contact-email {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-email:hover {
    color: #ffffff;
}

/* ================================================
   RESPONSIVE - TABLET
   ================================================ */
@media (max-width: 768px) {
    .container {
        gap: 36px;
        padding: 30px 16px;
    }

    .site-title {
        font-size: 52px;
    }


    .social-links {
        gap: 12px;
        max-width: 400px;
    }

    .social-icon {
        width: 38px;
        height: 38px;
        font-size: 15px;
        border-radius: 10px;
    }
}

/* ================================================
   RESPONSIVE - MOBILE
   ================================================ */
@media (max-width: 480px) {
    .container {
        gap: 28px;
        padding: 24px 16px;
    }

    .site-title {
        font-size: 42px;
    }


    .social-links {
        display: grid;
        grid-template-columns: repeat(4, auto);
        justify-content: center;
        gap: 10px;
        max-width: 320px;
    }

    .social-icon {
        width: 36px;
        height: 36px;
        font-size: 14px;
        border-radius: 8px;
    }

    /* Hide tooltips on mobile (touch) */
    .social-icon::after {
        display: none;
    }
}

/* ================================================
   RESPONSIVE - VERY SMALL SCREENS
   ================================================ */
@media (max-width: 360px) {
    .site-title {
        font-size: 36px;
    }

    .social-links {
        gap: 8px;
        max-width: 280px;
    }

    .social-icon {
        width: 34px;
        height: 34px;
        font-size: 13px;
        border-radius: 8px;
    }
}
