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

:root {
    --bg-dark: #0a0a0f;
    --bg-card: #14141f;
    --bg-card-hover: #1c1c2e;
    --accent: #e63946;
    --accent-glow: rgba(230, 57, 70, 0.4);
    --text: #f1f1f1;
    --text-dim: #8888aa;
    --header-h: 64px;
    --nav-h: 48px;
    --player-h: 80px;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-dark);
    color: var(--text);
    min-height: 100vh;
    padding-bottom: calc(var(--player-h) + 16px);
}

/* TOPBAR */
.topbar {
    position: sticky;
    top: 0;
    z-index: 101;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 32px;
    background: rgba(10, 10, 15, 0.98);
    border-bottom: 1px solid rgba(255,255,255,0.04);
    font-size: 0.75rem;
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1100px;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.topbar-social {
    color: var(--text-dim);
    font-size: 0.8rem;
    transition: color 0.2s;
}

.topbar-social:hover {
    color: var(--accent);
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.topbar-link {
    color: var(--text-dim);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.topbar-link:hover {
    color: var(--text);
}

/* HEADER */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    height: var(--header-h);
    padding: 0 32px;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1100px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.header-banner {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 20px;
    padding: 10px 24px;
    background: linear-gradient(135deg, var(--accent), #c62e3a);
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.3s;
    white-space: nowrap;
    letter-spacing: 0.3px;
}

.header-banner:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 20px var(--accent-glow);
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-icon {
    font-size: 1.5rem;
    color: var(--accent);
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--text);
}

.search-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 24px;
    padding: 6px 16px;
    transition: border 0.3s;
}

.search-box:focus-within {
    border-color: var(--accent);
}

.search-box i {
    color: var(--text-dim);
    font-size: 0.85rem;
}

.search-box input {
    background: none;
    border: none;
    outline: none;
    color: var(--text);
    font-size: 0.9rem;
    width: 180px;
    font-family: inherit;
}

.search-box input::placeholder {
    color: var(--text-dim);
}

/* NAVBAR */
.navbar {
    position: sticky;
    top: var(--header-h);
    z-index: 99;
    background: rgba(10, 10, 15, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    height: var(--nav-h);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 0 32px;
    overflow-x: auto;
}

.nav-inner {
    display: flex;
    align-items: center;
    gap: 0;
    width: 100%;
    max-width: 1100px;
}

.nav-link {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    transition: color 0.2s, border-bottom 0.2s;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--text);
}

.nav-link.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

/* HERO */
.hero {
    position: relative;
    height: 420px;
    background: url('https://images.unsplash.com/photo-1511379938547-c1f69419868d?w=1600') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,10,15,0.5) 0%, rgba(10,10,15,0.95) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 0 24px;
}

.hero-content h1 {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
}

.hero-content h1 span {
    color: var(--accent);
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-dim);
    margin-bottom: 28px;
    line-height: 1.6;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 14px 36px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    font-family: inherit;
    transition: transform 0.2s, box-shadow 0.3s;
}

.hero-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px var(--accent-glow);
}

/* MAIN */
.main-content {
    padding: 40px 32px;
    max-width: 1100px;
    margin: 0 auto;
}

/* GENRE SECTION */
.genre-section {
    margin-bottom: 50px;
}

.genre-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.genre-title i {
    color: var(--accent);
}

/* RADIO GRID */
.radio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 18px;
}

.radio-card {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.25s, box-shadow 0.25s;
}

.radio-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}

.radio-card.playing {
    box-shadow: 0 0 0 2px var(--accent), 0 12px 40px var(--accent-glow);
}

.card-img {
    position: relative;
    width: 100%;
    height: 160px;
    overflow: hidden;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.radio-card:hover .card-img img {
    transform: scale(1.08);
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.radio-card:hover .card-overlay {
    opacity: 1;
}

.play-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 20px var(--accent-glow);
}

.play-btn:hover {
    transform: scale(1.15);
}

.play-btn i {
    margin-left: 3px;
}

.card-info {
    padding: 12px;
}

.card-info h3 {
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.card-info p {
    font-size: 0.72rem;
    color: var(--text-dim);
}

/* STICKY PLAYER */
.sticky-player {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--player-h);
    background: rgba(14, 14, 22, 0.97);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255,255,255,0.08);
    z-index: 200;
}

.player-inner {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 24px;
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.player-info {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 200px;
    flex-shrink: 0;
}

.player-thumb {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.player-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.player-meta {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.player-title {
    font-size: 0.85rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.player-artist {
    font-size: 0.75rem;
    color: var(--text-dim);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.ctrl-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    color: var(--text);
    border: none;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
}

.ctrl-btn:hover {
    background: rgba(255,255,255,0.12);
}

.play-main {
    width: 44px;
    height: 44px;
    background: var(--accent);
    font-size: 1rem;
}

.play-main:hover {
    background: #c62e3a;
}

.play-main i {
    margin-left: 2px;
}

.play-main.playing i {
    margin-left: 0;
}

/* PROGRESS */
.player-progress-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.time-current, .time-total {
    font-size: 0.7rem;
    color: var(--text-dim);
    font-variant-numeric: tabular-nums;
    min-width: 36px;
    text-align: center;
}

.progress-bar {
    flex: 1;
    height: 4px;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.progress-bar:hover {
    height: 6px;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: var(--accent);
    border-radius: 2px;
    transition: width 0.3s;
}

/* VOLUME */
.player-volume {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    min-width: 140px;
}

.volume-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 90px;
    height: 4px;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
    outline: none;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent);
    cursor: pointer;
}

.volume-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent);
    cursor: pointer;
    border: none;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .topbar {
        padding: 0 16px;
    }

    .topbar-right {
        gap: 12px;
    }

    .topbar-link {
        font-size: 0.7rem;
    }

    .header {
        padding: 10px 16px;
    }

    .header-banner {
        display: none;
    }

    .search-box input {
        width: 120px;
    }

    .nav-container {
        padding: 0 12px;
    }

    .nav-link {
        padding: 0 14px;
        font-size: 0.78rem;
    }

    .hero {
        height: 320px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .main-content {
        padding: 24px 16px;
    }

    .radio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .player-progress-wrap,
    .player-volume {
        display: none;
    }

    .player-info {
        min-width: 0;
        flex: 1;
    }

    .player-controls {
        margin-left: auto;
    }
}

@media (max-width: 480px) {
    .radio-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
}

/* COUNTRY GRID */
.country-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
}

.country-card {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: var(--text);
    transition: transform 0.25s, box-shadow 0.25s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.country-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.5);
}

.country-flag {
    width: 100%;
    height: 140px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1a1a2e;
}

.country-flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.country-name {
    padding: 16px;
    text-align: center;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.country-count {
    font-size: 0.75rem;
    color: var(--text-dim);
    font-weight: 400;
    display: block;
    margin-top: 4px;
}

@media (max-width: 768px) {
    .country-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .country-flag {
        height: 100px;
    }

    .country-name {
        font-size: 0.85rem;
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .country-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .country-flag {
        height: 80px;
    }

    .country-name {
        font-size: 0.8rem;
        padding: 10px;
    }
}

.coming-soon {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 40px 24px;
    background: var(--bg-card);
    border: 1px dashed rgba(255,255,255,0.15);
    border-radius: 16px;
    color: var(--text-dim);
    font-size: 1.05rem;
    text-align: center;
    justify-content: center;
}

.coming-soon i {
    font-size: 1.6rem;
    color: var(--accent);
}

/* TOP 100 LIST */
.top-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.top-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 20px;
    background: var(--bg-card);
    border-radius: 12px;
    transition: background 0.2s;
}

.top-item:hover {
    background: var(--bg-card-hover);
}

.top-rank {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--accent);
    min-width: 40px;
    text-align: center;
}

.top-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.top-title {
    font-weight: 600;
    font-size: 0.95rem;
}

.top-artist {
    font-size: 0.8rem;
    color: var(--text-dim);
}

/* PODCAST GRID */
.podcast-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.podcast-card {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.25s, box-shadow 0.25s;
}

.podcast-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}

.podcast-card .card-img {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.podcast-card .card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.podcast-card:hover .card-img img {
    transform: scale(1.05);
}

/* CONTACT */
.contact-wrap {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dim);
}

.form-group input,
.form-group textarea {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    padding: 12px 16px;
    color: var(--text);
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
    transition: border 0.3s;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 24px;
    background: var(--bg-card);
    border-radius: 16px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.95rem;
}

.contact-item i {
    color: var(--accent);
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

@media (max-width: 768px) {
.contact-submit-btn {
    display: block;
    margin: 12px auto 0;
    padding: 7px 18px;
    font-size: 0.75rem;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    font-family: inherit;
    transition: transform 0.2s, box-shadow 0.3s;
}

.contact-submit-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px var(--accent-glow);
}

.contact-wrap {
        grid-template-columns: 1fr;
    }
}

/* YOUTUBE PLAYER */
.youtube-player-wrap {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 30px;
    border: 1px solid rgba(255,255,255,0.06);
}

.youtube-embed {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.youtube-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.now-playing-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    background: rgba(255,255,255,0.03);
    font-weight: 600;
    font-size: 0.9rem;
}

.top-item.playing {
    background: var(--bg-card-hover);
    box-shadow: inset 3px 0 0 var(--accent);
}
