@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --color-primary: hsl(14, 100%, 50%);
    --color-primary-dark: hsl(14, 100%, 45%);
    --color-primary-light: hsl(14, 100%, 97%);
    --color-secondary: hsl(220, 14%, 96%);
    --color-accent: #06b6d4;
    --color-bg: hsl(0, 0%, 99%);
    --color-bg-alt: hsl(220, 14%, 96%);
    --color-bg-dark: hsl(220, 20%, 14%);
    --color-text: hsl(220, 20%, 14%);
    --color-text-muted: hsl(220, 10%, 46%);
    --color-border: hsl(220, 13%, 91%);
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-mono: 'Roboto Mono', monospace;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1);
    --shadow-lg: 0 4px 12px 0 rgb(0 0 0 / 0.1);
    --radius: 8px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-mono);
}

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

/* Header */
.site-header {
    background: transparent;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: background 0.3s ease;
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 600;
    font-family: var(--font-mono);
    color: white;
    text-decoration: none;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: color 0.3s ease;
}

.site-header.scrolled .logo {
    color: var(--color-text);
    text-shadow: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--color-primary-light);
    border: 1px solid hsla(14, 100%, 50%, 0.2);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
}

.site-header.scrolled .logo-icon {
    background: var(--color-primary-light);
    border-color: hsla(14, 100%, 50%, 0.2);
}

.nav-desktop {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-desktop a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    font-size: 13px;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.2s;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.site-header.scrolled .nav-desktop a {
    color: var(--color-text-muted);
    text-shadow: none;
}

.nav-desktop a:hover,
.nav-desktop a.active {
    color: white;
}

.site-header.scrolled .nav-desktop a:hover,
.site-header.scrolled .nav-desktop a.active {
    color: var(--color-primary);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: white;
    cursor: pointer;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.site-header.scrolled .mobile-menu-toggle {
    color: var(--color-text);
    text-shadow: none;
}

/* Hero Section */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #e0e7ff 0%, #f8fafc 50%, #fce7f3 100%);
    text-align: center;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.live-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse-green 2s infinite;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.8);
}

.live-dot.offline {
    background: #ef4444;
    animation: pulse-red 2s infinite;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.8);
}

@keyframes pulse-green {
    0%, 100% { 
        opacity: 1;
        transform: scale(1);
    }
    50% { 
        opacity: 0.6;
        transform: scale(1.1);
    }
}

@keyframes pulse-red {
    0%, 100% { 
        opacity: 1;
        transform: scale(1);
    }
    50% { 
        opacity: 0.6;
        transform: scale(1.1);
    }
}

.hero h1 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-description {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 500;
    font-size: 14px;
    font-family: var(--font-mono);
    text-decoration: none;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

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

.btn-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px hsla(14, 100%, 50%, 0.3);
}

.btn-secondary {
    background: white;
    color: var(--color-text);
    border: 1px solid var(--color-border);
}

.btn-secondary:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

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

.radio-player {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
}

.player-main {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
}

.play-button {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--color-primary);
    color: white;
    border: none;
    font-size: 28px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-button:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 24px hsla(14, 100%, 50%, 0.4);
}

.track-info {
    flex: 1;
}

.track-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 8px;
}

.track-artist {
    font-size: 16px;
    color: var(--color-text-muted);
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 12px;
}

.volume-slider {
    width: 120px;
    height: 6px;
    -webkit-appearance: none;
    appearance: none;
    background: var(--color-border);
    border-radius: 3px;
    outline: none;
}

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

.listeners {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--color-text-muted);
    font-size: 14px;
    padding-top: 20px;
    border-top: 1px solid var(--color-border);
}

/* Recent Tracks */
.recent-tracks {
    padding: 80px 0;
    background: var(--color-bg-alt);
}

.section-title {
    font-size: 32px;
    font-weight: 600;
    font-family: var(--font-mono);
    text-align: center;
    margin-bottom: 40px;
    color: var(--color-text);
}

.tracks-list {
    max-width: 700px;
    margin: 0 auto;
}

.track-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: white;
    border-radius: var(--radius);
    margin-bottom: 12px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.track-item:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow);
}

.track-thumb {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    background: var(--color-bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    overflow: hidden;
}

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

.track-details {
    flex: 1;
}

.track-name {
    font-weight: 600;
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--color-text);
    margin-bottom: 4px;
}

.track-meta {
    font-size: 14px;
    color: var(--color-text-muted);
}

.track-time {
    font-size: 14px;
    color: var(--color-text-muted);
    font-weight: 500;
}

/* Features Section */
.features-section {
    padding: 100px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    text-align: center;
    padding: 40px 32px;
    background: var(--color-bg-alt);
    border-radius: var(--radius);
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--color-primary-light);
    border: 1px solid hsla(14, 100%, 50%, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: var(--color-primary);
    font-size: 28px;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    font-family: var(--font-mono);
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--color-text-muted);
    font-size: 15px;
    line-height: 1.6;
}

/* Footer */
.site-footer {
    background: var(--color-bg-dark);
    color: white;
    padding: 60px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-description {
    color: #94a3b8;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.2s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social a:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

.footer-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.2s;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #64748b;
    font-size: 14px;
}

/* Modern GDPR Cookie Banner */
.cookie-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.cookie-banner.show {
    display: flex;
}

.cookie-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.cookie-modal {
    position: relative;
    background: white;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    max-width: 520px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: cookieSlideIn 0.3s ease-out;
}

@keyframes cookieSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cookie-header {
    padding: 32px 32px 24px;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
}

.cookie-icon {
    width: 64px;
    height: 64px;
    background: var(--color-primary-light);
    border: 1px solid hsla(14, 100%, 50%, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.cookie-icon i {
    font-size: 28px;
    color: var(--color-primary);
}

.cookie-header h3 {
    font-size: 20px;
    font-weight: 600;
    font-family: var(--font-mono);
    color: var(--color-text);
    margin-bottom: 12px;
}

.cookie-header p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
}

.cookie-options {
    padding: 24px 32px;
}

.cookie-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px solid #f1f5f9;
}

.cookie-option:last-child {
    border-bottom: none;
}

.cookie-option-disabled {
    opacity: 0.7;
}

.cookie-option-info {
    flex: 1;
    padding-right: 16px;
}

.cookie-option-info strong {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 4px;
}

.cookie-option-info span {
    font-size: 13px;
    color: #64748b;
    line-height: 1.4;
}

/* Toggle Switch */
.cookie-toggle {
    position: relative;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-toggle label {
    display: block;
    width: 48px;
    height: 24px;
    background: #e2e8f0;
    border-radius: 24px;
    cursor: pointer;
    position: relative;
    transition: background 0.3s;
}

.cookie-toggle label::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.cookie-toggle input:checked + label {
    background: #6366f1;
}

.cookie-toggle input:checked + label::after {
    transform: translateX(24px);
}

.cookie-toggle input:disabled + label {
    opacity: 0.5;
    cursor: not-allowed;
}

.cookie-actions {
    padding: 0 32px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-cookie {
    padding: 14px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    text-align: center;
}

.btn-cookie-primary {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
}

.btn-cookie-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.btn-cookie-secondary {
    background: #f1f5f9;
    color: #475569;
}

.btn-cookie-secondary:hover {
    background: #e2e8f0;
}

.btn-cookie-outline {
    background: transparent;
    color: #6366f1;
    border: 2px solid #6366f1;
}

.btn-cookie-outline:hover {
    background: #6366f1;
    color: white;
}

.cookie-footer {
    padding: 16px 32px 32px;
    text-align: center;
}

.cookie-footer a {
    color: #6366f1;
    font-size: 14px;
    text-decoration: none;
    font-weight: 500;
}

.cookie-footer a:hover {
    text-decoration: underline;
}

/* Compact mode (when minimized) */
.cookie-banner.compact .cookie-modal {
    max-width: 400px;
}

.cookie-banner.compact .cookie-options {
    display: none;
}

.cookie-banner.compact .btn-cookie-outline {
    display: block;
}

/* Responsive */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-desktop {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        z-index: 100;
    }
    
    .nav-desktop.show {
        display: flex;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero-description {
        font-size: 18px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .radio-player {
        padding: 24px;
    }

    .player-main {
        flex-direction: column;
        text-align: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}


/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 100px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 400px;
}

.toast {
    background: white;
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    animation: slideIn 0.3s ease-out;
    border-left: 4px solid;
    min-width: 320px;
    cursor: pointer;
    transition: transform 0.2s;
}

.toast:hover {
    transform: translateX(-4px);
}

.toast.toast-success {
    border-left-color: #22c55e;
}

.toast.toast-error {
    border-left-color: #ef4444;
}

.toast.toast-warning {
    border-left-color: #f59e0b;
}

.toast.toast-info {
    border-left-color: #3b82f6;
}

.toast-icon {
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.toast-success .toast-icon {
    color: #22c55e;
}

.toast-error .toast-icon {
    color: #ef4444;
}

.toast-warning .toast-icon {
    color: #f59e0b;
}

.toast-info .toast-icon {
    color: #3b82f6;
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-weight: 600;
    font-size: 14px;
    color: var(--color-text);
    margin-bottom: 4px;
}

.toast-message {
    font-size: 13px;
    color: var(--color-text-muted);
    line-height: 1.5;
}

.toast-close {
    background: none;
    border: none;
    color: var(--color-text-muted);
    cursor: pointer;
    font-size: 18px;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s;
    flex-shrink: 0;
}

.toast-close:hover {
    background: var(--color-bg-alt);
    color: var(--color-text);
}

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(400px);
        opacity: 0;
    }
}

.toast.removing {
    animation: slideOut 0.3s ease-out forwards;
}

@media (max-width: 768px) {
    .toast-container {
        right: 12px;
        left: 12px;
        max-width: none;
    }
    
    .toast {
        min-width: auto;
    }
}
