/* Custom Optimized CSS */

:root {
    --primary-color: #351837;
    --secondary-color: #ffffff;
    --text-color: #333333;
    --link-color: #0066cc;
    --error-color: #dc3545;
    --success-color: #28a745;
    --border-radius: 4px;
    --transition: all 0.3s ease;
}

/* Base Styles */
body {
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-display: swap;
}

/* Performance Optimized Images */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

img.lazy {
    opacity: 0;
    transition: opacity 0.3s ease;
    background-color: #f8f9fa;
    min-height: 100px;
}

img.lazy.loaded {
    opacity: 1;
}

/* WebP Support with Fallback */
.webp img[data-src$=".jpg"],
.webp img[data-src$=".jpeg"],
.webp img[data-src$=".png"] {
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwIiBoZWlnaHQ9IjEwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cmVjdCB3aWR0aD0iMTAwIiBoZWlnaHQ9IjEwMCIgZmlsbD0iI2Y4ZjlmYSIvPjx0ZXh0IHg9IjUwIiB5PSI1MCIgZm9udC1zaXplPSIxMiIgZmlsbD0iIzZjNzU3ZCIgdGV4dC1hbmNob3I9Im1pZGRsZSIgZHk9Ii4zZW0iPkxvYWRpbmcuLi48L3RleHQ+PC9zdmc+');
    background-size: cover;
    background-position: center;
}

/* Responsive Images */
@media (max-width: 768px) {
    img {
        width: 100%;
        height: auto;
    }
}

/* Performance: Reduce paint complexity */
* {
    box-sizing: border-box;
}

/* Optimize animations */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

img.lazy.loaded {
    opacity: 1;
}

/* Performance Optimized Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 0.3s ease-in;
}

/* Loading States */
.loading {
    position: relative;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    margin: -15px 0 0 -15px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Optimized Button Styles */
.btn {
    display: inline-block;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    background: var(--primary-color);
    color: var(--secondary-color);
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
}

.btn:hover {
    background-color: #4a2249;
    /* Darken primary color by 10% */
    transform: translateY(-1px);
}

/* Error States */
.error {
    color: var(--error-color);
    padding: 10px;
    border-radius: 4px;
    background-color: rgba(220, 53, 69, 0.1);
}

/* Success States */
.success {
    color: var(--success-color);
    padding: 10px;
    border-radius: 4px;
    background-color: rgba(40, 167, 69, 0.1);
}

/* ===== MOBILE PLAYER STYLES - cleaned (legacy removed) ===== */

/* Live buton ve kaynak butonları stilleri - Ornekproje ile Birebir Aynı */
.live-buttons {
    position: absolute;
    bottom: 10px;
    left: 10px;
    z-index: 100;
    display: flex;
    gap: 5px;
}

.live-button,
.source-button {
    background-color: #0d6efd !important;
    color: white !important;
    border: none !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    font-size: 14px !important;
    transition: all 0.2s !important;
}

.live-button {
    padding: 5px 0 !important;
    width: fit-content !important;
    min-width: unset !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
}

.live-button span {
    display: inline-block !important;
    white-space: nowrap !important;
}

.source-button {
    padding: 5px 0 !important;
    min-width: unset !important;
    width: fit-content !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    background-color: #0d6efd !important;
    color: white !important;
    border: none !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    font-size: 16px !important;
    transition: all 0.2s !important;
}

.source-button span {
    padding: 0 8px !important;
    white-space: nowrap !important;
}

.source-button:hover {
    background-color: #0b5ed7 !important;
}

.source-button.active {
    background-color: #0a58ca !important;
}

.source-buttons {
    display: flex !important;
    gap: 8px !important;
}

/* Mobil Source Button Stilleri - Ornekproje ile Birebir Aynı */
@media (max-width: 768px) {
    /* Reset container padding; section margins will control side space */
    .modern-home .main-content {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .modern-home .main-content > .section-title,
    .modern-home .main-content .section-title {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .live-buttons {
        bottom: 50px;
    }

    .source-buttons {
        gap: 4px !important;
    }

    .source-button {
        padding: 4px 0 !important;
        font-size: 14px !important;
    }
}

/* Oylama butonları için stiller - Ornekproje ile Birebir Aynı */
.vote-buttons {
    display: flex;
    gap: 12px;
}

.rate_station {
    background: transparent !important;
    padding: 0 !important;
    width: 24px !important;
    height: 24px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s !important;
    border: none !important;
    color: #0d6efd !important;
}

.rate_station i {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
}

.rate_station:hover {
    transform: scale(1.1) !important;
    color: #0a58ca !important;
}

.rate_station svg {
    width: 22px !important;
    height: 22px !important;
    fill: currentColor !important;
    stroke: currentColor !important;
    stroke-width: 0.5px !important;
}

.rate_station[data-action="down"] {
    color: #dc3545 !important;
}

.rate_station[data-action="down"]:hover {
    color: #bb2d3b !important;
}

/* Oy sayısı için stil */
.vote-count {
    font-size: 14px !important;
    margin-left: 4px !important;
    color: inherit !important;
}

/* ===== MODERN HOMEPAGE STYLES ===== */

/* Updated Color Variables for Modern Design */
:root {
    --modern-primary: #4A1B5C;
    --modern-secondary: #5D2A6B;
    --modern-accent: #6B3A7A;
    --modern-text-light: #FFFFFF;
    --modern-text-muted: #E5E7EB;
    --modern-border: rgba(74, 27, 92, 0.4);
    --modern-hover: #7C3F8E;
}

/* ===== FOOTER SOCIAL MEDIA STYLES ===== */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.social-link i {
    font-size: 18px;
}

/* Modern Footer Styles */
.modern-footer {
    background: linear-gradient(135deg, #2D1B3D 0%, #3A1548 50%, #4A1B5C 100%);
    color: #fff;
    padding: 40px 0 20px;
    margin-top: 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.footer-section h4 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 15px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 8px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom a {
    color: #fff;
    text-decoration: none;
}

/* Mobile Footer Responsive */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .modern-footer {
        padding: 30px 0 20px;
        margin-top: 15px;
    }

    .social-links {
        justify-content: center;
    }
}

/* Modern Body Background */
body.modern-home {
    background: linear-gradient(135deg, #6B3A7A 0%, #7C4B8C 50%, #8D5C9E 100%);
    color: var(--modern-text-light);
    min-height: 100vh;
}

/* ===== HEADER: Align with main content (1000px) and adjust logo size ===== */
.top-menu { padding: 6px 0 !important; }
.top-menu > .container { max-width: 1000px !important; margin: 0 auto !important; padding-left: 0 !important; padding-right: 0 !important; }
.top-menu .row { align-items: center !important; min-height: 68px !important; }
/* Make header logo taller, without affecting other page logos */
.top-menu .logo { height: 60px !important; width: auto !important; }
@media (max-width: 576px){ .top-menu .logo { height: 48px !important; } }

/* ===== MAIN LAYOUT SYSTEM ===== */
/* Modern Layout - Single Source of Truth */
.modern-layout {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    min-height: 100vh;
    position: relative;
    padding: 0;
}

.side-space {
    flex: 1;
    min-width: 100px;
    max-width: 200px;
    background: transparent;
    position: relative;
}

.main-content {
    width: 1000px;
    flex-shrink: 0;
    background: linear-gradient(135deg, #3A1548 0%, #4A1B5C 50%, #5D2A6B 100%);
    position: relative;
    box-shadow: 0 0 30px rgba(58, 21, 72, 0.5);
    min-height: auto;
    margin: 0;
    padding-bottom: 0;
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 80px 40px;
    background: rgba(255, 255, 255, 0.05);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--modern-text-light);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    color: var(--modern-text-muted);
}

/* Search Box */
.search-container {
    max-width: 700px;
    margin: 0 auto 3rem;
}

.search-box {
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 8px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.search-input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 15px 25px;
    color: var(--modern-text-light);
    font-size: 1.1rem;
    outline: none;
}

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

.search-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    padding: 15px 30px;
    border-radius: 40px;
    color: var(--modern-text-light);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Search Container - Modern Style Override */
.search-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* Override default search form styles for modern pages */
.modern-home .search-container,
.modern-layout .search-container {
    max-width: 700px;
    margin: 0 auto 3rem;
}

.modern-home .search-container .d-flex,
.modern-layout .search-container .d-flex {
    display: flex !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border-radius: 50px !important;
    padding: 8px !important;
    backdrop-filter: blur(10px) !important;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1) !important;
}

.modern-home .search-container .form-control,
.modern-layout .search-container .form-control {
    flex: 1 !important;
    background: transparent !important;
    border: none !important;
    padding: 15px 25px !important;
    color: #333 !important;
    font-size: 1.1rem !important;
    outline: none !important;
}

/* Override for white background search box */
.search-container .form-control {
    color: #333 !important;
}

.search-container .form-control::placeholder {
    color: #666 !important;
}

.modern-home .search-container .form-control::placeholder,
.modern-layout .search-container .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Search Suggestions Styling */
.search-container {
    position: relative !important;
}

.search-suggestions {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    background: white !important;
    border: 1px solid #ddd !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    z-index: 1000 !important;
    max-height: 300px !important;
    overflow-y: auto !important;
    display: none !important;
}

.search-suggestion {
    padding: 0;
    border-bottom: 1px solid #f0f0f0;
}

.search-suggestion:last-child {
    border-bottom: none;
}

.search-suggestion a {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    text-decoration: none;
    color: #333;
    transition: background-color 0.2s;
}

.search-suggestion a:hover {
    background-color: #f8f9fa;
    text-decoration: none;
    color: #333;
}

.search-suggestion img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 6px;
    margin-right: 12px;
    flex-shrink: 0;
}

.search-suggestion span {
    font-size: 14px;
    font-weight: 500;
}

.modern-home .search-container .btn,
.modern-layout .search-container .btn {
    background: rgba(255, 255, 255, 0.2) !important;
    border: none !important;
    padding: 15px 30px !important;
    border-radius: 40px !important;
    color: #fff !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.modern-home .search-container .btn:hover,
.modern-layout .search-container .btn:hover {
    background: rgba(255, 255, 255, 0.3) !important;
    transform: translateY(-2px) !important;
}

/* Modern Search Suggestions */
.modern-home .search-suggestions,
.modern-layout .search-suggestions {
    position: absolute !important;
    top: calc(100% + 15px) !important;
    left: 0 !important;
    right: 0 !important;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    max-height: 320px !important;
    overflow-y: auto !important;
    z-index: 1000 !important;
    display: none !important;
}

.modern-home .search-suggestion,
.modern-layout .search-suggestion {
    padding: 12px 15px !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
    transition: background-color 0.2s ease !important;
}

.modern-home .search-suggestion:hover,
.modern-layout .search-suggestion:hover {
    background-color: rgba(0, 0, 0, 0.05) !important;
}

.modern-home .search-suggestion:last-child,
.modern-layout .search-suggestion:last-child {
    border-bottom: none !important;
}

.modern-home .search-suggestion a,
.modern-layout .search-suggestion a {
    display: flex !important;
    align-items: center !important;
    text-decoration: none !important;
    color: #333 !important;
}

.modern-home .search-suggestion img,
.modern-layout .search-suggestion img {
    width: 40px !important;
    height: 40px !important;
    margin-right: 12px !important;
    object-fit: contain !important;
    border-radius: 6px !important;
    background: white !important;
    padding: 4px !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
}

/* Search Suggestions Styles - Minimal Design */
.search-suggestions {
    position: absolute;
    top: calc(100% + 15px);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.06);
    max-height: 280px;
    overflow-y: auto;
    z-index: 9999;
    display: none;
    margin-bottom: 20px;
}

.suggestion-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    color: #444;
}

.suggestion-item:hover {
    background: rgba(102, 126, 234, 0.08);
    color: #667eea;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item:first-child {
    border-radius: 12px 12px 0 0;
}

.suggestion-item:last-child {
    border-radius: 0 0 12px 12px;
}

.suggestion-logo {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    margin-right: 12px;
    object-fit: cover;
    flex-shrink: 0;
}

.suggestion-name {
    font-size: 14px;
    font-weight: 500;
    color: inherit;
    flex-grow: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
    margin-left: 0;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {

    /* Mobile Layout - Clean & Stable */
    .modern-layout {
        flex-direction: column !important;
        max-width: 100% !important;
        padding: 0 !important;
    }

    .side-space {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
        min-width: 0 !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        flex: none !important;
    }

    .main-content {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        box-shadow: none !important;
        flex-shrink: 1 !important;
        box-sizing: border-box !important;
    }

    /* Homepage main wrapper: reserve full viewport height to reduce layout shift */
    .main-content-home {
        min-height: 100vh !important;
    }

    /* News article box: minimize side gutters on phones */
    .modern-layout .news-content {
        max-width: none !important;
        margin: 0 1px 20px 1px !important;
        padding: 14px 10px 16px 10px !important;
    }

    /* Minimize side gutters for sections on mobile within modern layout */
    .modern-layout .content-section {
        padding-left: 1px !important;
        padding-right: 1px !important;
        margin-left: 1px !important;
        margin-right: 1px !important;
    }

    /* Hero Section */
    .hero-section {
        padding: 30px 15px 25px !important;
        min-height: 50vh !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
    }

    .hero-section h1 {
        font-size: 1.9rem !important;
        line-height: 1.1 !important;
        margin-bottom: 10px !important;
    }

    .hero-section p {
        font-size: 0.9rem !important;
        margin-bottom: 20px !important;
        opacity: 0.9 !important;
    }

    /* Search Container */
    .search-container {
        max-width: 95% !important;
        margin: 0 auto 20px !important;
    }

    .search-input {
        font-size: 16px !important;
        /* Prevents zoom on iOS */
        padding: 15px 20px !important;
    }

    .search-btn {
        padding: 15px 25px !important;
        font-size: 14px !important;
    }

    /* Live Stats Ticker - Mobile 2x2 Grid Design - SADECE MOBİL */
    .live-stats-ticker {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        grid-template-rows: 1fr 1fr !important;
        gap: 15px !important;
        padding: 20px 15px !important;
        background: transparent !important;
        border: none !important;
        border-radius: 0 !important;
        backdrop-filter: none !important;
        animation: none !important;
        box-shadow: none !important;
        margin: 20px 10px !important;
        min-height: 180px !important; /* CLS için sabit alan */
    }

    .live-stat {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        padding: 20px 15px !important;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05)) !important;
        backdrop-filter: blur(10px) !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        border-radius: 15px !important;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
        transition: all 0.3s ease !important;
        position: relative !important;
        overflow: hidden !important;
        min-height: 80px !important;
        text-align: center !important;
    }

    .live-stat:hover {
        transform: translateY(-3px) !important;
        box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2) !important;
    }

    .live-stat::before {
        content: '' !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        background: linear-gradient(135deg, rgba(138, 43, 226, 0.1), rgba(30, 144, 255, 0.1)) !important;
        opacity: 0 !important;
        transition: opacity 0.3s ease !important;
    }

    .live-stat:hover::before {
        opacity: 1 !important;
    }

    .live-stat .stat-icon {
        font-size: 2rem !important;
        display: block !important;
        margin-bottom: 5px !important;
        line-height: 1 !important;
        z-index: 1 !important;
        position: relative !important;
    }

    .live-stat .stat-number {
        font-size: 1.5rem !important;
        font-weight: 700 !important;
        color: #4CAF50 !important;
        display: block !important;
        line-height: 1 !important;
        margin-bottom: 3px !important;
        z-index: 1 !important;
        position: relative !important;
    }

    .live-stat .stat-text {
        font-size: 0.8rem !important;
        font-weight: 600 !important;
        color: rgba(255, 255, 255, 0.9) !important;
        display: block !important;
        line-height: 1.2 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
        z-index: 1 !important;
        position: relative !important;
    }

    /* Featured Channel Showcase - Mobile 2x2 Grid - SADECE MOBİL */
    .hero-section .featured-showcase {
        background: rgba(255, 255, 255, 0.05) !important;
        border-radius: 20px !important;
        padding: 20px 15px !important;
        margin: 15px 10px 20px 10px !important;
        text-align: center !important;
        backdrop-filter: blur(10px) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
    }

    .hero-section .featured-title {
        font-size: 1.3rem !important;
        font-weight: 600 !important;
        margin-bottom: 15px !important;
        color: #fff !important;
    }

    .hero-section .popular-channels-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        grid-template-rows: 1fr 1fr !important;
        gap: 15px !important;
        max-width: 100% !important;
        margin: 0 auto !important;
    }

    .popular-channel-item {
        display: block !important;
        text-decoration: none !important;
        color: inherit !important;
        transition: all 0.3s ease !important;
        padding: 15px !important;
        border-radius: 15px !important;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05)) !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        position: relative !important;
        overflow: hidden !important;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
    }

    .popular-channel-item:hover {
        transform: translateY(-3px) !important;
        background: rgba(255, 255, 255, 0.15) !important;
        color: inherit !important;
        text-decoration: none !important;
        box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2) !important;
    }

    .popular-channel-item .channel-logo {
        width: 100% !important;
        height: 100px !important;
        background: rgba(255, 255, 255, 0.9) !important;
        border-radius: 12px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin-bottom: 10px !important;
        overflow: hidden !important;
        position: relative !important;
    }

    .popular-channel-item .channel-logo img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        border-radius: 12px !important;
        transition: transform 0.3s ease !important;
    }

    .popular-channel-item:hover .channel-logo img {
        transform: scale(1.05) !important;
    }

    .popular-channel-item .channel-fallback {
        width: 100% !important;
        height: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 2rem !important;
        color: #666 !important;
        background: rgba(255, 255, 255, 0.9) !important;
        border-radius: 12px !important;
    }

    .popular-channel-item .channel-name {
        text-align: center !important;
        font-size: 0.85rem !important;
        line-height: 1.2 !important;
        color: #fff !important;
        font-weight: 600 !important;
        margin-bottom: 8px !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    .popular-channel-item .live-badge {
        position: absolute !important;
        top: 10px !important;
        right: 10px !important;
        background: rgba(255, 59, 48, 0.9) !important;
        color: white !important;
        padding: 4px 8px !important;
        border-radius: 12px !important;
        font-size: 0.7rem !important;
        font-weight: 600 !important;
        backdrop-filter: blur(10px) !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
        z-index: 2 !important;
    }

    /* Daha spesifik kurallar - Trending Now bölümü için */
    .main-content .hero-section .featured-showcase .popular-channels-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        grid-template-rows: 1fr 1fr !important;
        gap: 15px !important;
        max-width: 100% !important;
        margin: 0 auto !important;
    }

    .main-content .hero-section .featured-showcase .popular-channel-item {
        display: block !important;
        text-decoration: none !important;
        color: inherit !important;
        transition: all 0.3s ease !important;
        padding: 15px !important;
        border-radius: 15px !important;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05)) !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        position: relative !important;
        overflow: hidden !important;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
    }

    .main-content .hero-section .featured-showcase .popular-channel-item .channel-logo {
        width: 100% !important;
        height: 100px !important;
        background: rgba(255, 255, 255, 0.9) !important;
        border-radius: 12px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin-bottom: 10px !important;
        overflow: hidden !important;
        position: relative !important;
    }

    .main-content .hero-section .featured-showcase .popular-channel-item .channel-logo img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        border-radius: 12px !important;
        transition: transform 0.3s ease !important;
    }

    .main-content .hero-section .featured-showcase .popular-channel-item .live-badge {
        position: absolute !important;
        top: 10px !important;
        right: 10px !important;
        background: rgba(255, 59, 48, 0.9) !important;
        color: white !important;
        padding: 4px 8px !important;
        border-radius: 12px !important;
        font-size: 0.7rem !important;
        font-weight: 600 !important;
        backdrop-filter: blur(10px) !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
        z-index: 2 !important;
    }

    /* Quick Buttons - Mobile Modern Card Design */
    .quick-buttons {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        grid-template-rows: 1fr 1fr !important;
        gap: 20px !important;
        margin: 30px 10px !important;
        padding: 0 !important;
    }

    .quick-btn {
        padding: 25px 15px !important;
        font-size: 30px !important;
        font-weight: 700 !important;
        margin: 0 !important;
        min-width: auto !important;
        min-height: 80px !important;
        flex: none !important;
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 20px !important;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05)) !important;
        backdrop-filter: blur(10px) !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        transition: all 0.3s ease !important;
        position: relative !important;
        overflow: hidden !important;
    }

    .quick-btn:hover {
        transform: translateY(-3px) !important;
        box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2) !important;
    }

    .quick-btn:active {
        transform: translateY(-1px) !important;
    }

    .quick-btn::before {
        content: '' !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        background: linear-gradient(135deg, rgba(138, 43, 226, 0.1), rgba(30, 144, 255, 0.1)) !important;
        opacity: 0 !important;
        transition: opacity 0.3s ease !important;
    }

    .quick-btn:hover::before {
        opacity: 1 !important;
    }

    /* Quick Button Icon and Text Styles */
    .quick-icon {
        font-size: 35px !important;
        display: block !important;
        margin-bottom: 8px !important;
        line-height: 1 !important;
    }

    .quick-text {
        font-size: 16px !important;
        font-weight: 700 !important;
        display: block !important;
        line-height: 1.2 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
    }

    /* Search Suggestions */
    .search-suggestions {
        left: 10px !important;
        right: 10px !important;
        max-height: 250px !important;
    }

    .suggestion-item {
        padding: 15px 12px !important;
    }

    .suggestion-logo {
        width: 28px !important;
        height: 28px !important;
        margin-right: 10px !important;
    }

    .suggestion-name {
        font-size: 14px !important;
    }

    /* Content Sections */
    .content-section {
        padding: 30px 15px !important;
    }

    .section-title {
        font-size: 1.8rem !important;
        margin-bottom: 20px !important;
    }

    /* Channel Grids */
    .channel-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        padding: 0 5px !important;
        margin: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Mobile Channel Limit - Hide channels after 9th (3x3 grid) - SADECE MOBILE'DA */
    @media (max-width: 768px) {
        .channel-card.mobile-hidden {
            display: none !important;
            visibility: hidden !important;
            opacity: 0 !important;
            height: 0 !important;
            width: 0 !important;
            margin: 0 !important;
            padding: 0 !important;
        }
    }

    .channel-card {
        padding: 10px !important;
        width: 100% !important;
        box-sizing: border-box !important;
        margin: 0 !important;
    }

    .channel-logo {
        width: 50px !important;
        height: 50px !important;
    }

    .channel-name {
        font-size: 14px !important;
        margin-top: 8px !important;
    }

    /* Stats Grid */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }

    .stat-item h3 {
        font-size: 1.8rem !important;
    }

    .stat-item p {
        font-size: 14px !important;
    }
}

/* Similar Stations - Mobil Logo Büyültme ve Ortalama */
@media (max-width: 768px) {
    .similar-stations-background .channel-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
        padding: 0 10px !important;
        margin: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .similar-stations-background .channel-card {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        padding: 15px !important;
        width: 100% !important;
        box-sizing: border-box !important;
        margin: 0 !important;
        background: rgba(255, 255, 255, 0.05) !important;
        border-radius: 12px !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        transition: transform 0.2s ease !important;
    }

    .similar-stations-background .channel-card:hover {
        transform: translateY(-3px) !important;
        background: rgba(255, 255, 255, 0.1) !important;
    }

    .similar-stations-background .channel-logo {
        width: 80px !important;
        height: 80px !important;
        margin: 0 auto 12px auto !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        background: rgba(255, 255, 255, 0.1) !important;
        border-radius: 8px !important;
        overflow: hidden !important;
        position: relative !important;
    }

    .similar-stations-background .channel-logo img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        display: block !important;
        margin: 0 !important;
        border-radius: 8px !important;
        transition: transform 0.3s ease !important;
    }

    .similar-stations-background .channel-card:hover .channel-logo img {
        transform: scale(1.05) !important;
    }

    .similar-stations-background .channel-name {
        font-size: 0.85rem !important;
        margin-top: 8px !important;
        text-align: center !important;
        color: #fff !important;
        font-weight: 500 !important;
        line-height: 1.2 !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
        width: 100% !important;
    }

    /* Genre Sayfası - Similar Stations ile Aynı Düzen - Sadece Mobil */
    .content-section .channel-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
        padding: 0 10px !important;
        margin: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .content-section .channel-card {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        padding: 15px !important;
        width: 100% !important;
        box-sizing: border-box !important;
        margin: 0 !important;
        background: rgba(255, 255, 255, 0.05) !important;
        border-radius: 12px !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        transition: transform 0.2s ease !important;
    }

    .content-section .channel-card:hover {
        transform: translateY(-3px) !important;
        background: rgba(255, 255, 255, 0.1) !important;
    }

    .content-section .channel-logo {
        width: 80px !important;
        height: 80px !important;
        margin: 0 auto 12px auto !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        background: rgba(255, 255, 255, 0.1) !important;
        border-radius: 8px !important;
        overflow: hidden !important;
        position: relative !important;
    }

    .content-section .channel-logo img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        display: block !important;
        margin: 0 !important;
        border-radius: 8px !important;
        transition: transform 0.3s ease !important;
    }

    .content-section .channel-card:hover .channel-logo img {
        transform: scale(1.05) !important;
    }

    .content-section .channel-name {
        font-size: 0.85rem !important;
        margin-top: 8px !important;
        text-align: center !important;
        color: #fff !important;
        font-weight: 500 !important;
        line-height: 1.2 !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
        width: 100% !important;
    }

    /* Country ve Language Sayfaları - Aynı Mobil Düzen */
    /* Bu kurallar genre, country ve language sayfalarının hepsine uygulanır */
    /* Çünkü hepsi .content-section .channel-grid yapısını kullanıyor */

    /* Responsive uyumluluk için ek kurallar */
    .content-section .channel-grid .channel-card {
        min-height: 120px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
    }

    .content-section .channel-card .channel-logo {
        flex-shrink: 0 !important;
    }

    .content-section .channel-card .channel-name {
        flex-grow: 1 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        min-height: 20px !important;
    }
}

/* Station Action Buttons - Modern Design */
.station-actions-modern {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.action-btn-modern {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(0, 0, 0, 0.2) !important;
    border-radius: 8px;
    color: #000 !important;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    text-decoration: none;
}

.action-btn-modern:hover {
    background: rgba(255, 255, 255, 1) !important;
    transform: translateY(-2px);
    color: #000 !important;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.action-icon-svg {
    width: 18px !important;
    height: 18px !important;
    stroke: #000 !important;
    stroke-width: 3 !important;
    fill: #000 !important;
    color: #000 !important;
}

.action-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: inherit;
}

/* Specific Button Styles - Renkli Simgeler */
.favorites-btn {
    border-color: rgba(239, 68, 68, 0.3);
}

.favorites-btn .action-icon-svg {
    stroke: #ef4444 !important;
    fill: none !important;
}

.favorites-btn:hover,
.favorites-btn.active {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.5);
    color: #ef4444;
}

.favorites-btn.active .action-icon-svg {
    fill: #ef4444 !important;
    stroke: #ef4444 !important;
}

.report-btn {
    border-color: rgba(245, 158, 11, 0.3);
}

.report-btn .action-icon-svg {
    stroke: #f59e0b !important;
    fill: none !important;
}

.report-btn:hover {
    background: rgba(245, 158, 11, 0.2);
    border-color: rgba(245, 158, 11, 0.5);
    color: #f59e0b;
}

.vote-up {
    border-color: rgba(34, 197, 94, 0.3);
}

.vote-up .action-icon-svg {
    stroke: #22c55e !important;
    fill: none !important;
}

.vote-up:hover,
.vote-up.active {
    background: rgba(34, 197, 94, 0.2);
    border-color: rgba(34, 197, 94, 0.5);
    color: #22c55e;
}

.vote-down {
    border-color: rgba(239, 68, 68, 0.3);
}

.vote-down .action-icon-svg {
    stroke: #ef4444 !important;
    fill: none !important;
}

.vote-down:hover,
.vote-down.active {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.5);
    color: #ef4444;
}

.views-display {
    border-color: rgba(59, 130, 246, 0.3);
    cursor: default;
}

.views-display .action-icon-svg {
    stroke: #3b82f6 !important;
    fill: none !important;
}

.views-display:hover {
    background: rgba(59, 130, 246, 0.1);
    transform: none;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .station-actions-modern {
        gap: 8px !important;
        justify-content: space-between !important;
        flex-wrap: nowrap !important;
        padding: 8px 5px;
        width: 100%;
    }

    .action-btn-modern {
        padding: 12px 10px !important;
        font-size: 0.75rem !important;
        min-width: auto !important;
        flex: 1 !important;
        flex-shrink: 0 !important;
        white-space: nowrap;
        justify-content: center;
        min-height: 45px !important;
    }

    .action-icon-svg {
        width: 28px !important;
        height: 28px !important;
        min-width: 28px !important;
        min-height: 28px !important;
        max-width: 28px !important;
        max-height: 28px !important;
    }

    /* Daha spesifik kurallar - her buton için ayrı */
    .favorites-btn .action-icon-svg,
    .report-btn .action-icon-svg,
    .vote-up .action-icon-svg,
    .vote-down .action-icon-svg,
    .views-display .action-icon-svg {
        width: 28px !important;
        height: 28px !important;
        min-width: 28px !important;
        min-height: 28px !important;
        stroke-width: 2.5 !important;
    }

    .action-label {
        font-size: 0.7rem !important;
        display: none !important;
    }
}

/* Çok küçük ekranlar için */
@media (max-width: 480px) {
    .station-actions-modern {
        gap: 3px !important;
    }

    .action-btn-modern {
        padding: 3px 5px !important;
        font-size: 0.65rem !important;
    }

    .action-icon-svg {
        width: 10px !important;
        height: 10px !important;
    }
}

/* Modern Action Buttons - Station Page */
.station-actions-modern {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 15px;
    align-items: center;
}

.action-btn-modern {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    text-decoration: none;
}

.action-btn-modern:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    color: #fff;
    text-decoration: none;
}

.action-btn-modern:active {
    transform: translateY(0);
}

.action-icon-svg {
    width: 16px;
    height: 16px;
    stroke-width: 2;
    flex-shrink: 0;
}

.action-label {
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
}

/* Specific button styles */
.favorites-btn:hover {
    background: rgba(220, 53, 69, 0.2);
    border-color: rgba(220, 53, 69, 0.4);
}

.favorites-btn.active {
    background: rgba(220, 53, 69, 0.3);
    border-color: rgba(220, 53, 69, 0.5);
}

.favorites-btn.active .action-icon-svg {
    fill: #dc3545;
}

.report-btn:hover {
    background: rgba(255, 193, 7, 0.2);
    border-color: rgba(255, 193, 7, 0.4);
}

.vote-btn.vote-up:hover {
    background: rgba(40, 167, 69, 0.2);
    border-color: rgba(40, 167, 69, 0.4);
}

.vote-btn.vote-down:hover {
    background: rgba(220, 53, 69, 0.2);
    border-color: rgba(220, 53, 69, 0.4);
}

.views-display {
    background: rgba(255, 255, 255, 0.05);
    cursor: default;
}

.views-display:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: none;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .station-actions-modern {
        gap: 8px;
        justify-content: flex-start;
    }

    .action-btn-modern {
        padding: 6px 10px;
        font-size: 0.75rem;
    }

    .action-icon-svg {
        width: 14px;
        height: 14px;
    }

    .action-label {
        font-size: 0.7rem;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .hero-section {
        min-height: 45vh !important;
        padding: 25px 8px 20px !important;
    }

    .main-content {
        padding: 0 3px !important;
    }

    .latest-channels-section {
        padding: 15px 5px !important;
    }

    /* Use genre page mobile grid for very small screens */
    .latest-channels-section .channel-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
        padding: 0 3px !important;
    }

    .latest-channels-section .channel-card {
        padding: 10px !important;
        width: 100% !important;
        box-sizing: border-box !important;
        margin: 0 !important;
    }

    .latest-channels-section .channel-logo {
        width: 50px !important;
        height: 50px !important;
        margin: 0 auto 8px auto !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
    }

    .latest-channels-section .channel-logo img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        display: block !important;
        margin: 0 !important;
        border-radius: 8px !important;
    }

    .latest-channels-section .channel-name {
        font-size: 14px !important;
        margin-top: 8px !important;
    }

    .hero-section h1 {
        font-size: 1.6rem !important;
        margin-bottom: 8px !important;
    }

    .hero-section p {
        font-size: 0.85rem !important;
        margin-bottom: 15px !important;
    }

    .search-container {
        max-width: 98% !important;
    }

    .quick-buttons {
        gap: 6px !important;
        margin-top: 12px !important;
    }

    .quick-btn {
        padding: 6px 12px !important;
        font-size: 14px !important;
    }

    .channel-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
        padding: 0 3px !important;
    }

    .channel-card {
        display: flex !important;
        align-items: center !important;
        text-align: left !important;
        padding: 15px !important;
    }

    .channel-logo {
        margin-right: 15px !important;
        margin-bottom: 0 !important;
    }

    .stats-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Masaüstü görünümde orijinal tasarımı koru */
@media (min-width: 769px) {
    .live-stats-ticker {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 25px !important;
        background: rgba(255, 255, 255, 0.1) !important;
        border-radius: 50px !important;
        padding: 12px 25px !important;
        margin: 10px 0 15px 0 !important;
        backdrop-filter: blur(10px) !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        animation: pulse 3s infinite !important;
        box-shadow: 0 0 20px rgba(111, 66, 193, 0.3) !important;
    }

    .live-stat {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        font-weight: 600 !important;
        color: var(--modern-text-light) !important;
        flex-direction: row !important;
        padding: 0 !important;
        background: none !important;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        min-height: auto !important;
        text-align: left !important;
        position: static !important;
        overflow: visible !important;
        transform: none !important;
    }

    .live-stat::before {
        display: none !important;
    }

    .live-stat:hover {
        transform: none !important;
        box-shadow: none !important;
    }

    .live-stat .stat-icon {
        font-size: 1.2rem !important;
        margin-bottom: 0 !important;
        z-index: auto !important;
        position: static !important;
    }

    .live-stat .stat-number {
        color: #4CAF50 !important;
        font-weight: 700 !important;
        font-size: 1.1rem !important;
        margin-bottom: 0 !important;
        z-index: auto !important;
        position: static !important;
    }

    .live-stat .stat-text {
        font-size: 0.9rem !important;
        color: rgba(255, 255, 255, 0.8) !important;
        text-transform: none !important;
        letter-spacing: normal !important;
        font-weight: 500 !important;
        z-index: auto !important;
        position: static !important;
    }
}

/* Quick Buttons */
.quick-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.quick-btn {
    background: rgba(255, 255, 255, 0.1);
    color: var(--modern-text-light);
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.quick-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    color: var(--modern-text-light);
    text-decoration: none;
}

/* Content Sections */
.content-section {
    padding: 50px 40px;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    font-weight: 600;
    color: var(--modern-text-light);
    text-align: center;
}

/* ====================================
   LIVE STATS TICKER & FEATURED SHOWCASE
   ==================================== */

/* Live Stats Ticker */
.live-stats-ticker {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 12px 25px;
    margin: 10px 0 15px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: pulse 3s infinite;
    min-height: 52px; /* CLS için minimum yükseklik */
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(111, 66, 193, 0.3);
    }

    50% {
        box-shadow: 0 0 30px rgba(111, 66, 193, 0.5);
    }
}

.live-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--modern-text-light);
}

.live-stat .stat-icon {
    font-size: 1.2rem;
}

.live-stat .stat-number {
    color: #4CAF50;
    font-weight: 700;
    font-size: 1.1rem;
}

.live-stat .stat-text {
    font-size: 0.9rem;
    color: var(--modern-text-muted);
}

/* Quick Links Styles */
.quick-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.quick-link:hover {
    text-decoration: none;
    color: inherit;
}

.quick-link .stat-icon {
    margin-bottom: 3px;
}

.quick-link .stat-label {
    font-size: 0.8rem;
    font-weight: 500;
    margin-top: 0;
    line-height: 1.2;
}

/* Featured Channel Showcase */
.featured-showcase {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 25px;
    margin: 15px 0 20px 0;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.featured-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--modern-text-light);
}

.popular-channels-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.popular-channel-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    padding: 15px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.popular-channel-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    color: inherit;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.channel-logo {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 10px;
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

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

.channel-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.channel-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--modern-text-light);
    margin-bottom: 5px;
    text-align: center;
    line-height: 1.2;
}

.live-badge {
    background: #ff4757;
    color: white;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    animation: blink 2s infinite;
}

@keyframes blink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0.7;
    }
}

/* Mobile Responsive for Live Stats & Featured */
@media (max-width: 768px) {
    .live-stats-ticker {
        flex-direction: column;
        gap: 12px;
        padding: 15px;
        border-radius: 20px;
        margin: 8px 0 10px 0;
    }

    .live-stat {
        justify-content: center;
    }
}

/* Masaüstü - 6 Kanal Tek Sıra */
@media (min-width: 769px) {
    .popular-channels-grid {
        grid-template-columns: repeat(6, 1fr) !important;
        max-width: 100% !important;
        gap: 15px !important;
    }
}

@media (max-width: 768px) {
    .popular-channels-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        max-width: 300px;
    }

    .channel-logo {
        width: 50px;
        height: 50px;
    }

    .channel-name {
        font-size: 0.8rem;
    }

    .featured-showcase {
        padding: 15px;
        margin: 10px 0 15px 0;
    }
}

/* ====================================
   QUICK LINKS IN HERO SECTION
   ==================================== */

/* Quick Links Section */
.quick-links-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 25px;
    margin: 20px 0;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.quick-links-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--modern-text-light);
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    max-width: 700px;
    margin: 0 auto;
}

.quick-link-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    padding: 15px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.quick-link-item:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.1);
    color: inherit;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.quick-link-icon {
    font-size: 2rem;
    margin-bottom: 8px;
    display: block;
}

.quick-link-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--modern-text-light);
    text-align: center;
    line-height: 1.2;
}

/* Mobile Responsive for Quick Links */
@media (max-width: 768px) {
    .quick-links-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        max-width: 300px;
    }

    .quick-link-item {
        padding: 12px;
    }

    .quick-link-icon {
        font-size: 1.6rem;
        margin-bottom: 6px;
    }

    .quick-link-label {
        font-size: 0.8rem;
    }

    .quick-links-section {
        padding: 15px;
        margin: 15px 0;
    }

    /* 5th item (History) spans full width on bottom */
    .quick-link-item:nth-child(5) {
        grid-column: 1 / -1;
        max-width: 140px;
        margin: 0 auto;
    }
}

/* ====================================
   LATEST ADDED CHANNELS IN HERO SECTION
   ==================================== */

/* Latest Channels Section */
.latest-channels-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 25px;
    margin: 20px 0;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.latest-channels-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--modern-text-light);
    text-align: center;
}

/* Latest Channels Grid Override */
.latest-channels-section .channel-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    max-width: 100%;
    margin: 0 auto;
}

.latest-channels-section .channel-card {
    padding: 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.latest-channels-section .channel-card:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.latest-channels-section .channel-logo {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    margin-bottom: 8px;
}

.latest-channels-section .channel-name {
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.1;
    color: var(--modern-text-light);
}

/* Mobile Responsive for Latest Channels Section - Use Genre Page Style */
@media (max-width: 768px) {
    .latest-channels-section {
        padding: 15px 10px;
        margin: 15px 0;
        width: 100%;
        box-sizing: border-box;
    }

    .latest-channels-title {
        font-size: 1.1rem;
        text-align: center;
        margin-bottom: 15px;
    }

    /* Use 2 column mobile grid */
    .latest-channels-section .channel-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
        padding: 0 5px !important;
        margin: 0 !important;
        width: 100%;
        max-width: 100%;
        justify-items: center;
    }

    /* Use the same mobile card style as genre page */
    .latest-channels-section .channel-card {
        padding: 10px !important;
        width: 100% !important;
        box-sizing: border-box !important;
        margin: 0 !important;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    /* Use the same mobile logo size as genre page */
    .latest-channels-section .channel-logo {
        width: 50px !important;
        height: 50px !important;
        margin: 0 auto 8px auto !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
    }

    .latest-channels-section .channel-logo img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        display: block !important;
        margin: 0 !important;
        border-radius: 8px !important;
    }

    /* Use the same mobile text size as genre page */
    .latest-channels-section .channel-name {
        font-size: 14px !important;
        margin-top: 8px !important;
        text-align: center;
        line-height: 1.2;
        word-break: break-word;
    }
}

/* Tablet Responsive */
@media (max-width: 1024px) and (min-width: 769px) {
    .latest-channels-section .channel-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }

    .latest-channels-section .channel-logo {
        width: 45px;
        height: 45px;
    }
}

/* Quick Links Mobile Responsive - 2x2 Grid like image */
@media (max-width: 768px) {
    /* Quick Links specific styles will be handled separately */
}

/* Category Grid */
.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.category-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 18px;
    padding: 35px 25px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    color: var(--modern-text-light);
    position: relative;
    overflow: hidden;
}

.category-card:hover {
    transform: translateY(-10px) scale(1.02);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
    color: var(--modern-text-light);
    text-decoration: none;
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.category-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--modern-text-light);
}

.category-count {
    color: var(--modern-text-muted);
    font-size: 1rem;
}

/* Channel Grid */
.channel-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.channel-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 25px 20px;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--modern-text-light);
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.channel-card:hover {
    transform: translateY(-8px) scale(1.02);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    color: var(--modern-text-light);
    text-decoration: none;
}

.channel-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    background: var(--modern-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    overflow: hidden;
}

.channel-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.channel-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--modern-text-light);
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 80px 40px;
    background: rgba(255, 255, 255, 0.05);
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--modern-text-light);
}

.cta-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--modern-text-muted);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-button {
    background: rgba(255, 255, 255, 0.2);
    color: var(--modern-text-light);
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-button:hover {
    background: rgba(255, 255, 255, 0.3);
    color: var(--modern-text-light);
    transform: translateY(-3px);
    text-decoration: none;
}

/* Responsive Design - Clean Breakpoints */
@media (max-width: 1200px) {
    .modern-layout {
        max-width: 100%;
        padding: 0 20px;
    }

    .side-space {
        min-width: 50px;
        max-width: 100px;
    }

    .main-content {
        width: 100%;
        max-width: 1000px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }

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

    .channel-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .content-section {
        padding: 30px 20px;
    }

    .hero-section {
        padding: 50px 20px;
    }
}

/* ===== MODERN FOOTER STYLES ===== */

.modern-footer {
    background: linear-gradient(135deg, #2D1B3D 0%, #3A1548 50%, #4A1B5C 100%);
    color: var(--modern-text-light);
    margin-top: 8px;
}

.footer-content {
    padding: 12px 30px 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 12px;
    align-items: start;
}

.footer-section {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 15px 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.footer-section:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.footer-section.site-info {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    min-height: 280px;
    text-align: center;
}

.footer-logo {
    text-align: center !important;
    margin-bottom: 0;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    height: auto !important;
    width: 100% !important;
}

.footer-logo a {
    display: inline-block !important;
    text-align: center !important;
    width: 100% !important;
}

.footer-logo img {
    margin-bottom: 0 !important;
    filter: brightness(1.1);
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
}

.logo-description-spacer {
    height: 10px;
    flex-shrink: 0;
}

.footer-description {
    color: var(--modern-text-muted);
    line-height: 1.6;
    margin-bottom: 0;
    font-size: 1.1rem;
    text-align: center;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-title {
    color: var(--modern-text-light);
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: var(--modern-text-muted);
    text-decoration: none;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-links a:hover {
    color: var(--modern-text-light);
    transform: translateX(5px);
    text-decoration: none;
}

.footer-links a::before {
    content: '▶';
    position: absolute;
    left: -15px;
    opacity: 0;
    transition: opacity 0.3s ease;
    font-size: 0.7rem;
}

.footer-links a:hover::before {
    opacity: 1;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 0;
    justify-content: center;
    flex-shrink: 0;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--modern-text-light);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--modern-text-light);
    transform: translateY(-3px) scale(1.1);
    border-color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
}

.social-link i {
    font-size: 1.2rem;
}

/* Footer Bottom */
.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: 20px 40px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin: 0;
    color: var(--modern-text-muted);
    font-size: 1.05rem;
}

.footer-bottom a {
    color: var(--modern-text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: #FFFFFF;
    text-decoration: none;
}

/* Footer Responsive */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .footer-content {
        padding: 40px 20px 30px;
    }

    .footer-bottom {
        padding: 15px 20px;
    }

    .footer-section.site-info {
        min-height: auto;
        text-align: center !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .footer-description {
        font-size: 1rem;
        margin: 20px 0;
    }

    .social-links {
        justify-content: center;
        margin-top: 20px;
        gap: 20px;
    }

    .social-link {
        width: 50px;
        height: 50px;
    }

    .footer-title {
        font-size: 1.2rem;
        text-align: center;
        margin-bottom: 15px;
    }

    .footer-links {
        text-align: center;
    }

    .footer-links a {
        font-size: 1rem;
    }
}

/* Small Mobile - Footer */
@media (max-width: 480px) {
    .footer-content {
        padding: 30px 15px 20px;
    }

    .footer-section {
        padding: 20px 15px;
    }

    .footer-logo {
        justify-content: center !important;
        text-align: center !important;
        align-items: center !important;
        display: flex !important;
    }

    .footer-logo img {
        max-width: 120px !important;
        height: auto !important;
        margin-left: auto !important;
        margin-right: auto !important;
        display: block !important;
    }

    .footer-description {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .social-links {
        gap: 15px;
    }

    .social-link {
        width: 45px;
        height: 45px;
    }

    .footer-bottom {
        padding: 12px 15px;
    }

    .footer-bottom p {
        font-size: 0.9rem;
    }
}

/* CLS sorunlarını azaltmak için yer tutucular */
.radio-channels {
    min-height: 300px;
    /* Daha optimize edilmiş yükseklik */
}

.channel-item {
    min-height: 200px;
    /* Daha optimize edilmiş yükseklik */
    margin-bottom: 15px;
}

.channel-item img {
    width: 100%;
    height: auto;
    margin: 0 auto;
}

.radio-channels img {
    width: 150px;
    height: 150px;
    background-color: #f0f0f0;
    /* Yer tutucu rengi */
}

/* Responsive Design - Temel */
@media (max-width: 768px) {
    body {
        font-size: 14px;
    }

    .container {
        padding: 0 10px;
    }
}

/* Tablet ve büyük ekranlar */
@media screen and (min-width: 768px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .logo {
        max-height: 50px;
    }

    #menu-content {
        display: block !important;
        position: static;
        width: auto;
        height: auto;
        background: transparent;
        padding: 0;
        overflow: visible;
    }
}

/* ===== STATION PAGE STYLES ===== */

/* Station Content Container */
.station-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
    width: 100%;
}

/* Player Section Container */
.player-section-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 15px 10px 10px 10px;
    margin: 20px 0 0 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

/* Station Info Card */
.station-info-card-new {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
}

.station-logo-new {
    width: 120px;
    height: 110px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid #ddd;
    margin-top: 8px;
}

.station-logo-placeholder-new {
    width: 120px;
    height: 110px;
    border-radius: 8px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    color: #666;
    font-size: 1.5rem;
    margin-top: 8px;
}

.station-title-new {
    color: #333;
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.2;
}

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

.action-icon-inline {
    display: inline-flex;
    align-items: center;
    color: #666;
    cursor: pointer;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.action-icon-inline:hover {
    color: #333;
}

.action-icon-inline.favorites:hover {
    color: #e74c3c;
}

.action-icon-inline.vote-up:hover {
    color: #27ae60;
}

.action-icon-inline.vote-down:hover {
    color: #e74c3c;
}

.station-breadcrumb-new {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: #666;
}

.breadcrumb-link-new {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-link-new:hover {
    color: #2980b9;
    text-decoration: underline;
}

.station-breadcrumb-new i {
    font-size: 0.7rem;
    color: #999;
}

.station-description-new {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-top: 8px;
}

.station-description-new p {
    margin: 0;
}

 /* Station Actions - Modern */
 .station-actions-modern {
     display: flex;
     flex-wrap: wrap;
     gap: 12px;
     align-items: center;
 }
 
 .action-btn-modern {
     display: inline-flex;
     align-items: center;
     justify-content: center;
     gap: 6px;
     padding: 10px 12px;
     background: #ffffff;
     border: 1px solid #e5e7eb; /* gray-200 */
     border-radius: 12px;
     color: #374151; /* gray-700 */
     cursor: pointer;
     min-height: 44px;
     min-width: 44px;
     user-select: none;
     touch-action: manipulation;
     transition: transform .15s ease, box-shadow .15s ease, background-color .2s ease;
 }
 
 .action-btn-modern:hover {
     box-shadow: 0 4px 10px rgba(0,0,0,.06);
     transform: translateY(-1px);
 }
 
 .action-btn-modern:active {
     transform: translateY(0);
 }
 
 .action-btn-modern .action-icon-svg {
     width: 22px;
     height: 22px;
     color: #6b7280; /* gray-500 */
 }
 
 .favorites-btn.active .action-icon-svg {
     color: #e74c3c; /* heart active */
 }
 
 .vote-btn .vote-emoji {
     font-size: 18px;
     line-height: 1;
 }
 
 .vote-count {
     margin-left: 6px;
     font-weight: 600;
     font-size: .9rem;
 }
 
 .views-display {
     cursor: default;
 }
 
 @media (max-width: 768px) {
     .station-actions-modern { gap: 8px; }
     .action-btn-modern {
         padding: 10px;
         min-width: 44px;
         min-height: 44px;
         border-radius: 10px;
     }
     .action-btn-modern .action-label { display: none; }
     .vote-count { margin-left: 0; }
 }

/* Player Styles (legacy container removed) */

/* Similar Stations */
.similar-stations-background {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px 16px; /* match player card LR */
    margin: 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-sizing: border-box;
}

.modern-home .main-content {
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
}

.modern-home .main-content > .section-title,
.modern-home .main-content .section-title {
    padding-left: 16px;
    padding-right: 16px;
    display: block; /* ensure visibility even if used on span */
}

/* Comments & Add Comment containers: LR padding only */
.modern-home .main-content .user-reviews.bg-white {
    padding-left: 16px;
    padding-right: 16px;
}

/* Add Comment spacing after Comments list */
.modern-home .main-content .user-reviews.mb-3 + .section-title,
.modern-home .main-content .user-reviews:last-of-type + .section-title,
.modern-home .main-content .bg-white.user-reviews + .section-title {
    margin-top: 1.25rem !important;
    display: block !important;
}

/* Ensure Add Comment H2 is visible and spaced */
.modern-home .main-content h2.section-title {
    margin-top: 1.25rem !important;
    margin-bottom: 1rem !important;
    display: block !important;
}

/* Desktop: unify LR alignment with player wrapper */
@media (min-width: 769px) {
    .modern-home .main-content { padding-left: 0; padding-right: 0; }
    /* Keep other sections at 16px margins */
    .modern-home .main-content .similar-stations-background,
    .modern-home .main-content .radio-details,
    .modern-home .main-content .user-reviews.bg-white {
        margin-left: 16px;
        margin-right: 16px;
    }
    /* Player wrapper: slightly wider than others to match visual guides */
    .modern-home .main-content .player-wrapper {
        margin-left: 12px;
        margin-right: 12px;
    }
    .modern-home .main-content > .section-title,
    .modern-home .main-content .section-title {
        margin-left: 16px;
        margin-right: 16px;
    }
}

.similar-stations-background .channel-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

/* Station Search Container */
.station-search-container {
    position: relative;
}

.station-search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: none;
}

.station-search-suggestion {
    padding: 10px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.2s;
}

.station-search-suggestion:hover {
    background-color: #f5f5f5;
}

.station-search-suggestion:last-child {
    border-bottom: none;
}

.search-suggestion-img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    border-radius: 4px;
    object-fit: cover;
}

.search-suggestion-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

.search-suggestion-link:hover {
    color: #007bff;
}

.station-search-suggestion img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    border-radius: 4px;
}

.station-search-suggestion a {
    text-decoration: none;
    color: #333;
}

 

/* Station Page Mobile Responsive */
@media (max-width: 768px) {
    .station-info-card-new {
        padding: 12px;
        margin: 10px 0 10px 0;
        border-radius: 0;
    }

    .station-logo-container {
        display: none;
    }

    .station-logo-new,
    .station-logo-placeholder-new {
        display: none;
    }

    .station-title-new {
        font-size: 1.1rem;
        margin-bottom: 8px;
        margin-right: 0 !important;
    }

 

    .station-breadcrumb-new {
        font-size: 0.8rem;
        flex-wrap: wrap;
    }

    .station-description-new {
        font-size: 0.85rem;
        margin-top: 6px;
    }

    .station-content {
        width: 100%;
        padding: 0 !important;
        margin: 0 !important;
    }

    /* legacy #player-container removed */

 

    /* Apply 5px side margins to main sections */
    .modern-home .main-content .station-info-card-new,
    .modern-home .main-content .station-search-container,
    .modern-home .main-content .similar-stations-background,
    .modern-home .main-content .radio-details,
    .modern-home .main-content .user-reviews.bg-white,
    .modern-home .main-content > .section-title,
    .modern-home .main-content .section-title {
        margin-left: 5px !important;
        margin-right: 5px !important;
    }

    .similar-stations-background .channel-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
}

/* Radio Details - Hidden by default */
.radio-details {
    display: none;
}

/* Tutarlı Spacing Sistemi - Station Page */
.station-content>* {
    margin-bottom: 1rem;
    /* mb-3 equivalent */
}

.station-content>*:last-child {
    margin-bottom: 0;
}

/* Station Info Card Spacing */
.station-info-card-new {
    margin-bottom: 1rem !important;
}

/* Player Section Spacing */
 

/* Similar Stations Spacing */
.similar-stations-background {
    margin-bottom: 1rem !important;
    padding: 1.5rem;
    border-radius: 8px;
}

/* Radio Details Spacing */
.radio-details {
    margin-bottom: 1rem !important;
}

/* Comments Section Spacing */
.section-title {
    margin-bottom: 1rem !important;
}

.user-reviews {
    margin-bottom: 1rem !important;
}

/* Search Container Spacing */
.station-search-container {
    margin-bottom: 1rem !important;
}

/* Consistent padding for all content sections */
.station-content {
    padding: 0 1rem;
}

@media (max-width: 768px) {
    .station-content {
        padding: 0 0.5rem;
    }

    .similar-stations-background {
        padding: 1rem;
    }
}

 

/* Ana Sayf
a - Home Search Container */
.home-search-container {
    position: relative;
    margin-bottom: 2rem;
}

.home-search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: none;
    max-height: 300px;
    overflow-y: auto;
}

.home-search-suggestion {
    padding: 10px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.2s;
}

.home-search-suggestion:hover {
    background-color: #f5f5f5;
}

.home-search-suggestion:last-child {
    border-bottom: none;
}

 

/* Ana Sayfa Mobile Optimizasyonları */


@media (max-width: 768px) {
    .home-search-container {
        margin-bottom: 1.5rem;
    }
    /* Ana Sayfa Channel Grid Mobile */
    .channel-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        padding: 0 0.5rem !important;
    }

    /* Ana Sayfa Mobile Hidden - 8'den sonraki kanalları gizle */
    .channel-card.mobile-hidden {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        height: 0 !important;
        width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Ana Sayfa Content Sections Mobile Spacing */
    .content-section {
        margin: 1rem 0.5rem !important;
    }

    .stats-section {
        margin: 1rem 0.5rem !important;
        padding: 1.5rem !important;
    }

    .cta-section {
        margin: 1rem 0.5rem !important;
        padding: 1.5rem !important; 
    }
}

/* Station Action Buttons - Yeni Profesyonel Tasarım */
.station-actions-modern {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 20px 0;
    padding: 15px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.action-btn-modern {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px 12px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 12px;
    color: #333;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    min-width: 60px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.action-btn-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 1);
    text-decoration: none;
}

.action-icon-svg {
    width: 24px;
    height: 24px;
    transition: all 0.3s ease;
}

.action-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

/* Renkli İkonlar ve Hover Efektleri */
.favorites-btn {
    color: #e11d48;
}

.favorites-btn:hover {
    background: rgba(225, 29, 72, 0.1);
    color: #e11d48;
}

.favorites-btn.active {
    background: rgba(225, 29, 72, 0.2);
    color: #e11d48;
}

.favorites-btn .action-icon-svg {
    fill: #e11d48;
    stroke: #e11d48;
}

.report-btn {
    color: #f59e0b;
}

.report-btn:hover {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.report-btn .action-icon-svg {
    fill: #f59e0b;
    stroke: #f59e0b;
}

.vote-up {
    color: #10b981;
}

.vote-up:hover,
.vote-up.active {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.vote-up .action-icon-svg {
    fill: #10b981;
    stroke: #10b981;
}

.vote-down {
    color: #ef4444;
}

.vote-down:hover,
.vote-down.active {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.vote-down .action-icon-svg {
    fill: #ef4444;
    stroke: #ef4444;
}

.views-display {
    color: #3b82f6;
    cursor: default;
}

.views-display:hover {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    transform: none;
}

.views-display .action-icon-svg {
    fill: #3b82f6;
    stroke: #3b82f6;
}

/* Mobile Responsive - Tek Satır */
@media (max-width: 768px) {
    .station-actions-modern {
        gap: 8px;
        padding: 10px;
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
    }

    .action-btn-modern {
        padding: 12px 8px;
        min-width: 65px;
        flex-shrink: 0;
        gap: 6px;
    }

    .action-icon-svg {
        width: 20px;
        height: 20px;
    }

    .action-label {
        font-size: 0.6rem;
        display: block !important;
        text-align: center;
        white-space: nowrap;
    }
}

/* Çok küçük ekranlar */
@media (max-width: 480px) {
    .station-actions-modern {
        gap: 6px;
        padding: 8px;
    }

    .action-btn-modern {
        padding: 10px 6px;
        min-width: 50px;
    }

    .action-icon-svg {
        width: 18px;
        height: 18px;
    }

    .action-label {
        font-size: 0.55rem;
    }
}

/*
 ===== MOBİL PLAYER TAM GENİŞLİK - SON OVERRIDE ===== */
@media (max-width: 768px) {

    /* Player wrapper'ı tam genişlik yap - EN GÜÇLÜ KURAL */
    .player-wrapper {
        width: calc(100vw - 10px) !important;
        /* Sağ-soldan 5px boşluk */
        position: relative !important;
        left: 50% !important;
        margin-left: calc(-50vw + 5px) !important;
        margin-right: calc(-50vw + 5px) !important;
        margin-top: 1rem !important;
        /* Tutarlı boşluk için ayarlandı */
        padding: 0 !important;
        border-radius: 8px !important;
        /* Hafif border radius */
        background: white !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
        /* Hafif gölge */
        transform: none !important;
    }

    /* legacy player-wrapper rules removed */

    /* Source buttons container */
    .player-wrapper .d-flex.justify-content-between {
        padding: 15px !important;
        margin: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}

/* Vote Butonları - Dikey Düzen ve Boyut Eşitleme */
.vote-btn {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 60px !important;
    /* Diğer butonlarla aynı genişlik */
    min-height: 60px !important;
    /* Diğer butonlarla aynı yükseklik */
}

.vote-emoji {
    font-size: 24px !important;
    /* Diğer simgelerle aynı boyut */
    display: block !important;
    margin-bottom: 4px !important;
    line-height: 1 !important;
}

.vote-count {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: inherit !important;
    line-height: 1 !important;
}

/* Mobil görünümde vote butonları */
@media (max-width: 768px) {
    .vote-btn {
        min-width: 50px !important;
        min-height: 50px !important;
    }

    .vote-emoji {
        font-size: 20px !important;
        margin-bottom: 3px !important;
    }

    .vote-count {
        font-size: 14px !important;
    }
}
/* ====
= MOBILE LAYOUT OVERRIDE FOR PAGES ===== */
@media (max-width: 768px) {
    /* Override main layout system for mobile */
    .modern-layout {
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        flex-direction: column !important;
        width: 100vw !important;
    }
    
    .side-space {
        display: none !important;
        width: 0 !important;
        min-width: 0 !important;
        max-width: 0 !important;
        flex: none !important;
    }
    
    .main-content {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        box-shadow: none !important;
        flex-shrink: 1 !important;
        background: linear-gradient(135deg, #3A1548 0%, #4A1B5C 50%, #5D2A6B 100%) !important;
    }
    
    /* Ensure body has no margins */
    body {
        margin: 0 !important;
        padding: 0 !important;
        overflow-x: hidden !important;
    }
}

/* ===== MOBILE PAGE LAYOUT FIX ===== */
@media screen and (max-width: 768px) {
    /* Force full width layout */
    .modern-layout {
        max-width: 100vw !important;
        width: 100vw !important;
        margin: 0 !important;
        padding: 0 !important;
        flex-direction: column !important;
    }
    
    .side-space {
        display: none !important;
        width: 0 !important;
        min-width: 0 !important;
        max-width: 0 !important;
        flex: none !important;
    }
    
    .main-content {
        width: 100vw !important;
        max-width: 100vw !important;
        margin: 0 !important;
        padding: 0 !important;
        box-shadow: none !important;
    }
    
    /* Page content full width */
    .page-content {
        margin: 0 5px 20px 5px !important;
        padding: 15px !important;
        width: calc(100vw - 10px) !important;
        box-sizing: border-box !important;
    }
    
    /* Recent articles full width */
    .recent-articles {
        margin: 0 5px 20px 5px !important;
        padding: 15px !important;
        width: calc(100vw - 10px) !important;
        box-sizing: border-box !important;
    }
    
    /* Hero section compact */
    .hero-section {
        padding: 10px 5px !important;
    }
}

/* Station Action Buttons — Size Normalization (Final Override) */
.station-actions-modern {
    --action-size: 90px;
    --icon-size: 24px;
}
.station-actions-modern .action-btn-modern {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    width: var(--action-size) !important;
    min-width: var(--action-size) !important;
    height: var(--action-size) !important;
    min-height: var(--action-size) !important;
    padding: 10px 8px !important;
    box-sizing: border-box !important;
}
.station-actions-modern .action-btn-modern .action-icon-svg {
    width: var(--icon-size) !important;
    height: var(--icon-size) !important;
}
.station-actions-modern .action-label {
    font-size: 0.65rem !important;
    line-height: 1.1 !important;
    text-align: center !important;
    white-space: normal !important;
}
.station-actions-modern .vote-btn .vote-emoji {
    font-size: var(--icon-size) !important;
    width: var(--icon-size) !important;
    height: var(--icon-size) !important;
    line-height: var(--icon-size) !important;
    display: inline-block !important;
}
.station-actions-modern .vote-btn .vote-count {
    margin-left: 0 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
}
@media (max-width: 768px) {
    .station-actions-modern {
        --action-size: 80px;
        --icon-size: 22px;
        gap: 6px !important;
        padding-left: 6px !important;
        padding-right: 6px !important;
        overflow-x: hidden !important; /* yatay kaydırmayı kapat */
        flex-wrap: nowrap !important;  /* tek satırda tut */
        justify-content: space-between !important; /* eşit yayılma */
    }
    .station-actions-modern .action-btn-modern {
        width: auto !important;
        min-width: 0 !important;       /* daralabilsin */
        flex: 1 1 0 !important;        /* hepsi eşit paylaşılsın */
        height: 72px !important;       /* sabit yükseklik */
    }
    .station-actions-modern .action-label {
        display: none !important;      /* genişlik kazan */
    }
    /* Show view count on mobile for the eye icon */
    .station-actions-modern .views-display .action-label {
        display: inline-block !important;
        font-weight: 700 !important;
        font-size: 14px !important;
        line-height: 1 !important;
    }
}
@media (max-width: 480px) {
    .station-actions-modern {
        --action-size: 64px;           /* ekstra kompakt */
        --icon-size: 20px;
        gap: 5px !important;
        padding-left: 5px !important;
        padding-right: 5px !important;
    }
    .station-actions-modern .action-btn-modern {
        height: 64px !important;
    }
}

/* 
 ===== BOOTSTRAP CONTAINER OVERRIDE FOR MOBILE ===== */
@media (max-width: 768px) {
    /* Override Bootstrap containers */
    .container,
    .container-fluid {
        max-width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
    }
    
    /* Override any row padding */
    .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .col, .col-6, .col-12 {
        padding-left: 5px !important;
        padding-right: 5px !important;
    }
    
    /* Ensure body and html have no margins */
    html, body {
        margin: 0 !important;
        padding: 0 !important;
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100% !important;
    }
}/*
 Akıllı Reklam Konteyneri - Dinamik Boyutlandırma */
.ad-container {
    margin: 0;
    padding: 0;
    text-align: center;
    min-height: 0;
    overflow: hidden;
}

.ad-container:empty {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 0 !important;
}

.ad-container > * {
    margin: 15px auto;
    display: block;
}

/* Mobil Uyumluluk */
@media (max-width: 768px) {
    .ad-container > * {
        margin: 10px auto;
    }
}
/* AdSen
se Script Gizleme - Sadece Çalıştır, Gösterme */
.ad-container script:last-child {
    display: none !important;
    visibility: hidden !important;
    position: absolute !important;
    left: -9999px !important;
}

/* Mobile Responsive Improvements - Auto Generated */
@media (max-width: 767px) {
    /* Minimum readable font size for mobile */
    body { font-size: 16px !important; }
    
    /* Better tap targets (min 44x44px) */
    button, a.btn, .btn { min-height: 44px; min-width: 44px; }
    
    /* Prevent horizontal scroll */
    body { overflow-x: hidden; }
    
    /* Better spacing on mobile */
    .container { padding-left: 15px; padding-right: 15px; }
    
    /* Readable line height */
    p, li { line-height: 1.6; }
}

/* Touch-friendly improvements */
@media (hover: none) {
    /* Remove hover effects on touch devices */
    .hover-effect:hover { transform: none; }
}

/* ============================================
   AFFILIATE ADS SYSTEM STYLES
   ============================================ */

/* Left Sidebar (Floating) */
.aff-sidebar-left {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 160px;
    max-width: 160px;
    z-index: 999;
    background: #fff;
    box-shadow: 2px 0 8px rgba(0,0,0,0.1);
    padding: 10px;
}

/* Right Sidebar (Floating) */
.aff-sidebar-right {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 160px;
    max-width: 160px;
    z-index: 999;
    background: #fff;
    box-shadow: -2px 0 8px rgba(0,0,0,0.1);
    padding: 10px;
}

/* Popup Center (Modal Overlay) */
.aff-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.aff-popup-content {
    position: relative;
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    max-width: var(--popup-maxw, 600px);
    max-height: var(--popup-maxh, 80vh);
    width: var(--popup-w, 90%);
    height: var(--popup-h, auto);
    overflow: auto;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.aff-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #333;
    background: transparent;
    border: none;
    cursor: pointer;
    line-height: 20px;
    width: 30px;
    height: 30px;
    padding: 0;
    z-index: 1;
}

.aff-close:hover {
    color: #f00;
}

/* Sticky Bottom Right */
.aff-sticky-br {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9998;
    background: #fff;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    min-height: var(--minh-sticky, 120px);
}

/* Affiliate Slot (In-content) */
.aff-slot {
    width: 100%;
    min-height: var(--minh-desktop, 90px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 10px;
    overflow: hidden;
}

/* Device Targeting */
.aff-desktop-only {
    display: block;
}

.aff-mobile-only {
    display: none;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    /* Hide sidebars on mobile */
    .aff-sidebar-left,
    .aff-sidebar-right {
        display: none !important;
    }
    
    /* Full width popup on mobile */
    .aff-popup-content {
        width: 95%;
        max-width: 95%;
        padding: 15px;
    }
    
    /* Smaller sticky on mobile */
    .aff-sticky-br {
        bottom: 10px;
        right: 10px;
        padding: 8px;
    }
    
    /* Adjust slot min height for mobile */
    .aff-slot {
        min-height: var(--minh-mobile, 250px);
    }
    
    /* Device targeting switch */
    .aff-desktop-only {
        display: none !important;
    }
    
    .aff-mobile-only {
        display: block;
    }
}

/* Tablet (768px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .aff-sidebar-left,
    .aff-sidebar-right {
        width: 120px;
        max-width: 120px;
    }
}

/* Small Desktop (1025px - 1366px) */
@media (min-width: 1025px) and (max-width: 1366px) {
    .aff-sidebar-left,
    .aff-sidebar-right {
        width: 140px;
        max-width: 140px;
    }
}

/* Large Desktop (1367px+) */
@media (min-width: 1367px) {
    .aff-sidebar-left {
        left: 10px;
    }
    
    .aff-sidebar-right {
        right: 10px;
    }
}
