/* ==========================================================================
   AMG RASHTRIYA 2027 - 4-DAY EVENT SCHEDULE STYLES
   ========================================================================== */

.schedule-section {
    position: relative;
    padding: 100px 0 110px;
    background: radial-gradient(circle at 50% 0%, #151c2e 0%, #080c14 70%, #04060a 100%);
    color: #ffffff;
    overflow: hidden;
    z-index: 2;
}

/* Ambient glow blobs */
.schedule-section::before {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    top: -150px;
    right: -100px;
    background: radial-gradient(circle, rgba(252, 55, 55, 0.15) 0%, rgba(252, 55, 55, 0) 70%);
    pointer-events: none;
    z-index: -1;
}

.schedule-section::after {
    content: "";
    position: absolute;
    width: 650px;
    height: 650px;
    bottom: -150px;
    left: -120px;
    background: radial-gradient(circle, rgba(255, 176, 31, 0.12) 0%, rgba(255, 176, 31, 0) 70%);
    pointer-events: none;
    z-index: -1;
}

/* Header badge */
.schedule-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #ffb01f;
    margin-bottom: 18px;
    backdrop-filter: blur(10px);
}

.schedule-eyebrow .pulse-dot {
    width: 8px;
    height: 8px;
    background: #fc3737;
    border-radius: 50%;
    box-shadow: 0 0 10px #fc3737;
    animation: schedulePulse 2s infinite;
}

@keyframes schedulePulse {
    0% { transform: scale(0.9); opacity: 0.8; }
    50% { transform: scale(1.4); opacity: 1; box-shadow: 0 0 16px #fc3737; }
    100% { transform: scale(0.9); opacity: 0.8; }
}

.schedule-title {
    font-family: var(--title-font, "halyard-display", sans-serif);
    font-size: clamp(32px, 4vw, 54px);
    font-weight: 800;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.schedule-title .highlight-text {
    background: linear-gradient(135deg, #ffb01f 0%, #fc3737 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.schedule-subtitle {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.72);
    max-width: 720px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

/* View Mode Switcher (Tabs vs Full Timeline) */
.schedule-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 45px;
    flex-wrap: wrap;
}

.view-toggle-wrap {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 40px;
    padding: 4px;
}

.view-toggle-btn {
    padding: 8px 18px;
    border-radius: 30px;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.view-toggle-btn.active {
    background: #fc3737;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(252, 55, 55, 0.4);
}

/* Day Tabs Navigation Grid */
.schedule-tabs-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}

@media (max-width: 991px) {
    .schedule-tabs-nav {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

@media (max-width: 575px) {
    .schedule-tabs-nav {
        grid-template-columns: 1fr;
    }
}

.day-tab-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 20px 18px;
    text-align: left;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    width: 100%;
    backdrop-filter: blur(10px);
}

.day-tab-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.day-tab-btn:hover {
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
}

.day-tab-btn:hover::before {
    opacity: 1;
}

.day-tab-btn.active {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

/* Specific Day Tab Accents */
.day-tab-btn[data-day="day-1"].active {
    border-color: #00d2ff;
    box-shadow: 0 10px 30px rgba(0, 210, 255, 0.25);
}
.day-tab-btn[data-day="day-1"].active .day-tab-num {
    color: #00d2ff;
}

.day-tab-btn[data-day="day-2"].active {
    border-color: #00f2fe;
    box-shadow: 0 10px 30px rgba(0, 242, 254, 0.25);
}
.day-tab-btn[data-day="day-2"].active .day-tab-num {
    color: #00f2fe;
}

.day-tab-btn[data-day="day-3"].active {
    border-color: #ffb01f;
    box-shadow: 0 10px 30px rgba(255, 176, 31, 0.25);
}
.day-tab-btn[data-day="day-3"].active .day-tab-num {
    color: #ffb01f;
}

.day-tab-btn[data-day="day-4"].active {
    border-color: #c77dff;
    box-shadow: 0 10px 30px rgba(199, 125, 255, 0.25);
}
.day-tab-btn[data-day="day-4"].active .day-tab-num {
    color: #c77dff;
}

.day-tab-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.day-tab-num {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s ease;
}

.day-tab-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.day-tab-date {
    font-family: var(--title-font, "halyard-display", sans-serif);
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
    line-height: 1.2;
}

.day-tab-tagline {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.65);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

/* Day Main Card Display */
.schedule-card {
    background: rgba(18, 25, 42, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 26px;
    padding: 44px;
    position: relative;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transition: all 0.4s ease;
    margin-bottom: 30px;
}

@media (max-width: 767px) {
    .schedule-card {
        padding: 24px 18px;
        border-radius: 20px;
    }
}

/* Thematic Day Card Accents */
.schedule-card.theme-day-1 {
    border-top: 4px solid #00d2ff;
}
.schedule-card.theme-day-2 {
    border-top: 4px solid #00f2fe;
}
.schedule-card.theme-day-3 {
    border-top: 4px solid #ffb01f;
}
.schedule-card.theme-day-4 {
    border-top: 4px solid #c77dff;
}

/* Card Top Bar */
.card-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 28px;
}

.card-date-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.card-date-chip i {
    color: #ffb01f;
    font-size: 18px;
}

.card-tag-group {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.badge-diamond-exclusive {
    background: linear-gradient(135deg, rgba(0, 210, 255, 0.2) 0%, rgba(58, 123, 213, 0.3) 100%);
    border: 1px solid #00d2ff;
    color: #00e5ff;
    font-size: 12px;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.badge-finmela {
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.2) 0%, rgba(79, 172, 254, 0.25) 100%);
    border: 1px solid #00f2fe;
    color: #00f2fe;
    font-size: 12px;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.badge-mega-day {
    background: linear-gradient(135deg, rgba(255, 176, 31, 0.25) 0%, rgba(252, 55, 55, 0.25) 100%);
    border: 1px solid #ffb01f;
    color: #ffb01f;
    font-size: 12px;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.badge-alternatives {
    background: linear-gradient(135deg, rgba(199, 125, 255, 0.25) 0%, rgba(114, 9, 183, 0.3) 100%);
    border: 1px solid #c77dff;
    color: #e0aaff;
    font-size: 12px;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Card Titles */
.day-pretitle {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ffb01f;
    margin-bottom: 8px;
    display: block;
}

.day-main-title {
    font-family: var(--title-font, "halyard-display", sans-serif);
    font-size: clamp(24px, 3.2vw, 38px);
    font-weight: 800;
    line-height: 1.25;
    color: #ffffff;
    margin-bottom: 14px;
    letter-spacing: -0.3px;
}

.day-hook-quote {
    font-size: clamp(16px, 1.8vw, 21px);
    font-weight: 700;
    color: #ffb01f;
    line-height: 1.4;
    margin-bottom: 12px;
    font-style: italic;
    background: rgba(255, 176, 31, 0.08);
    padding: 10px 18px;
    border-left: 4px solid #ffb01f;
    border-radius: 0 10px 10px 0;
    display: inline-block;
}

.day-lead-desc {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 900px;
}

/* Metric / Stat Badges Row */
.day-stat-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
}

.stat-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 8px 16px;
    border-radius: 40px;
    font-size: 13.5px;
    font-weight: 600;
    color: #ffffff;
}

.stat-pill i {
    color: #ffb01f;
    font-size: 14px;
}

/* Feature Grid inside Day Card */
.day-grid-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.feature-box-inner {
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 24px;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.feature-box-inner:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.18);
    transform: translateY(-3px);
}

.feature-box-title {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #ffb01f;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
}

.tag-badge {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #ffffff;
    font-size: 12.5px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.tag-badge:hover {
    background: #fc3737;
    border-color: #fc3737;
    color: #ffffff;
}

.tag-badge.alt-gold {
    background: rgba(255, 176, 31, 0.12);
    border-color: rgba(255, 176, 31, 0.35);
    color: #ffb01f;
    font-weight: 700;
}

.tag-badge.alt-cyan {
    background: rgba(0, 229, 255, 0.1);
    border-color: rgba(0, 229, 255, 0.3);
    color: #00e5ff;
    font-weight: 700;
}

.tag-badge.alt-purple {
    background: rgba(199, 125, 255, 0.12);
    border-color: rgba(199, 125, 255, 0.35);
    color: #e0aaff;
    font-weight: 700;
}

/* Bullet list inside feature card */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    font-size: 14.5px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 10px;
    position: relative;
    padding-left: 24px;
    line-height: 1.5;
}

.feature-list li:last-child {
    margin-bottom: 0;
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #ffb01f;
    font-weight: 800;
    font-size: 14px;
}

/* Special High-Impact Callout Box */
.day-highlight-banner {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px 24px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.day-highlight-banner .text-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.day-highlight-banner .banner-label {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.6);
}

.day-highlight-banner .banner-headline {
    font-size: 17px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.3px;
}

.day-highlight-banner .banner-pills {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

/* Bottom CTA & Footer of Day Card */
.card-bottom-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.signature-statement {
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 10px;
}

.signature-statement span.accent {
    color: #ffb01f;
}

/* Button enhancements inside schedule */
.schedule-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 40px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.schedule-btn-red {
    background: linear-gradient(135deg, #fc3737 0%, #d91c1c 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 6px 20px rgba(252, 55, 55, 0.35);
}

.schedule-btn-red:hover {
    background: linear-gradient(135deg, #ff4d4d 0%, #fc3737 100%);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(252, 55, 55, 0.5);
}

.schedule-btn-gold {
    background: linear-gradient(135deg, #ffb01f 0%, #e59a0f 100%);
    color: #111111;
    border: none;
    box-shadow: 0 6px 20px rgba(255, 176, 31, 0.35);
}

.schedule-btn-gold:hover {
    background: linear-gradient(135deg, #ffc043 0%, #ffb01f 100%);
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 176, 31, 0.5);
}

.schedule-btn-outline {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.schedule-btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #ffffff;
    color: #ffffff;
    transform: translateY(-2px);
}

/* Timeline view mode styles */
.schedule-timeline-view .schedule-card {
    margin-bottom: 40px;
}

.schedule-timeline-view .schedule-card::before {
    content: "";
    position: absolute;
    top: -20px;
    left: 40px;
    width: 2px;
    height: 20px;
    background: rgba(255, 255, 255, 0.15);
}

.schedule-timeline-view .schedule-card:first-child::before {
    display: none;
}

/* Tab pane transitions */
.schedule-tab-pane {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.schedule-tab-pane.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}
