/* .temp-rickexpress-home-1-img {
    width: 100%;
    pointer-events: none;
} */

/*  */

.home-top {
    position: relative;
    background-color: var(--cf);
    height: 100vh;
    pointer-events: none;
    /* overflow: hidden; */
}

.rick-cutout {
    height: 70vw;
    max-height: 500px;
    position: absolute;
    top: 12vh;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    filter: drop-shadow(0 4px 2px rgba(0, 0, 0, 0.5));
}

.RickExpress-text {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 90vw;
    max-width: 800px;
}

/* .rick-sign {
    position: absolute;
    top: 66px;
    left: 30px;
} */

.home-stripe {
    position: absolute;
    bottom: 0;
    width: 250vw;
    left: -50vw;
    background: var(--bg);
    color: var(--tx);
    border-top: 6px solid var(--tx);
    border-bottom: 6px solid var(--tx);
    padding: 1vw 0;
    font-size: clamp(2.5rem, 4vw, 5rem);
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.4);
    z-index: 10;
}

.stripe-track {
    display: inline-flex;
    white-space: nowrap;
}

.stripe-track span {
    padding-right: 30px;
    letter-spacing: 5px;
}

.home-stripe-1 {
    rotate: 5.49deg;
    bottom: -15vh;
}

.home-stripe-2 {
    rotate: -7.47deg;
    bottom: -5vh;
}

/*  */
.reel-container {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
    margin: 100px auto;
    /* margin-top: -150px; */
    z-index: -999;
}

.reel-container video {
    width: 100%;
    height: auto;
    aspect-ratio: 9 / 16;
    object-fit: cover;
    object-position: center;
    display: block;
    border: 1px solid var(--tx, #000);
    transition: filter 0.6s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.reel-container:hover video:not(:hover) {
    filter: grayscale(1);
    opacity: 0.5;
}

.reel-container video:hover {
    filter: grayscale(0);
    opacity: 1;
    z-index: 10;
}

.unmute-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    text-decoration: underline;
    color: var(--tx);
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    pointer-events: auto;
    cursor: pointer;
    transition: color 0.3s ease;
}

.unmute-button:hover {
    opacity: 1 !important;
    color: var(--tx-light);
}

/* --- Added Homepage Sections Styles --- */

.cf {
    color: var(--cf);
}

.hover-cf:hover {
    color: var(--cf);
    transition: color 0.3s;
}

/* --- NEW ABOUT SECTION --- */
.new-about {
    position: relative;
    padding: 15vw 0 5vw 0;
    overflow: hidden;
    background: var(--bg);
}

.about-bg-text {
    position: absolute;
    top: 5%;
    left: -5%;
    font-size: 35vw;
    font-weight: 700;
    line-height: 0.8;
    color: var(--tx);
    opacity: 0.03;
    pointer-events: none;
    z-index: 0;
    white-space: nowrap;
}

.about-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5vw;
    gap: 5vw;
}

.about-left {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.about-portrait-placeholder {
    width: 100%;
    aspect-ratio: 3/4;
    background: var(--cf);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 40px;
}

.noise-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    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='0.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.4;
    mix-blend-mode: multiply;
    pointer-events: none;
}

.portrait-text {
    font-size: clamp(3rem, 6vw, 6rem);
    line-height: 0.8;
    color: transparent;
    -webkit-text-stroke: 2px var(--bg);
    z-index: 2;
}

.about-right {
    flex: 1.5;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-spicy-text {
    font-size: clamp(2rem, 3.5vw, 4rem);
    line-height: 1.1;
    font-weight: 500;
    text-transform: uppercase;
    display: flex;
    flex-wrap: wrap;
    column-gap: 0.3em;
}

.reveal-word-wrapper {
    overflow: hidden;
    display: inline-block;
    padding-bottom: 0.1em;
}

.reveal-word {
    display: inline-block;
    transform-origin: bottom left;
}

.divider-top {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid var(--tx);
}

.about-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 1.2rem;
    font-weight: 700;
}

.tag-item {
    background: var(--tx);
    color: var(--bg);
    padding: 5px 15px;
}

.about-marquee-wrapper {
    margin-top: 10vw;
    background: var(--tx);
    color: var(--bg);
    padding: 2vw 0;
    transform: rotate(-2deg) scale(1.05);
    overflow: hidden;
    border-top: 4px solid var(--cf);
    border-bottom: 4px solid var(--cf);
}

.about-marquee {
    display: inline-block;
    white-space: nowrap;
    will-change: transform;
}

.about-marquee span {
    font-size: 3rem;
    font-weight: 700;
    text-transform: uppercase;
    padding-right: 20px;
}

@media (max-width: 900px) {
    .about-container {
        flex-direction: column;
    }

    .about-right {
        margin-top: 5vw;
    }
}

/* Section Shared */
.section-title {
    font-size: clamp(4rem, 10vw, 10rem);
    text-transform: uppercase;
    margin-bottom: 40px;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
}

/* Music Section - Minimalist Redesign */
.music-section {
    padding: 10vw 5vw 15vw 5vw;
    background: var(--tx);
    color: var(--bg);
    border-bottom: 2px solid var(--tx);
    position: relative;
}

.music-header {
    display: flex;
    flex-direction: column;
    margin-bottom: 8vw;
}

.music-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.5rem);
    letter-spacing: 0.1em;
    opacity: 0.7;
    margin-bottom: 2vw;
    font-weight: 500;
}

.music-section .section-title {
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.4);
    color: transparent;
    line-height: 0.9;
    margin-bottom: 0;
    transition: -webkit-text-stroke 0.4s;
}

.music-section:hover .section-title {
    -webkit-text-stroke: 1.5px var(--bg);
}

.track-list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.track-card {
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    overflow: hidden;
}

.track-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--cf);
    transform: scaleY(0) rotate(10deg);
    transform-origin: bottom;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 0;
}

.track-card:hover .track-card-bg {
    transform: scaleY(1) rotate(0deg);
    transform-origin: top;
}

.track-card-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    padding: 3vw 1vw;
    gap: 4vw;
}

.track-index {
    font-size: clamp(1rem, 1.5vw, 1.5rem);
    opacity: 0.5;
    font-weight: 300;
    transition: color 0.4s;
}

.track-card-main {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5vw;
}

.track-name {
    font-size: clamp(2rem, 5vw, 4.5rem);
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1;
    margin: 0;
    transition: color 0.4s, transform 0.4s;
    transform-origin: left center;
}

.track-genre {
    font-size: clamp(0.9rem, 1.2vw, 1.2rem);
    letter-spacing: 0.1em;
    opacity: 0.6;
}

.track-time {
    font-size: clamp(1rem, 1.5vw, 1.5rem);
    opacity: 0.8;
}

.track-play-button {
    width: clamp(40px, 5vw, 60px);
    height: clamp(40px, 5vw, 60px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s;
}

.track-play-button svg {
    width: 30%;
    height: 30%;
    color: var(--bg);
    transform: translateX(10%);
    transition: transform 0.4s;
}

.track-card:hover .track-index,
.track-card:hover .track-name,
.track-card:hover .track-genre,
.track-card:hover .track-time {
    color: var(--tx) !important;
}

.track-card:hover .track-name {
    transform: translateX(20px);
}

.track-card:hover .track-play-button {
    border-color: var(--tx);
    background: var(--tx);
}

.track-card:hover .track-play-button svg {
    color: var(--cf);
}

@media (max-width: 768px) {
    .track-card-content {
        flex-wrap: wrap;
        gap: 2vw;
    }

    .track-time {
        display: none;
    }
}

/* Tour Section - Minimalist Redesign */
.tour-section {
    padding: 15vw 5vw;
    background: var(--bg);
    color: var(--tx);
}

.tour-header {
    display: flex;
    flex-direction: column;
    margin-bottom: 8vw;
}

.tour-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.5rem);
    letter-spacing: 0.1em;
    opacity: 0.7;
    margin-bottom: 2vw;
    font-weight: 500;
}

.tour-section .section-title {
    margin-bottom: 0;
    line-height: 0.9;
}

.tour-content {
    display: flex;
    flex-direction: column;
    gap: 5vw;
}

/* Featured Event Block - Compact Redesign */
.tour-featured {
    background: var(--bg);
    color: var(--tx);
    padding: 4vw 5vw; /* Much smaller padding */
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    transition: color 0.4s ease;
    overflow: hidden;
    cursor: pointer;
    gap: 1vw; /* Reduced gap */
}

/* Dynamic background pulse on hover */
.tour-featured::before {
    content: '';
    position: absolute;
    top: 0;
    width: 0;
    height: 100%;
    left: 0;
    background: var(--cf);
    transition: width 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 0;
}

.tour-featured:hover::before {
    width: 100%;
}

.featured-top,
.featured-main,
.featured-bottom {
    position: relative;
    z-index: 1;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1), color 0.4s ease;
}

.tour-featured:hover .featured-top,
.tour-featured:hover .featured-main,
.tour-featured:hover .featured-bottom {
    color: var(--bg);
    transform: translateX(1.5vw); /* Reduced shift */
}

.featured-top {
    display: flex;
    gap: 20px;
    align-items: center;
}

.featured-label {
    background: var(--tx);
    color: var(--bg);
    padding: 2px 8px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.tour-featured:hover .featured-label {
    background: var(--bg);
    color: var(--cf);
}

.featured-date {
    font-size: 1.2rem; /* Scaled down */
    font-weight: 800;
}

.featured-city {
    font-size: clamp(3rem, 7vw, 6rem); /* Scaled down hero text */
    font-weight: 900;
    line-height: 0.9;
    text-transform: uppercase;
    margin: 0;
    letter-spacing: -0.03em;
}

.featured-venue {
    font-size: 1.1rem; /* Scaled down */
    margin-top: 0.5vw;
    font-weight: 400;
    opacity: 0.6;
    text-transform: uppercase;
}

.tour-featured:hover .featured-venue {
    opacity: 1;
}

.featured-bottom {
    margin-top: 1.5vw;
}

.featured-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: var(--tx);
    border-bottom: 2px solid var(--cf);
    padding: 5px 0;
    font-size: 1rem; /* Scaled down */
    font-weight: 800;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.tour-featured:hover .featured-btn {
    color: var(--bg);
    border-color: var(--bg);
    transform: scale(1.05);
}

.featured-btn svg {
    width: 18px;
    height: 18px;
}

/* Regular List Block */
.tour-list-minimal {
    display: flex;
    flex-direction: column;
    /* border-top: 2px solid var(--tx); */
}

.tour-item-regular:first-child {
    border-top: 1px solid rgba(0, 0, 0, 0.2);
}

.tour-item-regular {
    display: grid;
    grid-template-columns: 1fr 2fr 2fr 1fr;
    align-items: center;
    padding: 3vw 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    font-size: clamp(1rem, 2vw, 1.5rem);
    font-weight: 500;
    transition: padding 0.3s, background-color 0.2s;
}

.tour-item-regular:hover {
    padding-left: 20px;
    padding-right: 20px;
    background-color: rgba(0, 0, 0, 0.1);
}

.tour-reg-action {
    text-align: right;
    text-decoration: underline;
    font-weight: 700;
    text-transform: uppercase;
}

.sold-out {
    opacity: 0.4;
    text-decoration: line-through;
    pointer-events: none;
}

/* Footer Section */
.footer-section {
    padding-top: 10vw;
    background: var(--tx);
    color: var(--bg);
    overflow: hidden;
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding-bottom: 5vw;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.marquee-track {
    display: inline-block;
    will-change: transform;
}

.marquee-text {
    font-size: clamp(6rem, 15vw, 15rem);
    font-weight: 700;
    color: var(--cf);
    text-transform: uppercase;
    padding-right: 20px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 5vw;
    flex-wrap: wrap;
    gap: 40px;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
    font-size: 1.2rem;
}

.email-link {
    font-size: clamp(1.2rem, 3vw, 3rem);
    font-weight: 700;
    text-decoration: underline;
}

.footer-copy {
    width: 100%;
    text-align: center;
    margin-top: 50px;
    opacity: 0.5;
    font-size: 0.9rem;
}

/* --- REELS PAGE START --- */
body.reels-page {
    overflow: hidden;
    /* Prevent body scroll */
    background: #000;
}

.reels-back-btn {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 9999;
    color: #fff;
    font-size: 1.1rem;
    font-weight: bold;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: background 0.3s;
}

.reels-back-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.reels-fullscreen-container {
    height: 100vh;
    height: 100dvh;
    /* Dynamic viewport support for mobile browsers */
    width: 100vw;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;

    /* Hide scrollbar */
    -ms-overflow-style: none;
    /* IE/Edge */
    scrollbar-width: none;
    /* Firefox */
}

.reels-fullscreen-container::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.reel-fs-item {
    height: 100vh;
    height: 100dvh;
    width: 100vw;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background: #000;
}

.reel-fs-item video {
    /* 1st Priority: Force uniform width mapping. 
       2nd Priority: Ensure 100% height. 
       By applying a 9:16 dimensional max-width, it perfectly avoids top/bottom cropping 
       on desktop/wide screens, while gracefully side-cropping only when necessary on ultra-tall mobiles. */
    height: 100vh;
    height: 100dvh;
    width: 100%;
    max-width: calc(100vh * (9 / 16));
    object-fit: cover;
}

@media (min-width: 900px) {

    /* Aesthetic outer border for desktop centering */
    .reel-fs-item video {
        border-left: 1px solid #333;
        border-right: 1px solid #333;
    }
}

/* --- REELS PAGE END --- */

@media (max-width: 768px) {
    .tour-item {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 30px 0;
    }

    .tour-btn {
        text-align: left;
        margin-top: 10px;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .reel-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .rick-cutout {
        height: 50vh;
        top: 20vh;
    }

    .RickExpress-text {
        top: 40%;
    }
}