/* ============================================
   Yush Radio - Main Stylesheet
   Colors: Green #006400, Yellow #FFD700, 
           Red #FF0000, Blue #0033A0,
           Orange #FF8C00, Black #000000,
           White #FFFFFF
   ============================================ */

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #006400 0%, #FFD700 50%, #FF0000 100%);
    min-height: 100vh;
    padding: 20px;
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    background: rgba(0,0,0,0.2);
    border-radius: 40px;
    padding: 20px;
    backdrop-filter: blur(5px);
}

/* Navigation */
.navbar {
    background: linear-gradient(90deg, #006400 0%, #FFD700 50%, #FF0000 100%);
    padding: 16px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    border-radius: 20px 20px 0 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    flex-wrap: wrap;
    gap: 16px;
}

.logo {
    font-size: 32px;
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    background: rgba(0,0,0,0.3);
    padding: 8px 20px;
    border-radius: 50px;
}

.logo span { color: #FFD700; }

.nav-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.nav-btn {
    padding: 10px 18px;
    border-radius: 50px;
    border: none;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}
.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.btn-green { background: #006400; color: white; }
.btn-yellow { background: #FFD700; color: #000; }
.btn-red { background: #FF0000; color: white; }
.btn-blue { background: #0033A0; color: white; }
.btn-orange { background: #FF8C00; color: white; }
.btn-black { background: #000000; color: white; }
.btn-white { background: white; color: #000; border: 1px solid #ccc; }

.mobile-menu {
    display: none;
    font-size: 24px;
    color: white;
    cursor: pointer;
}

/* Live Banner */
.live-banner {
    background: #000;
    color: #FFD700;
    text-align: center;
    padding: 12px;
    font-weight: bold;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { background: #000; color: #FFD700; }
    50% { background: #FF0000; color: white; }
}

/* Hero Section */
.hero {
    background: rgba(0,0,0,0.5);
    padding: 60px 32px;
    text-align: center;
    color: white;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 16px;
}
.hero-content h1 span { color: #FFD700; }
.hero-content p {
    font-size: 20px;
    max-width: 600px;
    margin: 0 auto 24px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}
.hero-buttons .btn-green,
.hero-buttons .btn-yellow {
    padding: 14px 32px;
    font-size: 18px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.2s;
}
.hero-buttons .btn-green:hover,
.hero-buttons .btn-yellow:hover {
    transform: scale(1.05);
}

/* Stats Row */
.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    padding: 24px;
    background: rgba(245, 245, 245, 0.95);
    backdrop-filter: blur(10px);
}

.stat-card {
    background: white;
    padding: 16px;
    border-radius: 16px;
    text-align: center;
    border-left: 5px solid #FFD700;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s;
    cursor: pointer;
}
.stat-card:hover { transform: translateY(-5px); }
.stat-icon { font-size: 32px; }
.stat-number { font-size: 28px; font-weight: bold; }
.stat-label { font-size: 12px; color: #666; }

/* Analytics Section */
.analytics-section {
    background: rgba(255,255,255,0.95);
    border-radius: 20px;
    padding: 24px;
    margin: 24px;
    backdrop-filter: blur(10px);
}
.analytics-section h2 {
    color: #006400;
    font-size: 24px;
    text-align: center;
}

.chart-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 20px;
}

.chart-card {
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.chart-card h3 {
    margin-bottom: 16px;
    color: #006400;
    font-weight: bold;
}
.chart-card canvas { max-height: 250px; width: 100% !important; }
.chart-note {
    text-align: center;
    margin-top: 12px;
    font-size: 12px;
    color: #666;
}

/* Main Grid */
.main-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
    padding: 24px;
    background: rgba(240, 240, 240, 0.95);
}

/* News Section */
.news-section,
.social-chat {
    background: rgba(255,255,255,0.95);
    border-radius: 20px;
    padding: 20px;
    backdrop-filter: blur(10px);
}
.news-section h2 { margin-bottom: 16px; }

.region-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 15px 0;
}

.region-btn {
    padding: 8px 20px;
    border-radius: 50px;
    border: none;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s;
}
.region-btn:hover { transform: scale(1.05); }
.region-btn.caribbean { background: #006400; color: white; }
.region-btn.africa { background: #FF0000; color: white; }
.region-btn.asia { background: #FFD700; color: #000; }
.region-btn.americas { background: #0033A0; color: white; }
.region-btn.europe { background: #FF8C00; color: white; }

.news-item {
    border-left: 4px solid;
    padding: 12px;
    margin: 10px 0;
    background: rgba(255,255,255,0.5);
    border-radius: 4px;
}

/* Social Chat */
.social-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 16px;
    border-bottom: 2px solid #eee;
    padding-bottom: 12px;
}

.social-tab {
    padding: 8px 20px;
    border-radius: 50px;
    border: none;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}
.social-tab.whatsapp { background: #25D366; color: white; }
.social-tab.instagram { background: #E4405F; color: white; }
.social-tab.tiktok { background: #000000; color: white; }
.social-tab.telegram { background: #0088cc; color: white; }
.social-tab.active { transform: scale(1.05); box-shadow: 0 2px 8px rgba(0,0,0,0.2); }

.chat-messages {
    height: 350px;
    overflow-y: auto;
    padding: 12px;
    background: #f9f9f9;
    border-radius: 12px;
}

.message-bubble {
    background: white;
    border-radius: 12px;
    padding: 10px 14px;
    margin-bottom: 12px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    border-left: 3px solid;
}
.whatsapp-bubble { border-left-color: #25D366; }
.instagram-bubble { border-left-color: #E4405F; }
.tiktok-bubble { border-left-color: #000000; }
.telegram-bubble { border-left-color: #0088cc; }

.message-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}
.platform-icon { font-size: 18px; }
.username { font-weight: bold; font-size: 14px; }
.timestamp { font-size: 10px; color: #999; }
.message-text { font-size: 13px; color: #333; }

.chat-input-area {
    display: flex;
    margin-top: 12px;
    gap: 8px;
}
.chat-input {
    flex: 1;
    padding: 10px;
    border-radius: 20px;
    border: 1px solid #ddd;
}
.chat-send-btn {
    background: #006400;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
}

.emoji-picker {
    display: flex;
    gap: 12px;
    margin-top: 10px;
    justify-content: center;
    flex-wrap: wrap;
}
.emoji-picker span {
    cursor: pointer;
    font-size: 20px;
    transition: transform 0.2s;
}
.emoji-picker span:hover { transform: scale(1.3); }

/* Widgets Row */
.widgets-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 24px;
    background: rgba(245, 245, 245, 0.95);
}

.widget-card {
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.poll-question { font-weight: bold; margin-bottom: 12px; }
.poll-options { display: flex; flex-direction: column; gap: 8px; }
.poll-btn {
    padding: 10px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: transform 0.2s;
}
.poll-btn:hover { transform: scale(1.02); }
.poll-results { margin-top: 12px; font-size: 12px; color: #666; }

.contest-prize {
    font-size: 24px;
    text-align: center;
    margin: 10px 0;
}
.contest-question { margin-bottom: 12px; }
.contest-input {
    display: flex;
    gap: 10px;
}
.contest-field {
    flex: 1;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ddd;
}
.contest-btn {
    background: #FFD700;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
}
.contest-status { margin-top: 8px; font-size: 12px; }

/* Ads Banner */
.ads-banner {
    background: #000;
    border-radius: 16px;
    padding: 16px;
    margin: 0 24px 24px 24px;
}
.ads-banner h3 { color: #FFD700; margin-bottom: 12px; }

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.ad-video {
    background: #111;
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
}
.ad-video video { width: 100%; height: 120px; object-fit: cover; }
.ad-video p { color: #888; padding: 8px; font-size: 12px; }
.ads-note { color: #888; text-align: center; font-size: 12px; margin-top: 10px; }

/* Merchandise */
.merch-section {
    background: linear-gradient(135deg, #006400, #FFD700);
    padding: 24px;
    margin: 0 24px 24px 24px;
    border-radius: 20px;
}
.merch-section h2 {
    color: white;
    text-align: center;
}

.merch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.merch-item {
    background: white;
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s;
}
.merch-item:hover { transform: scale(1.05); }
.merch-icon { font-size: 48px; }
.merch-price { display: block; color: #006400; font-weight: bold; margin-top: 4px; }

/* Episode List */
.episode-list {
    padding: 24px;
    background: rgba(245, 245, 245, 0.95);
}
.episode-list h2 { margin-bottom: 20px; }

.episode-card {
    background: white;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    border-left: 5px solid #FFD700;
}
.episode-stats {
    display: block;
    font-size: 12px;
    color: #999;
}
.play-btn { padding: 10px 20px; }

/* About Section */
.about-section {
    background: rgba(0,0,0,0.85);
    padding: 48px 32px;
    text-align: center;
    color: white;
    backdrop-filter: blur(10px);
}
.about-section h2 { color: #FFD700; font-size: 32px; }
.about-section p {
    max-width: 900px;
    margin: 24px auto;
    font-size: 18px;
    line-height: 1.6;
}
.about-tagline {
    font-size: 28px;
    font-weight: bold;
    color: #FFD700;
    margin-top: 20px;
}
.about-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap;
}

/* App Footer */
.app-footer {
    background: linear-gradient(90deg, #000, #0033A0, #FF0000);
    padding: 40px;
    text-align: center;
    color: white;
}
.app-footer h2 { margin-bottom: 20px; }

.store-badges {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.store-badge {
    background: black;
    padding: 12px 24px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.footer-bottom {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
    flex-wrap: wrap;
}
.footer-links a {
    color: #FFD700;
    text-decoration: none;
}
.footer-links a:hover { text-decoration: underline; }

/* Radio Popout */
.radio-popout {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 450px;
    background: white;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    z-index: 200;
    display: none;
}
.popout-header {
    background: linear-gradient(90deg, #006400, #FFD700, #FF0000);
    padding: 12px;
    border-radius: 24px 24px 0 0;
    display: flex;
    justify-content: space-between;
    color: white;
    font-weight: bold;
}
.popout-header button {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
}
.popout-body { padding: 20px; }
.popout-body p {
    text-align: center;
    margin-top: 12px;
}

/* Modal */
.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 24px;
    padding: 24px;
    width: 350px;
    z-index: 300;
    display: none;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.modal h2 { margin-bottom: 16px; color: #006400; }
.modal-select,
.modal-input {
    width: 100%;
    padding: 10px;
    margin-bottom: 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
}
.modal-textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
    resize: vertical;
}
.modal-btn {
    background: #FFD700;
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
}
.modal-cancel {
    width: 100%;
    margin-top: 8px;
    padding: 8px;
    background: #eee;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

/* Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 199;
    display: none;
}

/* Responsive */
@media (max-width: 900px) {
    .main-grid { grid-template-columns: 1fr; }
    .widgets-row { grid-template-columns: 1fr; }
    .chart-container { grid-template-columns: 1fr; }
    .mobile-menu { display: block; }
    .nav-buttons { display: none; }
    .nav-buttons.active { display: flex; flex-direction: column; width: 100%; }
    .radio-popout { width: 90%; }
    .modal { width: 90%; }
    .hero-content h1 { font-size: 32px; }
}

@media (max-width: 600px) {
    .stats-row { grid-template-columns: repeat(2, 1fr); }
    .video-grid { grid-template-columns: 1fr; }
    .about-links { flex-direction: column; gap: 12px; }
    .footer-links { flex-direction: column; gap: 8px; }
}