/*
Theme Name: RADIO SUBSCRIPTION
Theme URI: https://radiosubscriptionservice.com/
Author: Trishala
Description: Custom Radio theme
Version: 1.0
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
    scroll-behavior: smooth;
}

:root {
    --bg-deep: #F7FAFF;
    --bg-card: #FFFFFF;
    --bg-card-hover: #F0F6FF;
    --accent-blue: #2F80ED;
    --accent-glow: rgba(47, 128, 237, 0.22);
    --text-white: #172033;
    --text-muted: #64748B;
    --border-color: rgba(47, 128, 237, 0.14);
    --shadow-3d: 0 15px 35px rgba(30, 64, 175, 0.10), 0 5px 15px rgba(47, 128, 237, 0.08);
}

body {
    background-color: #FFFFFF;
    color: var(--text-white);
    overflow-x: hidden;
    line-height: 1.6;
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.4rem;
    font-weight: 800;
}

.logo-icon-3d {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #4DA3FF, #2F80ED);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 15px var(--accent-glow);
    color: var(--text-white);
    font-size: 1.2rem;
}

.highlight {
    color: var(--accent-blue);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-white);
}

.btn-primary-3d {
    background: linear-gradient(135deg, #4DA3FF, #2F80ED);
    color: var(--text-white);
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 8px 20px var(--accent-glow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary-3d:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px var(--accent-glow);
}

/* 1. HERO SECTION */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 140px 8% 80px;
    position: relative;
    background: radial-gradient(circle at 70% 30%, #EAF4FF 0%, var(--bg-deep) 70%);
}

.hero-content {
    max-width: 600px;
}

.badge-3d {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-blue);
    margin-bottom: 25px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.gradient-text {
    background: linear-gradient(135deg, #172033, #2F80ED);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn-glow {
    background: var(--text-white);
    color: #FFFFFF;
    padding: 14px 28px;
    border-radius: 14px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(47, 128, 237, 0.16);
    transition: transform 0.2s ease;
}

.btn-glow:hover {
    transform: translateY(-3px);
}

.btn-outline-3d {
    background: var(--bg-card);
    color: var(--text-white);
    border: 1px solid var(--border-color);
    padding: 14px 28px;
    border-radius: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s ease;
}

.btn-outline-3d:hover {
    background: var(--bg-card-hover);
}

/* 3D Turntable Graphic */
.hero-3d-visual {
    position: relative;
    width: 400px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.turntable-3d {
    width: 320px;
    height: 320px;
    background: linear-gradient(145deg, #FFFFFF, #EAF4FF);
    border-radius: 50%;
    box-shadow: var(--shadow-3d), inset 0 4px 10px rgba(255,255,255,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transform: rotateX(20deg) rotateY(-20deg);
}

.vinyl-record {
    width: 260px;
    height: 260px;
    background: #182235;
    border-radius: 50%;
    position: relative;
    box-shadow: inset 0 0 15px rgba(255,255,255,0.08), 0 8px 25px rgba(30, 64, 175, 0.18);
    animation: spinVinyl 6s linear infinite;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes spinVinyl {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.vinyl-label {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #5BB7FF, #2F80ED);
    border-radius: 50%;
    border: 4px solid #fff;
}

.tone-arm {
    position: absolute;
    top: 30px;
    right: 40px;
    width: 12px;
    height: 160px;
    background: linear-gradient(to bottom, #d1d5db, #6b7280);
    border-radius: 6px;
    transform-origin: top center;
    transform: rotate(25deg);
    box-shadow: 4px 4px 10px rgba(30,64,175,0.14);
}

.floating-badge {
    position: absolute;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 10px 18px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: var(--shadow-3d);
    animation: floatBadge 4s ease-in-out infinite;
}

.badge-1 { top: 20px; left: -20px; }
.badge-2 { bottom: 40px; right: -30px; animation-delay: 2s; }

@keyframes floatBadge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* COMMON SECTION STYLES */
section {
    padding: 100px 8%;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* 2. STATIONS SECTION */
.stations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.station-card-3d {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 35px 25px;
    border-radius: 20px;
    box-shadow: var(--shadow-3d);
    transition: transform 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    position: relative;
}

.station-card-3d:hover, .station-card-3d.active {
    transform: translateY(-8px);
    border-color: var(--accent-blue);
    background: var(--bg-card-hover);
}

.station-icon {
    width: 60px;
    height: 60px;
    background: rgba(47, 128, 237, 0.09);
    color: var(--accent-blue);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.station-card-3d h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.station-card-3d p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.listener-count {
    font-size: 0.8rem;
    color: var(--accent-blue);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* 3. PLAYER SECTION */
.player-section {
    background: linear-gradient(180deg, #F7FAFF, #EDF5FF);
}

.player-container-3d {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 40px;
    box-shadow: var(--shadow-3d);
}

.album-art-3d {
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, #5BB7FF, #2F80ED);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: var(--text-white);
    position: relative;
    box-shadow: 0 10px 30px var(--accent-glow);
    flex-shrink: 0;
}

.player-details {
    flex-grow: 1;
}

.live-tag {
    background: rgba(239, 68, 68, 0.10);
    color: #ef4444;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.player-details h2 {
    font-size: 1.5rem;
    margin: 10px 0 5px;
}

.artist-name {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

/* Equalizer */
.equalizer {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 25px;
    margin-bottom: 25px;
}

.equalizer span {
    width: 4px;
    background: var(--accent-blue);
    border-radius: 2px;
    animation: bounceEq 1s ease-in-out infinite alternate;
}

.equalizer span:nth-child(1) { height: 40%; animation-delay: 0.1s; }
.equalizer span:nth-child(2) { height: 80%; animation-delay: 0.3s; }
.equalizer span:nth-child(3) { height: 60%; animation-delay: 0.2s; }
.equalizer span:nth-child(4) { height: 100%; animation-delay: 0.5s; }
.equalizer span:nth-child(5) { height: 50%; animation-delay: 0.4s; }
.equalizer span:nth-child(6) { height: 90%; animation-delay: 0.1s; }
.equalizer span:nth-child(7) { height: 30%; animation-delay: 0.3s; }

@keyframes bounceEq {
    0% { transform: scaleY(0.4); }
    100% { transform: scaleY(1); }
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.control-btn {
    background: var(--bg-deep);
    border: 1px solid var(--border-color);
    color: var(--text-white);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.control-btn.main-play {
    width: 55px;
    height: 55px;
    background: var(--accent-blue);
    border: none;
    box-shadow: 0 6px 15px var(--accent-glow);
    font-size: 1.1rem;
}

.control-btn:hover {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
}

.volume-slider-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
}

.slider-3d {
    flex-grow: 1;
    appearance: none;
    height: 6px;
    background: var(--bg-deep);
    border-radius: 3px;
    outline: none;
}

.slider-3d::-webkit-slider-thumb {
    appearance: none;
    width: 14px;
    height: 14px;
    background: var(--accent-blue);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 8px var(--accent-blue);
}

/* 4. PODCASTS SECTION */
.podcasts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

.podcast-card-3d {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: var(--shadow-3d);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.podcast-card-3d:hover {
    transform: translateY(-5px);
    background: var(--bg-card-hover);
}

.podcast-thumb {
    width: 75px;
    height: 75px;
    background: rgba(47, 128, 237, 0.09);
    color: var(--accent-blue);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.podcast-info .tag {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-blue);
    text-transform: uppercase;
}

.podcast-info h3 {
    font-size: 1.1rem;
    margin: 4px 0;
}

.podcast-info p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* 5. SCHEDULE SECTION */
.schedule-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.schedule-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 20px 25px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 15px rgba(30,64,175,0.08);
}

.schedule-item.current {
    border-color: var(--accent-blue);
    background: linear-gradient(90deg, #FFFFFF, #EEF6FF);
}

.schedule-item .time {
    font-weight: 700;
    color: var(--accent-blue);
    min-width: 90px;
}

.show-details {
    flex-grow: 1;
    padding: 0 20px;
}

.show-details h4 {
    font-size: 1.05rem;
}

.show-details p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.status-badge {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

.status-badge.live { background: rgba(239, 68, 68, 0.10); color: #ef4444; }
.status-badge.ended { background: rgba(100, 116, 139, 0.10); color: var(--text-muted); }
.status-badge.upcoming { background: rgba(47, 128, 237, 0.10); color: var(--accent-blue); }

/* 6. CHAT SECTION */
.chat-section {
    background: radial-gradient(circle at 30% 70%, #EAF4FF 0%, var(--bg-deep) 70%);
}

.chat-container-3d {
    max-width: 700px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    box-shadow: var(--shadow-3d);
    overflow: hidden;
}

.chat-header {
    padding: 20px 25px;
    background: #F8FBFF;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
}

.online-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px #10b981;
    margin-right: 6px;
}

.chat-messages {
    padding: 25px;
    height: 240px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.message {
    background: var(--bg-deep);
    padding: 10px 16px;
    border-radius: 12px;
    font-size: 0.9rem;
    color: var(--text-muted);
    border: 1px solid var(--border-color);
}

.message strong {
    color: var(--text-white);
    margin-right: 6px;
}

.chat-input-box {
    padding: 15px 25px;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 12px;
    background: #FBFDFF;
}

.chat-input-box input {
    flex-grow: 1;
    background: var(--bg-deep);
    border: 1px solid var(--border-color);
    padding: 12px 18px;
    border-radius: 12px;
    color: var(--text-white);
    outline: none;
}

.chat-input-box input:focus {
    border-color: var(--accent-blue);
}

.send-btn {
    background: var(--accent-blue);
    color: var(--text-white);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px var(--accent-glow);
}

/* 7. FAQ SECTION */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-card-3d {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 22px 25px;
    cursor: pointer;
    box-shadow: var(--shadow-3d);
    transition: border-color 0.3s ease;
}

.faq-card-3d:hover {
    border-color: var(--accent-blue);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.faq-question h4 {
    font-size: 1.05rem;
    font-weight: 600;
}

.faq-question i {
    color: var(--text-muted);
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, margin-top 0.3s ease;
}

.faq-answer p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.5;
}

.faq-card-3d.active .faq-answer {
    max-height: 100px;
    margin-top: 15px;
}

.faq-card-3d.active .faq-question i {
    transform: rotate(180deg);
    color: var(--accent-blue);
}

/* 8. FOOTER */
.footer {
    background: #EDF4FC;
    border-top: 1px solid var(--border-color);
    padding: 80px 8% 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: 15px;
    max-width: 320px;
}

.footer-links h4, .footer-social h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--text-white);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
}

.social-icons a:hover {
    background: var(--accent-blue);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* RESPONSIVE DESIGN */
@media (max-width: 968px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
        padding-top: 120px;
        gap: 50px;
    }
    .hero-content {
        max-width: 100%;
    }
    .hero-buttons {
        justify-content: center;
    }
    .nav-links {
        display: none;
    }
    .player-container-3d {
        flex-direction: column;
        text-align: center;
    }
    .volume-slider-wrapper {
        justify-content: center;
    }
    .footer-content {
        grid-template-columns: 1fr;
    }
}