@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;800&display=swap");

:root {
    --bg: #000000;
    --clr-1: #00c2ff;
    --clr-2: #33ff8c;
    --clr-3: #ffc640;
    --clr-4: #e54cff;
    --blur: 1rem;
    --fs: clamp(3rem, 8vw, 7rem);
    --ls: clamp(-1.75px, -0.25vw, -3.5px);
}

/* 1. GLOBAL RESET */
*, *::before, *::after {
    box-sizing: border-box;
    font-family: inherit;
}

body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--bg);
    color: #fff;
    font-family: "Inter", "DM Sans", Arial, sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* 2. THE GEOMETRY LAYOUT FIX */

.button-container {
    margin-top: 2rem;
    z-index: 10;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
    padding: 0 10px; /* Safety padding */
}

.description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-weight: 400;
}

.btn-wrapper {
    display: flex;
    /* This command tells the browser: "If they don't fit, push the next one down" */
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 15px;
    width: 100%;
}

.cta-button {
    display: inline-block;
    text-align: center;

    /* === THE MAGIC FIX === */
    /* By making the button wider than half a phone screen,
       it becomes physically impossible for two to sit side-by-side. */
    min-width: 280px;

    text-decoration: none;
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 14px 0;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #d946ef;
    box-shadow: 0 0 20px rgba(217, 70, 239, 0.4);
    transform: translateY(-2px);
}

/* 3. OTHER PAGE STYLES */
.content {
    text-align: center;
    width: 100%;
    position: relative;
}

.title {
    font-size: var(--fs);
    font-weight: 800;
    letter-spacing: var(--ls);
    position: relative;
    overflow: hidden;
    background: var(--bg);
    margin: 0;
    line-height: 1.1;
    user-select: none;
    -webkit-user-select: none; /* For Safari/iOS compatibility */
    -moz-user-select: none;    /* For Firefox compatibility */
    -ms-user-select: none;     /* For Internet Explorer/Edge compatibility */
}

.watermark {
    position: fixed; bottom: 15px; right: 20px;
    font-size: 12px; color: rgba(255, 255, 255, 0.3);
    font-weight: 500; pointer-events: none; z-index: 100;
}

/* 4. AURORA ANIMATIONS */
.aurora { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 2; mix-blend-mode: darken; pointer-events: none; }
.aurora__item { overflow: hidden; position: absolute; width: 60vw; height: 60vw; background-color: var(--clr-1); border-radius: 37% 29% 27% 27% / 28% 25% 41% 37%; filter: blur(var(--blur)); mix-blend-mode: overlay; }
.aurora__item:nth-of-type(1) { top: -50%; animation: aurora-border 6s ease-in-out infinite, aurora-1 12s ease-in-out infinite alternate; }
.aurora__item:nth-of-type(2) { background-color: var(--clr-3); right: 0; top: 0; animation: aurora-border 6s ease-in-out infinite, aurora-2 12s ease-in-out infinite alternate; }
.aurora__item:nth-of-type(3) { background-color: var(--clr-2); left: 0; bottom: 0; animation: aurora-border 6s ease-in-out infinite, aurora-3 8s ease-in-out infinite alternate; }
.aurora__item:nth-of-type(4) { background-color: var(--clr-4); right: 0; bottom: -50%; animation: aurora-border 6s ease-in-out infinite, aurora-4 24s ease-in-out infinite alternate; }
@keyframes aurora-1 { 0% { top: 0; right: 0; } 100% { top: 0; right: 0; } 50% { top: 100%; right: 75%; } }
@keyframes aurora-2 { 0% { top: -50%; left: 0%; } 100% { top: -50%; left: 0%; } 50% { top: 100%; left: 75%; } }
@keyframes aurora-3 { 0% { bottom: 0; left: 0; } 100% { bottom: 0; left: 0; } 50% { bottom: 100%; left: 75%; } }
@keyframes aurora-4 { 0% { bottom: -50%; right: 0; } 100% { bottom: -50%; right: 0; } 50% { bottom: 0%; right: 40%; } }
@keyframes aurora-border { 0% { border-radius: 37% 29% 27% 27% / 28% 25% 41% 37%; } 50% { border-radius: 57% 23% 47% 72% / 63% 17% 66% 33%; } 100% { border-radius: 37% 29% 27% 27% / 28% 25% 41% 37%; } }

/* --- THE MOBILE BREAK HACK --- */

/* Default (Desktop): It is invisible and takes no space */
.mobile-break {
    display: none;
    width: 0;
    height: 0;
}

/* Mobile: It becomes a giant invisible block that forces a new line */
@media (max-width: 800px) {
    .mobile-break {
        display: block;
        width: 100%;  /* Takes full width, pushing the next button down */
        height: 15px; /* Adds a nice vertical gap */
    }

    /* Ensure the wrapper allows wrapping */
    .btn-wrapper {
        flex-wrap: wrap !important;
        gap: 0 !important; /* <--- REMOVES THE FORCED GAP */
    }
}
/* --- OPTION 2: FROSTED GLASS CARDS --- */
.info-section {
    margin-top: 80px;
    display: grid;
    grid-template-columns: 1fr; /* 1 Column on Mobile */
    gap: 15px;
    width: 100%;
    padding: 0 20px 80px 20px;
    max-width: 1000px;
}

.info-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 16px;
    text-align: center; /* Centered text looks good on cards */
    transition: transform 0.2s, border-color 0.2s;
}

.info-card:hover {
    border-color: var(--clr-4); /* Purple border on hover */
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.06);
}

.info-card h3 {
    color: var(--clr-4); /* Purple Text for Title */
    font-size: 1.1rem;
    margin: 0 0 10px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.info-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* Desktop: Switch to 3 columns grid */
@media (min-width: 768px) {
    .info-section {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* --- MOBILE DRAWER LOGIC --- */

/* 1. Default State (Desktop) - Hide Trigger, Show Info */
.mobile-info-trigger { display: none; }
.drawer-handle { display: none; }

/* 2. Mobile State (Phones Only) */
@media (max-width: 768px) {
/* INSIDE @media (max-width: 768px) { ... */

    .mobile-info-trigger {
        /* Position it in the corner */
        position: fixed;
        bottom: 15px;
        left: 15px;
        margin: 0; /* Remove old centering */

        display: flex;
        justify-content: center;
        align-items: center;

        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        color: #fff;

        width: 50px;
        height: 50px;
        border-radius: 50%;

        cursor: pointer;
        z-index: 900; /* High enough to see, but below the drawer (9999) */
        backdrop-filter: blur(5px);

        /* THE BOUNCE ANIMATION */
        animation: bounce 2s infinite;
    }

    .mobile-info-trigger:hover {
        background: rgba(255, 255, 255, 0.2);
        border-color: var(--clr-4);
    }
    /* Remove border/bg on hover for cleaner look */
    .mobile-info-trigger:hover {
        background: rgba(255, 255, 255, 0.2);
        border-color: var(--clr-4); /* Purple glow */
    }

    /* Define the bounce animation */
    @keyframes bounce {
        0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
        40% {transform: translateY(-10px);}
        60% {transform: translateY(-5px);}
    }

    /* THE SLIDING DRAWER CONTAINER */
    .info-section {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 70vh; /* Takes up 70% of screen height */

        background: rgba(10, 10, 10, 0.95); /* Dark background */
        backdrop-filter: blur(20px);
        border-top: 1px solid var(--clr-4); /* Purple Top Border */
        border-radius: 20px 20px 0 0;

        z-index: 9999; /* Sit on top of everything */
        padding: 20px;
        overflow-y: auto; /* Allow scrolling inside drawer */

        /* ANIMATION LOGIC */
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        transform: translateY(110%); /* Start Hidden (pushed down) */

        /* Reset margins from previous CSS */
        margin: 0;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        gap: 20px;
        box-shadow: 0 -10px 40px rgba(0,0,0,0.5);
    }

    /* THE CLASS THAT MAKES IT SLIDE UP */
    .info-section.active {
        transform: translateY(0); /* Slide to visible */
    }

    /* THE HANDLE / CLOSE BUTTON STYLE */
    .drawer-handle {
        display: flex;
        justify-content: center;
        padding-bottom: 20px;
        cursor: pointer;
        width: 100%;
    }

    .handle-bar {
        width: 50px;
        height: 5px;
        background: rgba(255, 255, 255, 0.3);
        border-radius: 10px;
    }

    /* Adjust cards to look good inside drawer */
    .info-card {
        width: 100%;
        background: rgba(255, 255, 255, 0.05);
        border: none;
    }
}
