/* --- General Reset & Variables --- */
:root {
    --bg-dark: #070212;
    --bg-deep: #12052b;
    --bts-purple: #8b5cf6;
    --bts-purple-glow: rgba(139, 92, 246, 0.6);
    --pastel-lavender: #ddd6fe;
    --gold: #f3c68f;
    --gold-glow: rgba(243, 198, 143, 0.5);
    --white: #ffffff;
    --silver: #e2e8f0;
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    font-family: 'Poppins', sans-serif;
    color: var(--silver);
    overflow-x: hidden;
    min-height: 100vh;
}

/* --- Scrollbar Customization --- */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: var(--bts-purple);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--pastel-lavender);
}

/* --- Background Canvas & Orbs --- */
#bgCanvas, #confettiCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    pointer-events: none;
}

#confettiCanvas {
    z-index: 999;
}

.glow-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    z-index: 2;
    pointer-events: none;
    animation: orbFloat 20s infinite alternate ease-in-out;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background-color: var(--bts-purple);
    top: -100px;
    left: -100px;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background-color: #a78bfa;
    bottom: -150px;
    right: -100px;
    animation-delay: -5s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background-color: #ec4899;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -10s;
}

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

/* --- Audio Player Widget --- */
.music-player-widget {
    position: absolute;
    top: 24px;
    right: 24px;
    z-index: 1000;
    background: rgba(18, 5, 43, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(139, 92, 246, 0.3);
    padding: 12px 18px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    flex-flow: row nowrap;
    white-space: nowrap;
    gap: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 
                inset 0 0 12px rgba(139, 92, 246, 0.1);
    transform: translateY(-100px);
    opacity: 0;
    transition: var(--transition-slow);
}

.music-player-widget.visible {
    transform: translateY(0);
    opacity: 1;
}

.play-btn {
    background: linear-gradient(135deg, var(--bts-purple), #7c3aed);
    border: none;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
    transition: var(--transition-fast);
}

.play-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.6);
}

.track-info {
    font-size: 0.8rem;
    color: var(--pastel-lavender);
    font-weight: 300;
}

/* --- Entrance Portal / Envelope --- */
.portal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--bg-dark);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 1s ease-in-out, visibility 1s;
}

.portal-overlay.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.envelope-wrapper {
    text-align: center;
    perspective: 1000px;
}

.envelope {
    position: relative;
    width: 280px;
    height: 180px;
    background: #4c1d95;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    margin: 40px auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 
                inset 0 0 20px rgba(139, 92, 246, 0.3);
    cursor: pointer;
    transition: transform 0.5s ease;
    transform-style: preserve-3d;
}

.envelope:hover {
    transform: translateY(-10px) rotateX(10deg);
}

.envelope-flap {
    position: absolute;
    top: 0;
    width: 0;
    height: 0;
    border-left: 140px solid transparent;
    border-right: 140px solid transparent;
    border-top: 100px solid #6d28d9;
    transform-origin: top;
    transition: transform 0.4s ease-in-out 0.2s, z-index 0.2s ease 0.2s;
    z-index: 4;
}

.envelope-pocket {
    position: absolute;
    bottom: 0;
    width: 0;
    height: 0;
    border-left: 140px solid #5b21b6;
    border-right: 140px solid #5b21b6;
    border-bottom: 90px solid #4c1d95;
    z-index: 3;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.letter-preview {
    position: absolute;
    top: 20px;
    left: 15px;
    width: 250px;
    height: 140px;
    background: #fdfcfe;
    border-radius: 4px;
    padding: 20px;
    color: #4c1d95;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    z-index: 2;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.4s;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 1px solid #ddd6fe;
}

.letter-to {
    font-family: 'Great Vibes', cursive;
    font-size: 2.2rem;
    margin-bottom: 8px;
    font-weight: bold;
}

.letter-hint {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--bts-purple);
    animation: textPulse 1.5s infinite ease-in-out;
}

/* Open Envelope States */
.envelope.open .envelope-flap {
    transform: rotateX(180deg);
    z-index: 1;
}

.envelope.open .letter-preview {
    transform: translateY(-90px);
    z-index: 5;
}

.portal-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--white);
    margin-top: 20px;
    text-shadow: 0 4px 10px rgba(139, 92, 246, 0.5);
}

.portal-subtitle {
    font-size: 0.95rem;
    color: var(--pastel-lavender);
    margin-top: 8px;
    opacity: 0.8;
}

@keyframes textPulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

/* --- Main Content Layout --- */
.main-content {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.hidden {
    display: none !important;
}

/* --- Hero Section --- */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 80px;
}

.bts-logo-anim {
    width: 80px;
    height: 80px;
    margin-bottom: 24px;
    animation: btsPulse 3s infinite ease-in-out;
}

.bts-logo-svg {
    filter: drop-shadow(0 0 15px var(--bts-purple));
}

@keyframes btsPulse {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 15px var(--bts-purple)); }
    50% { transform: scale(1.1); filter: drop-shadow(0 0 25px #ec4899); }
}

.main-title {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    color: var(--white);
    line-height: 1.1;
    font-weight: 600;
}

.highlight-name {
    background: linear-gradient(135deg, #ec4899, var(--bts-purple), #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 10px rgba(139, 92, 246, 0.3));
    font-weight: 700;
}

.nickname-title {
    font-family: 'Great Vibes', cursive;
    font-size: 3.5rem;
    color: var(--gold);
    margin-top: -10px;
    text-shadow: 0 0 10px var(--gold-glow);
}

.hero-tagline {
    font-size: 1.2rem;
    color: var(--pastel-lavender);
    max-width: 600px;
    margin-top: 24px;
    line-height: 1.6;
    font-weight: 300;
}

.scroll-indicator {
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--pastel-lavender);
    opacity: 0.7;
}

.arrow-down {
    animation: bounce 2s infinite;
    font-size: 1.2rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-8px); }
    60% { transform: translateY(-4px); }
}

/* --- Section Title Defaults --- */
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    text-align: center;
    color: var(--white);
    margin-bottom: 8px;
    text-shadow: 0 0 12px rgba(139, 92, 246, 0.4);
}

.section-subtitle {
    font-size: 1.05rem;
    text-align: center;
    color: var(--pastel-lavender);
    margin-bottom: 48px;
    opacity: 0.8;
}

/* --- Cake Section --- */
.cake-section {
    padding: 60px 0 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cake-container {
    position: relative;
    width: 320px;
    height: 320px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin-bottom: 40px;
}

.cake {
    position: relative;
    width: 250px;
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cake-layer {
    position: absolute;
    width: 250px;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

.layer-bottom {
    height: 80px;
    background: linear-gradient(to right, #4c1d95, #6d28d9);
    bottom: 0;
    width: 250px;
    border-bottom: 8px solid #3b0764;
}

.layer-middle {
    height: 70px;
    background: linear-gradient(to right, #6d28d9, #8b5cf6);
    bottom: 60px;
    width: 210px;
    z-index: 2;
    border-bottom: 6px solid #4c1d95;
}

.layer-top {
    height: 60px;
    background: linear-gradient(to right, #8b5cf6, #a78bfa);
    bottom: 110px;
    width: 170px;
    z-index: 3;
    border-bottom: 4px solid #6d28d9;
}

/* Cake Decor - Icing & Drips */
.icing {
    position: absolute;
    width: 170px;
    height: 20px;
    background: #f472b6;
    border-radius: 20px;
    bottom: 155px;
    z-index: 4;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}

.drips {
    position: absolute;
    width: 170px;
    height: 30px;
    bottom: 140px;
    z-index: 4;
    display: flex;
    justify-content: space-around;
    padding: 0 10px;
}

.drip {
    width: 15px;
    height: 20px;
    background: #f472b6;
    border-radius: 0 0 10px 10px;
}

.drip1 { height: 25px; }
.drip2 { height: 18px; margin-top: 2px; }
.drip3 { height: 22px; }

/* Candles */
.candles-wrapper {
    position: absolute;
    width: 140px;
    height: 60px;
    bottom: 160px;
    z-index: 5;
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
}

.candle {
    position: relative;
    width: 12px;
    height: 50px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.candle:hover {
    transform: scale(1.1);
}

.wax-body {
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        45deg,
        #f43f5e,
        #f43f5e 4px,
        #ffffff 4px,
        #ffffff 8px
    );
    border-radius: 4px 4px 0 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}

.thread {
    position: absolute;
    top: -6px;
    left: 5px;
    width: 2px;
    height: 6px;
    background: #475569;
}

.flame {
    position: absolute;
    top: -20px;
    left: 1px;
    width: 10px;
    height: 16px;
    background: radial-gradient(ellipse at bottom, #fef08a 0%, #f97316 70%, #ef4444 100%);
    border-radius: 50% 50% 20% 20%;
    box-shadow: 0 0 15px rgba(249, 115, 22, 0.8), 0 0 25px rgba(249, 115, 22, 0.4);
    transform-origin: center bottom;
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.flame.flickering {
    animation: flicker 0.15s ease-in-out infinite alternate;
}

.flame.blown-out {
    opacity: 0;
    transform: scale(0);
    pointer-events: none;
}

@keyframes flicker {
    0% { transform: scale(1) rotate(-1deg); }
    100% { transform: scale(1.05) rotate(1deg); }
}

.wish-alert {
    background: rgba(18, 5, 43, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(139, 92, 246, 0.4);
    padding: 24px 36px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 
                0 0 20px var(--bts-purple-glow);
    max-width: 450px;
    animation: fadeInUp 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.wish-alert h3 {
    color: var(--gold);
    font-size: 1.5rem;
    margin-bottom: 8px;
    text-shadow: 0 0 8px var(--gold-glow);
}

.wish-alert p {
    color: var(--white);
    font-size: 1.05rem;
    line-height: 1.5;
}

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

/* --- BTS Wishes Section --- */
.bts-wishes-section {
    padding: 20px 0 60px 0;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    justify-content: center;
    perspective: 1500px;
}

.wish-card {
    height: 380px;
    cursor: pointer;
    perspective: 1000px;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    border-radius: 16px;
}

.wish-card.flipped .card-inner {
    transform: rotateY(180deg);
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 16px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

/* Card Themes */
.card-front {
    background: linear-gradient(135deg, rgba(18, 5, 43, 0.8), rgba(43, 15, 87, 0.8));
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    gap: 15px;
}

/* Hover glow for card */
.wish-card:hover .card-inner {
    box-shadow: 0 15px 35px rgba(139, 92, 246, 0.4);
    border-color: rgba(139, 92, 246, 0.5);
}

.member-initials {
    font-size: 3.5rem;
    font-weight: 700;
    opacity: 0.15;
    position: absolute;
    top: 20px;
    right: 20px;
    color: var(--white);
}

.card-front h3 {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--white);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    margin-top: 30px;
}

.card-role {
    font-size: 0.9rem;
    color: var(--pastel-lavender);
    border: 1px solid rgba(221, 214, 254, 0.3);
    padding: 4px 12px;
    border-radius: 20px;
    background: rgba(139, 92, 246, 0.1);
}

.tap-hint {
    font-size: 0.8rem;
    color: var(--gold);
    margin-top: auto;
    font-weight: 500;
    animation: bounce 2s infinite;
}

.card-back {
    background: linear-gradient(135deg, rgba(43, 15, 87, 0.95), rgba(18, 5, 43, 0.95));
    transform: rotateY(180deg);
    justify-content: center;
    align-items: center;
    text-align: center;
    border: 1px solid rgba(243, 198, 143, 0.3);
}

.card-back h3 {
    font-family: 'Playfair Display', serif;
    color: var(--gold);
    font-size: 1.4rem;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(243, 198, 143, 0.2);
    padding-bottom: 8px;
    width: 100%;
}

.card-back .quote {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--white);
    font-style: italic;
    margin-bottom: 20px;
}

.card-back .signature {
    font-family: 'Great Vibes', cursive;
    font-size: 2.2rem;
    color: var(--gold);
    margin-top: auto;
}

/* Specific Member Accent colors on fronts */
.rm-theme { border-left: 5px solid #a78bfa; }
.jin-theme { border-left: 5px solid #f472b6; }
.suga-theme { border-left: 5px solid #60a5fa; }
.jhope-theme { border-left: 5px solid #34d399; }
.jimin-theme { border-left: 5px solid #fbbf24; }
.v-theme { border-left: 5px solid #a78bfa; }
.jk-theme { border-left: 5px solid #f472b6; }


/* --- Personal Letter Section --- */
.personal-letter-section {
    padding: 100px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.letter-paper {
    background: #fdfaf2;
    color: #2e2a24;
    width: 100%;
    max-width: 650px;
    min-height: 480px;
    border-radius: 4px;
    padding: 50px 40px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 
                inset 0 0 40px rgba(0, 0, 0, 0.05);
    border: 1px solid #eadeca;
    position: relative;
    font-family: 'Playfair Display', serif;
    background-image: radial-gradient(#ece6d8 1px, transparent 1px);
    background-size: 20px 20px;
}

.letter-paper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    width: 2px;
    height: 100%;
    background-color: rgba(239, 68, 68, 0.2);
}

.letter-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 30px;
}

.letter-date {
    font-size: 0.95rem;
    font-weight: bold;
    color: #78716c;
}

.letter-body {
    font-size: 1.15rem;
    line-height: 1.8;
}

.letter-body p strong {
    color: #4c1d95;
}

.letter-footer {
    margin-top: 40px;
    text-align: right;
}

.signature-name {
    font-family: 'Great Vibes', cursive;
    font-size: 2.5rem;
    color: #6d28d9;
    margin-top: 10px;
}

/* --- Army Trivia Section --- */
.army-trivia-section {
    padding: 80px 0 120px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.trivia-box {
    background: rgba(18, 5, 43, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 20px;
    width: 100%;
    max-width: 600px;
    padding: 40px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
    text-align: center;
}

.trivia-box h3 {
    font-size: 1.3rem;
    margin-bottom: 24px;
    color: var(--white);
}

.trivia-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.trivia-opt {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(221, 214, 254, 0.2);
    color: var(--silver);
    padding: 14px 20px;
    border-radius: 12px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    transition: var(--transition-fast);
    text-align: left;
}

.trivia-opt:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: var(--bts-purple);
    transform: translateX(5px);
}

.trivia-opt.correct {
    background: rgba(52, 211, 153, 0.2) !important;
    border-color: #34d399 !important;
    color: #a7f3d0 !important;
}

.trivia-opt.wrong {
    background: rgba(239, 68, 68, 0.2) !important;
    border-color: #ef4444 !important;
    color: #fca5a5 !important;
}

.trivia-result {
    animation: fadeInUp 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.result-text {
    font-size: 1.1rem;
    color: var(--gold);
    font-weight: 600;
}

/* --- Memories Gallery Section --- */
.memories-section {
    padding: 100px 0;
}

.gallery-subtitle {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--gold);
    margin: 60px 0 20px 0;
    text-align: center;
    text-shadow: 0 0 10px var(--gold-glow);
    border-bottom: 1px dashed rgba(243, 198, 143, 0.2);
    padding-bottom: 12px;
    width: 100%;
}

.polaroid-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 35px 25px;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
}

.polaroid-card {
    background: #ffffff;
    padding: 12px 12px 16px 12px;
    border-radius: 4px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    cursor: pointer;
    border: 1px solid rgba(139, 92, 246, 0.1);
}

/* Staggered random tilt look */
.polaroid-card:nth-child(3n) {
    transform: rotate(2.5deg);
}
.polaroid-card:nth-child(3n+1) {
    transform: rotate(-3deg);
}
.polaroid-card:nth-child(3n+2) {
    transform: rotate(1.5deg);
}

.polaroid-card:hover {
    transform: scale(1.08) rotate(0deg) translateY(-10px);
    z-index: 10;
    box-shadow: 0 15px 35px rgba(139, 92, 246, 0.5), 0 0 15px rgba(139, 92, 246, 0.2);
}

.polaroid-image-wrapper {
    width: 100%;
    height: 240px;
    overflow: hidden;
    border-radius: 2px;
    background-color: #ffffff;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.polaroid-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.6s ease;
}

.polaroid-card:hover .polaroid-image-wrapper img {
    transform: scale(1.05);
}

.polaroid-caption {
    font-family: 'Great Vibes', cursive;
    font-size: 1.6rem;
    color: #3b0764;
    text-align: center;
    margin-top: 12px;
    font-weight: bold;
}

/* --- Footer --- */
.birthday-footer {
    border-top: 1px solid rgba(139, 92, 246, 0.2);
    padding: 40px 0;
    text-align: center;
    font-size: 0.9rem;
    color: var(--pastel-lavender);
    opacity: 0.7;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-sub {
    font-size: 0.75rem;
    opacity: 0.6;
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    .main-title {
        font-size: 2.5rem;
    }
    .nickname-title {
        font-size: 2rem;
        margin-top: -5px;
    }
    .section-title {
        font-size: 2rem;
    }
    .section-subtitle {
        margin-bottom: 30px;
        font-size: 0.95rem;
    }
    .hero-section {
        position: relative;
        padding-top: 20px;
        padding-bottom: 70px;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .bts-logo-anim {
        width: 50px;
        height: 50px;
        margin-bottom: 12px;
    }
    .hero-tagline {
        font-size: 0.95rem;
        margin-top: 15px;
        max-width: 290px;
        line-height: 1.4;
    }
    .scroll-indicator {
        position: absolute;
        bottom: 20px;
        margin-top: 0;
    }
    .cake-section, .memories-section, .personal-letter-section {
        padding: 60px 0;
    }
    .cake-container {
        transform: scale(0.85);
        margin-bottom: 20px;
    }
    .letter-paper {
        padding: 35px 20px;
    }
    .letter-body {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    .music-player-widget {
        position: absolute;
        top: 16px;
        right: 16px;
        left: auto;
        bottom: auto;
        gap: 8px;
        padding: 8px 12px;
    }
    .play-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    .track-info {
        max-width: 140px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 0.7rem;
    }
    .gallery-subtitle {
        font-size: 1.5rem;
        margin: 30px 0 15px 0;
        padding-bottom: 8px;
    }
    .polaroid-gallery {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 20px 12px;
    }
    .polaroid-card {
        padding: 8px 8px 12px 8px;
    }
    .polaroid-image-wrapper {
        height: 180px;
    }
    .polaroid-caption {
        font-size: 1.2rem;
        margin-top: 8px;
    }
    .grid-container {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 15px;
    }
    .wish-card {
        height: 330px;
    }
    .card-front, .card-back {
        padding: 15px;
    }
    .card-front h3 {
        font-size: 1.3rem;
        margin-top: 15px;
    }
    .card-back h3 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    .card-back .quote {
        font-size: 0.85rem;
        line-height: 1.4;
        margin-bottom: 10px;
    }
    .card-back .signature {
        font-size: 1.8rem;
    }
}
