/* ==========================================================
   GNSC 2026 — ADMIN LOGIN
   Royal Blue / Ocean Competition Design
========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Anton&family=Barlow:wght@400;500;600;700;800&family=Barlow+Condensed:wght@500;600;700;800;900&display=swap');


/* ==========================================================
   VARIABLES
========================================================== */

:root {
    --royal: #4169E1;
    --royal-dark: #2348B8;
    --royal-light: #6F8FFF;

    --navy: #071426;
    --navy-2: #0B1D38;
    --navy-3: #102A50;

    --white: #FFFFFF;
    --text: #15233A;
    --muted: #68758A;

    --border: #DCE4F2;
    --soft-blue: #F2F6FF;

    --danger: #C83B3B;
}


/* ==========================================================
   RESET
========================================================== */

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body.gatepage {
    margin: 0;
    min-height: 100vh;

    font-family:
        'Barlow',
        Arial,
        sans-serif;

    color: var(--text);

    background:
        radial-gradient(
            circle at 15% 15%,
            rgba(65,105,225,.18),
            transparent 30%
        ),
        radial-gradient(
            circle at 90% 85%,
            rgba(111,143,255,.12),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #071426 0%,
            #0B1D38 52%,
            #102A50 100%
        );

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 35px 20px;

    overflow-x: hidden;
}

.gatepage a {
    color: inherit;
    text-decoration: none;
}

.gatepage button,
.gatepage input {
    font-family: inherit;
}


/* ==========================================================
   BACKGROUND OCEAN DETAILS
========================================================== */

.gatepage::before {
    content: "";

    position: fixed;

    width: 600px;
    height: 600px;

    left: -280px;
    bottom: -300px;

    border-radius: 50%;

    border: 1px solid rgba(111,143,255,.10);

    box-shadow:
        0 0 0 70px rgba(111,143,255,.025),
        0 0 0 140px rgba(111,143,255,.018);

    pointer-events: none;
}

.gatepage::after {
    content: "";

    position: fixed;

    width: 500px;
    height: 500px;

    right: -250px;
    top: -250px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(65,105,225,.22),
            transparent 68%
        );

    pointer-events: none;
}


/* ==========================================================
   MAIN SHELL
========================================================== */

.gate-shell {

    position: relative;

    z-index: 2;

    width: min(
        100%,
        440px
    );

    display: flex;

    flex-direction: column;

    align-items: center;
}


/* ==========================================================
   BRAND
========================================================== */

.gate-brand {

    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 24px;

    color: white;
}

.brand-badge {

    width: 48px;
    height: 48px;

    display: grid;

    place-items: center;

    flex-shrink: 0;

    border-radius: 12px;

    background:
        linear-gradient(
            135deg,
            var(--royal),
            var(--royal-dark)
        );

    box-shadow:
        0 8px 28px
        rgba(65,105,225,.35);
}

.brand-badge svg {
    width: 27px;
    height: 27px;
}

.name {

    display: block;

    font-family:
        'Barlow Condensed',
        sans-serif;

    font-size: 24px;

    font-weight: 900;

    letter-spacing: .05em;

    line-height: 1;
}

.name small {

    display: block;

    margin-top: 5px;

    color: #9EB4FF;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: .2em;
}


/* ==========================================================
   LOGIN CARD
========================================================== */

.gate-card {

    width: 100%;

    padding: 38px;

    background:
        rgba(255,255,255,.98);

    border:
        1px solid rgba(255,255,255,.65);

    border-radius: 16px;

    box-shadow:
        0 30px 90px
        rgba(0,0,0,.28);

    position: relative;

    overflow: hidden;
}


/* Top blue accent */

.gate-card::before {

    content: "";

    position: absolute;

    top: 0;
    left: 0;
    right: 0;

    height: 4px;

    background:
        linear-gradient(
            90deg,
            var(--royal-dark),
            var(--royal-light),
            var(--royal-dark)
        );
}


/* ==========================================================
   CARD HEADING
========================================================== */

.gate-eyebrow {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    margin-bottom: 7px;

    color: var(--royal);

    font-family:
        'Barlow Condensed',
        sans-serif;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: .17em;

    text-transform: uppercase;
}

.gate-eyebrow::before {

    content: "";

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--royal);

    box-shadow:
        0 0 12px
        rgba(65,105,225,.5);
}

.gate-card h2 {

    margin: 0 0 7px;

    color: var(--navy);

    font-family:
        'Barlow Condensed',
        sans-serif;

    font-size: 38px;

    font-weight: 900;

    line-height: 1;

    text-transform: uppercase;

    letter-spacing: -.01em;
}

.gate-card h2::after {

    content: "";

    display: block;

    width: 42px;

    height: 4px;

    margin-top: 13px;

    border-radius: 4px;

    background: var(--royal);
}


/* ==========================================================
   ERROR MESSAGE
========================================================== */

.error-box {

    margin:
        22px 0
        20px;

    padding:
        13px 15px;

    border:
        1px solid #E8B2B2;

    border-left:
        4px solid var(--danger);

    border-radius: 8px;

    background:
        #FFF5F5;

    color:
        #8A2929;

    font-size: 13px;

    font-weight: 600;

    line-height: 1.5;
}


/* ==========================================================
   FORM
========================================================== */

.gate-card form {

    margin-top: 27px;
}


/* ==========================================================
   FORM GROUP
========================================================== */

.form-group {

    margin-bottom: 19px;
}

.form-group label {

    display: block;

    margin-bottom: 8px;

    color: #263A58;

    font-size: 12px;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: .07em;
}


/* ==========================================================
   INPUTS
========================================================== */

.form-group input {

    width: 100%;

    height: 50px;

    padding:
        0 15px;

    border:
        1px solid #D5DFEE;

    border-radius: 8px;

    background:
        #FBFCFE;

    color:
        var(--text);

    font-size: 15px;

    outline: none;

    transition:
        border-color .2s ease,
        background .2s ease,
        box-shadow .2s ease;
}

.form-group input::placeholder {

    color:
        #A0AABD;
}

.form-group input:hover {

    border-color:
        #B9C8E2;
}

.form-group input:focus {

    border-color:
        var(--royal);

    background:
        white;

    box-shadow:
        0 0 0 4px
        rgba(65,105,225,.10);
}


/* ==========================================================
   PASSWORD INPUT
========================================================== */

#password {

    letter-spacing: .04em;
}


/* ==========================================================
   LOGIN BUTTON
========================================================== */

.btn-gate {

    width: 100%;

    min-height: 55px;

    margin-top: 7px;

    border: 0;

    border-radius: 9px;

    background:
        linear-gradient(
            135deg,
            var(--royal),
            var(--royal-dark)
        );

    color: white;

    font-family:
        'Barlow Condensed',
        sans-serif;

    font-size: 20px;

    font-weight: 900;

    letter-spacing: .07em;

    text-transform: uppercase;

    cursor: pointer;

    box-shadow:
        0 10px 28px
        rgba(65,105,225,.27);

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        filter .2s ease;
}

.btn-gate:hover {

    transform:
        translateY(-2px);

    box-shadow:
        0 15px 35px
        rgba(65,105,225,.36);

    filter:
        brightness(1.04);
}

.btn-gate:active {

    transform:
        translateY(0);

    box-shadow:
        0 7px 18px
        rgba(65,105,225,.25);
}

.btn-gate:focus-visible {

    outline:
        3px solid
        rgba(111,143,255,.45);

    outline-offset: 3px;
}


/* ==========================================================
   BACK TO SITE
========================================================== */

.gate-back {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    margin-top: 22px;

    color:
        rgba(255,255,255,.68);

    font-size: 13px;

    font-weight: 700;

    letter-spacing: .04em;

    transition:
        color .2s ease,
        transform .2s ease;
}

.gate-back:hover {

    color: white;

    transform:
        translateX(-3px);
}


/* ==========================================================
   SUBTLE SECURITY TEXT
========================================================== */

.gate-card::after {

    content:
        "GNSC 2026 • ORGANIZER ACCESS";

    display: block;

    margin-top: 25px;

    padding-top: 16px;

    border-top:
        1px solid var(--border);

    color:
        #98A4B5;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: .15em;

    text-align: center;
}


/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 600px) {

    body.gatepage {

        padding:
            25px 16px;
    }

    .gate-shell {

        width:
            min(
                100%,
                430px
            );
    }

    .gate-card {

        padding:
            32px 28px;
    }
}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 480px) {

    body.gatepage {

        align-items:
            center;

        padding:
            22px 14px;
    }

    .gate-brand {

        margin-bottom:
            20px;
    }

    .brand-badge {

        width: 43px;
        height: 43px;

        border-radius: 10px;
    }

    .brand-badge svg {

        width: 24px;
        height: 24px;
    }

    .name {

        font-size:
            21px;
    }

    .name small {

        font-size:
            9px;
    }

    .gate-card {

        padding:
            30px 22px;

        border-radius:
            13px;
    }

    .gate-card h2 {

        font-size:
            34px;
    }

    .form-group input {

        height:
            49px;

        font-size:
            15px;
    }

    .btn-gate {

        min-height:
            53px;

        font-size:
            19px;
    }

    .gate-back {

        margin-top:
            19px;

        font-size:
            12px;
    }
}


/* ==========================================================
   SMALL PHONES
========================================================== */

@media (max-width: 360px) {

    body.gatepage {

        padding:
            18px 12px;
    }

    .gate-brand {

        gap: 9px;
    }

    .brand-badge {

        width: 39px;
        height: 39px;
    }

    .name {

        font-size:
            19px;
    }

    .name small {

        font-size:
            8px;
    }

    .gate-card {

        padding:
            27px 18px;
    }

    .gate-card h2 {

        font-size:
            31px;
    }
}


/* ==========================================================
   REDUCED MOTION
========================================================== */

@media (prefers-reduced-motion: reduce) {

    * {
        scroll-behavior: auto !important;
        transition: none !important;
        animation: none !important;
    }
}