:root {
    --primary: #6366f1;
    --primary-hover: #4f46e5;
    --bg: #0f0f1a;
    --bg-alt: #16162a;
    --card: #1a1a2e;
    --text: #ffffff;
    --text-muted: #888888;
    --border: #333333;
    --radius: 12px;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
}

a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary-hover); }

img { max-width: 100%; height: auto; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.container-narrow { max-width: 800px; }

/* Header */
.header {
    background: var(--card);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border);
}

.header .container { display: flex; align-items: center; justify-content: space-between; }

.logo { font-size: 1.5rem; font-weight: 700; color: var(--text); }
.logo img { height: 40px; }

.nav { display: flex; gap: 2rem; }
.nav a { color: var(--text); font-weight: 500; }
.nav a:hover { color: var(--primary); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}

.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-hover); color: white; }

.btn-outline { background: transparent; border: 2px solid var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: white; }

.btn-lg { padding: 1rem 2rem; font-size: 1.1rem; }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.875rem; }

/* Sections */
.section { padding: 4rem 0; }
.section-alt { background: var(--bg-alt); }
.section-title { font-size: 2rem; margin-bottom: 2rem; text-align: center; }
.page-title { font-size: 2.5rem; margin-bottom: 2rem; }

/* Grid */
.grid { display: grid; gap: 2rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
    .nav { display: none; }
}

/* Cards */
.card {
    background: var(--card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.2s;
}

.card:hover { transform: translateY(-4px); }

.card-image { width: 100%; height: 200px; object-fit: cover; }
.card-avatar { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin: 1.5rem auto 0; }
.card-body { padding: 1.5rem; }
.card-center { text-align: center; }
.card h3 { margin: 0.5rem 0; }

/* Badge */
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--primary);
    color: white;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-lg { padding: 0.5rem 1rem; font-size: 0.875rem; }

/* Hero */
.hero {
    padding: 6rem 0;
    text-align: center;
    background: linear-gradient(135deg, var(--bg) 0%, var(--card) 100%);
}

.hero h1 { font-size: 3rem; margin-bottom: 1rem; }
.hero p { font-size: 1.25rem; color: var(--text-muted); margin-bottom: 2rem; max-width: 600px; margin-left: auto; margin-right: auto; }

/* Slider */
.slider { position: relative; height: 500px; overflow: hidden; }
.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.5s;
}
.slide.active { opacity: 1; }
.slide::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.5); }
.slide-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    text-align: center;
    padding: 2rem;
}
.slide-content h1 { font-size: 3rem; margin-bottom: 1rem; }
.slide-content p { font-size: 1.25rem; margin-bottom: 2rem; }

/* Schedule */
.schedule-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 1rem; }
.schedule-day { background: var(--card); border-radius: var(--radius); padding: 1rem; }
.schedule-day-title { font-size: 1rem; margin-bottom: 1rem; color: var(--primary); }
.schedule-slot { padding: 0.75rem; background: var(--bg); border-radius: 8px; margin-bottom: 0.5rem; }
.schedule-time { display: block; font-size: 0.75rem; color: var(--text-muted); }
.schedule-show { display: block; font-weight: 600; }
.schedule-dj { display: block; font-size: 0.875rem; color: var(--text-muted); }

@media (max-width: 1024px) {
    .schedule-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .schedule-grid { grid-template-columns: 1fr; }
}

/* Show/DJ Detail */
.show-detail, .dj-profile { display: grid; grid-template-columns: 1fr 2fr; gap: 3rem; align-items: start; }
.show-image { border-radius: var(--radius); }
.dj-avatar { width: 300px; height: 300px; border-radius: 50%; object-fit: cover; }
.show-description, .dj-bio { margin: 1.5rem 0; line-height: 1.8; }
.social-links { display: flex; gap: 1rem; margin: 1.5rem 0; }
.social-link { padding: 0.5rem 1rem; background: var(--card); border-radius: 8px; }

@media (max-width: 768px) {
    .show-detail, .dj-profile { grid-template-columns: 1fr; text-align: center; }
    .dj-avatar { margin: 0 auto; }
}

/* Blog Post */
.post-image { width: 100%; border-radius: var(--radius); margin-bottom: 2rem; }
.post-header { margin-bottom: 2rem; }
.post-meta { display: flex; gap: 1rem; align-items: center; color: var(--text-muted); margin-top: 0.5rem; }
.post-content { line-height: 1.8; }
.post-content p { margin-bottom: 1.5rem; }
.post-footer { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--border); }

/* Footer */
.footer {
    background: var(--card);
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid var(--border);
}

.footer p { color: var(--text-muted); }

/* Utilities */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.mt-4 { margin-top: 2rem; }

/* Forms */
.form-card {
    background: var(--card);
    padding: 2rem;
    border-radius: var(--radius);
    max-width: 500px;
    margin: 2rem auto;
}

.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 500; }
.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--bg);
    color: var(--text);
}

.btn-block { width: 100%; justify-content: center; }

.alert { padding: 1rem; border-radius: 8px; margin: 1rem 0; }
.alert-success { background: rgba(34, 197, 94, 0.2); color: #22c55e; }
.alert-error { background: rgba(239, 68, 68, 0.2); color: #ef4444; }

/* Podcast */
.podcast-header { display: grid; grid-template-columns: 200px 1fr; gap: 2rem; margin-bottom: 3rem; }
.podcast-cover { border-radius: var(--radius); }
.episode-list { margin: 2rem 0; }
.episode-item { background: var(--card); padding: 1.5rem; border-radius: var(--radius); margin-bottom: 1rem; }
.episode-player { width: 100%; margin-top: 1rem; }

/* Event */
.event-image { width: 100%; border-radius: var(--radius); margin-bottom: 2rem; }
.event-meta { display: flex; gap: 1rem; flex-wrap: wrap; margin: 1rem 0 2rem; }
.event-description { line-height: 1.8; margin-bottom: 2rem; }

/* Gallery */
.gallery-card { position: relative; display: block; border-radius: var(--radius); overflow: hidden; }
.gallery-card img { width: 100%; height: 200px; object-fit: cover; transition: transform 0.3s; }
.gallery-card:hover img { transform: scale(1.05); }
.gallery-overlay {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 1rem; color: white;
}
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; margin: 2rem 0; }
.gallery-item img { width: 100%; height: 150px; object-fit: cover; border-radius: 8px; cursor: pointer; }

/* Chat */
.chat-container { display: grid; grid-template-columns: 1fr 250px; gap: 1rem; height: 500px; }
.chat-main { display: flex; flex-direction: column; background: var(--card); border-radius: var(--radius); }
.chat-messages { flex: 1; overflow-y: auto; padding: 1rem; }
.chat-message { margin-bottom: 0.5rem; }
.chat-input { display: flex; gap: 0.5rem; padding: 1rem; border-top: 1px solid var(--border); }
.chat-input input { flex: 1; padding: 0.75rem; border: 1px solid var(--border); border-radius: 8px; background: var(--bg); color: var(--text); }
.chat-sidebar { background: var(--card); border-radius: var(--radius); padding: 1rem; }
.chat-sidebar h3 { margin-bottom: 1rem; font-size: 0.875rem; color: var(--text-muted); }
.online-user { padding: 0.5rem 0; border-bottom: 1px solid var(--border); }
.chat-login { max-width: 400px; margin: 2rem auto; background: var(--card); padding: 2rem; border-radius: var(--radius); }
.chat-login input { width: 100%; padding: 0.75rem; margin-bottom: 1rem; border: 1px solid var(--border); border-radius: 8px; background: var(--bg); color: var(--text); }
.divider { text-align: center; margin: 1rem 0; color: var(--text-muted); }

/* Contest */
.contest-image { width: 100%; border-radius: var(--radius); margin-bottom: 2rem; }
.contest-meta { display: flex; gap: 1rem; flex-wrap: wrap; margin: 1rem 0 2rem; }
.contest-description { line-height: 1.8; margin-bottom: 2rem; }
.contest-rules { background: var(--bg-alt); padding: 1.5rem; border-radius: var(--radius); margin: 2rem 0; }

/* Charts */
.charts-tabs { display: flex; gap: 1rem; margin-bottom: 2rem; justify-content: center; }
.tab-btn { padding: 0.75rem 1.5rem; border: 2px solid var(--border); border-radius: 8px; background: transparent; color: var(--text); cursor: pointer; }
.tab-btn.active { border-color: var(--primary); background: var(--primary); }
.chart-list { max-width: 600px; margin: 0 auto; }
.chart-item { display: flex; align-items: center; gap: 1rem; padding: 1rem; background: var(--card); border-radius: 8px; margin-bottom: 0.5rem; }
.chart-position { font-size: 1.5rem; font-weight: 700; width: 40px; text-align: center; }
.chart-movement { width: 20px; }
.chart-movement.up { color: #22c55e; }
.chart-movement.down { color: #ef4444; }
.chart-info { flex: 1; }
.chart-weeks { color: var(--text-muted); font-size: 0.875rem; }

/* History */
.history-list { max-width: 600px; margin: 0 auto; }
.history-item { display: flex; align-items: center; gap: 1rem; padding: 1rem; background: var(--card); border-radius: 8px; margin-bottom: 0.5rem; }
.history-art { width: 50px; height: 50px; border-radius: 4px; object-fit: cover; }
.history-art-placeholder { display: flex; align-items: center; justify-content: center; background: var(--bg); font-size: 1.5rem; }
.history-info { flex: 1; }
.history-time { font-size: 0.875rem; }

@media (max-width: 768px) {
    .podcast-header { grid-template-columns: 1fr; text-align: center; }
    .podcast-cover { max-width: 200px; margin: 0 auto; }
    .chat-container { grid-template-columns: 1fr; height: auto; }
    .chat-sidebar { display: none; }
}
