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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #0f1419;
    color: #ffffff;
    line-height: 1.6;
}

:root {
    --accent-red: #dc2626;
}

/* Header & Navigation */
header {
    background: #0f1419;
    padding: 1rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #1f2937;
    transition: transform 0.25s ease;
}

header.header--hidden {
    transform: translateY(-100%);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    position: relative;
}

/* Neon underline for brand in nav */
.logo::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.15rem;
    width: 100%;
    height: 2px;
    background: var(--accent-red);
    box-shadow: 0 0 6px rgba(220, 38, 38, 0.8);
}

.logo-text {
    font-size: 1.8rem;
}

.logo-sub {
    font-size: 0.9rem;
    font-weight: 400;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.95rem;
    position: relative;
}

/* Hover underline animation for nav links */
.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.3rem;
    width: 0;
    height: 2px;
    background: var(--accent-red);
    box-shadow: 0 0 6px rgba(220, 38, 38, 0.8);
    transition: width 0.2s ease;
}

.nav-links a:hover {
    color: #ffffff;
}

.nav-links a:hover::after {
    width: 100%;
}

.btn-listen {
    background: #dc2626;
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s;
    text-decoration: none;
}

.btn-listen:hover {
    background: #b91c1c;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 8rem 2rem 4rem;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column; /* column by default, row on large screens */
    gap: 3rem;
    min-height: 80vh;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Visual block (waveform + mic) */
.hero-visual {
    display: flex;
    justify-content: center; /* center inside its column */
    align-items: center;
}

.microphone-container {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo {
    font-size: 3.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.1;
    position: relative;
    display: inline-flex;
    gap: 0.3rem;
}

.hero-logo-main {
    font-size: 1em;
}.hero-logo::after {
    size: 0.6em;
    font-weight: 500;
}

/* Neon underline under main title above player */
.hero-logo::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.35rem;
    width: 70%;
    height: 2px;
    background: var(--accent-red);
    box-shadow: 0 0 8px rgba(220, 38, 38, 0.9);
}

.hero-content p {
    font-size: 1.5rem;
    color: #9ca3af;
    margin-bottom: 2rem;
}

.hero-tagline {
    font-size: 1rem;
    color: #9ca3af;
    margin-bottom: 1.5rem;
    max-width: 28rem;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.waveform {
    position: relative;
    display: flex;
    gap: 4px;
    align-items: flex-end;
    justify-content: flex-start;
    width: 100%;
    height: 80px;
    margin-top: 1.25rem;
    z-index: 0;
}

.wave-bar {
    width: 6px;
    background: linear-gradient(180deg, #dc2626 0%, #991b1b 100%);
    border-radius: 999px; /* pill / dot shape */
    opacity: 0.7;
}

@keyframes wave {
    0%, 100% { height: var(--wave-height, 50px); }
    50% { height: calc(var(--wave-height, 50px) * 0.5); }
}

.microphone-container {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.microphone-img {
    width: 320px;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(220, 38, 38, 0.4));
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Player Section (default large section) */
.player-section {
    background: #1a1f2e;
    padding: 2rem 2rem;
    max-width: 1400px;
    margin: 1rem auto;
    border-radius: 12px;
}

.player-title {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.player-container {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: #0f1419;
    padding: 1.5rem;
    border-radius: 8px;
}

.play-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(220, 38, 38, 0.8); /* slightly faded inactive */
    border: none;
    cursor: pointer;
    position: relative;
    transition: all 0.25s ease;
    flex-shrink: 0;
    box-shadow: 0 0 0 rgba(220, 38, 38, 0.0);
}

.play-btn:hover {
    background: rgba(220, 38, 38, 1);
    transform: scale(1.03);
}

/* Active state glow for play button */
.play-btn.playing {
    background: #dc2626;
    box-shadow: 0 0 12px rgba(220, 38, 38, 0.9);
    transform: scale(1.06);
}

.play-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 55%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 12px 0 12px 20px;
    border-color: transparent transparent transparent #ffffff;
}

.play-btn.playing::before {
    border: none;
    width: 20px;
    height: 20px;
    left: 50%;
    background: linear-gradient(to right, #ffffff 0%, #ffffff 35%, transparent 35%, transparent 65%, #ffffff 65%, #ffffff 100%);
}

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

.player-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.25rem;
}

.badge-live {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    background: rgba(220, 38, 38, 0.2);
    color: #fecaca;
    box-shadow: 0 0 8px rgba(220, 38, 38, 0.6);
}

/* .badge-meta removed as bitrate badge is no longer used */

.song-label {
    color: #9ca3af;
    font-size: 14px;
    margin-bottom: 4px;
}

.song-title {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.btn-app {
    background: transparent;
    border: 2px solid #dc2626;
    color: #dc2626;
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    white-space: nowrap;
}

.btn-app:hover {
    background: #dc2626;
    color: white;
}

/* Inline small player next to hero (below title, left side) */
.player-inline {
    position: relative;
    margin-top: 1.5rem;
    margin-left: 0;
    max-width: 480px;
    background-color: #1a1f2e;
    border: 2px solid #dc2626;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

.player-container.small {
    position: relative;
    z-index: 1; /* ensures text and controls sit above waveform */
    display: flex;
    align-items: center;
    gap: 1rem;
    background-color: #1a1f2e00;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
}

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

.volume-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    transition: transform 0.2s;
}

.volume-btn img {
    width: 28px;
    height: 28px;
    filter: brightness(1);
    transition: transform 0.2s, opacity 0.2s;
}

.volume-btn:hover {
    transform: scale(1.1);
}

#volumeSlider {
    width: 100px;
    cursor: pointer;
}

.live-dot {
    background: #dc2626;
    color: white;
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    margin-left: 0.5rem;
    animation: pulse 1.5s infinite;
}

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

/* News Section */
.news-section {
    background: #0b1015;
    padding: 4rem 2rem 3rem;
}

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

.news-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.news-intro {
    font-size: 1.25rem;
    color: #9ca3af;
    margin-bottom: 1.75rem;
}

/* Neon underline for Vesti heading */
.news-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.25rem;
    width: 60%;
    height: 2px;
    background: var(--accent-red);
    box-shadow: 0 0 6px rgba(220, 38, 38, 0.8);
}

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

.news-card {
    background: #111827;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #1f2937;
    display: flex;
    flex-direction: column;
}

.news-image-wrapper {
    width: 100%;
    height: 180px;
    overflow: hidden;
    position: relative;
}

/* Hover underline for news thumbnails */
.news-image-wrapper::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--accent-red);
    box-shadow: 0 0 6px rgba(220, 38, 38, 0.8);
    transition: width 0.2s ease;
}

.news-card:hover .news-image-wrapper::after {
    width: 100%;
}

.news-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-content {
    padding: 1rem 1.25rem 1.25rem;
}

.news-time {
    font-size: 0.8rem;
    color: #9ca3af;
    margin-bottom: 0.35rem;
}

.news-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.news-description {
    font-size: 0.95rem;
    color: #d1d5db;
}

.no-news {
    margin-top: 1rem;
    color: #9ca3af;
}

/* Contact Bar */
.contact-bar {
    background: #070a0d;
    border-top: 1px solid #dc2626;
    padding: 1.5rem 2rem;
}

.contact-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.contact-brand {
    display: flex;
    flex-direction: column;
}

.contact-title {
    font-size: 1.2rem;
    font-weight: 600;
}

.contact-subtitle {
    font-size: 0.9rem;
    color: #9ca3af;
}

.contact-details {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    font-size: 0.9rem;
    color: #d1d5db;
}

.contact-details a {
    color: #f97316;
    text-decoration: none;
}

.contact-details a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 968px) {
    .hero {
        flex-direction: column;
        padding: 6rem 1.5rem 3rem;
        gap: 2rem;
    }

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

    .hero-content p {
        font-size: 1.2rem;
    }

    .hero-visual {
        position: static;
        width: 100%;
        margin-top: 2rem;
        justify-content: center;
        align-items: center;
    }

.microphone-img {
        width: 320px;
    }

    .waveform {
        height: 100px;
    }

    .nav-links {
        gap: 1rem;
    }

    .nav-links a {
        font-size: 0.85rem;
    }

    .player-container {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .btn-app {
        width: 100%;
    }

    /* Inline player on mobile stays under content */
    .player-inline {
        position: static;
        margin: 2rem auto 0 auto;
    }
}

/* Large screens: hero content left, visual between content and right edge */
@media (min-width: 969px) {
    .hero {
        flex-direction: row;
        align-items: flex-start;
        gap: 4rem;
    }

    .hero-content {
        flex: 0 0 40%; /* fixed-ish column for title + player on the left */
    }

    .hero-visual {
        flex: 1;              /* takes the remaining space to the right */
        align-items: center;  /* center mic vertically in its column */
        justify-content: center; /* center mic horizontally in the right column */
        margin-top: 0;
    }
}

@media (max-width: 640px) {
    header {
        padding: 1rem;
    }

    .logo-text {
        font-size: 1.4rem;
    }

    .nav-links {
        display: none;
    }

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

    .hero-content p {
        font-size: 1rem;
    }

.microphone-img {
        width: 280px;
    }

    .player-section {
        padding: 2rem 1rem;
    }

    .player-title {
        font-size: 1.5rem;
    }

    #volumeSlider {
        width: 80px;
    }
}
