/* ====================
   CHILLMOVES.FUN - MAIN STYLESHEET
   ==================== */

:root {
    --bg-dark: #0a0c12;
    --bg-card: rgba(15, 25, 35, 0.85);
    --neon-cyan: #00f3ff;
    --neon-magenta: #ff00cc;
    --neon-lime: #b3ff00;
    --neon-purple: #9d00ff;
    --glass-border: rgba(0, 243, 255, 0.3);
    --text-primary: #e0e0e0;
    --text-secondary: #a0a0a0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--bg-dark);
    font-family: 'Space Grotesk', 'Courier New', monospace;
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
}

/* Animated background grid */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 243, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 243, 255, 0.08) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 0;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

/* ====================
   NAVBAR
   ==================== */
.navbar {
    background: rgba(10, 12, 18, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    border-bottom: 2px solid var(--neon-cyan);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.2);
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: bold;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    font-family: monospace;
    font-size: 1rem;
    letter-spacing: 1px;
    position: relative;
}

.nav-links a:hover {
    color: var(--neon-lime);
    text-shadow: 0 0 8px var(--neon-lime);
}

/* ====================
   TYPOGRAPHY
   ==================== */
h1, h2, h3 {
    font-family: 'Courier New', monospace;
    letter-spacing: -0.5px;
}

.glow-text {
    text-shadow: 0 0 5px var(--neon-cyan), 0 0 10px var(--neon-magenta);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* ====================
   GAMES PAGE
   ==================== */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 1rem;
    margin: 2rem 0;
}

.game-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--neon-cyan);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.3);
    border-color: var(--neon-lime);
}

.game-card h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--neon-cyan);
}

.game-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

/* ====================
   BUTTONS
   ==================== */
.play-btn, .btn-neon {
    background: transparent;
    border: 1px solid var(--neon-lime);
    color: var(--neon-lime);
    padding: 0.7rem 1.5rem;
    cursor: pointer;
    font-family: monospace;
    font-weight: bold;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    display: inline-block;
    text-decoration: none;
    border-radius: 8px;
}

.play-btn:hover, .btn-neon:hover {
    background: var(--neon-lime);
    color: #000;
    box-shadow: 0 0 15px var(--neon-lime);
    transform: scale(1.05);
}

/* ====================
   EVENT CARDS (Beachhouse)
   ==================== */
.calendar-container {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 1.5rem;
    border: 1px solid var(--neon-magenta);
    margin: 2rem 0;
}

.event-card {
    border: 1px solid var(--neon-cyan);
    border-radius: 16px;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
}

.event-card:hover {
    transform: translateX(5px);
    border-color: var(--neon-lime);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.2);
}

.event-card h3 {
    color: var(--neon-cyan);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.event-card p {
    margin: 0.5rem 0;
    color: var(--text-secondary);
}

/* ====================
   MUSIC CHARTS
   ==================== */
.charts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.8rem;
    margin: 2rem 0;
}

.music-card {
    background: rgba(0, 0, 0, 0.6);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid var(--neon-purple);
    transition: all 0.3s ease;
}

.music-card:hover {
    transform: translateY(-5px);
    border-color: var(--neon-cyan);
    box-shadow: 0 0 20px rgba(157, 0, 255, 0.3);
}

.music-card h3 {
    color: var(--neon-lime);
    margin: 0.5rem 0;
}

.chart-position {
    font-size: 2rem;
    font-weight: bold;
    color: var(--neon-magenta);
    font-family: monospace;
}

/* ====================
   BLOG POSTS
   ==================== */
.blog-post {
    background: rgba(0, 0, 0, 0.5);
    margin: 2rem 0;
    padding: 1.8rem;
    border-left: 4px solid var(--neon-cyan);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.blog-post:hover {
    background: rgba(0, 0, 0, 0.7);
    border-left-color: var(--neon-lime);
    transform: translateX(8px);
}

.blog-post h2 {
    color: var(--neon-cyan);
    margin-bottom: 0.5rem;
}

.blog-meta {
    color: var(--neon-magenta);
    font-size: 0.85rem;
    margin-bottom: 1rem;
    font-family: monospace;
}

/* ====================
   MODAL
   ==================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    backdrop-filter: blur(8px);
}

.modal-content {
    background: #0a0c12;
    width: 90%;
    max-width: 600px;
    margin: 10% auto;
    padding: 2rem;
    border: 2px solid var(--neon-cyan);
    border-radius: 24px;
    position: relative;
    box-shadow: 0 0 50px rgba(0, 243, 255, 0.3);
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    cursor: pointer;
    color: var(--neon-magenta);
    transition: all 0.2s;
}

.close-modal:hover {
    color: var(--neon-lime);
    transform: scale(1.1);
}

/* ====================
   APP PAGE
   ==================== */
.app-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 3rem 0;
}

.app-btn {
    background: linear-gradient(135deg, rgba(0, 243, 255, 0.1), rgba(255, 0, 204, 0.1));
    border: 2px solid var(--neon-cyan);
    padding: 1rem 2rem;
    font-size: 1.2rem;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s;
}

.app-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 25px var(--neon-cyan);
    border-color: var(--neon-lime);
}

/* ====================
   FORMS & ALERTS
   ==================== */
.alert {
    background: #1f1f2f;
    border-left: 4px solid var(--neon-lime);
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 8px;
    font-family: monospace;
}

.alert-error {
    border-left-color: #ff3366;
}

input, textarea, select {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid var(--neon-cyan);
    color: var(--text-primary);
    padding: 0.7rem;
    font-family: monospace;
    border-radius: 8px;
    width: 100%;
    margin: 0.5rem 0;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--neon-lime);
    box-shadow: 0 0 10px var(--neon-lime);
}

/* ====================
   FOOTER
   ==================== */
footer {
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
    border-top: 1px solid var(--glass-border);
    background: rgba(10, 12, 18, 0.8);
    position: relative;
    z-index: 1;
}

/* ====================
   RESPONSIVE DESIGN
   ==================== */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    .nav-links {
        gap: 0.8rem;
    }
    
    .nav-links a {
        font-size: 0.85rem;
        padding: 0.4rem 0.7rem;
    }
    
    .glow-text {
        font-size: 1.8rem;
    }
    
    .games-grid {
        gap: 1rem;
    }
    
    .game-card {
        padding: 1.2rem;
    }
    
    .game-card h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .navbar {
        padding: 0.8rem;
    }
    
    .glow-text {
        font-size: 1.5rem;
    }
    
    .play-btn, .btn-neon {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
}

/* ====================
   CUSTOM SCROLLBAR
   ==================== */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #0a0c12;
}

::-webkit-scrollbar-thumb {
    background: var(--neon-cyan);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--neon-lime);
}

/* ====================
   UTILITY CLASSES
   ==================== */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
.mt-4 { margin-top: 4rem; }
.mb-4 { margin-bottom: 4rem; }