/* --- SHARED OVERLAY --- */
.age-gate-overlay, .auth-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    animation: fadeInOverlay 0.5s ease;
}

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

.active {
    display: flex !important;
}

/* --- AGE GATE SPECIFICS --- */
.age-gate-overlay {
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.age-gate-content {
    background: rgba(0, 0, 0, 0.85);
    border: 2px solid red;
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 0 30px rgba(255, 0, 0, 0.3);
    color: red;
}

.age-warning-header i {
    font-size: 4rem;
    color: red;
    margin-bottom: 10px;
    animation: pulse 1.5s infinite;
}

.age-warning-header h2 {
    font-family: 'Starcraft Regular', sans-serif;
    font-size: 2rem;
    margin: 0;
    text-transform: uppercase;
}

.age-warning-text {
    font-family: 'Audiowide Regular', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* --- AUTH TOOLTIP (Connection/Registration) --- */
.auth-overlay {
    background: rgba(0, 0, 0, 0.6); /* Darker bg, no blur for this one if preferred */
}

.auth-box {
    background: rgba(10, 10, 10, 0.95);
    border: 1px solid var(--text-gold);
    padding: 25px;
    border-radius: 8px;
    width: 400px;
    max-width: 95%;
    position: relative;
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.2);
}

.close-auth {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    color: var(--text-silver);
    font-size: 1.5rem;
    cursor: pointer;
}

.auth-tabs {
    display: flex;
    border-bottom: 1px solid #333;
    margin-bottom: 20px;
}

.auth-tab {
    flex: 1;
    background: none;
    border: none;
    padding: 12px;
    color: var(--text-silver);
    cursor: pointer;
    font-family: 'Starcraft Regular';
    font-size: 1rem;
}

.auth-tab.active {
    color: var(--text-gold);
    border-bottom: 2px solid var(--text-gold);
}

.auth-view {
    display: none; /* JS toggles this */
}

.auth-view h3 {
    color: var(--text-gold);
    margin-top: 0;
    text-align: center;
    font-family: 'Starcraft Regular';
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: var(--text-silver);
    font-size: 0.9rem;
}

.form-group input {
    width: 100%;
    padding: 10px;
    background: #1a1a1a;
    border: 1px solid #444;
    color: white;
    border-radius: 4px;
    box-sizing: border-box;
    font-family: 'Audiowide Regular';
}

.name-row {
    display: flex;
    gap: 10px;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}