/* Keep Show Less/More button visible during collapse */
.expand-button-container.sticky-visible {
    position: sticky;
    bottom: 20px;
    z-index: 1000;
}

.expand-button-container.sticky-visible .expand-btn {
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

/* Spacer used to keep button position while content collapses */
.collapse-spacer {
    display: block;
    width: 100%;
    height: 0;
    transition: height 350ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
:root {
    --primary: #2d1b4e;
    --secondary: #c9a961;
    --dark: #0d0d0d;
    --light: #f0ebe0;
    --accent: #1a1a2e;
    --spiritual: #4a2361;
    --earth: #8b6f47;
    --gold-glow: #d4af37;
    --crimson: #6b1717;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Georgia', 'Garamond', serif;
}

body {
    background-color: var(--dark);
    color: var(--light);
    line-height: 1.8;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(74, 35, 97, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(107, 23, 23, 0.1) 0%, transparent 50%);
    background-attachment: fixed;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Sacred Animations */
@keyframes spiritualPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(201, 169, 97, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(201, 169, 97, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(201, 169, 97, 0);
    }
}

@keyframes goldenGlow {
    0%, 100% {
        text-shadow: 0 0 10px rgba(212, 175, 55, 0.3), 0 0 20px rgba(212, 175, 55, 0.1);
    }
    50% {
        text-shadow: 0 0 20px rgba(212, 175, 55, 0.6), 0 0 40px rgba(212, 175, 55, 0.3);
    }
}

@keyframes heroScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeInUpItem {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}


@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes typewriter {
    0% {
        width: 0;
    }
    45% {
        width: 100%;
        border-right-color: var(--secondary);
    }
    55% {
        width: 100%;
        border-right-color: var(--secondary);
    }
    95% {
        width: 0;
        border-right-color: var(--secondary);
    }
    100% {
        width: 0;
        border-right-color: var(--secondary);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes glow {
    0%, 100% {
        filter: brightness(1) drop-shadow(0 0 20px rgba(201, 169, 97, 0.3));
    }
    50% {
        filter: brightness(1.2) drop-shadow(0 0 40px rgba(201, 169, 97, 0.6));
    }
}

@keyframes chainBreak {
    0% {
        opacity: 0;
        transform: scaleX(0);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 1;
        transform: scaleX(1);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

@keyframes floatingShadow {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes chainRattle {
    0%, 100% {
        transform: translateX(0) rotateZ(0deg);
    }
    25% {
        transform: translateX(-3px) rotateZ(-1deg);
    }
    75% {
        transform: translateX(3px) rotateZ(1deg);
    }
}

@keyframes prisonBarsSlide {
    0% {
        opacity: 0;
        transform: scaleY(0);
    }
    50% {
        opacity: 0.6;
    }
    100% {
        opacity: 0.3;
        transform: scaleY(1);
    }
}

@keyframes breakChain {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 0;
        transform: scale(0.8) translateY(-20px);
    }
}

@keyframes lightBreaksThrough {
    0% {
        opacity: 0;
        filter: blur(20px);
    }
    100% {
        opacity: 1;
        filter: blur(0px);
    }
}

/* Header & Navigation */
header {
    background-color: rgba(13, 13, 13, 0.98);
    background-image: linear-gradient(135deg, rgba(45, 27, 78, 0.4) 0%, rgba(13, 13, 13, 0.98) 100%);
    position: fixed;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(201, 169, 97, 0.15);
    border-bottom: 1px solid rgba(201, 169, 97, 0.2);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 2rem;
    font-weight: 900;
    color: var(--secondary);
    text-decoration: none;
    letter-spacing: 3px;
    animation: goldenGlow 3s ease-in-out infinite;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 35px;
}

.nav-links a {
    color: var(--light);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary), var(--earth));
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--secondary);
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--secondary);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(45, 27, 78, 0.25) 0%, rgba(13, 13, 13, 0.6) 100%), 
                url('pictures/IDE.jpeg') no-repeat center center/cover;
    background-blend-mode: normal;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px 60px;
    position: relative;
    overflow: hidden;
}

/* Prison bars overlay */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 20px,
        rgba(107, 23, 23, 0.15) 20px,
        rgba(107, 23, 23, 0.15) 22px
    );
    animation: prisonBarsSlide 3s ease-out forwards;
    pointer-events: none;
    z-index: 5;
}

/* Mystical overlay with chains effect */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(201, 169, 97, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(74, 35, 97, 0.15) 0%, transparent 50%);
    pointer-events: none;
    z-index: 4;
}

.hero-content {
    max-width: 100%;
    width: 100%;
    position: relative;
    z-index: 10;
    padding: 0px;
    animation: fadeInUp 1.2s ease-out, heroScale 1.2s ease-out, lightBreaksThrough 2s ease-out 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.hero h1 {
    font-size: clamp(7rem, 25vw, 15rem);
    margin-bottom: 0px;
    margin-top: 20px;
    color: var(--secondary);
    text-shadow: 0 0 50px rgba(201, 169, 97, 0.7), 0 10px 60px rgba(0, 0, 0, 0.95),
                 0 0 100px rgba(201, 169, 97, 0.4);
    letter-spacing: clamp(4px, 2vw, 12px);
    animation: goldenGlow 4s ease-in-out infinite, float 6s ease-in-out infinite;
    position: relative;
    font-weight: 900;
    line-height: 1;
    text-align: center;
}

/* Chain link decorative elements around title */
.hero h1::before,
.hero h1::after {
    content: '⛓';
    position: absolute;
    color: rgba(201, 169, 97, 0.3);
    font-size: clamp(2rem, 6vw, 4rem);
    animation: chainRattle 2s ease-in-out infinite;
    top: 50%;
    transform: translateY(-50%);
}

.hero h1::before {
    left: clamp(-40px, -5vw, -60px);
    animation-delay: 0s;
}

.hero h1::after {
    right: clamp(-40px, -5vw, -60px);
    animation-delay: 0.5s;
}

.hero-divider-top {
    width: clamp(60px, 15vw, 100px);
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--secondary), transparent);
    margin: 30px auto 25px;
    animation: fadeInUp 1.5s ease-out 0.2s both, glow 3s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(201, 169, 97, 0.5);
}

.hero-divider-bottom {
    width: clamp(60px, 15vw, 100px);
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--secondary), transparent);
    margin: 20px auto 30px;
    animation: fadeInUp 1.8s ease-out 2.5s both, glow 3s ease-in-out 0.5s infinite;
    box-shadow: 0 0 20px rgba(201, 169, 97, 0.5);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    color: rgba(240, 235, 224, 0.9);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
    font-weight: 300;
    letter-spacing: 0.5px;
    animation: fadeInUp 1.4s ease-out 0.2s both;
    text-align: center;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 4vw, 1.6rem) !important;
    margin-bottom: 10px !important;
    font-weight: 400;
    line-height: 1.7;
    position: relative;
    display: inline-block;
    animation: typewriter 6s steps(40) 0.5s infinite;
    overflow: hidden;
    border-right: 3px solid var(--secondary);
    white-space: nowrap;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.hero-subtitle::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--secondary), transparent);
    box-shadow: 0 0 15px rgba(201, 169, 97, 0.3);
    animation: fadeInUp 1.6s ease-out 0.4s both;
    display: none;
}

.hero-tagline {
    font-size: clamp(1rem, 3.5vw, 1.2rem) !important;
    margin-bottom: 35px !important;
    font-style: italic;
    font-weight: 300;
    color: rgba(240, 235, 224, 0.85);
    line-height: 1.6;
    animation: fadeInUp 1.6s ease-out 1.8s both;
    letter-spacing: 0.5px;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, #c9a961 0%, #d4af37 100%);
    color: var(--dark);
    padding: clamp(16px, 3.5vw, 20px) clamp(35px, 7vw, 50px);
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    position: relative;
    text-transform: uppercase;
    letter-spacing: clamp(1.5px, 0.4vw, 2px);
    font-size: clamp(0.85rem, 2.2vw, 1rem);
    overflow: hidden;
    animation: fadeInUp 1.8s ease-out 3s both, pulse 2s ease-in-out 4s infinite;
    margin: 0 auto;
    text-align: center;
    box-shadow: 0 10px 40px rgba(201, 169, 97, 0.5),
                0 0 60px rgba(212, 175, 55, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.btn::after {
    content: '↓';
    font-size: 1.3em;
    font-weight: 900;
    animation: bounce 1.5s ease-in-out infinite;
    display: inline-block;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    background: linear-gradient(135deg, #d4af37 0%, #f4cf57 100%);
    color: #0d0d0d;
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 20px 60px rgba(201, 169, 97, 0.7), 
                0 0 80px rgba(212, 175, 55, 0.5),
                inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 10px 40px rgba(201, 169, 97, 0.5),
                    0 0 60px rgba(212, 175, 55, 0.3);
    }
    50% {
        box-shadow: 0 10px 40px rgba(201, 169, 97, 0.8),
                    0 0 80px rgba(212, 175, 55, 0.6);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(5px);
    }
}

/* Countdown Section */
.countdown {
    background: linear-gradient(135deg, var(--accent) 0%, rgba(45, 27, 78, 0.6) 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    border-top: 2px solid rgba(201, 169, 97, 0.3);
    border-bottom: 2px solid rgba(201, 169, 97, 0.3);
}

.countdown::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(90deg, transparent, transparent 50px, rgba(201, 169, 97, 0.02) 50px, rgba(201, 169, 97, 0.02) 100px);
    pointer-events: none;
}

.countdown h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--secondary);
    font-weight: 700;
    letter-spacing: 2px;
    position: relative;
    z-index: 10;
    animation: goldenGlow 3s ease-in-out infinite;
}

.countdown-container {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    position: relative;
    z-index: 10;
}

.countdown-item {
    background: linear-gradient(135deg, rgba(45, 27, 78, 0.8) 0%, rgba(74, 35, 97, 0.5) 100%);
    padding: 25px;
    border: 2px solid rgba(201, 169, 97, 0.3);
    border-radius: 2px;
    min-width: 120px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 
                inset 0 1px 0 rgba(201, 169, 97, 0.1);
    transition: all 0.4s ease;
    animation: fadeInUp 0.8s ease-out;
}

.countdown-item:hover {
    border-color: var(--secondary);
    box-shadow: 0 15px 60px rgba(201, 169, 97, 0.3),
                inset 0 1px 0 rgba(201, 169, 97, 0.2);
    transform: translateY(-8px);
}

.countdown-number {
    font-size: 3.2rem;
    font-weight: 900;
    color: var(--secondary);
    letter-spacing: 2px;
    animation: spiritualPulse 2s ease-in-out infinite;
}

.countdown-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(240, 235, 224, 0.7);
    margin-top: 10px;
    font-weight: 600;
}

/* Synopsis Section */
.synopsis {
    padding: 120px 0;
    background: linear-gradient(180deg, rgba(13, 13, 13, 1) 0%, rgba(45, 27, 78, 0.3) 100%);
    position: relative;
}

.synopsis::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--secondary), transparent);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 70px;
    color: var(--secondary);
    position: relative;
    font-weight: 700;
    letter-spacing: 2px;
    animation: fadeInUp 1s ease-out;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--secondary), transparent);
    box-shadow: 0 0 15px rgba(201, 169, 97, 0.3);
}

.synopsis-content {
    display: flex;
    align-items: center;
    gap: 60px;
    animation: fadeInUp 1.2s ease-out;
}

.synopsis-text {
    flex: 1;
}

.synopsis-text p {
    margin-bottom: 25px;
    font-size: 1.1rem;
    line-height: 1.9;
    color: rgba(240, 235, 224, 0.85);
    font-weight: 300;
}

.synopsis-image {
    flex: 1;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8),
                inset 0 0 40px rgba(201, 169, 97, 0.1);
    border: 1px solid rgba(201, 169, 97, 0.2);
    position: relative;
}

.synopsis-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(45, 27, 78, 0.3) 0%, rgba(201, 169, 97, 0.1) 100%);
    z-index: 10;
}

.synopsis-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.7s ease;
}

.synopsis-image:hover img {
    transform: scale(1.08);
}

/* Cast & Crew Section */
.cast-crew {
    background: linear-gradient(135deg, var(--accent) 0%, rgba(45, 27, 78, 0.8) 100%);
    padding: 100px 0;
    border-top: 2px solid rgba(201, 169, 97, 0.3);
    border-bottom: 2px solid rgba(201, 169, 97, 0.3);
}

.people-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    animation: fadeInUp 1.3s ease-out;
    margin-bottom: 35px;
}

.hidden-section {
    grid-template-columns: repeat(4, 1fr);
}

.expand-button-container {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.expand-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary) 0%, var(--spiritual) 100%);
    color: var(--light);
    padding: 14px 35px;
    border: 2px solid var(--secondary);
    border-radius: 3px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 260ms cubic-bezier(.2,.9,.2,1), box-shadow 260ms;
    will-change: transform;
    cursor: pointer;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.85rem;
    overflow: hidden;
}

.expand-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.3), transparent);
    transition: left 0.5s ease;
}

.expand-btn:hover::before {
    left: 100%;
}

.expand-btn:hover {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--gold-glow) 100%);
    color: var(--dark);
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(201, 169, 97, 0.4), 
                0 0 30px rgba(212, 175, 55, 0.3);
    border-color: var(--gold-glow);
}

.expand-btn.toggled {
  transform: scale(0.98) rotate(-2deg);
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}

.hidden-section {
    display: none;
    overflow: hidden;      /* JS toggles overflow during animation */
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 35px;
}

.hidden-section.visible {
    display: grid;
}

.person-card {
    background: linear-gradient(135deg, rgba(45, 27, 78, 0.6) 0%, rgba(13, 13, 13, 0.8) 100%);
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6),
                inset 0 0 30px rgba(201, 169, 97, 0.05);
    transition: all 0.5s ease;
    border: 1px solid rgba(201, 169, 97, 0.2);
    position: relative;
}

.person-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(201, 169, 97, 0.1) 50%, transparent 70%);
    transition: all 0.5s ease;
    opacity: 0;
}

.person-card:hover::before {
    animation: shimmer 0.6s ease-in;
    opacity: 1;
}

.person-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 60px rgba(201, 169, 97, 0.3),
                inset 0 0 40px rgba(201, 169, 97, 0.1);
    border-color: var(--secondary);
}

.person-image {
    height: 260px;
    overflow: hidden;
    position: relative;
}

.person-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.person-card:hover .person-image img {
    transform: scale(1.12);
}

.person-info {
    padding: 20px;
    background: linear-gradient(135deg, rgba(45, 27, 78, 0.4) 0%, rgba(13, 13, 13, 0.7) 100%);
}

.person-name {
    font-size: 1.1rem;
    margin-bottom: 6px;
    color: var(--secondary);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.person-role {
    font-size: 0.9rem;
    color: rgba(240, 235, 224, 0.6);
    font-style: italic;
    font-weight: 300;
}

/* Gallery Section */
.gallery {
    padding: 100px 0;
    background: linear-gradient(180deg, rgba(13, 13, 13, 1) 0%, rgba(45, 27, 78, 0.2) 100%);
    overflow: hidden;
    position: relative;
}

.gallery-grid {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 0 40px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--secondary) rgba(13, 13, 13, 0.5);
}

.gallery-grid::-webkit-scrollbar {
    height: 8px;
}

.gallery-grid::-webkit-scrollbar-track {
    background: rgba(13, 13, 13, 0.5);
    border-radius: 10px;
}

.gallery-grid::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, var(--secondary), var(--gold-glow));
    border-radius: 10px;
    transition: background 0.3s ease;
}

.gallery-grid::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(90deg, var(--gold-glow), var(--secondary));
}

.gallery-item {
    min-width: 400px;
    border-radius: 8px;
    overflow: hidden;
    height: 350px;
    position: relative;
    scroll-snap-align: center;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.7),
                inset 0 0 30px rgba(201, 169, 97, 0.05);
    border: 2px solid rgba(201, 169, 97, 0.2);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    flex-shrink: 0;
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(45, 27, 78, 0.5) 0%, rgba(201, 169, 97, 0.1) 100%);
    z-index: 10;
    opacity: 1;
    transition: opacity 0.4s ease;
}

.gallery-item {
    cursor: pointer;
}

.gallery-item::after {
    content: '🔍';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    font-size: 1.5rem;
    z-index: 20;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: drop-shadow(0 0 10px rgba(201, 169, 97, 0.8));
    pointer-events: none;
}

.gallery-item:hover::before {
    opacity: 0.2;
}

.gallery-item:hover::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.gallery-item:hover img {
    transform: scale(1.15);
}

.gallery-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 80px rgba(201, 169, 97, 0.5),
                inset 0 0 50px rgba(201, 169, 97, 0.2);
    border-color: var(--gold-glow);
}

/* Floating Ticket Button */
.floating-ticket-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #c9a961 0%, #d4af37 100%);
    color: #0d0d0d;
    padding: 16px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 30px rgba(201, 169, 97, 0.6),
                0 0 20px rgba(201, 169, 97, 0.4);
    z-index: 9999;
    opacity: 0;
    transform: translateY(100px) scale(0.8);
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    letter-spacing: 1px;
}

.floating-ticket-btn.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

.floating-ticket-btn:hover {
    background: linear-gradient(135deg, #d4af37 0%, #f0d879 100%);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 40px rgba(201, 169, 97, 0.8),
                0 0 30px rgba(201, 169, 97, 0.6);
}

.floating-ticket-btn i {
    font-size: 1.2rem;
    animation: ticketPulse 2s ease-in-out infinite;
}

@keyframes ticketPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

/* Gallery Modal */
.gallery-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.gallery-modal.active {
    display: flex;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    position: relative;
    z-index: 10001;
    max-width: 90vw;
    max-height: 90vh;
    animation: modalZoomIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-content img {
    width: auto;
    height: auto;
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.9),
                0 0 50px rgba(201, 169, 97, 0.3);
    border: 3px solid rgba(201, 169, 97, 0.5);
}

.modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: rgba(201, 169, 97, 0.9);
    border: none;
    color: #0d0d0d;
    font-size: 2.5rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-weight: 300;
    line-height: 1;
    box-shadow: 0 5px 20px rgba(201, 169, 97, 0.5);
    z-index: 10002;
}

.modal-close:hover {
    background: var(--gold-glow);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 8px 30px rgba(201, 169, 97, 0.8);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes modalZoomIn {
    from {
        opacity: 0;
        transform: scale(0.7);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Director's Note Section */
.directors-note {
    padding: 100px 0;
    background: linear-gradient(180deg, rgba(13, 13, 13, 1) 0%, rgba(45, 27, 78, 0.2) 100%);
}

.note-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    animation: fadeInUp 1.5s ease-out;
}

.note-content {
    padding: 35px;
    background: linear-gradient(135deg, rgba(45, 27, 78, 0.4) 0%, rgba(13, 13, 13, 0.8) 100%);
    border: 1px solid rgba(201, 169, 97, 0.2);
    border-radius: 2px;
}

.note-content p {
    margin-bottom: 18px;
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(240, 235, 224, 0.85);
    font-weight: 300;
}

.note-image {
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8),
                inset 0 0 40px rgba(201, 169, 97, 0.1);
    border: 1px solid rgba(201, 169, 97, 0.2);
    height: 580px;
}

.note-image img {
    width: 100%;
    height: 80%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.7s ease;
}

.note-image:hover img {
    transform: scale(1.08);
}

/* Producer Section */
.producer {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--accent) 0%, rgba(45, 27, 78, 0.6) 100%);
    border-top: 2px solid rgba(201, 169, 97, 0.3);
    border-bottom: 2px solid rgba(201, 169, 97, 0.3);
}

.producer-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    animation: fadeInUp 1.6s ease-out;
}

.producer-image {
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8),
                inset 0 0 40px rgba(201, 169, 97, 0.1);
    border: 1px solid rgba(201, 169, 97, 0.2);
}

.producer-image img {
    width: 100%;
    height: auto;
    transition: transform 0.7s ease;
}

.producer-image:hover img {
    transform: scale(1.08);
}

.producer-content h3 {
    font-size: 1.8rem;
    color: var(--secondary);
    margin-bottom: 18px;
    font-weight: 700;
    letter-spacing: 1px;
}

.producer-content p {
    margin-bottom: 18px;
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(240, 235, 224, 0.85);
    font-weight: 300;
}

/* Trailer Section */
.trailer {
    background: linear-gradient(135deg, var(--accent) 0%, rgba(45, 27, 78, 0.6) 100%);
    padding: 100px 0;
    text-align: center;
    border-top: 2px solid rgba(201, 169, 97, 0.3);
    border-bottom: 2px solid rgba(201, 169, 97, 0.3);
}

.video-container {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.7),
                inset 0 0 40px rgba(201, 169, 97, 0.1);
    border: 2px solid rgba(201, 169, 97, 0.3);
    animation: fadeInUp 1.5s ease-out;
    transition: all 0.4s ease;
}

.video-container:hover {
    border-color: var(--secondary);
    box-shadow: 0 30px 100px rgba(201, 169, 97, 0.2),
                inset 0 0 60px rgba(201, 169, 97, 0.15);
}

.video-container iframe {
    width: 100%;
    height: 450px;
    display: block;
    border: none;
}

/* Registration Section */
.registration {
    padding: 100px 0;
    background: linear-gradient(180deg, rgba(13, 13, 13, 1) 0%, rgba(45, 27, 78, 0.3) 100%);
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(45, 27, 78, 0.6) 0%, rgba(13, 13, 13, 0.9) 100%);
    padding: 45px;
    border-radius: 2px;
    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.8),
                inset 0 0 40px rgba(201, 169, 97, 0.05);
    border: 2px solid rgba(201, 169, 97, 0.3);
    animation: fadeInUp 1.6s ease-out;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--secondary);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(201, 169, 97, 0.3);
    border-radius: 2px;
    background-color: rgba(13, 13, 13, 0.8);
    color: var(--light);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    font-family: 'Georgia', serif;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    background-color: rgba(45, 27, 78, 0.4);
    border-color: var(--secondary);
    box-shadow: 0 0 20px rgba(201, 169, 97, 0.2);
}

.form-group textarea {
    height: 140px;
    resize: vertical;
}

#success-message {
    animation: fadeInUp 0.8s ease-out;
}

#success-message h3 {
    font-size: 2rem;
    margin-bottom: 15px;
}

#success-message p {
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Footer */
footer {
    background: linear-gradient(180deg, rgba(13, 13, 13, 1) 0%, rgba(45, 27, 78, 0.5) 100%);
    padding: 70px 0 35px;
    border-top: 2px solid rgba(201, 169, 97, 0.3);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column {
    flex: 1;
    min-width: 270px;
    animation: fadeInUp 1.7s ease-out;
}

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--secondary);
    font-weight: 700;
    letter-spacing: 1.5px;
}

.footer-column p {
    color: rgba(240, 235, 224, 0.7);
    font-size: 0.95rem;
    line-height: 1.7;
    font-weight: 300;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
    color: rgba(240, 235, 224, 0.7);
    font-size: 0.9rem;
}

.footer-links a {
    color: rgba(240, 235, 224, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 300;
}

.footer-links a:hover {
    color: var(--secondary);
    text-decoration: underline;
    text-decoration-thickness: 2px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(45, 27, 78, 0.8) 0%, rgba(13, 13, 13, 0.8) 100%);
    border: 1px solid rgba(201, 169, 97, 0.3);
    border-radius: 50%;
    color: var(--light);
    text-decoration: none;
    transition: all 0.4s ease;
    font-size: 1.1rem;
}

.social-links a:hover {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--earth) 100%);
    color: var(--dark);
    border-color: var(--secondary);
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(201, 169, 97, 0.3);
}

.copyright {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(201, 169, 97, 0.2);
    color: rgba(240, 235, 224, 0.5);
    font-size: 0.9rem;
    font-weight: 300;
    letter-spacing: 0.5px;
}

@media (max-width: 992px) {
    .hero h1 {
        font-size: 100 rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem !important;
    }
    .hero-tagline {
        font-size: 1rem !important;
    }
    
    .note-container,
    .producer-container {
        grid-template-columns: 1fr;
    }
    
    .note-container {
        display: flex;
        flex-direction: column-reverse;
    }
    
    .note-image {
        height: 290px;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
        color: var(--secondary);
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: linear-gradient(135deg, rgba(45, 27, 78, 0.95) 0%, rgba(13, 13, 13, 0.98) 100%);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 50px;
        transition: left 0.4s ease;
        border-right: 2px solid rgba(201, 169, 97, 0.3);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 20px 0;
    }
    
    .hero {
        padding-top: 80px;
        height: auto;
        min-height: 75vh;
    }
    
    .hero h1 {
        font-size: 5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem !important;
    }
    
    .hero-tagline {
        font-size: 0.95rem !important;
    }
    
    .hero-divider-top,
    .hero-divider-bottom {
        width: 60px;
        margin: 18px auto;
    }
    
    .hero h1::before,
    .hero h1::after {
        display: none;
    }
    
    .people-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
    
    .countdown-item {
        min-width: 110px;
    }
    
    .countdown-number {
        font-size: 2.5rem;
    }
    
    .countdown-label {
        font-size: 0.8rem;
    }
    
    .form-container {
        padding: 35px;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 100px 15px 50px;
        min-height: 85vh;
        background: linear-gradient(135deg, rgba(45, 27, 78, 0.3) 0%, rgba(13, 13, 13, 0.65) 100%), 
                    url('pictures/IDE.jpeg') no-repeat center center/cover;
    }
    
    .hero h1 {
        font-size: 7rem;
        margin-bottom: 30px;
        letter-spacing: 4px;
    }
    
    .hero h1::before,
    .hero h1::after {
        font-size: 2rem;
        left: -30px;
    }
    
    .hero h1::after {
        right: -30px;
    }
    
    .hero-subtitle {
        font-size: 1.1rem !important;
        margin-bottom: 18px !important;
        white-space: normal !important;
        width: 100% !important;
        border-right: none !important;
        animation: fadeInUp 1.2s ease-out 0.3s both !important;
    }
    
    .hero-subtitle::after {
        display: none;
    }
    
    .hero-tagline {
        font-size: 0.98rem !important;
        margin-bottom: 30px !important;
    }
    
    .hero-divider-top,
    .hero-divider-bottom {
        width: 60px;
        margin: 12px auto;
    }
    
    .btn {
        padding: 14px 32px;
        font-size: 0.85rem;
        letter-spacing: 1.2px;
    }
    
    .gallery-grid {
        gap: 15px;
        padding: 15px 0 30px;
    }
    
    .gallery-item {
        min-width: 90vw;
        max-width: 90vw;
        height: 250px;
        scroll-snap-align: start;
    }
    
    .gallery-item img {
        object-fit: cover;
        object-position: center;
    }
    
    .floating-ticket-btn {
        bottom: 20px;
        right: 20px;
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .floating-ticket-btn span {
        display: none;
    }
    
    .floating-ticket-btn i {
        font-size: 1.4rem;
        margin: 0;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    
    .countdown h2 {
        font-size: 1.6rem;
        margin-bottom: 25px;
    }
    
    .countdown-container {
        gap: 12px;
    }
    
    .countdown-item {
        min-width: 75px;
        padding: 15px 10px;
    }
    
    .countdown-number {
        font-size: 1.8rem;
    }
    
    .countdown-label {
        font-size: 0.7rem;
    }
    
    .people-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .hidden-section {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .person-name {
        font-size: 1rem;
    }
    
    .person-role {
        font-size: 0.8rem;
    }
    
    .form-container {
        padding: 25px;
        margin: 0 15px;
    }
    
    .form-group label {
        font-size: 0.95rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 1rem;
    }
    
    .footer-content {
        gap: 30px;
    }
    
    .note-container,
    .producer-container {
        gap: 30px;
    }
}
