/* --- HERO --- */
.hero {
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    text-align: center;
    overflow: hidden;
}

.hero-mesh {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 77, 0, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(125, 0, 255, 0.08) 0%, transparent 50%);
    filter: blur(100px);
    animation: mesh-move 20s infinite alternate ease-in-out;
}

@keyframes mesh-move {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.2) translate(5%, 5%); }
}

.hero-bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-display);
    font-size: 60vw;
    color: rgba(255, 255, 255, 0.02);
    z-index: 0;
    pointer-events: none;
    line-height: 1;
}

.hero-main {
    position: relative;
    z-index: 20; /* Increased to stay above the CD case */
}

.hero-title {
    font-size: clamp(4rem, 15vw, 12rem);
    margin-bottom: 20px;
    min-height: 1.8em; /* Account for 2 lines */
}

.title-outline {
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.8); /* Thicker and brighter */
    color: transparent;
}

.hero-info {
    font-size: 0.9rem;
    letter-spacing: 0.6em;
    color: var(--accent-orange);
    text-transform: uppercase;
    margin-bottom: 40px;
}

.hero-image-side {
    position: absolute;
    right: 5%;
    top: 35%; /* Moved down for better balance */
    transform: translateY(-50%) rotate(5deg);
    visibility: hidden; /* Prevent jump on load */
    opacity: 0;
    width: clamp(280px, 32vw, 500px);
    z-index: 5;
    perspective: 1200px;
}

.cd-case {
    position: relative;
    width: 100%;
    aspect-ratio: 1.1 / 1;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    padding: 12px 12px 12px 35px; /* Wider padding for solid spine */
    box-shadow: 
        0 40px 100px rgba(0, 0, 0, 0.9),
        inset 0 0 0 1px rgba(255, 255, 255, 0.2),
        inset 0 0 20px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(15px);
    display: flex;
    align-items: center;
    transition: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    transform-style: preserve-3d;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cd-case:hover {
    transform: rotateX(8deg) rotateY(-12deg) scale(1.05);
    box-shadow: 
        0 80px 140px rgba(0, 0, 0, 1),
        inset 0 0 0 1px rgba(255, 255, 255, 0.3);
}

.cd-case-hinge {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 32px;
    background: #0a0a0a;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px 0 0 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset -5px 0 10px rgba(0,0,0,0.5);
}

.spine-text {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 7px;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.2);
    text-transform: uppercase;
    font-weight: 700;
    transform: rotate(180deg);
}

.cd-case-cover {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #111;
    box-shadow: 0 0 30px rgba(0,0,0,0.8);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Booklet Tabs from Reference */
.cd-case-cover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 4;
    pointer-events: none;
    background: 
        /* Top/Bottom center tabs */
        radial-gradient(circle at 50% -2px, rgba(255,255,255,0.2) 0%, transparent 15px),
        radial-gradient(circle at 50% calc(100% + 2px), rgba(255,255,255,0.2) 0%, transparent 15px),
        /* Right edge tabs */
        linear-gradient(to left, rgba(255,255,255,0.1) 1px, transparent 1px) 100% 20% / 5px 20px no-repeat,
        linear-gradient(to left, rgba(255,255,255,0.1) 1px, transparent 1px) 100% 80% / 5px 20px no-repeat;
}

.cd-case-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cd-case-glare {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255,255,255,0.1) 0%, transparent 40%),
        /* Rainbow Diffraction (Very Subtle) */
        linear-gradient(45deg, 
            transparent 40%, 
            rgba(255, 0, 0, 0.04) 45%, 
            rgba(0, 255, 0, 0.04) 50%, 
            rgba(0, 0, 255, 0.04) 55%, 
            transparent 60%);
    pointer-events: none;
    z-index: 5;
    mix-blend-mode: screen;
    opacity: 0.6;
}

.glare-streak {
    position: absolute;
    inset: -100%;
    background: linear-gradient(125deg, 
        transparent 45%, 
        rgba(255, 255, 255, 0.02) 47%, 
        rgba(255, 255, 255, 0.15) 50%, 
        rgba(255, 255, 255, 0.02) 53%, 
        transparent 55%);
    z-index: 6;
    pointer-events: none;
    mix-blend-mode: screen;
    opacity: 0.3; /* Much more subtle */
    will-change: transform;
}

.cd-case::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 4px;
    background: linear-gradient(to right, rgba(255,255,255,0.1) 0%, transparent 1px) 35px 0 / 100% 100% no-repeat;
    pointer-events: none;
    z-index: 10;
}

/* Parental Advisory Style Sticker */
.cd-case-cover::after {
    content: "VISIONARY \A ADVISORY \A EXPLICIT DREAMS";
    white-space: pre;
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: #fff;
    color: #000;
    padding: 3px 6px;
    font-size: 7px;
    line-height: 1.1;
    font-weight: 900;
    text-align: center;
    border: 1px solid #000;
    z-index: 6;
    font-family: 'Inter', sans-serif;
    outline: 2px solid #fff;
    box-shadow: 0 0 0 2px #000;
}

/* --- MARQUEE --- */
.marquee {
    width: 100%;
    background: #fff;
    color: #000;
    padding: 20px 0;
    min-height: 90px;
    overflow: hidden;
    position: relative;
    z-index: 20;
    transform: rotate(-1deg) translateY(-30px);
}

.marquee-inner {
    display: flex;
    width: max-content;
    animation: marquee-scroll 40s linear infinite;
}

.marquee-inner span {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    padding-right: 80px;
    flex-shrink: 0;
    display: block;
}

@keyframes marquee-scroll {
    from {
        transform: translate3d(0, 0, 0);
    }
    to {
        transform: translate3d(-50%, 0, 0);
    }
}

/* --- ROSTER --- */
.roster-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.roster-item.offset {
    margin-top: 100px;
}

.roster-img {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background: #111;
    margin-bottom: 20px;
}

.roster-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1);
    transition: 0.6s;
}

.roster-item:hover .roster-img img {
    filter: grayscale(0);
    transform: scale(1.05);
}

/* --- EVENTS SCHEDULE --- */
.events-schedule {
    margin-top: 60px;
    border-top: 1px solid var(--glass-border);
}

.event-item {
    display: grid;
    grid-template-columns: 100px 1fr 200px;
    align-items: center;
    padding: 40px 0;
    border-bottom: 1px solid var(--glass-border);
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}



.event-date {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.event-date .day {
    font-family: var(--font-display);
    font-size: 2.5rem;
    line-height: 1;
    color: #fff;
}

.event-date .month {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent-orange);
}

.event-info {
    padding-left: 40px;
}

.artist-link {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 8px;
    display: block;
}

.event-title {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: 5px;
    color: #fff;
}

.event-venue {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

.btn-ticket {
    display: inline-block;
    padding: 15px 35px;
    border: 1px solid #fff;
    color: #fff;
    text-decoration: none;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    border-radius: 12px;
    transition: 0.3s;
    text-align: center;
}

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

.sold-out {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.2);
    font-weight: 800;
    text-align: center;
    display: block;
}

.no-events {
    padding: 100px 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 1.2rem;
    letter-spacing: 0.1em;
}

/* --- SCROLL HINT --- */
.scroll-hint {
    position: absolute;
    bottom: 40px;
    font-size: 0.6rem;
    letter-spacing: 0.5em;
    opacity: 0.4;
}

@media (max-width: 768px) {
    .event-item {
        grid-template-columns: 80px 1fr;
        gap: 20px;
    }
    .event-action {
        grid-column: span 2;
        margin-top: 20px;
    }
    .event-info {
        padding-left: 0;
    }
    .event-title {
        font-size: 1.5rem;
    }
}