* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Great Vibes';
}

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

body {
    background-color: #ffe887;
    color: #ffffff;
}

p {
    font-family: 'Montserrat';
}

p b {
    font-family: 'Montserrat';
}
body .wrapper {
    overflow-x: hidden;
}

body.overlay-active {
    overflow: hidden;
}

.opening-video {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background-color: #000;
    z-index: 9999;
    cursor: pointer;
    transform-origin: center center;
    transform: scale(1) translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    will-change: transform, opacity;
    overflow: hidden;
}

.envelope-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.opening-hint {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 240px;
    pointer-events: none;
    transition: opacity 0.4s ease-out;
}

.opening-hint span {
    font-family: 'Montserrat';
    font-size: 18px;
    color: #ffffff;
    background-color: rgba(0, 0, 0, 0.45);
    padding: 10px 18px;
    border-radius: 999px;
    animation: hint-pulse 1.6s ease-in-out infinite;
}

.opening-hint.hidden {
    opacity: 0;
}

@keyframes hint-pulse {
    0%, 100% { transform: scale(1); opacity: 0.85; }
    50% { transform: scale(1.06); opacity: 1; }
}

.music-toggle {
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background-color: #3d4c2f;
    color: #ffe887;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9000;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    transition: transform 0.15s ease-out, background-color 0.15s ease-out;
    padding: 0;
}

.music-toggle:hover {
    transform: scale(1.06);
}

.music-toggle:active {
    transform: scale(0.96);
}

.music-toggle .music-icon {
    width: 22px;
    height: 22px;
    display: block;
}

.music-toggle .icon-off { display: none; }

.music-toggle.is-muted {
    background-color: #5a5a5a;
}

.music-toggle.is-muted .icon-on { display: none; }
.music-toggle.is-muted .icon-off { display: block; }

.reveal {
    opacity: 0;
    transition:
        opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--delay, 0ms);
    will-change: opacity, transform;
}

.reveal--up    { transform: translate3d(0, 40px, 0); }
.reveal--left  { transform: translate3d(-40px, 0, 0); }
.reveal--right { transform: translate3d(40px, 0, 0); }
.reveal--zoom  { transform: scale(0.9); }

.reveal.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}



.hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100vh;
    flex-direction: column;
    position: relative;
}

.hero-inner video {
    position: absolute;
    z-index: -1;
    height: 100vh;
}

.video {
    position: relative;
    z-index: 0;
    transform: translateZ(0); /* force layer */
    will-change: transform;
    height: 100%;
    bottom: 0;
    object-fit: cover;
    width: 110%;
}

.blur-overlay {
    position: absolute;
    inset: 0;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.content {
    position: absolute;
    z-index: 2;
    color: white;
}

.hero-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.h1 {
    display: flex;
    gap: 10px;
    text-align: center;
    height: fit-content;
    z-index: 222;
    position: absolute;
    top: 45%;
}

h1 {
    font-size: 72px;
    font-family: 'Luxurious Script';
    font-weight: 300;
}

.hero-text p {
    font-family: 'Montserrat';
    font-size: 20px;
    position: absolute;
    text-align: center;
    top: 15%;
    left: 50%;
    transform: translate(-50%);
}

.hero-text span {
    position: absolute;
    bottom: 20%;
    font-size: 60px;
    font-family: 'Sirivennela';
    font-weight: 200;
}

.hero-inner::after {
    position: absolute;
    content: '';
    width: 100%;
    height: 60px;
    background-image: url('/videos/yellow-waves.svg');
    bottom: 0;
    background-repeat: no-repeat;
    background-size: cover;
}

h2 {
    font-family: 'Great Vibes';
    font-size: 48px;
    text-align: center;
    color: #3d4c2f;
    margin-bottom: 24px;
    font-size: 60px;
}

.program-wrapper {
    color: #3d4c2f;
    position: relative;
    padding-bottom: 60px;
}

.program-wrapper::after {
    position: absolute;
    content: '';
    width: 100%;
    height: 60px;
    background-image: url('/videos/green-waves.png');
    bottom: 0;
    background-repeat: no-repeat;
    background-size: cover;
}

.program-section-wrapper {
    padding: 0 20px;
    position: relative;
}

.program-section-wrapper::before {
    position: absolute;
    content: '';
    width: 2px;
    height: 95%;
    background-color: #737d69;
    left: 44.5px;
    z-index: -1;
}

.program-section-wrapper::after {
    position: absolute;
    content: '';
    background-image: url('videos/gemini-dance.png');
    width: 900px;
    height: 400px;
    background-size: contain;
    background-repeat: no-repeat;
    bottom: -10%;
    z-index: -2;
}

.program-part {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 48px;
}

.program-time {
    width: 50px;
    height: 50px;
    font-family: 'Montserrat';
    background-color: #3d4c2f;
    color: #ffe887;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    height: 28px;
    padding: 0 24px;
    width: 60px;
}

h3 {
    font-family: 'Montserrat';
    font-size: 18px;
    font-weight: bold;
}

.location-wrapper {
    background-color: #3d4c2f;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 30px 0 130px;
    position: relative;
}

.location-wrapper h2 {
    color: #ffe887;
}

.location-img-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.location-img-wrapper::before {
    position: absolute;
    width: 400px;
    height: 400px;
    background-color: #ffe887;
    opacity: 26%;
    filter: blur(100px);
    content: '';
    z-index: -1;
    border-radius: 100px;
}

.location-text {
    position: absolute;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.location-text h3 {
    font-family: 'Montserrat';
    font-size: 28px;
}

.location-text h4 {
    font-family: 'Montserrat';
    font-size: 20px;
    font-weight: 400;
}

.location-wrapper button {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat';
    font-size: 20px;
    background-color: #ffe887;
    gap: 10px;
    padding: 10px;
    border-radius: 10px;
    color: #3d4c2f;
}

.location-wrapper::after {
    position: absolute;
    content: '';
    width: 100%;
    height: 60px;
    background-image: url('/videos/yellow-waves.svg');
    bottom: 0;
    background-repeat: no-repeat;
    background-size: cover;
}

.dress-code-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 30px 0 130px;
}

.dress-code-wrapper::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 400px;
    background-color: #ffffff;
    opacity: 20%;
    bottom: -50px;
    z-index: -1;
    filter: blur(40px);
}

.dress-code-wrapper::after {
    position: absolute;
    content: '';
    width: 100%;
    height: 60px;
    background-image: url('/videos/green-waves.png');
    bottom: 0;
    background-repeat: no-repeat;
    background-size: cover;
}

.dress-code-wrapper h2 {
    margin-bottom: 0;
}

.dress-code-wrapper h3 {
    font-family: 'Great Vibes';
    font-size: 42px;
    color: #3d4c2f;
}

.footer {
    background-color: #3d4c2f;
    color: #ffe887;
    font-family: 'Great Vibes';
    padding: 60px 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
}

.footer p {
    font-family: 'Great Vibes';
    font-size: 52px;
    text-align: center;
}

.footer span {
    display: inline-flex;
    justify-self: center;
    gap: 10px;
    font-size: 48px;
    font-family: 'Sirivennela';
    margin-right: 4px;
}