/* GX Age Gate — Full-page two-column entry gate */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&display=swap');

*,*::before,*::after{box-sizing:border-box}

body.gx-gate-active {
    overflow: hidden !important;
    height: 100vh !important;
}

/* ── Full-page overlay ── */
.gx-gate {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: #fafafa;
    overflow-y: auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.5;
}

/* ── 2-col grid ── */
.gx-gate-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
    width: 100%;
}

/* ─── LEFT panel ─── (steel-silver / matte-black hero image bg) */
.gx-gate-left {
    background-color: #0a0a0a;
    background-image:
        linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.70) 100%),
        url('/wp-content/uploads/2026/05/craiyon_204343_Make_the_steel_silver_logo_more_pronounced__and_the_black_matte_black__-e1777755504111.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    color: #ececec;
    border-right: 1px solid #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 72px 64px;
    position: relative;
    overflow: hidden;
}
.gx-gate-left-inner {
    max-width: 540px;
    width: 100%;
    position: relative;
    z-index: 1;
}

.gx-gate-brand {
    margin-bottom: 38px;
}
/* Light "badge" card behind the dark logo so it renders in its native form
   (rather than as a flat white silhouette) on the dark hero background. */
.gx-gate-logo-card {
    display: inline-block;
    background: #ffffff;
    padding: 18px 26px;
    border-radius: 10px;
    box-shadow:
        0 8px 28px rgba(0,0,0,0.35),
        0 1px 0 rgba(255,255,255,0.06) inset;
    margin-bottom: 18px;
}
.gx-gate-logo-img {
    display: block;
    max-width: 320px;
    width: 100%;
    height: auto;
}
.gx-gate-subtitle {
    font-size: 17px;
    color: #cfcfcf;
    margin: 0;
    letter-spacing: 0.4px;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}

.gx-gate-divider {
    height: 1px;
    background: rgba(255,255,255,0.12);
    margin: 0 0 32px;
}

.gx-gate-legal {
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 8px;
    padding: 26px 28px;
    font-size: 16px;
    line-height: 1.75;
    color: #d8d8d8;
}
.gx-gate-legal-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}
.gx-gate-legal-icon {
    font-size: 20px;
    color: #ddd;
}
.gx-gate-legal-header strong {
    font-family: 'Oswald', sans-serif;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #fff;
}
.gx-gate-legal-text p {
    margin: 0 0 12px;
}
.gx-gate-legal-text p:last-child {
    margin-bottom: 0;
}
.gx-gate-legal-text strong {
    color: #fff;
    font-weight: 700;
}

.gx-gate-left-footer {
    margin-top: 36px;
    font-size: 13px;
    color: #888;
    letter-spacing: 0.4px;
}

/* ─── RIGHT panel ─── (pure white — action area) */
.gx-gate-right {
    background: #ffffff;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 56px;
    position: relative;
}
.gx-gate-right-inner {
    max-width: 460px;
    width: 100%;
}

.gx-gate-right-header {
    margin-bottom: 28px;
}
.gx-gate-right-title {
    font-family: 'Oswald', sans-serif;
    font-size: 28px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #0a0a0a;
    margin: 0 0 10px;
}
.gx-gate-right-lede {
    font-size: 14px;
    color: #555;
    margin: 0;
    line-height: 1.65;
}

/* ── Tabs ── */
.gx-gate-tabs {
    display: flex;
    border-bottom: 2px solid #e5e5e5;
    margin-bottom: 24px;
    gap: 0;
}
.gx-gate-tab {
    flex: 1;
    padding: 12px 0;
    background: transparent !important;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    color: #999 !important;
    font-family: 'Oswald', sans-serif;
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none !important;
}
.gx-gate-tab:hover,
.gx-gate-tab:focus,
.gx-gate-tab:active {
    color: #555 !important;
    background: transparent !important;
    text-decoration: none !important;
    outline: none;
}
.gx-gate-tab.active,
.gx-gate-tab.active:hover,
.gx-gate-tab.active:focus {
    color: #0a0a0a !important;
    border-bottom-color: #0a0a0a;
}

/* ── Error ── */
.gx-gate-error {
    background: rgba(211, 47, 47, 0.08);
    border: 1px solid rgba(211, 47, 47, 0.25);
    color: #c62828;
    padding: 11px 16px;
    border-radius: 6px;
    font-size: 13px;
    margin-bottom: 18px;
}

/* ── Forms ── */
.gx-gate-form { display: none; }
.gx-gate-form.active { display: block; }

.gx-gate-field { margin-bottom: 14px; }
.gx-gate-field-row {
    display: flex;
    gap: 12px;
    margin-bottom: 0;
}
.gx-gate-field-row .gx-gate-field { flex: 1; }

.gx-gate-field label.gx-gate-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #6a6a6a;
    margin-bottom: 6px;
}

.gx-gate-field input,
.gx-gate-field select {
    width: 100%;
    padding: 13px 16px;
    background: #fff;
    border: 1px solid #d8d8d8;
    border-radius: 6px;
    color: #1a1a1a;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
    -webkit-appearance: none;
}
.gx-gate-field input:focus,
.gx-gate-field select:focus {
    outline: none;
    border-color: #0a0a0a;
    box-shadow: 0 0 0 3px rgba(0,0,0,0.06);
}
.gx-gate-field input::placeholder { color: #aaa; }
.gx-gate-field select {
    color: #999;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23666' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
    font-size: 14px;
    line-height: normal;
    height: auto;
    min-height: 50px;
}
.gx-gate-field select option {
    background: #fff;
    color: #1a1a1a;
}
.gx-gate-field select:valid:not([value=""]) {
    color: #1a1a1a;
}

/* ── Checkboxes ── */
.gx-gate-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: #4a4a4a;
    margin-bottom: 14px;
    cursor: pointer;
    line-height: 1.6;
}
.gx-gate-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: #0a0a0a;
    cursor: pointer;
}
.gx-gate-check strong { color: #0a0a0a; }
.gx-gate-check a {
    color: #0a0a0a;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.gx-gate-check a:hover { color: #444; }

/* ── Row (remember + forgot) ── */
.gx-gate-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}
.gx-gate-link {
    font-size: 13px;
    color: #555;
    text-decoration: none;
    transition: color 0.2s;
}
.gx-gate-link:hover {
    color: #0a0a0a;
    text-decoration: underline;
}

/* ── Button — primary action stays high-contrast black ── */
.gx-gate-btn {
    width: 100%;
    padding: 14px;
    background: #0a0a0a;
    border: none;
    border-radius: 6px;
    color: #fff;
    font-family: 'Oswald', sans-serif;
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 6px;
}
.gx-gate-btn:hover { background: #222; }
.gx-gate-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* ── Responsive ── */

/* Tablets / smaller laptops — keep 2-col but tighten padding */
@media (max-width: 1100px) {
    .gx-gate-left {
        padding: 56px 44px;
    }
    .gx-gate-right {
        padding: 48px 40px;
    }
    .gx-gate-logo-img {
        max-width: 300px;
    }
    .gx-gate-subtitle {
        font-size: 16px;
    }
    .gx-gate-legal {
        font-size: 15px;
        padding: 22px 24px;
    }
    .gx-gate-right-title {
        font-size: 24px;
    }
}

/* Below 900px collapse to single column. Right (form) sits ABOVE left (wordings)
   so the user lands on the form — wordings remain accessible by scrolling. */
@media (max-width: 900px) {
    .gx-gate-grid {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .gx-gate-right {
        order: 1;
        padding: 40px 28px 32px;
    }
    .gx-gate-left {
        order: 2;
        border-right: none;
        border-top: 1px solid #1a1a1a;
        padding: 40px 28px 48px;
    }
    .gx-gate-right-header { margin-bottom: 22px; }
    .gx-gate-right-title {
        font-size: 22px;
        letter-spacing: 1.5px;
    }
    .gx-gate-logo-img { max-width: 240px; }
    .gx-gate-subtitle { font-size: 15px; }
    .gx-gate-legal { font-size: 14.5px; }
}

/* Phones */
@media (max-width: 520px) {
    .gx-gate-right,
    .gx-gate-left {
        padding-left: 20px;
        padding-right: 20px;
    }
    .gx-gate-right-inner,
    .gx-gate-left-inner {
        max-width: 100%;
    }
    .gx-gate-field-row {
        flex-direction: column;
    }
    .gx-gate-tab {
        font-size: 13px;
        letter-spacing: 1px;
    }
    .gx-gate-logo-img {
        max-width: 200px;
    }
    .gx-gate-legal { font-size: 14px; padding: 18px 20px; }
}
