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

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

/* Header */
header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin: 20px auto;
    max-width: 1200px;
    border-radius: 15px;
}

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

.logo img {
    max-height: 90px;
    width: auto;
    height: auto;
}

.logo h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.tagline {
    font-size: 0.9rem;
    opacity: 0.9;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
}

nav a:hover {
    opacity: 0.8;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.search-box {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 10px;
}

.search-box input {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    outline: none;
}

.search-box button {
    padding: 12px 24px;
    background: #ff6b6b;
    color: white;
    border: none;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
}

.search-box button:hover {
    background: #ff5252;
}

/* Countries Section */
.countries {
    padding: 4rem 0;
    background: white;
}

.countries h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #333;
}

.countries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.country-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.country-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.flag {
    width: 60px;
    height: 40px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.country-card h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.country-card p {
    color: #666;
    margin-bottom: 1.5rem;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: transform 0.3s;
}

.btn:hover {
    transform: scale(1.05);
}

/* Featured Radios */
.featured-radios {
    padding: 4rem 0;
    background: #f8f9fa;
}

.featured-radios h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #333;
}

.radio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.radio-card {
    background: white;
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    height: fit-content;
}

.radio-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.radio-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.radio-logo {
    width: 45px;
    height: 45px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 0.75rem;
}

.radio-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: #333;
    font-weight: 600;
}

.radio-info .genre {
    color: #666;
    font-size: 0.85rem;
}

.current-song {
    background: #f8f9fa;
    padding: 0.75rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border-left: 3px solid #667eea;
}

.current-song-label {
    font-size: 0.75rem;
    color: #666;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    font-weight: 500;
}

.current-song-title {
    font-size: 0.9rem;
    color: #333;
    font-weight: 500;
    line-height: 1.3;
}

.radio-status-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.radio-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: #28a745;
    font-weight: 500;
}

.radio-status::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #28a745;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.click-hint {
    font-size: 0.75rem;
    color: #667eea;
    font-weight: 500;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.radio-card:hover .click-hint {
    opacity: 1;
}

/* Genres */
.genres {
    padding: 4rem 0;
    background: white;
}

.genres h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #333;
}

.genres-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.genre-btn {
    padding: 10px 20px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
}

.genre-btn:hover,
.genre-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: transparent;
}

/* Player Section */
.player-section {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

.current-player {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
}

.player-info {
    display: flex;
    align-items: center;
}

.player-logo {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 10px;
    margin-right: 1rem;
}

.player-details h4 {
    margin-bottom: 0.25rem;
    color: #333;
}

.player-details p {
    color: #666;
    font-size: 0.9rem;
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.player-controls button {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform 0.3s;
}

.player-controls button:hover {
    transform: scale(1.1);
}

#volumeSlider {
    width: 100px;
}

/* Additional sections from Excel data */
.schedule-section, .playlist-section-external, .news-section-external {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.schedule-section h2, .playlist-section-external h2, .news-section-external h2 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.schedule-links, .playlist-links, .news-links {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0 0;
}

.schedule-links li, .playlist-links li, .news-links li {
    margin-bottom: 0.8rem;
}

.schedule-links a, .playlist-links a, .news-links a {
    display: inline-block;
    padding: 10px 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 20px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.schedule-links a:hover, .playlist-links a:hover, .news-links a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.schedule-content p, .playlist-content p, .news-content p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* Footer */
footer {
    background: #2c3e50;
    color: white;
    padding: 3rem 0 1rem;
    margin: 4rem auto 20px;
    max-width: 1200px;
    border-radius: 15px;
}

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

.footer-section h4 {
    margin-bottom: 1rem;
    color: #fff;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

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

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #555;
    color: #ccc;
}

/* Responsive Design */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav ul {
        gap: 1rem;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .search-box {
        flex-direction: column;
    }
    
    .current-player {
        flex-direction: column;
        gap: 1rem;
    }
    
    .player-controls {
        width: 100%;
        justify-content: center;
    }
    
    .radio-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .countries-grid {
        grid-template-columns: 1fr;
    }
    
    .radio-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 1rem;
    }
    
    .genres-list {
        justify-content: center;
    }
    
    .radio-card {
        padding: 1rem;
    }
    
    .radio-logo {
        width: 40px;
        height: 40px;
    }
    
    .current-song {
        padding: 0.5rem;
    }
    
    .current-song-title {
        font-size: 0.8rem;
    }
}
