/* =========================================
   CELESTIAL BADDIES - STYLE SHEET v3.0 (LOCKED)
   ========================================= */

/* --- 1. VARIABLES & RESET --- */
:root {
    --bg-deep: #050011;
    --neon-pink: #ff69b4;
    --neon-blue: #00f3ff;
    --glass-bg: rgba(5, 0, 17, 0.85);
    --text-glow: 0 0 10px rgba(255, 255, 255, 0.8), 
                 0 0 20px rgba(255, 105, 180, 0.6);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: white;
    min-height: 100vh;
    background-color: var(--bg-deep);
    background-image: 
        radial-gradient(circle at 50% 10%, #2a0e3d 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, #150024 0%, var(--bg-deep) 70%);
    background-attachment: fixed;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

/* --- 2. PERSISTENT HEADER --- */
.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 1rem;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 105, 180, 0.15);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.glow-text {
    font-size: 2.2rem;
    font-weight: 800;
    color: white;
    text-shadow: var(--text-glow);
    letter-spacing: -0.5px;
}

.subtitle {
    font-size: 0.75rem;
    letter-spacing: 3px;
    margin-top: 0.5rem;
    color: var(--neon-blue);
    text-transform: uppercase;
    font-weight: 700;
    opacity: 0.9;
}

/* --- 3. MAIN CONTENT --- */
.content-wrapper {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding-top: 180px; 
    padding-bottom: 100px;
    padding-left: 20px;
    padding-right: 20px;
}

/* --- 4. THE GATEKEEPER (PASSWORD STYLES) --- */
.gate-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--neon-pink);
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(255, 105, 180, 0.2);
}

.gate-msg {
    font-family: 'Courier New', monospace;
    color: var(--neon-pink);
    margin-bottom: 15px;
    font-weight: bold;
    letter-spacing: 2px;
}

.input-group {
    display: flex;
    gap: 10px;
    width: 100%;
    max-width: 400px;
}

#password-input {
    flex-grow: 1;
    padding: 12px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid #444;
    border-radius: 8px;
    color: white;
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    text-align: center;
    outline: none;
    transition: all 0.3s ease;
}

#password-input:focus {
    border-color: var(--neon-blue);
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.3);
}

.unlock-btn {
    padding: 0 15px;
    background: var(--neon-pink);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: transform 0.2s;
}

.unlock-btn:active {
    transform: scale(0.9);
}

.error-hidden {
    display: none;
    color: red;
    font-family: 'Courier New', monospace;
    margin-top: 10px;
    font-weight: bold;
    text-shadow: 0 0 5px red;
}

/* Shake Animation for wrong password */
.shake {
    animation: shake 0.5s;
}

@keyframes shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    50% { transform: translateX(5px); }
    75% { transform: translateX(-5px); }
    100% { transform: translateX(0); }
}

/* --- 5. THE BLUR LOCK --- */
.blur-lock {
    /* High blur to hide text content */
    filter: blur(12px);
    /* Disables clicking */
    pointer-events: none;
    /* Prevents selecting text */
    user-select: none;
    opacity: 0.6;
    transition: all 0.8s ease; /* Smooth reveal */
}

/* --- 6. STANDARD BUTTON STYLES --- */
.neon-divider {
    width: 100%;
    height: 2px;
    background: transparent;
    border-bottom: 2px dashed rgba(0, 243, 255, 0.3);
    margin: 80px 0 40px 0; 
}

.section-title {
    display: block;
    text-align: center;
    font-family: 'Courier New', monospace;
    font-size: 1.2rem;
    color: var(--neon-blue);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
    background: rgba(0, 0, 0, 0.3);
    padding: 10px;
    border-radius: 8px;
}

.button-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cosmic-btn {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--neon-pink);
    border-radius: 50px;
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 0 15px rgba(255, 105, 180, 0.1);
}

.cosmic-btn:hover {
    background: rgba(255, 105, 180, 0.15);
    border-color: white;
    box-shadow: 0 0 25px rgba(255, 105, 180, 0.5);
    transform: translateY(-3px) scale(1.01);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.9);
}

.cosmic-btn:active {
    transform: scale(0.98);
}

.cosmic-btn.test-mode {
    border-color: var(--neon-blue);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.1);
}

.cosmic-btn.test-mode:hover {
    background: rgba(0, 243, 255, 0.15);
    box-shadow: 0 0 25px rgba(0, 243, 255, 0.5);
}

@media (min-width: 768px) {
    .content-wrapper { padding-top: 220px; }
    .glow-text { font-size: 3rem; }
    .button-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }
    .full-width { grid-column: span 2; }
    .neon-divider { margin: 100px 0 50px 0; }
}
