@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Comic+Neue:wght@400;700&display=swap");
html {
    scroll-behavior: smooth;
}
#games, #resources, #contact {
    scroll-margin-top: 80px;
}
body {
    font-family: "Poppins", sans-serif;
}
/* Profile Popup Arrow */
div#profile-popup::before {
    height: 0px;
    width: 0px;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #ec4899;
    border-top: 10px solid transparent;
    position: relative;
    content: "";
    position: absolute;
    right: 64px;
    top: -20px;
}
/* Profile Popup Arrow */

.form-input {
    transition: all 0.3s ease;
}

.form-input:focus {
    transform: scale(1.02);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2);
}

.card-text {
    height: 125px;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
        line-height: 1.1;
    }
}

.mode-btn.active {
    background: #1e3a8a !important;
    color: white !important;
    border-color: #fbbf24 !important;
}

.mode-btn:not(.active) {
    background: white !important;
    color: #6b7280 !important;
    border-color: #e5e7eb !important;
}

/* ========================================
   SIGNUP HERO
======================================== */

.signup-hero {
    background: #f5f5f6;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}


/* MAIN CONTAINER */

.signup-hero-inner {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;

    padding: 60px 7%;

    display: grid;

    /*
        LEFT = 70%
        DIVIDER = SMALL
        RIGHT = 30%
    */

    grid-template-columns: 60% 40%;

    align-items: center;

    gap: 40px;
}


/* ========================================
   LEFT MAIN SECTION
   VIDEO + CONTENT
======================================== */

.signup-main {
    width: 100%;
}


/* ========================================
   LANDSCAPE VIDEO
======================================== */

.signup-video-section {
    width: 100%;
    display: flex;
    justify-content: center;
}


/*
   Reusing your .phone class,
   but now making it LANDSCAPE
*/

.stage {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;

    position: relative;
}


.phone {
    position: relative;

    width: 100%;
    max-width: 850px;

    /*
       LANDSCAPE RATIO
    */

    aspect-ratio: 16 / 9;

    border-radius: 28px;

    padding: 10px;

    background:
        linear-gradient(
            155deg,
            #ffffff,
            #eff3ff 65%
        );

    box-shadow:
        0 0 0 1px rgba(23, 25, 51, 0.06),
        0 30px 80px -20px rgba(23, 25, 51, 0.28),
        0 0 120px -30px rgba(139, 92, 246, 0.35);

    animation:
        float 6s ease-in-out infinite;
}


/* FLOAT ANIMATION */

@keyframes float {

    0%,
    100% {
        transform:
            translateY(0px)
            rotate(-0.5deg);
    }

    50% {
        transform:
            translateY(-10px)
            rotate(0.3deg);
    }

}


/* VIDEO CONTAINER */

.phone-inner {

    position: relative;

    width: 100%;
    height: 100%;

    border-radius: 20px;

    overflow: hidden;

    background: #000;

    box-shadow:
        inset 0 0 0 1px
        rgba(236, 230, 214, 0.12);

}


/* VIDEO */

.phone-inner video {

    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

}


/* VIDEO DARK OVERLAY */

.phone-scrim {

    position: absolute;

    inset: 0;

    background:

        linear-gradient(
            180deg,

            rgba(8, 13, 23, 0.45) 0%,

            transparent 25%,

            transparent 60%,

            rgba(8, 13, 23, 0.80) 100%
        );

    pointer-events: none;

}


/* ========================================
   WORDMARK
======================================== */

.wordmark {

    position: absolute;

    top: 20px;
    left: 20px;

    display: flex;

    align-items: center;

    gap: 2px;

    z-index: 3;

}


.logo-letter {

    width: 28px;
    height: 28px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    font-family: "Fredoka", sans-serif;

    font-weight: 700;

    font-size: 15px;

    color: #ffffff;

    box-shadow:

        0 0 0 2px
        rgba(255, 255, 255, 0.85),

        0 3px 6px
        rgba(0, 0, 0, 0.25);

}


.logo-letter.l-m {
    background: var(--red);
}

.logo-letter.l-u {
    background: var(--orange);
}

.logo-letter.l-l {
    background: var(--purple);
}

.logo-letter.l-t {
    background: var(--blue);
}


.wordmark span.wordmark-text {

    font-family: "Fredoka", sans-serif;

    font-weight: 700;

    font-size: 20px;

    color: #ffffff;

    margin-left: 7px;

    text-shadow:
        0 2px 8px
        rgba(0, 0, 0, 0.45);

}


/* ========================================
   VIDEO CAPTION
======================================== */

.captions {

    position: absolute;

    bottom: 25px;
    left: 25px;
    right: 25px;

    z-index: 3;

}


.captions .tag {

    font-family:
        "IBM Plex Mono",
        monospace;

    font-size: 11px;

    letter-spacing: 0.14em;

    text-transform: uppercase;

    color: #fff;

    display: block;

    margin-bottom: 8px;

}


.captions .line {

    font-family:
        "Fredoka",
        sans-serif;

    font-weight: 500;

    font-size: 24px;

    color: #ffffff;

    text-shadow:
        0 2px 10px
        rgba(0, 0, 0, 0.5);

}


/* ========================================
   CONTENT BELOW VIDEO
======================================== */

.signup-content {

    text-align: center;

    padding-top: 35px;

}


.signup-title {

    font-size: 42px;

    line-height: 1.15;

    font-weight: 600;

    color: #343a40;

    margin-bottom: 25px;

    letter-spacing: 0.5px;

}


/* SIGNUP BUTTON */

.signup-btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    width: 320px;

    max-width: 100%;

    height: 56px;

    border-radius: 14px;

    /*
       BLUE BUTTON
    */

    background:
        linear-gradient(
            135deg,
            #2563eb,
            #1d4ed8
        );

    color: #ffffff;

    font-size: 22px;

    font-weight: 600;

    text-decoration: none;

    box-shadow:

        0 8px 20px
        rgba(37, 99, 235, 0.28);

    transition:
        all 0.25s ease;

}


.signup-btn:hover {

    background:
        linear-gradient(
            135deg,
            #1d4ed8,
            #1e40af
        );

    color: #ffffff;

    transform:
        translateY(-3px);

    box-shadow:

        0 12px 25px
        rgba(37, 99, 235, 0.35);

}

/* ========================================
   RIGHT SIDE
======================================== */

.signup-right {

    width: 100%;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-direction: column;
    gap: 20px;

}


.google-signup-btn {

    width: 100%;

    min-height: 60px;

    padding: 15px 20px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 14px;

    background: #ffffff;

    border:
        1px solid #e5e7eb;

    border-radius: 14px;

    color: #374151;

    font-size: 17px;

    font-weight: 600;

    cursor: pointer;

    box-shadow:

        0 8px 25px
        rgba(0, 0, 0, 0.06);

    transition:
        all 0.25s ease;

}


.google-signup-btn img {

    width: 24px;

    height: 24px;

}


.google-signup-btn:hover {

    background: #f9fafb;

    border-color: #d1d5db;

    transform:
        translateY(-2px);

    box-shadow:

        0 12px 30px
        rgba(0, 0, 0, 0.10);

}


.logged-in-message {

    width: 100%;

    text-align: center;

    padding: 30px 20px;

    background: #ffffff;

    border-radius: 18px;

    box-shadow:
        0 8px 30px
        rgba(0, 0, 0, 0.06);

}


.logged-icon {

    font-size: 50px;

    margin-bottom: 15px;

}


.logged-in-message h3 {

    font-size: 24px;

    margin-bottom: 10px;

}


.logged-in-message p {

    color: #6b7280;

}

@media (max-width: 640px) {

    .signup-hero {

        min-height: auto;

    }


    .signup-hero-inner {

        padding:
            35px 20px;

        gap: 25px;

    }


    /* LANDSCAPE VIDEO */

    .phone {

        width: 100%;

        aspect-ratio: 16 / 9;

        padding: 6px;

        border-radius: 20px;

    }


    .phone-inner {

        border-radius: 15px;

    }


    /* TITLE */

    .signup-content {

        padding-top: 25px;

    }


    .signup-title {

        font-size: 30px;

        line-height: 1.2;

    }


    /* SIGNUP BUTTON */

    .signup-btn {

        width: 100%;

        font-size: 20px;

    }


    /* GOOGLE */

    .google-signup-btn {

        font-size: 16px;

        min-height: 56px;

    }


    /* VIDEO TEXT */

    .wordmark {

        top: 12px;

        left: 12px;

    }


    .logo-letter {

        width: 22px;

        height: 22px;

        font-size: 12px;

    }


    .wordmark span.wordmark-text {

        font-size: 16px;

    }


    .captions {

        bottom: 15px;

        left: 15px;

        right: 15px;

    }


    .captions .line {

        font-size: 15px;

    }


    .captions .tag {

        font-size: 8px;

    }

}
