/* ================================================
   RADIO LYNGDAL - ENHANCED HOMEPAGE STYLES
   ================================================ */

:root {
    --primary: #7F00FF;
    --primary-dark: #6600cc;
    --secondary: #cc00ff;
    --accent: #00d4ff;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --dark: #1a1a2e;
    --darker: #0f0f1a;
    --light: #f8f9fa;
    --white: #ffffff;
    --text: #333333;
    --text-muted: #6c757d;
    --border: #e0e0e0;
    --gradient-primary: linear-gradient(135deg, #7F00FF 0%, #cc00ff 100%);
    --gradient-dark: linear-gradient(135deg, #1a1a2e 0%, #2d1b4e 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.16);
    --shadow-glow: 0 0 30px rgba(127, 0, 255, 0.3);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
}

/* ================================================
   HERO CAROUSEL SECTION - FULL SCREEN STYLE
   ================================================ */

.hero-carousel-section {
    position: relative;
    margin-top: 0;
}

#heroCarousel {
    position: relative;
}

/* Hide default Bootstrap carousel controls - we'll style our own */
#heroCarousel .carousel-control-prev-icon,
#heroCarousel .carousel-control-next-icon {
    display: none;
}

.carousel-slide {
    min-height: 420px;
    height: calc(100vh - 350px);
    max-height: 500px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

@media (max-width: 991px) {
    .carousel-slide {
        min-height: 380px;
        height: auto;
        max-height: 450px;
    }
}

@media (max-width: 767px) {
    .carousel-slide {
        min-height: 350px;
        max-height: 400px;
    }
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.5) 50%,
        rgba(0, 0, 0, 0.7) 100%
    );
}

.carousel-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 30px 20px 40px;
    max-width: 900px;
    margin: 0 auto;
}

@media (max-width: 991px) {
    .carousel-content {
        padding: 25px 20px 30px;
    }
}

.carousel-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: var(--radius-xl);
    margin-bottom: 25px;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--white);
}

.carousel-badge i {
    color: var(--accent);
}

.carousel-title {
    font-size: 38px;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 12px;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'Oswald', 'Roboto', sans-serif;
}

@media (max-width: 991px) {
    .carousel-title {
        font-size: 30px;
    }
}

@media (max-width: 767px) {
    .carousel-title {
        font-size: 24px;
        letter-spacing: 1px;
    }
}

.carousel-description {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
    line-height: 1.5;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.carousel-description-secondary {
    font-size: 16px;
    color: var(--secondary);
    margin-bottom: 20px;
    line-height: 1.4;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 500;
}

@media (max-width: 767px) {
    .carousel-description {
        font-size: 12px;
        margin-bottom: 8px;
    }
    .carousel-description-secondary {
        font-size: 15px;
        margin-bottom: 25px;
    }
}

.carousel-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

/* Main CTA Button - Pink/Magenta style like original */
.carousel-btn.primary {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 40px;
    border-radius: var(--radius-lg);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #cc00ff 0%, #ff00aa 100%);
    color: var(--white);
    box-shadow: 0 8px 30px rgba(204, 0, 255, 0.4);
    text-align: center;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.carousel-btn.primary:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(204, 0, 255, 0.5);
    color: var(--white);
}

/* Bingo-style button */
.carousel-btn.bingo-btn {
    padding: 18px 40px;
    border-radius: var(--radius-lg);
}

.carousel-btn.primary .btn-amount {
    font-size: 22px;
    font-weight: 900;
    display: block;
    margin-bottom: 2px;
}

.carousel-btn.primary .btn-subtitle {
    font-size: 12px;
    font-weight: 700;
    display: block;
    margin-bottom: 2px;
}

.carousel-btn.primary .btn-cta {
    font-size: 11px;
    font-weight: 600;
    display: block;
    opacity: 0.9;
    margin-top: 3px;
}

@media (max-width: 767px) {
    .carousel-btn.bingo-btn {
        padding: 15px 30px;
    }
    .carousel-btn.primary .btn-amount {
        font-size: 18px;
    }
    .carousel-btn.primary .btn-subtitle {
        font-size: 11px;
    }
}

/* Secondary button */
.carousel-btn.secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    border-radius: var(--radius-xl);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.carousel-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
    color: var(--white);
}

/* Carousel Controls - Subtle arrows */
.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    opacity: 0.6;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

.carousel-control-icon {
    width: 45px;
    height: 45px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.carousel-control-icon i {
    font-size: 16px;
    color: var(--white);
}

.carousel-control-prev:hover .carousel-control-icon,
.carousel-control-next:hover .carousel-control-icon {
    background: rgba(0, 0, 0, 0.5);
}

/* Carousel Indicators - Bottom dots */
.carousel-indicators {
    margin-bottom: 25px;
    z-index: 10;
}

.carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.carousel-indicators button.active {
    background: var(--white);
    transform: scale(1.2);
}

/* ================================================
   FEATURE CARDS SECTION
   ================================================ */

.feature-cards-section {
    padding: 60px 0;
    background: var(--light);
}

.feature-cards-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 991px) {
    .feature-cards-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .feature-cards-row {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 380px;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.feature-card-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.feature-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.feature-card:hover .feature-card-image img {
    transform: scale(1.1);
}

.feature-card-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 6px 14px;
    border-radius: var(--radius-xl);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.feature-card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.feature-card-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.feature-card-text {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.feature-card-highlight {
    background: linear-gradient(135deg, rgba(127, 0, 255, 0.1) 0%, rgba(204, 0, 255, 0.1) 100%);
    padding: 15px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

.feature-card-highlight .amount {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
    display: block;
}

.feature-card-highlight .label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.feature-card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-xl);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: auto;
}

.feature-card-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
    color: var(--white);
}

.feature-card-btn.outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.feature-card-btn.outline:hover {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: transparent;
}

/* ================================================
   NOW PLAYING CARD (Special Feature Card)
   ================================================ */

.now-playing-card {
    border: 2px solid var(--success);
    background: linear-gradient(135deg, #1a1a2e 0%, #2d1b4e 100%);
    min-height: 420px;
}

.now-playing-card:hover {
    border-color: var(--success);
    transform: translateY(-8px);
}

.now-playing-card .feature-card-image {
    height: 140px;
}

.now-playing-card .feature-card-image img {
    filter: brightness(0.7);
}

.live-badge-pulse {
    background: var(--success) !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px !important;
}

.live-badge-pulse .live-dot {
    width: 8px;
    height: 8px;
    background: var(--white);
    border-radius: 50%;
    animation: live-pulse 1.5s ease-in-out infinite;
}

@keyframes live-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.now-playing-body {
    text-align: center;
    padding: 20px !important;
}

.now-playing-card .feature-card-title {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-weight: 600;
}

.now-playing-song-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 20px;
    min-height: 44px;
    line-height: 1.4;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Audio Visualizer for Card */
.audio-visualizer-small {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 4px;
    height: 40px;
    margin-bottom: 20px;
}

.audio-visualizer-small .bar {
    width: 4px;
    background: linear-gradient(to top, var(--primary), var(--secondary));
    border-radius: 2px;
    animation: sound-wave 0.8s ease-in-out infinite;
}

.audio-visualizer-small .bar:nth-child(1) { height: 15px; animation-delay: 0s; }
.audio-visualizer-small .bar:nth-child(2) { height: 25px; animation-delay: 0.1s; }
.audio-visualizer-small .bar:nth-child(3) { height: 18px; animation-delay: 0.2s; }
.audio-visualizer-small .bar:nth-child(4) { height: 32px; animation-delay: 0.3s; }
.audio-visualizer-small .bar:nth-child(5) { height: 22px; animation-delay: 0.4s; }
.audio-visualizer-small .bar:nth-child(6) { height: 28px; animation-delay: 0.5s; }
.audio-visualizer-small .bar:nth-child(7) { height: 16px; animation-delay: 0.6s; }
.audio-visualizer-small .bar:nth-child(8) { height: 24px; animation-delay: 0.7s; }

@keyframes sound-wave {
    0%, 100% { transform: scaleY(0.4); }
    50% { transform: scaleY(1); }
}

.audio-visualizer-small.paused .bar {
    animation-play-state: paused;
    transform: scaleY(0.2);
}

/* Play Controls in Card */
.now-playing-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.play-button-card {
    width: 70px;
    height: 70px;
    border: none;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--white);
    font-size: 26px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 30px rgba(127, 0, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-button-card:hover {
    transform: scale(1.1);
    box-shadow: 0 0 50px rgba(127, 0, 255, 0.6);
}

.play-button-card:active {
    transform: scale(0.95);
}

.play-button-card i {
    margin-left: 4px;
}

.volume-control-small {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    width: 100%;
    justify-content: center;
    padding: 0 10px;
}

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

.volume-slider-small::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    background: var(--white);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.volume-slider-small::-moz-range-thumb {
    width: 14px;
    height: 14px;
    background: var(--white);
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

/* ================================================
   ACTION BUTTONS SECTION
   ================================================ */

.action-buttons-section {
    padding: 50px 0;
    background: var(--white);
}

.action-buttons-container {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.action-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-xl);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.action-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
    color: var(--white);
}

.action-btn-primary i {
    font-size: 18px;
}

.action-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--light);
    color: var(--text);
    border: 2px solid var(--border);
    border-radius: var(--radius-xl);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.action-btn-secondary:hover {
    background: var(--dark);
    color: var(--white);
    border-color: var(--dark);
}

.action-btn-secondary .badge-new {
    background: var(--success);
    color: var(--white);
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

/* ================================================
   CONTENT GRID SECTION (Program + News)
   ================================================ */

.content-grid-section {
    padding: 60px 0 80px;
    background: var(--light);
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
}

@media (max-width: 991px) {
    .content-grid {
        grid-template-columns: 1fr;
    }
}

/* Program Schedule Card */
.schedule-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.schedule-header {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 20px 24px;
}

.schedule-header h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 4px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.schedule-header .date {
    font-size: 14px;
    opacity: 0.85;
}

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

.schedule-item {
    display: flex;
    align-items: center;
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
    transition: background 0.2s ease;
}

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

.schedule-item:hover {
    background: rgba(127, 0, 255, 0.03);
}

.schedule-item.is-live {
    background: linear-gradient(90deg, rgba(16, 185, 129, 0.1) 0%, transparent 100%);
}

.schedule-time-indicator {
    position: relative;
    margin-right: 16px;
}

.schedule-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border);
    border: 2px solid var(--white);
    box-shadow: 0 0 0 2px var(--border);
}

.schedule-item.is-live .schedule-dot {
    background: var(--success);
    box-shadow: 0 0 0 2px var(--success), 0 0 10px var(--success);
    animation: live-pulse 1.5s ease-in-out infinite;
}

.schedule-item.is-past .schedule-dot {
    background: var(--primary);
    box-shadow: 0 0 0 2px var(--primary);
}

.schedule-time {
    font-size: 14px;
    font-weight: 700;
    color: var(--dark);
    min-width: 50px;
}

.schedule-program {
    flex: 1;
}

.schedule-program-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
}

.schedule-item.is-live .schedule-program-name {
    color: var(--success);
    font-weight: 700;
}

.live-badge {
    background: var(--success);
    color: var(--white);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: auto;
}

/* News Feed Cards */
.news-feed-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-feed-header {
    background: var(--dark);
    color: var(--white);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.news-feed-header h3 {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
}

.news-feed-header .feed-icon {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.news-feed-content {
    padding: 16px;
    flex: 1;
    overflow-y: auto;
    max-height: 400px;
}

/* Override feedEk styles */
.news-feed-content .itemTitle {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: var(--dark) !important;
    line-height: 1.4 !important;
    margin-bottom: 6px !important;
    display: block;
    transition: color 0.2s ease;
}

.news-feed-content .itemTitle:hover {
    color: var(--primary) !important;
}

.news-feed-content .itemDate {
    font-size: 11px !important;
    color: var(--text-muted) !important;
    display: block;
    margin-bottom: 12px !important;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.news-feed-content li {
    margin-bottom: 0 !important;
}

/* Custom feed item styling */
.feed-item {
    padding: 14px;
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
    transition: background 0.2s ease;
    border-left: 3px solid transparent;
}

.feed-item:hover {
    background: var(--light);
    border-left-color: var(--primary);
}

.feed-item-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 6px;
    line-height: 1.4;
    display: block;
    text-decoration: none;
}

.feed-item-title:hover {
    color: var(--primary);
}

.feed-item-date {
    font-size: 11px;
    color: var(--text-muted);
}

/* ================================================
   RESPONSIVE ADJUSTMENTS
   ================================================ */

/* On tablets and mobile, the large navbar player circle is hidden */
@media (max-width: 991px) {
    .hero-carousel-section {
        margin-top: 0;
    }
    .feature-cards-section {
        padding: 40px 0;
    }
}

@media (max-width: 767px) {
    .carousel-slide {
        min-height: 400px;
    }
    .carousel-title {
        font-size: 32px;
    }
    .carousel-description {
        font-size: 15px;
    }
    .feature-cards-section {
        padding: 40px 0;
    }
    .feature-card {
        min-height: auto;
    }
    .action-buttons-container {
        flex-direction: column;
        align-items: stretch;
    }
    .action-btn-primary,
    .action-btn-secondary {
        justify-content: center;
    }
    .content-grid-section {
        padding: 40px 0 60px;
    }
}

/* ================================================
   UTILITY CLASSES
   ================================================ */

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mb-0 { margin-bottom: 0 !important; }
.mt-auto { margin-top: auto !important; }

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading skeleton */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
