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

:root {
    --primary-color: #0066cc;
    --primary-dark: #0052a3;
    --primary-light: #e6f2ff;
    --secondary-color: #ff6b35;
    --text-color: #333;
    --text-light: #666;
    --bg-color: #f8f9fa;
    --border-color: #ddd;
    --shadow: 0 2px 8px rgba(0,0,0,0.1);
    --shadow-lg: 0 4px 16px rgba(0,0,0,0.15);
}

@media (prefers-color-scheme: dark) {
    :root {
        --text-color: #e0e0e0;
        --text-light: #b0b0b0;
        --bg-color: #1a1a1a;
        --border-color: #333;
        --primary-light: #003d7a;
    }
    body {
        background-color: #0f0f0f;
        color: #e0e0e0;
    }
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 20px 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo h1 {
    font-size: 24px;
    font-weight: 700;
}

.header-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.status-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(255,255,255,0.2);
    border-radius: 20px;
    font-size: 14px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4caf50;
    animation: pulse 2s infinite;
}

.status-dot.offline {
    background: #f44336;
    animation: none;
}

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

/* Player Section */
.player-section {
    padding: 40px 0;
    background: var(--primary-light);
}

.player-card {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
    max-width: 600px;
    margin: 0 auto;
}

.player-card h2 {
    margin-bottom: 30px;
    font-size: 28px;
    color: var(--primary-color);
}

.audio-player {
    margin-bottom: 30px;
}

#player {
    display: none;
}

.player-controls {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 20px;
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.volume-control input {
    width: 100px;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-secondary:hover {
    background: #e55a1f;
}

.player-status {
    padding: 15px;
    background: var(--bg-color);
    border-radius: 6px;
    font-size: 14px;
    color: var(--text-light);
    text-align: center;
}

.current-program {
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    font-size: 14px;
    color: var(--text-light);
}

.current-program p {
    font-weight: 600;
    color: var(--primary-color);
}

/* About Section */
.about-section {
    padding: 60px 0;
}

.about-section h2 {
    font-size: 32px;
    margin-bottom: 15px;
    text-align: center;
}

.tagline {
    font-size: 18px;
    text-align: center;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.topic {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    box-shadow: var(--shadow);
    text-align: center;
    font-weight: 600;
}

/* Programming Section */
.programming-section {
    padding: 60px 0;
    background: var(--bg-color);
}

.programming-section h2 {
    font-size: 32px;
    margin-bottom: 40px;
    text-align: center;
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.schedule-item {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.schedule-item .time {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 16px;
}

.schedule-item .program {
    font-weight: 600;
    margin-top: 8px;
}

.schedule-item .host {
    font-size: 14px;
    color: var(--text-light);
    margin-top: 4px;
}

/* Engagement Section */
.engagement-section {
    padding: 60px 0;
}

.engagement-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.engagement-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
}

.engagement-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.engagement-card p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.form {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.form input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 14px;
}

.form button {
    padding: 10px 20px;
}

/* Recent Content Section */
.recent-section {
    padding: 60px 0;
    background: var(--bg-color);
}

.recent-section h2 {
    font-size: 32px;
    margin-bottom: 40px;
    text-align: center;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.content-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

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

.content-item-header {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

.content-item-title {
    font-weight: 700;
    margin-bottom: 8px;
}

.content-item-date {
    font-size: 12px;
    color: var(--text-light);
}

.content-item-body {
    padding: 20px;
}

.content-item-body p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.5;
}

/* Footer */
.footer {
    background: #222;
    color: #eee;
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h4 {
    margin-bottom: 15px;
    font-size: 16px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    font-size: 14px;
    color: #777;
}

/* Responsive */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 15px;
    }

    .player-card {
        padding: 25px;
    }

    .player-controls {
        flex-direction: column;
    }

    .volume-control {
        margin-left: 0;
        width: 100%;
    }

    .about-section,
    .programming-section,
    .engagement-section,
    .recent-section {
        padding: 40px 0;
    }
}
