/* ========================================
   AGE GATE PAGE STYLES
   ======================================== */

:root {
    --ag-red: #e50914;
    --ag-red-glow: rgba(229, 9, 20, 0.35);
    --ag-text: #f0f0f0;
    --ag-text-dim: #a0a0a0;
    --ag-text-muted: #686868;
    --ag-surface: rgba(18, 18, 18, 0.96);
    --ag-border: rgba(255, 255, 255, 0.08);
}

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0a0a0a;
    position: relative;
    overflow: hidden;
    font-family: 'Noto Sans TC', sans-serif;
    -webkit-font-smoothing: antialiased;
}

body::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 50% 0%, rgba(229, 9, 20, 0.12) 0%, transparent 70%),
        radial-gradient(ellipse 40% 40% at 70% 100%, rgba(229, 9, 20, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.age-gate {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: var(--space-6);
    max-width: 420px;
    width: 100%;
}

.age-gate-logo {
    margin-bottom: var(--space-8);
}

.age-gate-logo img {
    height: 100px;
    filter: drop-shadow(0 2px 16px rgba(229, 9, 20, 0.25));
    animation: fadeIn 0.6s ease-out both;
}

.age-gate-card {
    background: var(--ag-surface);
    border-radius: var(--radius-2xl);
    padding: var(--space-10) var(--space-8);
    border: 1px solid var(--ag-border);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
    animation: fadeInUp 0.5s ease-out 0.15s both;
}

.age-gate-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto var(--space-5);
    border-radius: var(--radius-full);
    background: rgba(229, 9, 20, 0.12);
    border: 1.5px solid rgba(229, 9, 20, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    line-height: 1;
}

.age-gate-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.75rem;
    font-weight: 400;
    color: var(--ag-text);
    margin: 0 0 var(--space-1);
    letter-spacing: 0.06em;
    line-height: 1;
}

.age-gate-title span {
    color: var(--ag-red);
}

.age-gate-subtitle {
    font-size: var(--font-size-sm);
    color: var(--ag-text-dim);
    margin: 0 0 var(--space-6);
    font-weight: var(--font-weight-normal);
    letter-spacing: 0.02em;
}

.age-gate-body {
    font-size: var(--font-size-sm);
    color: var(--ag-text-muted);
    line-height: 1.65;
    margin: 0 0 var(--space-8);
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
}

.age-gate-actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    animation: fadeIn 0.5s ease-out 0.35s both;
}

.btn-confirm {
    display: block;
    width: 100%;
    padding: var(--space-4);
    font-family: inherit;
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-bold);
    color: #fff;
    background: var(--ag-red);
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: background 200ms ease, box-shadow 200ms ease, transform 120ms ease;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 20px var(--ag-red-glow);
}

.btn-confirm:hover {
    background: #cc0812;
    box-shadow: 0 6px 28px var(--ag-red-glow);
    transform: translateY(-1px);
}

.btn-confirm:active {
    transform: translateY(0);
    box-shadow: 0 2px 12px var(--ag-red-glow);
}

.btn-confirm:focus-visible {
    outline: 2px solid var(--ag-red);
    outline-offset: 3px;
}

.btn-exit {
    display: block;
    width: 100%;
    padding: var(--space-3);
    font-family: inherit;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    color: var(--ag-text-muted);
    background: transparent;
    border: 1px solid var(--ag-border);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: color 200ms ease, border-color 200ms ease;
}

.btn-exit:hover {
    color: var(--ag-text-dim);
    border-color: rgba(255, 255, 255, 0.18);
}

.btn-exit:focus-visible {
    outline: 2px solid var(--ag-text-muted);
    outline-offset: 3px;
}

.age-gate-disclaimer {
    margin-top: var(--space-6);
    padding-top: var(--space-5);
    border-top: 1px solid var(--ag-border);
    font-size: 0.6875rem;
    color: var(--ag-text-muted);
    line-height: 1.55;
}

.age-gate-disclaimer a {
    color: var(--ag-text-dim);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.age-gate-disclaimer a:hover {
    color: var(--ag-text);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

@media (max-width: 480px) {
    .age-gate {
        padding: var(--space-4);
    }

    .age-gate-logo img {
        height: 72px;
    }

    .age-gate-card {
        padding: var(--space-8) var(--space-6);
        border-radius: var(--radius-xl);
    }

    .age-gate-title {
        font-size: 2.25rem;
    }

    .age-gate-body {
        font-size: var(--font-size-xs);
    }
}
