/* style.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #020813; /* deep cinematic navy/black */
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    overflow: hidden;
    height: 100vh;
    width: 100vw;
}

#canvas-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.scene {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    /* GSAP autoAlpha will control visibility and opacity */
    visibility: hidden;
    opacity: 0;
}

/* For absolute centering */
.center-absolute {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
    padding: 0 20px;
}

.hidden {
    opacity: 0;
    visibility: hidden;
}

.text-glow {
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.4), 0 0 30px rgba(255, 255, 255, 0.2);
    font-size: clamp(1.2rem, 4vw, 2.5rem);
    font-weight: 300;
    line-height: 1.6;
}

.gold-glow {
    color: #fceea7;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.6), 0 0 40px rgba(255, 215, 0, 0.4);
    font-family: 'Playfair Display', serif;
}

.text-huge {
    font-size: clamp(3rem, 10vw, 7rem);
    font-weight: 700;
    letter-spacing: 2px;
}

.mb-30 {
    margin-bottom: 30px;
}

button {
    background: transparent;
    border: 1px solid rgba(255, 215, 0, 0.5);
    color: #fceea7;
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    padding: 15px 40px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.4s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    backdrop-filter: blur(5px);
    position: relative;
    overflow: hidden;
}

button::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

button:hover::before {
    left: 100%;
}

button:hover {
    background: rgba(255, 215, 0, 0.15);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
    border-color: #ffd700;
    transform: scale(1.05);
}

.typed-container {
    width: 90%;
    margin: 0 auto;
    font-size: clamp(1rem, 3.5vw, 2.2rem);
    line-height: 1.5;
}

.cake-illustration {
    font-size: clamp(5rem, 15vw, 10rem);
    margin-bottom: 20px;
    filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.6));
}

.celebration-text {
    font-size: clamp(2rem, 8vw, 5rem);
    line-height: 1.2;
    letter-spacing: 5px;
    margin-top: 20px;
}

.card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 215, 0, 0.2);
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(255, 215, 0, 0.05);
}

.card-text {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.1rem, 3vw, 1.8rem);
    color: #f5f5f5;
    line-height: 1.6;
    font-style: italic;
}

.footer-text {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: #fceea7;
    margin-top: 40px;
    font-weight: 600;
    letter-spacing: 2px;
    text-align: right;
    text-transform: uppercase;
}

.light-beam {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200vw;
    height: 150px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), rgba(255, 215, 0, 0.3), rgba(255, 255, 255, 0.1), transparent);
    z-index: -1;
    opacity: 0;
    filter: blur(25px);
}
