/* --- RESET & TYPOGRAPHY --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 700;
    color: #000;
    height: 100vh;
    width: 100%;
    overflow-x: hidden;
}

/* --- BACKGROUND VIDEO --- */
#bg-video {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -10;
    object-fit: cover;
}



/* --- LAYOUT --- */
.container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
    flex-direction: column;
}

/* --- THE FROSTY & GRAINY OVERLAY BLOCK --- */
.tour-block {
    /* Frosty Glass Base */
    background: rgba(400, 400, 400, 0.5);
    /* The Blur Effect */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(15px);

    border: 1px solid rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 700px;
    position: relative;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    margin-bottom: 20px;
}

/* --- GRAIN TEXTURE OVERLAY --- */
.tour-block::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    opacity: 0.4;
    /* SVG Noise Data URI */
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.5' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/rect%3E%3C/svg%3E");
}

.tour-block>* {
    position: relative;
    z-index: 2;
}

/* --- DECORATIVE CORNER MARKERS --- */
.corner-tl,
.corner-br {
    position: absolute;
    width: 20px;
    height: 20px;
    border-color: rgba(0, 0, 0, 0.3);
    border-style: solid;
    z-index: 3;
}

.corner-tl {
    top: -1px;
    left: -1px;
    border-width: 3px 0 0 3px;
}

.corner-br {
    bottom: -1px;
    right: -1px;
    border-width: 0 3px 3px 0;
}

/* --- HEADERS (Adjusted for Countdown) --- */
h1 {
    text-transform: uppercase;
    font-size: 3rem;
    line-height: 0.9;
    margin-top: 20px;
    margin-bottom: 30px;
    letter-spacing: -1px;
}

/* Verified Icon Style */
.verified-icon {
    font-size: 0.5em;
    /* Smaller relative size */
    vertical-align: super;
    margin-left: 5px;
    color: #000;
    line-height: 1;
}

.verified-icon i {
    filter: drop-shadow(0 0 1px white);
    /* Helps icon stand out against frosted background */
}

/* --- STICKER OVERLAY (UPDATED) --- */
.merch-sticker {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    overflow: hidden;
    text-decoration: none;
    cursor: pointer;
    border-radius: 50%;
}

.sticker-background {
    position: absolute;
    width: 100%;
    height: 100%;

    /* NEW: Use the uploaded image as the background */
    background-image: url("uploaded:buy-now-sticker-and-badge-with-offer-and-discount-png.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    opacity: 1;
    z-index: -1;

    /* Rotation Animation */
    animation: rotateBackground 6s linear infinite;
    transform: scale(1.5);
}

.sticker-text {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 900;
    text-align: center;
    line-height: 1.2;
    padding: 15px;
    border: 3px solid white;
    /* Pop Animation */
    animation: pulseText 1.5s infinite alternate;
    transform: rotate(0deg);
}

@keyframes rotateBackground {
    from {
        transform: rotate(0deg) scale(1.5);
    }

    to {
        transform: rotate(360deg) scale(1.5);
    }
}

@keyframes pulseText {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.05);
    }
}

/* --- DYNAMIC SOCIAL PROOF QUOTE --- */
#dynamic-social-proof {
    transition: opacity 0.5s ease-in-out;
    /* Added for JS fade effect */
}

.social-proof {
    text-align: center;
    margin-bottom: 20px;
    padding: 20px 20px 40px 20px;
    background: #fff;
    font-family: 'Times New Roman', Times, serif;
    position: relative;
    /* Torn paper effect using mask */
    --mask: radial-gradient(circle at bottom, transparent 6px, black 6.5px) bottom / 20px 20px repeat-x;
    -webkit-mask:
        linear-gradient(to bottom, black calc(100% - 10px), transparent calc(100% - 10px)),
        var(--mask);
    mask:
        linear-gradient(to bottom, black calc(100% - 10px), transparent calc(100% - 10px)),
        var(--mask);
    /* Drop shadow for depth */
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
    border: none;
}

.social-proof .quote {
    font-style: italic;
    font-size: 1.1rem;
    /* Slightly larger for serif */
    font-weight: 400;
    margin-bottom: 15px;
    line-height: 1.4;
    color: #000;
}

.social-proof .source {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

.social-proof .source i {
    margin-right: 5px;
}

/* Countdown/Status Block Style */
#countdown-block {
    text-transform: uppercase;
    padding-bottom: 5px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    border-bottom: 0.5px solid rgba(0, 0, 0, 0.2);
}

#countdown-block strong {
    font-size: 1rem;
    /* Make the timer bold and visible */
    color: #000;
}

/* --- DATES LIST & BUTTONS (RSVP/TICKETS) --- */
#tour-dates {
    list-style: none;
}

.event-row {
    display: grid;
    grid-template-columns: 1fr 3fr 1.5fr;
    align-items: center;
    border-bottom: 0.5px solid rgba(0, 0, 0, 0.15);
    padding: 15px 0;
    transition: all 0.2s ease-in-out;
}

.event-row:hover {
    background: rgba(255, 255, 255, 0.4);
    padding-left: 15px;
    margin-left: -15px;
    margin-right: -15px;
    padding-right: 15px;
    box-shadow: inset 0 0 15px rgba(255, 255, 255, 0.2);
}

/* --- CALENDAR DATE STYLING --- */
.event-row .date {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    overflow: hidden;
    flex-shrink: 0;
}

.event-row .month-year {
    background-color: #9b2226;
    color: #fff;
    width: 100%;
    text-align: center;
    font-size: 0.75rem;
    padding: 4px 0;
    text-transform: uppercase;
}

.event-row .day-of-month {
    color: #000;
    width: 100%;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 900;
    line-height: 1.2;
    padding: 3px 0;
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
    border-top: 2px solid rgba(0, 0, 0, 0.1);
}

.event-row .day-of-week {
    color: black;
    width: 100%;
    text-align: center;
    font-size: 0.75rem;
    padding: 4px 0;
    font-weight: 700;
    text-transform: uppercase;
}

/* Venue Info Adjustments */
.venue-info {
    padding-right: 30px;
    font-size: 1.2rem;
    display: flex;
    flex-direction: column;
}

.venue-city {
    font-style: bold;
    font-weight: 700;
    font-size: 1.5rem;
    order: 1;
}

.venue-name-small {
    font-size: 1rem;
    font-weight: 400;
    margin-top: 2px;
    text-transform: uppercase;
    order: 2;
}


/* General Button Style (RSVP/TICKETS) */
.rsvp-btn {
    padding: 12px 0;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 900;
    display: block;
    transition: all 0.2s;
    background: #000;
    color: #fff;
}

.rsvp-btn:hover {
    background: transparent;
    border: 2px solid #000;
    color: #000;
}

/* --- REQUEST/FOLLOW CTAs --- */
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 0.5px solid rgba(0, 0, 0, 0.2);
}

.follow-btn,
.request-btn {
    width: 100%;
    max-width: 100%;
    display: inline-block;
    font-size: 0.8rem;
    padding: 12px 15px;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 900;
    transition: all 0.2s;
    text-align: center;
}

/* Bandsintown Follow Button */
.follow-btn {
    background: #000;
    border: 2px solid #333;
    color: #fff;
}

.follow-btn:hover {
    background: transparent;
    color: #000;
}

/* Request Show Button */
.request-btn {
    background: transparent;
    border: 2px solid #333;
    color: #000;
}

.request-btn:hover {
    background: #000;
    color: #fff;
}


/* --- INSTAGRAM CTA SECTION --- */
#instagram-cta {
    margin-top: 30px;
    padding: 20px 0;
    text-align: center;
}

#instagram-cta p {
    font-size: 0.9rem;
    font-weight: 400;
    margin-bottom: 15px;
    text-transform: none;
    line-height: 1.4;
}

.insta-btn {
    width: 100%;
    max-width: 250px;
    display: inline-block;
    font-size: 0.8rem;
    padding: 12px 15px;
    background: #000;
    border: 2px solid #333;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 900;
    transition: all 0.2s;
}

.insta-btn:hover {
    background: transparent;
    color: #000;
}

/* --- EMAIL SIGN-UP CTA SECTION --- */
#email-signup-cta {
    text-align: center;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 0.5px solid rgba(0, 0, 0, 0.2);
}

.exclusive-content-box {
    padding: 40px;
    background: #111;
    /* Dark premium background */
    color: #fff;
    border: 4px double #fff;
    /* Double border for premium feel */
    position: relative;
    max-width: 500px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.exclusive-content-box p {
    font-size: 0.75rem;
    font-weight: 400;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    /* Elegant spacing */
    color: #ccc;
}

.exclusive-content-box strong {
    display: block;
    font-size: 1.4rem;
    margin-bottom: 30px;
    line-height: 1.3;
    font-family: 'Times New Roman', Times, serif;
    /* Serif for elegance */
    font-weight: 400;
    font-style: italic;
}

.exclusive-btn {
    width: 100%;
    max-width: 250px;
    display: inline-block;
    font-size: 0.8rem;
    padding: 15px 30px;
    background: #fff;
    border: 1px solid #fff;
    color: #000;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.exclusive-btn:hover {
    background: white;
    color: black;
}

/* --- VIDEO CAROUSEL SECTION --- */
.video-section {
    margin-top: 30px;
}

.section-subtitle {
    text-transform: uppercase;
    font-size: 0.8rem;
    border-bottom: 0.5px solid rgba(0, 0, 0, 0.2);
    padding-bottom: 5px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
}

.video-carousel {
    display: flex;
    overflow-x: scroll;
    padding-bottom: 15px;
    scroll-snap-type: x mandatory;
}

.video-item {
    flex: 0 0 40%;
    margin-right: 20px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    background: #fff;
    scroll-snap-align: start;
    position: relative;
    text-decoration: none;
    color: #000;
    display: block;
    transition: opacity 0.2s;
}

.video-item:hover {
    opacity: 0.85;
}

.video-thumbnail-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 85%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-thumbnail-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-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;
    transition: background 0.2s;
}

.play-icon {
    width: 50px;
    height: 50px;
    fill: #fff;
    border: 3px solid #fff;
    border-radius: 50%;
    padding: 5px;
}

.play-icon svg {
    width: 100%;
    height: 100%;
    fill: #fff;
}

.watch-more-item {
    background: #e9e9e9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-placeholder {
    position: static;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    font-size: 0.7rem;
    color: #888;
    text-align: center;
    padding: 20px;
}

.video-placeholder strong {
    color: #000;
    margin-top: 5px;
    font-size: 0.9rem;
}

.video-carousel::-webkit-scrollbar {
    display: none;
}

/* --- MERCH CAROUSEL SECTION --- */
.merch-section {
    margin-top: 50px;
    /* Separates it more from videos */
}

.merch-carousel .video-item {
    flex: 0 0 35%;
    /* Show 2-3 items, more vertical */
    aspect-ratio: 3 / 4;
    /* Slightly wider than video items */

}

/* Ensure the placeholder text is visible on merch items */
.merch-item .video-placeholder {
    padding: 10px;
    height: auto;
    background: #e9e9e9;
    border-top: 1px solid #000;
}

.merch-item .video-placeholder span {
    font-weight: 500;
}

/* --- SOCIAL MEDIA ICONS --- */
.social-bar {
    width: 100%;
    max-width: 700px;
    display: flex;
    justify-content: center;
    padding: 10px 0;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    margin: 0 4px;
    border: 2px solid #333;
    border-radius: 0;
    color: #fff;
    background: #000;
    text-decoration: none;
    transition: all 0.2s;
}

.social-btn:hover {
    opacity: 0.8;
}

.social-btn i {
    color: #fff;
    font-size: 18px;
    transition: color 0.2s;
}

/* --- STICKY CTA FOOTER (MOBILE ONLY) --- */
#sticky-cta-footer {
    display: none;
    /* Hidden by default */
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 10px 20px;
    /* Frosted glass effect for the sticky bar */
    background: rgba(400, 400, 400, 0.7);
    backdrop-filter: blur(5px);
    border-top: 1px solid #000;
}

#sticky-cta-footer a.rsvp-btn {
    width: 100%;
    padding: 15px;
    /* Larger tap area */
    margin: 0;
    border: none;
}


/* --- RESPONSIVE --- */
@media (max-width: 600px) {
    h1 {
        font-size: 3rem;
        margin-top: 30px;
        /* Added spacing above */
        margin-bottom: 30px;
        /* Added spacing below */
    }

    /* Hide video and use image on mobile */
    #bg-video {
        display: none;
    }

    body {
        background: url('https://cdn.stayhappening.com/events7/banners/314bb0a0-7831-11f0-acb9-0b35d7ae141f-rimg-w1200-h675-dc481404-gmir.webp?v=1755081312') no-repeat center center fixed;
        background-size: cover;
    }

    .tour-block {
        padding: 20px;
    }

    .event-row {
        grid-template-columns: auto 1fr;
        /* Date and Venue in one row */
        gap: 10px;
        text-align: left;
        /* Left align text */
        padding: 15px 10px;
        border: 1px solid rgba(0, 0, 0, 0.2);
        margin-bottom: 0.6rem;
        align-items: center;
    }

    .event-row .date {
        width: 70px;
        /* Reduced width for mobile */
        margin: 0;
        /* Remove auto centering */
    }

    .event-row .venue-info {
        padding-right: 0;
        text-align: left;
    }

    .rsvp-btn {
        grid-column: 1 / -1;
        /* Button spans full width below */
        margin-top: 10px;
    }

    .cta-buttons {
        flex-direction: column;
        /* Stack buttons on mobile */
        gap: 15px;
    }

    .social-bar {
        padding: 10px;
        flex-wrap: wrap;
    }

    .social-btn {
        margin: 5px;
        width: 30px;
        height: 30px;
    }

    .social-btn i {
        font-size: 16px;
    }

    .video-item {
        flex: 0 0 90%;
    }

    .merch-carousel .video-item {
        flex: 0 0 70%;
    }

    /* Wider merch items on mobile */

    /* Show the sticky bar on mobile screens */
    #sticky-cta-footer {
        display: hidden;
    }

    .container {
        padding-bottom: 70px;
        /* Add padding to prevent content hiding under fixed bar */
    }

    /* Responsive adjustment for sticker */
    .merch-sticker {
        width: 100px;
        height: 100px;
        top: -10px;
        right: -10px;
    }

    .sticker-text {
        font-size: 0.6rem;
        padding: 10px;
    }
}

/* --- CONTACT INFO BLOCK --- */
.contact-info-block {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    text-align: center;
    font-size: 0.8rem;
    color: #444;
    line-height: 1.6;
}

.contact-info-block .booking-title {
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
    letter-spacing: 1px;
    color: #000;
}

.contact-info-block p {
    margin-bottom: 5px;
}

.contact-info-block strong {
    font-weight: 700;
    color: #000;
}

.contact-info-block i {
    margin-right: 5px;
}

/* --- THEME SWITCHER --- */
.theme-select-container {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 0.5px solid #000;
    text-align: center;
    width: 100%;
    margin-bottom: 20px;
}

.theme-dropdown {
    padding: 5px 10px;
    font-family: inherit;
    font-size: 0.8rem;
    border: 1px solid #000;
    background: transparent;
    cursor: pointer;
    text-transform: uppercase;
}

@font-face {
    font-family: 'SF Pro';
    src: url('fonts/SF-Pro.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* --- iOS THEME OVERRIDES --- */
body[data-theme="ios"] {
    font-family: 'SF Pro', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #000;
}

body[data-theme="ios"] .tour-block {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: none;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* iOS Mobile Edge-to-Edge adjustments */
@media (max-width: 600px) {
    body[data-theme="ios"] .container {
        padding: 0;
        min-height: 100vh;
        justify-content: flex-start;
        /* Align top */
    }

    body[data-theme="ios"] .tour-block {
        width: 100%;
        max-width: 100%;
        border-radius: 0;
        /* Full straight edges */
        min-height: 100vh;
        margin-bottom: 0;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.92);
        /* Slightly more opaque for app feel */
    }

    /* Force row layout for mobile iOS theme */
    /* Force row layout for mobile iOS theme */
    body[data-theme="ios"] .event-row {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-wrap: nowrap !important;
        text-align: left !important;
        padding: 15px 10px;
        gap: 10px;
    }

    body[data-theme="ios"] .rsvp-btn {
        margin-top: 0 !important;
        width: auto !important;
        min-width: fit-content;
        padding: 8px 14px;
        font-size: 0.7rem;
        flex-shrink: 0;
    }

    /* Reduce font size for venue info on mobile iOS */
    body[data-theme="ios"] .venue-info {
        display: flex;
        flex-direction: column;
        align-items: flex-start !important;
        /* Force left alignment of children */
        text-align: left !important;
        /* Force left text alignment */
        flex-grow: 1;
        /* Take up remaining space */
    }

    body[data-theme="ios"] .venue-city {
        font-size: 1rem !important;
        text-align: left !important;
    }

    body[data-theme="ios"] .venue-name-small {
        font-size: 0.7rem !important;
        text-align: left !important;
    }

    body[data-theme="ios"] h1 {
        background-image: url('https://cdn.stayhappening.com/events7/banners/314bb0a0-7831-11f0-acb9-0b35d7ae141f-rimg-w1200-h675-dc481404-gmir.webp?v=1755081312');
        background-size: cover;
        background-position: center;
        color: #fff;
        padding: 20px;
        border-radius: 16px;
        margin-bottom: 20px;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        /* Align bottom */
        align-items: flex-start;
        /* Align left */
        min-height: 250px;
        position: relative;
        overflow: hidden;
        z-index: 1;
        /* Establish stacking context */
    }

    /* Grainy Gradient Overlay */
    body[data-theme="ios"] h1::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: -1;
        /* Behind text */

        /* Gradient + Noise via SVG data URI */
        background:
            linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 60%),
            url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.4'/%3E%3C/svg%3E");
    }

    body[data-theme="ios"] h1 text {
        position: relative;
        z-index: 2;
    }

    /* Subtitle */
    body[data-theme="ios"] h1::after {
        content: "Marathi Vaajlach Pahije";
        display: block;
        font-size: 0.9rem;
        font-weight: 500;
        margin-top: 5px;
        opacity: 0.9;
        text-transform: none;
        letter-spacing: 0.5px;
    }

    /* Hide verified icon in title card as it might clash */
    body[data-theme="ios"] h1 .verified-icon {
        display: none;
    }
}

body[data-theme="ios"] .tour-block::before {
    opacity: 0;
}

body[data-theme="ios"] .corner-tl,
body[data-theme="ios"] .corner-br {
    display: none;
}

body[data-theme="ios"] h1 {
    font-weight: 800;
    letter-spacing: -0.5px;
    text-transform: none;
    font-size: 2.5rem;
}

body[data-theme="ios"] #countdown-block {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    border: none;
    padding: 10px 15px;
    margin-bottom: 20px;
}

body[data-theme="ios"] .event-row {
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    background: transparent;
    padding: 15px 5px;
}

body[data-theme="ios"] .event-row:hover {
    background: rgba(0, 0, 0, 0.03);
    border-radius: 0;
    box-shadow: none;
    margin: 0;
    padding: 15px 5px;
}

body[data-theme="ios"] .event-row .date {
    border: none;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    width: 60px;
    height: 60px;
    justify-content: center;
}

body[data-theme="ios"] .event-row .month-year {
    background: transparent;
    color: #ff3b30;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 0;
}

/* --- MATERIAL UI 3 THEME --- */
body[data-theme="material3"] {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    color: #1d1b20;
    /* M3 On Surface */
    background: #fdfcff;
    /* M3 Surface */
}

/* Background video hidden in M3? Or kept? Let's keep it but put a solid backing on the card */

body[data-theme="material3"] .tour-block {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 28px;
    /* M3 Corner Radius */
    border: none;
    box-shadow: 0 4px 8px 3px rgba(0, 0, 0, 0.15), 0 1px 3px rgba(0, 0, 0, 0.3);
    /* Elevation 3 */
    max-width: 700px;
    padding: 24px;
    color: #1d1b20;
}

body[data-theme="material3"] .tour-block::before {
    display: none;
    /* No grain */
}

body[data-theme="material3"] .corner-tl,
body[data-theme="material3"] .corner-br {
    display: none;
}

body[data-theme="material3"] h1 {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 3.5rem;
    /* Display Large equivalent */
    line-height: 1.1;
    letter-spacing: -0.25px;
    margin-bottom: 24px;
    color: #1d1b20;
    text-transform: none;
    /* M3 uses sentence case usually, but we can keep title case */
}

/* Subtitle / Verification */
body[data-theme="material3"] .verified-icon {
    color: #6750a4;
    /* M3 Primary */
}

/* Countdown Block */
body[data-theme="material3"] #countdown-block {
    background: #f3edf7;
    /* Surface Container Secondary */
    border-radius: 16px;
    border: none;
    padding: 16px;
    color: #1d1b20;
}

/* Event Rows - Card Style List */
body[data-theme="material3"] .event-row {
    background: #fffbfe;
    border: 1px solid #79747e;
    /* Outline variant */
    border-radius: 12px;
    margin-bottom: 12px;
    padding: 16px;
    grid-template-columns: auto 1fr auto;
    /* Desktop default */
    align-items: center;
    box-shadow: none;
    gap: 16px;
}

body[data-theme="material3"] .event-row:hover {
    background: #f3edf7;
    /* Hover state */
    padding: 16px;
    margin-left: 0;
    margin-right: 0;
}

body[data-theme="material3"] .event-row .date {
    border: none;
    background: #eaddff;
    /* Primary Container */
    color: #21005d;
    /* On Primary Container */
    border-radius: 12px;
    width: 60px;
    height: 60px;
    justify-content: center;
}

body[data-theme="material3"] .event-row .month-year {
    background: transparent;
    color: #21005d;
    font-weight: 500;
}

body[data-theme="material3"] .event-row .day-of-month {
    border: none;
    color: #21005d;
}

body[data-theme="material3"] .event-row .day-of-week {
    display: none;
}

/* Buttons - M3 Filled and Tonal */
body[data-theme="material3"] .rsvp-btn {
    background: #6750a4;
    /* Primary */
    color: #fff;
    /* On Primary */
    border-radius: 20px;
    /* Full pill */
    padding: 10px 24px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    border: none;
    font-size: 0.875rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

body[data-theme="material3"] .rsvp-btn:hover {
    background: #6750a4;
    box-shadow: 0 2px 4px 1px rgba(0, 0, 0, 0.3);
}

body[data-theme="material3"] .follow-btn {
    background: #e8def8;
    /* Secondary Container */
    color: #1d192b;
    /* On Secondary Container */
    border: none;
    border-radius: 20px;
}

body[data-theme="material3"] .request-btn {
    border: 1px solid #79747e;
    /* Outline */
    border-radius: 20px;
    color: #6750a4;
}

/* Section Subtitles */
body[data-theme="material3"] .section-subtitle {
    font-size: 1.2rem;
    border-bottom: none;
    color: #1d1b20;
    margin-bottom: 16px;
    font-weight: 400;
}

/* Cards (Video/Merch) */
body[data-theme="material3"] .video-item {
    border: none;
    border-radius: 16px;
    background: #f3edf7;
    overflow: hidden;
}

body[data-theme="material3"] .video-placeholder {
    border-top: none;
}

/* Material UI 3 - Old Newspaper Look for Social Proof */
body[data-theme="material3"] .social-proof {
    background-color: #f4e4bc;
    /* Old paper color */
    color: #2c241b;
    /* Dark brown text for contrast */
    border: 1px solid #d3c4a4;
    border-radius: 4px;
    /* Slight rounding but keeping paper feel */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

body[data-theme="material3"] .social-proof .quote {
    color: #2c241b;
}

/* Theme Switcher */
body[data-theme="material3"] .theme-select-container {
    border-top: 1px solid #cac4d0;
}

body[data-theme="material3"] .theme-dropdown {
    background: #f3edf7;
    border: none;
    border-radius: 8px;
    padding: 10px;
    color: #1d1b20;
}

/* Mobile Adjustments for M3 */
@media (max-width: 600px) {
    body[data-theme="material3"] .container {
        padding: 0;
        align-items: flex-start;
    }

    body[data-theme="material3"] .tour-block {
        border-radius: 0 0 28px 28px;
        /* Top flat, bottom rounded */
        min-height: 100vh;
        margin-bottom: 0;
        padding: 16px;
        background: #f3edf7;
        /* Updated background for mobile */
    }

    body[data-theme="material3"] h1 {
        font-size: 2.5rem;
    }

    body[data-theme="material3"] .event-row {
        grid-template-columns: auto 1fr;
        /* Compact grid */
        gap: 12px;
        padding: 12px;
        background: #fff;
        /* Keep cards white for contrast against #f3edf7 */
        border: 1px solid rgba(121, 116, 126, 0.2);
        /* Very light outline */
    }

    body[data-theme="material3"] .rsvp-btn {
        margin-top: 10px;
        grid-column: 1 / -1;
        width: 100%;
    }
}

body[data-theme="ios"] .event-row .day-of-month {
    border: none;
    font-size: 1.4rem;
    font-weight: 500;
    padding: 0;
}

body[data-theme="ios"] .event-row .day-of-week {
    display: none;
}

body[data-theme="ios"] .rsvp-btn {
    background: #007aff;
    color: #fff;
    border-radius: 20px;
    font-size: 0.75rem;
    padding: 8px 16px;
    text-transform: none;
    font-weight: 600;
    border: none;
}

body[data-theme="ios"] .rsvp-btn:hover {
    background: #0056b3;
}

body[data-theme="ios"] .follow-btn,
body[data-theme="ios"] .request-btn {
    border-radius: 20px;
    border: none;
    background: rgba(0, 0, 0, 0.05);
    color: #007aff;
    font-weight: 600;
    text-transform: none;
}

body[data-theme="ios"] .request-btn {
    background: transparent;
}

body[data-theme="ios"] .section-subtitle {
    border-bottom: none;
    color: #8e8e93;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: 0;
}

body[data-theme="ios"] .video-item {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

body[data-theme="ios"] .video-placeholder {
    border-top: none !important;
}

body[data-theme="ios"] .exclusive-content-box {
    background: #1c1c1e;
    border: none;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

body[data-theme="ios"] .exclusive-btn {
    border-radius: 25px;
    font-weight: 600;
}

body[data-theme="ios"] .theme-select-container {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

body[data-theme="ios"] .theme-dropdown {
    border: none;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    padding: 8px 12px;
}