:root {
    --bg-color: #050505;
    --glass-bg: rgba(20, 20, 25, 0.6);
    --glass-border: rgba(255, 255, 255, 0.08);
    --neon-accent: #00f3ff;
    --neon-accent-hover: #00c3cc;
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --error-color: #ff3366;
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
    position: relative;
}

/* Background Animation Placeholder (Stars effect handled simply) */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at center, #1a1a24 0%, var(--bg-color) 100%);
    z-index: -1;
}

.main-header {
    text-align: center;
    padding: 3rem 1rem;
    margin-bottom: 2rem;
    width: 100%;
    z-index: 10;
}

.main-header h1 {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: linear-gradient(90deg, #fff, var(--neon-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
}

.container {
    width: 100%;
    max-width: 1000px;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
    z-index: 10;
    margin-bottom: 4rem;
}

/* Glassmorphism Panel */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
    max-width: 450px;
    width: 100%;
    transition: all 0.5s ease;
}

.glass-panel h2 {
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.glass-panel p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1rem;
    font-weight: 300;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

input[type="password"] {
    width: 100%;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    font-size: 1.1rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    letter-spacing: 3px;
}

input[type="password"]:focus {
    border-color: var(--neon-accent);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.2);
}

.neon-btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    background: transparent;
    color: var(--neon-accent);
    font-size: 1.1rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    border: 1px solid var(--neon-accent);
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.1), inset 0 0 10px rgba(0, 243, 255, 0.1);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.neon-btn:hover {
    background: var(--neon-accent);
    color: var(--bg-color);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.5), 0 0 40px rgba(0, 243, 255, 0.3);
}

.neon-btn:disabled {
    border-color: var(--glass-border);
    color: var(--text-secondary);
    box-shadow: none;
    cursor: not-allowed;
    background: rgba(0, 0, 0, 0.5);
}

.error-msg {
    color: var(--error-color) !important;
    margin-top: 1.5rem;
    margin-bottom: 0 !important;
    font-weight: 400 !important;
    font-size: 0.9rem !important;
    animation: fadeIn 0.3s ease;
}

/* Shake Animation for Errors */
.shake {
    animation: shake 0.5s cubic-bezier(.36, .07, .19, .97) both;
}

@keyframes shake {

    10%,
    90% {
        transform: translate3d(-1px, 0, 0);
    }

    20%,
    80% {
        transform: translate3d(2px, 0, 0);
    }

    30%,
    50%,
    70% {
        transform: translate3d(-4px, 0, 0);
    }

    40%,
    60% {
        transform: translate3d(4px, 0, 0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Menu Section */
#menu-section {
    width: 100%;
    animation: fadeInUp 0.8s ease forwards;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 300;
    letter-spacing: 5px;
    color: var(--neon-accent);
    text-transform: uppercase;
    font-size: 1.2rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    width: 100%;
}

.card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    text-decoration: none;
    color: var(--text-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    min-height: 160px;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transform: skewX(-20deg);
    transition: all 0.5s ease;
}

.card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(0, 243, 255, 0.3);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 243, 255, 0.1);
}

.card:hover::before {
    left: 200%;
}

.card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.card.disabled {
    cursor: default;
    border-color: rgba(255, 255, 255, 0.05);
    background: rgba(20, 20, 25, 0.3);
}

.card.disabled:hover {
    transform: none;
    box-shadow: none;
    border-color: rgba(255, 255, 255, 0.05);
}

.card.disabled:hover::before {
    left: -100%;
    /* Disable sheen effect */
}

.coming-soon-badge {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-top: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.hidden {
    display: none !important;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}