/* --- 1. RESET & VARIABLES --- */
:root { 
    --sidebar-width: 240px; 
    --primary: #1e272e; 
    --accent: #ff4757; 
    --light-bg: #f4f6f8;
    --text-color: #333;
}
body { 
    font-family: 'Raleway', sans-serif; 
    background: var(--light-bg); 
    color: var(--text-color); 
    margin: 0; 
    padding-bottom: 100px; 
}
a { text-decoration: none; color: inherit; }
* { box-sizing: border-box; }

/* --- 2. LEFT SIDEBAR --- */
.sidebar { 
    position: fixed; top: 0; left: 0; bottom: 0; 
    width: var(--sidebar-width); background: #fff; 
    border-right: 1px solid #e1e4e8; padding: 25px 20px; 
    overflow-y: auto; z-index: 100;
}
.mobile-close-btn { display: none; } /* Hide on Desktop */

.sidebar-logo { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; color: var(--accent); margin-bottom: 30px; }
.sidebar-logo img { width: 32px; height: auto; }

/* SEARCH BAR */
.search-box { margin-bottom: 20px; position: relative; }
.search-box input {
    width: 100%; padding: 10px 15px 10px 35px;
    border: 1px solid #eee; background: #f9f9f9;
    border-radius: 20px; outline: none; transition: 0.2s;
}
.search-box input:focus { border-color: var(--accent); background: #fff; }
.search-box i { position: absolute; left: 12px; top: 12px; color: #999; font-size: 14px; }

/* NAV MENU */
.nav-menu a { display: flex; align-items: center; gap: 12px; padding: 12px 15px; color: #555; font-weight: 600; border-radius: 8px; margin-bottom: 5px; transition: 0.2s; }
.nav-menu a:hover { background: #f0f2f5; color: var(--accent); }
.nav-menu a.active { 
    background: #fff0f1; 
    color: var(--accent); 
    border-left: 4px solid var(--accent);
    border-radius: 0 8px 8px 0; 
    padding-left: 11px; 
}
.nav-section { font-size: 11px; text-transform: uppercase; letter-spacing: 1.2px; color: #aab0b6; margin: 25px 0 10px 10px; font-weight: 700; }

/* --- 3. MAIN CONTENT --- */
.main-wrapper { 
    margin-left: var(--sidebar-width); 
    padding: 30px 40px; 
}
.main-footer { margin-left: var(--sidebar-width); text-align: center; padding: 20px; color: #999; font-size: 12px; margin-bottom: 80px; }

/* GRID & CARDS */
h2 { color: var(--primary); margin-bottom: 25px; font-weight: 800; }
.station-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 25px; }

.station-card { 
    background: #fff; border-radius: 12px; padding: 15px; text-align: center; cursor: pointer; 
    border: 1px solid #f1f3f5; box-shadow: 0 8px 24px rgba(149, 157, 165, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
}
.station-card:hover { transform: translateY(-5px); box-shadow: 0 12px 30px rgba(149, 157, 165, 0.2); }

.img-wrap { position: relative; border-radius: 8px; overflow: hidden; aspect-ratio: 1/1; margin-bottom: 12px; background: #eee; }
.img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.img-wrap .overlay { position: absolute; top:0; left:0; right:0; bottom:0; background: rgba(0,0,0,0.4); display: flex; align-items: center; justify-content: center; opacity: 0; transition: 0.3s; }
.station-card:hover .overlay { opacity: 1; }
.overlay i { color: #fff; font-size: 40px; }
.station-card h4 a { color: #333; font-size: 15px; font-weight: 700; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* --- 4. DETAIL PAGE, HERO & MODAL --- */
.detail-layout { display: flex; gap: 40px; margin-top: 10px; }
.main-col { flex: 1; min-width: 0; } /* এটি এখন পুরো ফাঁকা জায়গা নিয়ে নেবে */
.side-col { width: 330px; flex-shrink: 0; } /* ডানদিকের সাইডবারকে ৩৩০ পিক্সেলের বেশি বড় হতে দেবে না */
.side-col > div { box-shadow: 0 5px 15px rgba(0,0,0,0.03); border: 1px solid #f1f3f5; transition: 0.3s ease; }

/* BREADCRUMB MENU */
.breadcrumb-nav { margin-bottom: 20px; font-size: 13px; font-weight: 600; }
.breadcrumb-nav ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.breadcrumb-nav li a { color: #6c757d; transition: 0.2s; }
.breadcrumb-nav li a:hover { color: var(--accent); }
.breadcrumb-nav li::after { content: '\f105'; font-family: 'Font Awesome 5 Free'; font-weight: 900; margin-left: 8px; color: #adb5bd; font-size: 11px; }
.breadcrumb-nav li:last-child::after { display: none; }
.breadcrumb-nav li.active { color: var(--primary); font-weight: 700; }

/* PREMIUM STATION HERO (Like radio.net) */
.station-hero {
    position: relative; background: linear-gradient(145deg, #181b24 0%, #0a0c10 100%);
    border-radius: 16px; padding: 35px; color: #fff; box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    margin-bottom: 25px; display: flex; flex-direction: column; gap: 30px;
    border: 1px solid rgba(255,255,255,0.05);
}

.hero-top { display: flex; justify-content: space-between; align-items: flex-start; }
.hero-title-area h1 { margin: 0 0 20px 0; font-size: 30px; font-weight: 700; color: #fff; letter-spacing: -0.5px; line-height: 1.2; }
.hero-badge { background: rgba(255,255,255,0.1); padding: 6px 16px; border-radius: 5px; font-size: 12px; font-weight: 600; border: 1px solid rgba(255,255,255,0.05); color: #ddd; text-decoration: none; transition: 0.3s; }
.hero-badge:hover { background: rgba(255,255,255,0.2); }

/* Report Button */
.btn-report { 
    background: rgba(255,255,255,0.1); color: #fff; border: 1px solid rgba(255,255,255,0.2); 
    padding: 8px 16px; border-radius: 8px; font-size: 13px; font-weight: 600; cursor: pointer; 
    transition: 0.3s; display: flex; align-items: center; gap: 6px; 
}
.btn-report:hover { background: var(--accent); border-color: var(--accent); }

.hero-bottom { display: flex; align-items: flex-end; gap: 20px; }
.hero-logo { width: 150px; height: 150px; border-radius: 12px; object-fit: cover; box-shadow: 0 10px 25px rgba(0,0,0,0.4); background: #fff; padding: 5px; }

/* Glassmorphism Play Bar */
.hero-play-bar { 
    flex: 1; background: rgba(255, 255, 255, 0.08); backdrop-filter: blur(12px); 
    padding: 15px 25px; border-radius: 12px; display: flex; justify-content: space-between; 
    align-items: center; border: 1px solid rgba(255, 255, 255, 0.1); margin-bottom: 5px;
}
.hero-play-bar .play-info { display: flex; flex-direction: column; gap: 4px; }
.hero-play-bar .now-playing { font-size: 11px; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 1px; font-weight: 700; }
.hero-play-bar .play-name { font-size: 18px; font-weight: 700; color: #fff; margin: 0; }

.hero-play-btn { 
    width: 45px; height: 45px; border-radius: 50%; background: #fff; color: #000; 
    border: none; font-size: 16px; display: flex; align-items: center; justify-content: center; 
    cursor: pointer; transition: 0.3s; padding-left: 4px; box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.hero-play-btn:hover { transform: scale(1.08); background: var(--accent); color: #fff; }

/* REPORT MODAL */
.modal-overlay { 
    display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; 
    background: rgba(0,0,0,0.6); z-index: 999999; backdrop-filter: blur(4px); 
    align-items: center; justify-content: center; 
}
.modal-box { 
    background: #fff; width: 90%; max-width: 450px; border-radius: 12px; padding: 25px; 
    position: relative; box-shadow: 0 15px 35px rgba(0,0,0,0.2); animation: popIn 0.3s ease; color: #333;
}
@keyframes popIn { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.modal-close { position: absolute; top: 15px; right: 15px; font-size: 20px; color: #888; cursor: pointer; transition: 0.2s; }
.modal-close:hover { color: var(--accent); }

/* CONTENT & SHARE BOXES */
.desc-box { background: #fff; padding: 30px; border-radius: 15px; line-height: 1.8; color: #555; margin-bottom: 30px; border: 1px solid #f1f3f5; box-shadow: 0 5px 15px rgba(0,0,0,0.03); }
.share-label { font-size: 12px; font-weight: bold; color: #888; margin-right: 15px; text-transform: uppercase; letter-spacing: 1px;}
.share-box { display: flex; gap: 8px; flex-wrap: wrap; }
.share-btn { width: 32px; height: 32px; border-radius: 6px; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 14px; transition: 0.2s; }
.share-btn:hover { transform: translateY(-3px); opacity: 0.9; }
.share-fb { background: #1877f2; } .share-x { background: #000; } .share-in { background: #0077b5; } .share-pin { background: #bd081c; } .share-wa { background: #25D366; }

@media (max-width: 768px) {
    .hero-top { flex-direction: column; gap: 15px; align-items: center; text-align: center; }
    .hero-bottom { flex-direction: column; align-items: center; text-align: center; gap: 15px; }
    .hero-play-bar { width: 100%; text-align: left; }
}

/* --- 5. FORMS & INPUTS --- */
.form-control {
    border-radius: 8px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
    transition: 0.2s;
    font-family: 'Raleway', sans-serif;
}
.form-control:focus {
    border-color: var(--accent) !important;
    box-shadow: 0 0 0 3px rgba(255, 71, 87, 0.1) !important;
    outline: none;
}

/* --- 6. MOBILE HEADER --- */
.mobile-header { display: none; }
.mobile-search-bar { display: none; padding: 15px; background: #fff; border-bottom: 1px solid #eee; box-shadow: 0 8px 24px rgba(149, 157, 165, 0.1); }
.mobile-search-bar.active { display: block; }

/* --- 7. FIXED PLAYER --- */
.fixed-player { 
    position: fixed; bottom: 0; left: 0; right: 0; height: 80px; 
    background: var(--primary); color: #fff; z-index: 99999; 
    display: flex; align-items: center; padding: 0 20px; 
    box-shadow: 0 -4px 25px rgba(0,0,0,0.15);
}
.player-container { width: 100%; display: flex; justify-content: space-between; align-items: center; }
.p-info { display: flex; align-items: center; gap: 15px; width: 300px; }
.p-info img { width: 50px; height: 50px; border-radius: 6px; }
.p-controls { display: flex; justify-content: center; flex: 1; }

.big-play-btn { 
    width: 55px; height: 55px; border-radius: 50%; 
    background: var(--accent); border: none; color: #fff; 
    font-size: 22px; cursor: pointer; position: relative; 
    display: grid; place-items: center; z-index: 2; transition: transform 0.2s;
}
.big-play-btn:hover { transform: scale(1.05); }
.big-play-btn.buffering::after {
    content: ''; position: absolute; top: -6px; left: -6px; right: -6px; bottom: -6px; 
    border-radius: 50%; border: 3px solid rgba(255,255,255, 0.2); 
    border-top-color: #fff; animation: spin 1s linear infinite; z-index: 1;
}
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
.p-volume { display: flex; align-items: center; gap: 10px; width: 200px; justify-content: flex-end; }
.p-volume i { cursor: pointer; width: 20px; text-align: center; }

/* --- 8. FLOATING UI (COOKIE BANNER & GO TO TOP) --- */
.cookie-banner {
    display: none; position: fixed; 
    bottom: 100px; /* FIX: প্লেয়ার (80px) + 20px ফাঁকা জায়গা */ 
    left: 20px; right: 20px; 
    max-width: 900px; margin: 0 auto; /* স্ক্রিনের মাঝখানে সুন্দরভাবে ভাসিয়ে রাখার জন্য */
    border-radius: 12px; /* চারপাশ একটু গোল (Rounded) করে প্রফেশনাল লুক দেওয়া হলো */
    background: var(--primary); color: #fff; padding: 15px 25px; 
    z-index: 9999999; box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border: 1px solid rgba(255, 255, 255, 0.1); font-family: 'Raleway', sans-serif;
}
.cookie-content {
    display: flex; flex-direction: column; 
    gap: 15px; align-items: center; justify-content: space-between;
}
.cookie-text { font-size: 14px; text-align: center; line-height: 1.5; color: #dfe6e9; }
.cookie-text a { color: var(--accent); text-decoration: underline; font-weight: 600; }
.cookie-btn {
    background: var(--accent); color: #fff; border: none; padding: 10px 30px; 
    border-radius: 25px; font-weight: 700; cursor: pointer; transition: 0.3s;
    text-transform: uppercase; font-size: 12px; letter-spacing: 1px; flex-shrink: 0;
}
.cookie-btn:hover { transform: scale(1.05); background: #ff2e43; }

.go-top-btn {
    display: none; position: fixed; 
    bottom: 190px; /* FIX: নতুন কুকি ব্যানারের সাথে ওভারল্যাপ না হওয়ার জন্য আরও ওপরে তোলা হলো */ 
    right: 20px; z-index: 99998; 
    background: var(--accent); color: white; cursor: pointer; border: none; 
    border-radius: 50%; width: 45px; height: 45px; 
    box-shadow: 0 5px 15px rgba(255, 71, 87, 0.4); 
    transition: transform 0.3s, background 0.3s;
    align-items: center; justify-content: center; font-size: 18px;
}
.go-top-btn:hover { transform: translateY(-4px); background: #ff2e43; }

@media (min-width: 768px) {
    .cookie-content { flex-direction: row; }
    .cookie-text { text-align: left; }
}

/* --- 9. MOBILE RESPONSIVE --- */
@media (max-width: 992px) {
    .sidebar { transform: translateX(-100%); transition: 0.3s; box-shadow: 5px 0 15px rgba(0,0,0,0.1); }
    .sidebar.open { transform: translateX(0); }
    .main-wrapper { margin-left: 0; padding: 20px; }
    .main-footer { margin-left: 0; }
    
    .mobile-header { display: flex; justify-content: space-between; align-items: center; padding: 15px; background: #fff; border-bottom: 1px solid #eee; }
    
    .mobile-close-btn {
        display: block; text-align: right; padding: 10px; cursor: pointer;
        color: #888; font-size: 14px; font-weight: bold; margin-bottom: 10px; border-bottom: 1px solid #eee;
    }
    
    .detail-layout { flex-direction: column; }
    
    .detail-head { 
        flex-direction: column; 
        text-align: center;     
        padding: 20px;
        gap: 20px;
    }
    
    .detail-head img { 
        width: 200px; 
        height: 200px; 
        margin: 0 auto; 
    }
    
    .detail-meta { width: 100%; }
    .share-box { justify-content: center; }
    .p-volume { display: none; }
    .p-info { width: auto; flex: 1; }
}
/* --- 10. SIDEBAR DROPDOWN & SOCIAL ICONS --- */
.nav-toggle {
    display: flex; justify-content: space-between; align-items: center;
    padding: 12px 15px; color: #555; font-weight: 600; border-radius: 8px; 
    margin-bottom: 5px; cursor: pointer; transition: 0.2s;
}
.nav-toggle:hover { background: #f0f2f5; color: var(--accent); }
.nav-toggle .caret { transition: transform 0.3s; font-size: 12px; }
.nav-toggle.open .caret { transform: rotate(180deg); color: var(--accent); }

/* Submenu Styles */
.sub-menu { display: none; padding-left: 20px; margin-bottom: 5px; }
.sub-menu a { font-size: 13.5px; padding: 8px 15px; margin-bottom: 2px; color: #666; border-left: 2px solid transparent; border-radius: 0 8px 8px 0; }
.sub-menu a:hover { background: #f9f9f9; }
.sub-menu a i { font-size: 10px; margin-right: 8px; opacity: 0.5; }

/* Submenu Active State Overrides */
.nav-menu .sub-menu a.active { background: transparent; border-left: 2px solid var(--accent); padding-left: 13px; color: var(--accent); }

/* Horizontal Social Icons */
.social-horizontal { display: flex; gap: 10px; padding: 0 10px; margin-top: 5px; }
.social-horizontal a { 
    display: flex; justify-content: center; align-items: center;
    width: 36px; height: 36px; border-radius: 50%; background: #f0f2f5; 
    color: #555; transition: 0.3s; padding: 0; margin: 0;
}
.social-horizontal a:hover { background: var(--accent); color: #fff; transform: translateY(-3px); box-shadow: 0 4px 10px rgba(255, 71, 87, 0.3); }
.social-horizontal a i { margin: 0; font-size: 16px; }
/* হোমপেজের SEO/Description সেকশনের প্রিমিয়াম ডিজাইন */
.home-seo-section {
    background: #ffffff; /* একদম ক্লিন সাদা ব্যাকগ্রাউন্ড */
    padding: 60px 40px;
    border-radius: 16px; /* মডার্ন রাউন্ডেড কর্নার */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04); /* খুব সফট একটা শ্যাডো, যেটা ভাসমান মনে হবে */
    margin: 50px 0;
    color: #333333; /* পুরোপুরি কালো নয়, ডার্ক গ্রে (পড়তে আরাম) */
    font-family: 'Raleway', -apple-system, sans-serif; /* ইউএস স্ট্যান্ডার্ড ফন্ট */
    line-height: 1.8; /* লাইন হাইট বেশি থাকলে খুব রিডেবল হয় */
}

/* হেডিং ডিজাইন */
.home-seo-section h2, 
.home-seo-section h3 {
    color: #111827; /* হেডিং একটু ডার্ক হবে */
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
    letter-spacing: -0.5px;
}

/* হেডিংয়ের নিচে একটা সুন্দর মডার্ন অ্যাকসেন্ট আন্ডারলাইন */
.home-seo-section h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #0d6efd, #0dcaf0); /* একটা প্রিমিয়াম গ্রেডিয়েন্ট কালার */
    border-radius: 4px;
}

/* প্যারাগ্রাফ ডিজাইন */
.home-seo-section p {
    font-size: 1.05rem;
    margin-bottom: 20px;
    color: #4b5563; /* সফট টেক্সট কালার */
}

/* লিংকের ডিজাইন */
.home-seo-section a {
    color: #0d6efd;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.home-seo-section a:hover {
    color: #0a58ca;
    border-bottom: 1px solid #0a58ca; /* হোভার করলে সুন্দর আন্ডারলাইন আসবে */
}
/* =========================================
   Homepage Custom Sections CSS
========================================= */

/* Section Titles */
.home-dynamic-section {
    margin-top: 50px;
    padding-top: 20px;
}
.home-section-title {
    font-weight: 800;
    color: #111827;
    margin-bottom: 25px;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}
.home-section-title i {
    font-size: 1.2rem;
    color: #ff4757; /* Tomar site-er premium red theme color */
}

/* Grid Buttons for Genres & States */
.home-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
}
.home-grid-btn {
    background: #111827;
    color: #f8fafc;
    border: 1px solid #334155;
    padding: 15px 10px;
    text-align: center;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}
.home-grid-btn:hover {
    background: #1f2937;
    border-color: #0d6efd;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(13,110,253,0.15);
}

/* FAQ Accordion Styles */
.faq-container {
    max-width: 800px;
    margin: 0 auto; /* এই ম্যাজিক লাইনটি বক্সগুলোকে একদম মাঝখানে নিয়ে আসবে */
}

/* 🆕 NEW: FAQ এর টাইটেলটিকেও সুন্দর করে মাঝখানে আনার জন্য */
.home-dynamic-section:has(.faq-container) .home-section-title {
    justify-content: center;
    text-align: center;
}
details.faq-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 18px 20px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.3s;
}
details.faq-item summary {
    font-weight: 700;
    color: #0f172a;
    font-size: 1.1rem;
    list-style: none;
    outline: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
details.faq-item summary::-webkit-details-marker {
    display: none;
}
details.faq-item summary::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #64748b;
    transition: transform 0.3s;
}
details.faq-item[open] summary::after {
    transform: rotate(180deg);
}
details.faq-item[open] {
    border-color: #0d6efd;
    box-shadow: 0 4px 20px rgba(13,110,253,0.08);
}
details.faq-item .faq-answer {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #f1f5f9;
    color: #475569;
    line-height: 1.7;
    font-size: 1rem;
}

/* SEO Content Section */
.home-seo-section {
    background: #ffffff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    margin-top: 50px;
    color: #333333;
    line-height: 1.8;
}
/* 🆕 NEW: Hero Section & Advanced Search Bar Styles */
.home-hero-section {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #111827, #1f2937);
    color: #fff;
    border-radius: 16px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.home-hero-section h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.home-hero-section p {
    font-size: 1.15rem;
    color: #94a3b8;
    margin-bottom: 35px;
}

/* Search Bar Wrapper & Form */
.hero-search-wrapper {
    max-width: 650px;
    margin: 0 auto;
}

.hero-search-form {
    display: flex;
    align-items: center;
    background: #ffffff;
    padding: 8px 10px;
    border-radius: 50px;
    border: 2px solid transparent;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

/* ম্যাজিক হোভার অ্যানিমেশন */
.hero-search-form:hover, 
.hero-search-form:focus-within {
    border-color: #ff4757; /* সাইটের রেড কালার */
    box-shadow: 0 8px 25px rgba(255, 71, 87, 0.25);
    transform: translateY(-3px);
}

.hero-search-form i {
    color: #94a3b8;
    font-size: 1.2rem;
    margin: 0 10px 0 20px;
    transition: color 0.3s ease;
}

.hero-search-form:focus-within i {
    color: #ff4757; /* টাইপ করার সময় আইকন রেড হবে */
}

.hero-search-form input {
    flex-grow: 1;
    padding: 12px 10px;
    font-size: 1.1rem;
    border: none;
    outline: none;
    background: transparent;
    color: #333;
    width: 100%;
}

.hero-search-form button {
    padding: 12px 35px;
    border-radius: 50px;
    border: none;
    background: #ff4757; /* সাইটের অরিজিনাল রেড কালার */
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    white-space: nowrap;
}

.hero-search-form button:hover {
    background: #e03a49; /* হোভার করলে একটু ডার্ক রেড হবে */
    transform: scale(1.05);
}

/* 📱 Mobile Responsiveness (১০০% পারফেক্ট) */
@media (max-width: 768px) {
    .home-hero-section {
        padding: 40px 15px;
    }
    .home-hero-section h1 {
        font-size: 2rem;
    }
    .hero-search-form {
        padding: 5px;
    }
    .hero-search-form i {
        margin: 0 8px 0 15px;
        font-size: 1.1rem;
    }
    .hero-search-form input {
        padding: 10px 5px;
        font-size: 1rem;
    }
    .hero-search-form button {
        padding: 10px 20px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .home-hero-section h1 {
        font-size: 1.8rem;
    }
    .hero-search-form {
        border-radius: 30px;
    }
    .hero-search-form i {
        margin: 0 5px 0 12px;
        font-size: 1rem;
    }
    .hero-search-form button {
        padding: 10px 18px;
        border-radius: 25px;
    }
}
/* =========================================
   Sidebar Logo & Site Name Balance
========================================= */
.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 12px; /* লোগো এবং টেক্সটের মাঝখানে সুন্দর ফাঁকা জায়গা */
    text-decoration: none;
}

.sidebar-logo img {
    width: 45px; /* লোগোটা আগের চেয়ে বড় এবং ক্লিয়ার করা হলো */
    height: auto;
    object-fit: contain;
}

.sidebar-logo span {
    font-size: 1.3rem;
    font-weight: 700;
    color: #111827;
    letter-spacing: -0.5px;
    text-transform: uppercase;
    line-height: 1; /* এই লাইনটি ফন্টের ওপর-নিচের এক্সট্রা স্পেস দূর করে দেবে */
    display: inline-block;
    transform: translateY(4px); /* টেক্সটকে হালকা একটু নিচে নামিয়ে লোগোর একদম সেন্টারে বসাবে */
}

/* মোবাইলের হেডারের জন্য লোগো ও টেক্সট ব্যালেন্স */
.mobile-header span {
    font-size: 1.2rem;
    font-weight: 800;
    color: #111827; 
    letter-spacing: -0.5px;
}
/* =========================================
   Mobile Header Logo & Title Layout
========================================= */
.mobile-brand {
    display: flex;
    align-items: center;
    gap: 8px; /* লোগো এবং টেক্সটের মাঝখানে সুন্দর ফাঁকা জায়গা */
    text-decoration: none;
}

.mobile-brand img {
    width: 41px; /* মোবাইলের হেডারের জন্য পারফেক্ট লোগো সাইজ */
    height: auto;
    object-fit: contain;
}

.mobile-brand span {
    font-weight: 700; 
    font-size: 1.3rem; 
    color: #111827; /* প্রিমিয়াম ডার্ক কালার */
    letter-spacing: -0.5px;
    text-transform: uppercase;
    line-height: 1;
    display: inline-block;
    transform: translateY(4px); /* টেক্সটকে লোগোর ঠিক সেন্টারে বসানোর জন্য */
}
/* =========================================
   Mobile View: Center Right Sidebar (Related Stations)
========================================= */
@media (max-width: 768px) {
    .side-col {
        width: 100%;
        margin: 30px auto 0;
        display: flex;
        flex-direction: column;
        align-items: center; /* পুরো বক্সটাকে মাঝখানে আনবে */
    }
    
    .side-col > div {
        width: 100%;
        max-width: 400px; /* বক্সের সাইজ ঠিক রাখবে */
    }
    
    .side-col h4 {
        text-align: center; /* শুধু 'Related Stations' লেখাটা মাঝখানে থাকবে */
    }
    
    .side-col a {
        justify-content: flex-start !important; /* স্টেশনের নাম ও লোগো আগের মতো সুন্দর করে বাম দিকে থাকবে */
        margin-left: 15px; /* একটু ডানে সরিয়ে দিলে দেখতে আরও ভালো লাগবে */
    }
}
/* =========================================
   Desktop View: Premium Unified Layout (10% Side Margin)
========================================= */
@media (min-width: 992px) {
    /* Home, Genre, Location, Search ebong Static page er shob element ekshathe align hobe */
    .home-hero-section,
    .home-section-title,
    .station-grid,
    .home-dynamic-section,
    .home-seo-section,
    .main-wrapper > div[style*="background:#fff"],
    .main-wrapper > div[style*="background: #fff"],
    .main-wrapper > div[style*="max-width:600px"] {
        margin-left: 10% !important;
        margin-right: 10% !important;
        width: auto !important;
        max-width: none !important; 
    }

    /* FAQ Section er titles o jeno left align thake, khapchara na lage */
    .home-dynamic-section:has(.faq-container) .home-section-title {
        justify-content: flex-start !important;
        text-align: left !important;
    }

    .faq-container {
        max-width: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}
/* =========================================
   Pagination Styles
========================================= */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 15px;
    background: #ffffff;
    color: #111827;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.page-btn i {
    margin: 0 5px;
}

.page-btn:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #ff4757;
}

.page-btn.active {
    background: #ff4757;
    border-color: #ff4757;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(255, 71, 87, 0.2);
}

.page-dots {
    color: #64748b;
    font-weight: 800;
    letter-spacing: 2px;
    padding: 0 5px;
}
/* CONTACT PAGE SUMBIT BUTTON */
.contact-btn { background:#ff4757; color:#fff; border:none; padding:12px 25px; cursor:pointer; transition: 0.3s; border-radius:5px; flex-shrink: 0; }
.contact-btn:hover { transform: scale(1.05); background: #ff2e43; }

/* Homepage Layout Fixes */
.home-section-title {
    margin-top: 60px !important;
    margin-bottom: 20px !important;
}

.home-dynamic-section {
    padding-top: 0 !important;
    margin-top: 0 !important;
}
/* Station Share Bar & External Links Box */
.station-share-bar {
    background: #fff;
    padding: 15px 25px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
    border: 1px solid #f1f3f5;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.share-left {
    display: flex;
    align-items: center;
}

.share-left .share-label {
    margin-right: 15px;
    font-weight: bold;
    color: #555;
    text-transform: uppercase;
}

.station-external-links {
    display: flex;
    gap: 10px;
}

.ext-link-btn {
    padding: 8px 15px;
    background: #f8f9fa;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 10px;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.ext-link-btn:hover {
    background: #e9ecef;
    color: #000;
    border-color: #ccc;
}

.ext-link-btn.website-btn i {
    color: #0d6efd;
    margin-right: 6px;
    font-size: 14px;
}

.ext-link-btn.wiki-btn i {
    color: #000;
    margin-right: 6px;
    font-size: 14px;
}
/* Hero Player Text Overflow & Font Fix */
.hero-play-bar {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 20px;
}

.hero-play-bar .play-info {
    min-width: 0;
    overflow: hidden;
}

.hero-play-bar .play-name {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 16px !important; /* 18px এর বদলে 16px করা হলো, দেখতে ক্লিন লাগবে */
    font-weight: 700;
    max-width: 100%;
}
/* About Station Title Modern Styling */
.about-station-title {
    margin-top: 0;
    font-size: 20px;
    font-weight: 800;
    color: #1e272e;
    padding-bottom: 12px;
    margin-bottom: 20px;
    border-bottom: 2px solid #f1f3f5;
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.about-station-title i {
    font-size: 22px;
    color: #ff4757; /* তোমার প্লে বাটনের সাথে মিল রেখে কালার দেওয়া হলো */
}

/* Magic Accent Underline */
.about-station-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 60px;
    height: 3px;
    background: #ff4757; /* প্লে বাটনের লাল/পিংক কালার */
    border-radius: 5px;
}
/* Player Grid Layout & Ellipsis Fix */
.player-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr; /* ৩টি কলাম: বাম, মাঝখান, ডান */
    align-items: center;
    width: 100%;
    gap: 15px;
}
.p-info {
    display: flex;
    align-items: center;
    min-width: 0;
}
#p-logo {
    width: 45px;
    height: 45px;
    flex-shrink: 0;
    object-fit: cover;
    border-radius: 6px;
    margin-right: 12px;
}
.p-meta {
    min-width: 0; 
    display: flex;
    flex-direction: column;
}
#p-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    width: 100%;
    font-size: 15px !important;
    font-weight: 700;
    margin: 0;
}
.p-controls {
    display: flex;
    justify-content: center;
}
.p-volume {
    display: flex;
    justify-content: flex-end; /* ম্যাজিক: ভলিউমকে ডানদিকে ধাক্কা দিয়ে রাখবে */
    align-items: center;
    width: 100%;
    gap: 10px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .player-container {
        grid-template-columns: 1fr auto; /* মোবাইলে ভলিউম হাইড হলে গ্রিড চেঞ্জ হবে */
    }
    .p-volume {
        display: none;
    }
}
/* --- 11. STREAM ERROR MODAL --- */
#stream-error-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
    backdrop-filter: blur(4px);
}

#stream-error-modal.show-modal {
    opacity: 1;
    visibility: visible;
}

.stream-error-content {
    background: #ffffff;
    padding: 35px 40px;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    transform: translateY(-100px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    max-width: 90%;
    width: 420px;
    border: 1px solid #f1f3f5;
}

#stream-error-modal.show-modal .stream-error-content {
    transform: translateY(0);
}

.error-close-btn {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 10px 35px;
    border-radius: 25px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    font-size: 15px;
}
.error-close-btn:hover {
    background: #e03a49;
    transform: scale(1.05);
}
/* --- 12. RELATED STATIONS PREMIUM HOVER --- */
.related-station-item {
    display: flex;
    gap: 12px;
    margin-bottom: 5px;
    padding: 10px;
    cursor: pointer;
    align-items: center;
    text-decoration: none;
    color: inherit;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.related-station-item:hover {
    background: #f8fafc; /* প্রিমিয়াম সফট-গ্রে ব্যাকগ্রাউন্ড */
    transform: translateX(4px); /* ডানদিকে হালকা স্লাইড অ্যানিমেশন */
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

.rel-img-wrap {
    position: relative;
    width: 45px;
    height: 45px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #eee;
}

.rel-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.rel-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* ইমেজের ওপর ট্রান্সপারেন্ট ব্ল্যাক */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s ease;
}

.rel-overlay i {
    color: #fff;
    font-size: 14px; /* ছোট্ট প্লে আইকন */
}

.related-station-item:hover .rel-overlay {
    opacity: 1;
}

.related-station-item:hover .rel-img-wrap img {
    transform: scale(1.15); /* ইমেজে হালকা জুম */
}

.rel-name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    transition: color 0.3s;
}

.related-station-item:hover .rel-name {
    color: var(--accent); /* টেক্সট রেড হয়ে যাবে */
}