/* new_storage/radiokita/css/style.css - Grayscale Modern Radio Player */
:root {
    --primary: #ffffff;
    --secondary: #cccccc;
    --accent: #888888;
    --pink: #666666;
    --bg-dark: #0a0a0a;
    --bg-darker: #000000;
    --text-primary: #ffffff;
    --text-secondary: #999999;
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glow: rgba(255, 255, 255, 0.3);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Outfit", sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* ========== BACKGROUND LAYERS ========== */
.bg-base {
    position: fixed;
    inset: 0;
    z-index: -2;
    background: linear-gradient(
        180deg,
        var(--bg-darker) 0%,
        var(--bg-dark) 50%,
        #050505 100%
    );
}

#particles {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    opacity: 0.4;
}

.bg-glow {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.bg-glow .orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
}

.orb-1 {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, #ffffff 0%, transparent 70%);
    top: -250px;
    left: -250px;
    animation: orbFloat 20s ease-in-out infinite;
}

.orb-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #aaaaaa 0%, transparent 70%);
    bottom: -200px;
    right: -200px;
    animation: orbFloat 25s ease-in-out infinite reverse;
    animation-delay: -5s;
}

.orb-3 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #777777 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: orbFloat 30s ease-in-out infinite;
    animation-delay: -10s;
    opacity: 0.1;
}

@keyframes orbFloat {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(60px, -60px) scale(1.05);
    }
    50% {
        transform: translate(-40px, 40px) scale(0.95);
    }
    75% {
        transform: translate(50px, 50px) scale(1.02);
    }
}

/* ========== APP CONTAINER ========== */
.app {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ========== MAIN ========== */
.main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

/* ========== HERO ========== */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    width: 100%;
    max-width: 500px;
}

.hero-text {
    text-align: center;
}

.hero-title {
    font-size: clamp(2.5rem, 12vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -3px;
    line-height: 0.95;
    margin-bottom: 0.5rem;
}

.hero-title .title-line {
    display: block;
    background: linear-gradient(135deg, #ffffff 0%, #cccccc 50%, #888888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: slideUp 1s ease-out;
}

.hero-slogan {
    font-size: clamp(0.9rem, 3vw, 1.2rem);
    color: var(--text-secondary);
    font-weight: 300;
    letter-spacing: 3px;
    animation: fadeIn 1.2s ease-out 0.3s both;
}

/* ========== PLAYER CARD ========== */
.player-card {
    position: relative;
    background: linear-gradient(
        135deg,
        rgba(40, 40, 40, 0.9),
        rgba(20, 20, 20, 0.95)
    );
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2rem 1.5rem;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
    animation: fadeUp 0.8s ease-out 0.4s both;
}

.player-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* ========== PLAYER VISUALIZER ========== */
.player-visualizer {
    position: relative;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 14px;
    padding: 0;
    margin: 0 auto 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.player-visualizer canvas {
    display: block;
    width: 100%;
    max-width: 280px;
    height: 60px;
    border-radius: 8px;
}

/* ========== PLAYER CONTROLS ========== */
.player-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.control-btn {
    background: none;
    border: none;
    color: #888888;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.control-btn:hover {
    color: #ffffff;
    transform: scale(1.1);
}

#eqToggleBtn {
    margin-right: 40px;
}

#notificationBtn {
    margin-left: 40px;
}

/* Neumorphic Play Button */
.play-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
        145deg,
        rgba(80, 80, 80, 0.4),
        rgba(40, 40, 40, 0.2)
    );
    box-shadow:
        8px 8px 20px rgba(0, 0, 0, 0.5),
        -4px -4px 12px rgba(255, 255, 255, 0.02),
        inset 0 0 20px rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.play-btn:hover {
    transform: scale(1.08);
    box-shadow:
        10px 10px 30px rgba(0, 0, 0, 0.6),
        -4px -4px 15px rgba(255, 255, 255, 0.03),
        inset 0 0 25px rgba(255, 255, 255, 0.1),
        0 0 35px rgba(255, 255, 255, 0.1);
}

.play-btn:active {
    transform: scale(0.95);
}

.play-btn-inner {
    position: relative;
    z-index: 2;
}

.play-btn svg {
    width: 32px;
    height: 32px;
    fill: #cccccc;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
    transition: all 0.3s;
}

.play-btn:hover svg {
    fill: #ffffff;
    filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.6));
}

.play-btn .pause-icon {
    display: none;
}

.play-btn.playing .play-icon {
    display: none;
}

.play-btn.playing .pause-icon {
    display: block;
}

.play-btn-ring {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    animation: ringPulse 2s ease-in-out infinite;
}

.play-btn-ring.ring-2 {
    inset: -10px;
    animation-delay: 0.5s;
    opacity: 0.5;
}

@keyframes ringPulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.2;
    }
}

.play-btn.playing .play-btn-ring {
    border-color: rgba(255, 255, 255, 0.5);
}

/* ========== VOLUME CONTROL ========== */
.player-volume {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 1rem 0;
}

.volume-slider {
    flex: 1;
    -webkit-appearance: none;
    appearance: none;
    height: 4px;
    border-radius: 10px;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.4) var(--volume-percent, 80%), rgba(255, 255, 255, 0.05) var(--volume-percent, 80%));
    outline: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.volume-slider:hover {
    height: 6px;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #ffffff;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
    border: 2px solid #000;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.volume-slider::-webkit-slider-thumb:hover {
    transform: scale(1.3);
    box-shadow: 0 0 20px #ffffff;
}

.volume-slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #ffffff;
    cursor: pointer;
    border: 2px solid #000;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
}

/* ========== EQUALIZER PANEL ========== */
.eq-panel {
    display: none;
    flex-direction: column;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--glass-border);
    margin-top: 1rem;
    animation: fadeIn 0.3s ease-out;
}

.eq-panel.active {
    display: flex;
}

.eq-slider-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.eq-slider-group label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.eq-slider-group input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    outline: none;
}

.eq-slider-group input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* ========== STATS ========== */
.stats-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.5rem;
    animation: fadeIn 1s ease-out 0.6s both;
}

.stat-item {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    background: linear-gradient(135deg, #ffffff, #888888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.65rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-divider {
    width: 1px;
    height: 24px;
    background: linear-gradient(
        to bottom,
        transparent,
        var(--glass-border),
        transparent
    );
}

/* ========== KEYFRAMES ========== */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* ========== RESPONSIVE ========== */
@media (min-width: 1024px) {
    .main {
        padding: 4rem 2rem;
    }
    .hero {
        max-width: 550px;
    }
    .hero-title {
        font-size: 4rem;
    }
    .player-card {
        max-width: 450px;
        padding: 2.5rem 2rem;
    }
    .play-btn {
        width: 80px;
        height: 80px;
    }
    .stats-row {
        gap: 2rem;
    }
    .stat-value {
        font-size: 1.5rem;
    }
    .player-visualizer canvas {
        max-width: 320px;
        height: 70px;
    }
}

@media (max-width: 768px) {
    .main {
        padding: 1.5rem 1.25rem;
    }
    .player-card {
        padding: 1.5rem 1.25rem;
        border-radius: 20px;
    }
    .play-btn {
        width: 70px;
        height: 70px;
    }
    .play-btn svg {
        width: 28px;
        height: 28px;
    }
    .stats-row {
        gap: 1.5rem;
    }
    .stat-value {
        font-size: 1.25rem;
    }
    .player-visualizer canvas {
        max-width: 260px;
        height: 55px;
    }
}

@media (max-width: 480px) {
    .main {
        padding: 1rem;
    }
    .hero-title {
        font-size: 2.2rem;
        letter-spacing: -1px;
    }
    .hero-slogan {
        font-size: 0.85rem;
    }
    .player-card {
        padding: 1.25rem 1rem;
        border-radius: 18px;
    }
    .play-btn {
        width: 60px;
        height: 60px;
    }
    .play-btn svg {
        width: 24px;
        height: 24px;
    }
    .player-volume {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    .volume-slider {
        width: 100%;
        order: 3;
    }
    .volume-value {
        display: none;
    }
    .stats-row {
        gap: 1rem;
    }
    .stat-value {
        font-size: 1rem;
    }
    .player-visualizer canvas {
        max-width: 220px;
        height: 50px;
    }
}

@media (max-width: 360px) {
    .hero-title {
        font-size: 2rem;
    }
    .player-card {
        padding: 1rem 0.85rem;
    }
    .play-btn {
        width: 55px;
        height: 55px;
    }
    .play-btn svg {
        width: 22px;
        height: 22px;
    }
    .player-visualizer canvas {
        max-width: 180px;
        height: 45px;
    }
}
