@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;800&display=swap');

:root {
    --nokia-purple: #4831d4;
    --accenture-purple: #a100ff;
    --neon-pink: #ff007f;
    --bg-dark: #030303;
}

body {
    margin: 0;
    background-color: var(--bg-dark);
    overflow-x: hidden;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
}

/* Particle layer */
#tsparticles {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    filter: blur(0.5px) brightness(1.2) contrast(1.1);
}

/* Vignette */
body::after {
    content: "";
    position: fixed;
    inset: 0;
    background: radial-gradient(circle, transparent 20%, rgba(0, 0, 0, 0.4) 100%);
    pointer-events: none;
}

/* Hero */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10;
}

.intro-title {
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -2px;
    color: #ffffff;
}

/* Reveal tokens */
.tokens {
    display: inline-block;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
    opacity: 0;
    transform: translateY(80px);
    animation: revealUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.tokens:nth-child(1) { animation-delay: 0.3s; }
.tokens:nth-child(2) { animation-delay: 0.5s; }
.tokens:nth-child(3) { animation-delay: 0.7s; }

.intro-subtext {
    font-size: 1.1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.5px;
    opacity: 0;
    animation: fadeIn 1.2s ease forwards 1.4s;
}
/* Text flipper */
#text-flipper {
    display: inline-block;
    font-weight: 600;
    transition: transform 0.4s ease, opacity 0.4s ease;
}
.flip-out {
    transform: translateY(-20px);
    opacity: 0;
}
.flip-in {
    transform: translateY(20px);
    opacity: 0;
}

/* Links / glass buttons */
.links-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    padding: 40px 20px;
    z-index: 20;
    position: relative;
    margin-top: -120px;
}

.glass-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 25px;
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.001);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}
.glass-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    border-color: var(--accenture-purple);
    box-shadow: 0 10px 40px rgba(161, 0, 255, 0.2);
}
.glass-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 600px) {
    .links-container { 
        flex-direction: column; 
        align-items: center;
        gap: 12px; /* Tighter gap for mobile */
        padding: 20px; /* Reduced padding to save space */
        margin-top: -80px; /* Adjust this value if you used Option 2 from before */
    }

    .glass-link { 
        width: 90%; /* Wider buttons on mobile for easier thumb tapping */
        padding: 12px 20px; /* Slimmer buttons */
        font-size: 0.95rem; 
        justify-content: flex-start; /* Aligns icon and text to the left */
    }

    .intro-title {
        margin-bottom: 10px; /* Less space between title and links */
    }
}

/* Animations */
@keyframes revealUp { to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { to { opacity: 1; } }