/* ===== أعماق - Complete Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

body {
    font-family: 'Cairo', sans-serif;
    background: #0a0a2e;
    color: #fff;
    min-height: 100vh;
    overflow-x: hidden
}

.hidden {
    display: none !important
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02)
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 229, 255, 0.15);
    border-radius: 3px
}

::selection {
    background: rgba(0, 229, 255, 0.2);
    color: #fff
}

/* ============================= */
/* News Ticker                   */
/* ============================= */
.news-ticker-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: 36px;
    background: rgba(10, 10, 46, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 229, 255, 0.1)
}

.ticker-inner {
    display: flex;
    align-items: center;
    height: 100%
}

.ticker-label {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 14px;
    height: 100%;
    background: rgba(0, 229, 255, 0.08);
    border-left: 1px solid rgba(0, 229, 255, 0.15);
    font-size: 12px;
    font-weight: 700;
    color: #00e5ff;
    flex-shrink: 0
}

.ticker-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00e5ff;
    animation: pulse 2s infinite
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: 0.3
    }
}

.ticker-track {
    flex: 1;
    overflow: hidden
}

.ticker-scroll {
    display: inline-block;
    white-space: nowrap;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    animation: tickerScroll 120s linear infinite;
    padding-right: 100%
}

@keyframes tickerScroll {
    0% {
        transform: translateX(0)
    }

    100% {
        transform: translateX(100%)
    }
}

.ticker-track:hover .ticker-scroll {
    animation-play-state: paused
}

/* ============================= */
/* Sidebar                       */
/* ============================= */
.sidebar {
    position: fixed;
    top: 36px;
    right: 0;
    bottom: 0;
    width: 280px;
    background: rgba(10, 10, 46, 0.92);
    backdrop-filter: blur(24px);
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 50;
    overflow-y: auto;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1)
}

.sidebar-header {
    padding: 16px 20px 12px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05)
}

.sidebar-logo {
    width: 64px;
    height: 64px;
    margin: 0 auto 5px;
    filter: drop-shadow(0 0 20px rgba(0, 229, 255, 0.3));
    animation: logoFloat 6s ease-in-out infinite
}

@keyframes logoFloat {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-6px)
    }
}

.sidebar-title {
    font-size: 22px;
    font-weight: 700;
    background: linear-gradient(to left, #00e5ff, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text
}

.sidebar-subtitle {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 2px
}

.app-version {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.3);
    margin-top: 4px;
    letter-spacing: 0.5px;
}

.support-note {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 8px;
    line-height: 1.6;
}

.support-note a {
    color: #00e5ff;
    text-decoration: none;
    font-weight: 500;
}

.support-note a:hover {
    text-decoration: underline;
}

.sidebar-nav {
    padding: 16px
}

/* Sidebar Quick Links */
.sidebar-quick-links {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05)
}

.quick-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 12px;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.45);
    font-family: 'Cairo', sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s;
    text-align: right;
    position: relative
}

.quick-link:hover {
    background: rgba(0, 229, 255, 0.05);
    color: rgba(255, 255, 255, 0.7)
}

.quick-link.active {
    background: rgba(0, 229, 255, 0.08);
    color: #00e5ff
}

.quick-link svg {
    flex-shrink: 0
}

.badge {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: #ff4081;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px
}

/* Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px
}

.modal-content {
    background: rgba(15, 15, 50, 0.95);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 28px;
    max-width: 400px;
    width: 100%;
    text-align: center
}

.modal-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px
}

.modal-sub {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: 20px
}

.timer-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 16px
}

.timer-btn {
    padding: 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.6);
    font-family: 'Cairo', sans-serif;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s
}

.timer-btn:hover {
    background: rgba(0, 229, 255, 0.08);
    border-color: rgba(0, 229, 255, 0.2);
    color: #00e5ff
}

.sleep-active {
    padding: 16px;
    background: rgba(0, 229, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(0, 229, 255, 0.1);
    margin-bottom: 12px
}

.sleep-active p {
    font-size: 14px;
    color: #00e5ff;
    margin-bottom: 8px
}

.timer-cancel {
    background: rgba(255, 64, 129, 0.1);
    color: #ff4081;
    border: 1px solid rgba(255, 64, 129, 0.15);
    padding: 6px 16px;
    border-radius: 8px;
    font-family: 'Cairo', sans-serif;
    font-size: 12px;
    cursor: pointer
}

.modal-close {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.4);
    padding: 8px 24px;
    border-radius: 10px;
    font-family: 'Cairo', sans-serif;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s
}

.modal-close:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2)
}

/* Toast */
.toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: rgba(10, 10, 46, 0.92);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 229, 255, 0.15);
    border-radius: 12px;
    padding: 10px 20px;
    color: #fff;
    font-size: 13px;
    font-family: 'Cairo', sans-serif;
    z-index: 150;
    opacity: 0;
    transition: all 0.3s;
    pointer-events: none;
    white-space: nowrap
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0)
}

/* Fav player button */
#btn-fav-player {
    color: rgba(255, 255, 255, 0.3);
    transition: color 0.3s
}

#btn-fav-player.active {
    color: #ff4081
}


.sidebar-section-title {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.25);
    margin-bottom: 12px;
    padding: 0 12px;
    letter-spacing: 1px
}

.country-list {
    list-style: none
}

.country-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 12px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    font-weight: 500;
    transition: background 0.25s, color 0.25s;
    border: 1px solid transparent
}

.country-item:hover {
    color: rgba(255, 255, 255, 0.9);
    background: rgba(0, 229, 255, 0.06)
}

.country-item.active {
    color: #00e5ff;
    background: rgba(0, 229, 255, 0.08);
    border-color: rgba(0, 229, 255, 0.15)
}

.country-flag {
    font-size: 20px;
    flex-shrink: 0
}

.country-name {
    flex: 1
}

/* Sidebar Overlay (mobile) */
.sidebar-overlay {
    position: fixed;
    inset: 0;
    top: 36px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 40;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease
}

.sidebar-overlay.active {
    opacity: 1;
    pointer-events: auto
}

/* ============================= */
/* Main Content                  */
/* ============================= */
.main-content {
    margin-top: 36px;
    margin-right: 280px;
    min-height: calc(100vh - 36px);
    padding-bottom: 100px;
    position: relative
}

.menu-btn {
    display: none;
    position: fixed;
    top: 44px;
    right: 8px;
    z-index: 35;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(10, 10, 46, 0.8);
    backdrop-filter: blur(12px);
    color: #fff;
    cursor: pointer;
    align-items: center;
    justify-content: center
}

.main-header {
    position: sticky;
    top: 36px;
    z-index: 20;
    background: rgba(10, 10, 46, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 16px 24px
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap
}

.header-title-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.weather-widget {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 6px 14px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.weather-widget:hover {
    background: rgba(43, 255, 179, 0.06);
    border-color: rgba(43, 255, 179, 0.2);
}

.weather-widget.hidden {
    display: none;
}

.w-icon {
    font-size: 20px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.w-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.w-temp {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.w-desc {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 3px;
    white-space: nowrap;
}

.page-title {
    font-size: 22px;
    font-weight: 700
}

.station-count {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.35);
    margin-top: 2px
}

.search-box {
    position: relative;
    width: 300px;
    flex-shrink: 0
}

.search-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 10px 16px 10px 40px;
    font-size: 14px;
    color: #fff;
    font-family: 'Cairo', sans-serif;
    outline: none;
    transition: border-color 0.3s, background 0.3s
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.3)
}

.search-input:focus {
    border-color: rgba(0, 229, 255, 0.4);
    background: rgba(255, 255, 255, 0.08)
}

.search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.3)
}

/* Stations */
.stations-wrapper {
    padding: 20px 24px
}

.stations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px
}

.loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
    color: rgba(255, 255, 255, 0.35);
    font-size: 14px
}

.no-results {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
    color: rgba(255, 255, 255, 0.3);
    font-size: 18px
}

.no-results .sub {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.2);
    margin-top: 4px
}

/* Station Card */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 16px;
    cursor: pointer;
    position: relative;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1)
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(0, 229, 255, 0.15);
    box-shadow: 0 12px 40px rgba(0, 229, 255, 0.06)
}

.stations-grid .glass-card:hover {
    transform: translateY(-3px)
}

.glass-card.playing {
    border-color: rgba(0, 229, 255, 0.3);
    background: rgba(0, 229, 255, 0.05);
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.08)
}

.station-card .card-content {
    display: flex;
    align-items: flex-start;
    gap: 12px
}

.station-favicon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    flex-shrink: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center
}

.station-favicon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px
}

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

.station-name {
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.station-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    flex-wrap: wrap
}

.station-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0
}

.station-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 10px
}

.play-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 229, 255, 0.08);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s
}

.glass-card:hover .play-overlay {
    opacity: 1
}

.glass-card.playing .equalizer-bars {
    display: flex
}

/* Tag */
.tag {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 10px;
    background: rgba(0, 229, 255, 0.1);
    color: #00e5ff;
    border: 1px solid rgba(0, 229, 255, 0.1)
}

/* Favorite */
.fav-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: color 0.3s;
    padding: 4px
}

.fav-btn:hover {
    color: rgba(255, 255, 255, 0.5)
}

.fav-btn.active {
    color: #ff4081
}

/* Equalizer */
.equalizer-bars {
    display: none;
    align-items: flex-end;
    gap: 2px;
    height: 16px
}

.equalizer-bars span {
    width: 3px;
    background: #00e5ff;
    border-radius: 2px;
    animation: equalize 0.8s ease-in-out infinite alternate
}

.equalizer-bars span:nth-child(1) {
    height: 30%;
    animation-delay: 0s
}

.equalizer-bars span:nth-child(2) {
    height: 60%;
    animation-delay: 0.15s
}

.equalizer-bars span:nth-child(3) {
    height: 40%;
    animation-delay: 0.3s
}

.equalizer-bars span:nth-child(4) {
    height: 80%;
    animation-delay: 0.45s
}

@keyframes equalize {
    0% {
        height: 20%
    }

    100% {
        height: 100%
    }
}

/* Loading Wave */
.loading-wave {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 40px;
    margin-bottom: 12px
}

.loading-wave span {
    width: 5px;
    background: linear-gradient(to top, #00e5ff, #7c4dff);
    border-radius: 3px;
    animation: waveLoad 1s ease-in-out infinite alternate
}

.loading-wave span:nth-child(1) {
    animation-delay: 0s
}

.loading-wave span:nth-child(2) {
    animation-delay: 0.1s
}

.loading-wave span:nth-child(3) {
    animation-delay: 0.2s
}

.loading-wave span:nth-child(4) {
    animation-delay: 0.3s
}

.loading-wave span:nth-child(5) {
    animation-delay: 0.4s
}

@keyframes waveLoad {
    0% {
        height: 10px
    }

    100% {
        height: 40px
    }
}

/* ============================= */
/* Player Bar                    */
/* ============================= */
.player-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 60;
    background: rgba(10, 10, 46, 0.95);
    backdrop-filter: blur(30px);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1)
}

.player-bar.visible {
    transform: translateY(0)
}

.player-progress-track {
    height: 2px;
    background: rgba(255, 255, 255, 0.05)
}

.player-progress-fill {
    height: 100%;
    background: linear-gradient(to right, #00e5ff, #60a5fa);
    width: 0;
    transition: width 1s
}

.player-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 24px;
    max-width: 1400px;
    margin: 0 auto
}

.player-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0
}

.player-thumb {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0
}

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

.player-text {
    min-width: 0
}

.player-text h3 {
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.player-text p {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.35)
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 10px
}

.ctrl-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: color 0.2s
}

.ctrl-btn:hover {
    color: #fff
}

.play-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00e5ff, #3b82f6);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #0a0a2e;
    box-shadow: 0 4px 20px rgba(0, 229, 255, 0.25);
    transition: transform 0.2s, box-shadow 0.2s
}

.play-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 30px rgba(0, 229, 255, 0.35)
}

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

.spinner {
    animation: spin 1s linear infinite
}

@keyframes spin {
    to {
        transform: rotate(360deg)
    }
}

.player-volume {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    justify-content: flex-end
}

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

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    background: #00e5ff;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.4)
}

.volume-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    background: #00e5ff;
    border-radius: 50%;
    border: none;
    cursor: pointer
}

/* ============================= */
/* Particles                     */
/* ============================= */
#particles-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(0, 229, 255, 0.12);
    border-radius: 50%;
    animation: particleFloat linear infinite
}

.particle:nth-child(1) {
    left: 10%;
    top: 20%;
    animation-duration: 20s;
    width: 3px;
    height: 3px
}

.particle:nth-child(2) {
    left: 30%;
    top: 80%;
    animation-duration: 25s;
    animation-delay: -5s;
    width: 5px;
    height: 5px
}

.particle:nth-child(3) {
    left: 50%;
    top: 40%;
    animation-duration: 18s;
    animation-delay: -3s
}

.particle:nth-child(4) {
    left: 70%;
    top: 60%;
    animation-duration: 22s;
    animation-delay: -8s;
    width: 6px;
    height: 6px
}

.particle:nth-child(5) {
    left: 85%;
    top: 15%;
    animation-duration: 30s;
    animation-delay: -2s;
    width: 3px;
    height: 3px
}

.particle:nth-child(6) {
    left: 20%;
    top: 50%;
    animation-duration: 28s;
    animation-delay: -10s
}

.particle:nth-child(7) {
    left: 60%;
    top: 90%;
    animation-duration: 24s;
    animation-delay: -7s;
    width: 5px;
    height: 5px
}

.particle:nth-child(8) {
    left: 90%;
    top: 30%;
    animation-duration: 26s;
    animation-delay: -4s
}

@keyframes particleFloat {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0
    }

    10% {
        opacity: 1
    }

    50% {
        transform: translate(-100px, -200px) scale(1.5);
        opacity: 0.5
    }

    90% {
        opacity: 0
    }

    100% {
        transform: translate(100px, -400px) scale(0.5);
        opacity: 0
    }
}

/* ============================= */
/* MOBILE < 768px                */
/* ============================= */
@media (max-width:1023px) {
    .sidebar {
        transform: translateX(320px)
    }

    .sidebar.open {
        transform: translateX(0)
    }

    .main-content {
        margin-right: 0
    }

    .menu-btn {
        display: flex
    }

    .main-header {
        padding: 12px 16px;
        padding-right: 56px
    }

    .header-top {
        flex-direction: column;
        align-items: stretch
    }

    .header-title-wrapper {
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: 10px;
    }

    .weather-widget {
        margin-right: auto;
        padding: 4px 8px;
    }

    .w-temp {
        font-size: 12px;
    }

    .w-icon {
        font-size: 16px;
    }

    .search-box {
        width: 100%
    }

    .stations-wrapper {
        padding: 16px
    }

    .stations-grid {
        grid-template-columns: 1fr
    }

    .page-title {
        font-size: 18px
    }

    .home-header {
        padding-right: 56px
    }

    .home-section {
        padding: 16px
    }
}

@media (max-width:480px) {
    .player-inner {
        flex-wrap: wrap;
        padding: 6px 10px;
        gap: 4px
    }

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

    .player-thumb {
        width: 36px;
        height: 36px
    }

    .player-text h3 {
        font-size: 12px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 55vw
    }

    .player-text p {
        font-size: 9px
    }

    .player-controls {
        order: 2;
        width: 100%;
        justify-content: center;
        gap: 4px
    }

    .ctrl-btn {
        padding: 4px
    }

    .ctrl-btn svg {
        width: 17px;
        height: 17px
    }

    .play-btn {
        width: 38px;
        height: 38px
    }

    .glass-card {
        padding: 12px;
        border-radius: 12px
    }

    .station-favicon {
        width: 40px;
        height: 40px
    }
}

/* Region Toggle */
.region-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 12px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.45);
    font-size: 13px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    margin-bottom: 6px;
    transition: all 0.25s;
    user-select: none
}

.region-toggle:hover {
    background: rgba(0, 229, 255, 0.04);
    color: rgba(255, 255, 255, 0.7)
}

.region-toggle.open {
    color: #00e5ff;
    background: rgba(0, 229, 255, 0.06);
    border-color: rgba(0, 229, 255, 0.1)
}

.region-toggle .region-icon {
    font-size: 16px;
    flex-shrink: 0
}

.region-toggle .region-name {
    flex: 1
}

.region-toggle .region-arrow {
    transition: transform 0.25s;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.2)
}

.region-toggle.open .region-arrow {
    transform: rotate(90deg)
}

.region-countries {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    padding-right: 4px
}

.region-countries.open {
    max-height: 2000px
}

/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 20px 0;
    flex-wrap: wrap
}

.page-btn {
    min-width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.5);
    font-family: 'Cairo', sans-serif;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px
}

.page-btn:hover {
    background: rgba(0, 229, 255, 0.06);
    border-color: rgba(0, 229, 255, 0.15);
    color: #fff
}

.page-btn.active {
    background: rgba(0, 229, 255, 0.12);
    border-color: rgba(0, 229, 255, 0.25);
    color: #00e5ff;
    font-weight: 700
}

.page-btn:disabled {
    opacity: 0.3;
    cursor: default;
    pointer-events: none
}

.page-info {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.3);
    padding: 0 8px
}

/* Homepage Sections */
.home-section {
    padding: 20px 24px
}

.section-header {
    margin-bottom: 16px
}

.section-title {
    font-size: 20px;
    font-weight: 700
}

.section-sub {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.3);
    margin-top: 2px
}

.horizontal-scroll {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    overflow-y: visible;
    padding: 6px 0 12px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch
}

.horizontal-scroll::-webkit-scrollbar {
    height: 4px
}

.horizontal-scroll::-webkit-scrollbar-thumb {
    background: rgba(0, 229, 255, 0.1);
    border-radius: 2px
}

.horizontal-scroll .h-card {
    min-width: 220px;
    max-width: 260px;
    scroll-snap-align: start;
    flex-shrink: 0
}

.mini-loading {
    display: flex;
    justify-content: center;
    padding: 30px 0
}

.mini-loading .loading-wave {
    height: 24px
}

.mini-loading .loading-wave span {
    width: 3px
}

/* Back Button */
.back-btn {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.5);
    font-family: 'Cairo', sans-serif;
    font-size: 12px;
    padding: 4px 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 8px
}

.back-btn:hover {
    color: #00e5ff;
    border-color: rgba(0, 229, 255, 0.2)
}

/* Volume Indicator */
.volume-indicator {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(10, 10, 46, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 229, 255, 0.15);
    border-radius: 16px;
    padding: 16px 24px;
    color: #fff;
    font-size: 14px;
    font-family: 'Cairo', sans-serif;
    z-index: 200;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s
}

.volume-indicator.show {
    opacity: 1
}

.volume-indicator .vol-bar {
    width: 120px;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    margin-top: 8px;
    overflow: hidden
}

.volume-indicator .vol-fill {
    height: 100%;
    background: linear-gradient(to right, #00e5ff, #3b82f6);
    border-radius: 3px;
    transition: width 0.15s
}

.hide-mobile {
    display: flex
}

@media(max-width:768px) {
    .hide-mobile {
        display: none
    }
}

@media(max-width:1023px) {
    .home-section {
        padding: 16px
    }

    .horizontal-scroll .h-card {
        min-width: 200px
    }
}

/* Install Banner */
.install-banner {
    position: fixed;
    bottom: 80px;
    left: 0;
    right: 0;
    z-index: 90;
    padding: 0 16px;
    transition: transform 0.3s, opacity 0.3s
}

.install-inner {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(10, 10, 46, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 229, 255, 0.15);
    border-radius: 16px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px
}

.install-info {
    display: flex;
    align-items: center;
    gap: 12px
}

.install-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px
}

.install-info strong {
    font-size: 14px;
    color: #fff;
    display: block
}

.install-info p {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    margin: 0
}

.install-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0
}

.install-btn {
    background: linear-gradient(135deg, #00e5ff, #3b82f6);
    color: #fff;
    border: none;
    padding: 8px 20px;
    border-radius: 10px;
    font-family: 'Cairo', sans-serif;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s
}

.install-btn:hover {
    transform: scale(1.05)
}

.install-dismiss {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.3);
    font-size: 18px;
    cursor: pointer;
    padding: 4px
}

/* Notification button states */
#btn-notif {
    color: rgba(255, 255, 255, 0.3);
    transition: color 0.3s
}

#btn-notif.active {
    color: #00e5ff
}

@media(max-width:480px) {
    .install-banner {
        bottom: 70px;
        padding: 0 8px
    }

    .install-inner {
        padding: 10px 12px
    }

    .install-icon {
        width: 32px;
        height: 32px
    }

    .install-info strong {
        font-size: 12px
    }
}