
/* =========================================
   PROJECT HER - COMPLETE DESIGN SYSTEM
========================================= */


/* 1. COLOUR PALETTE */

:root {
    --burgundy: #321d27;
    --deep-wine: #1d0d14;
    --wine: #542432;
    --rose: #bd7888;
    --soft-pink: #e8b5bc;
    --gold: #d6b477;
    --cream: #fff0e5;
    --muted: #d9aab4;
}


/* 2. RESET */

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


html {
    scroll-behavior: smooth;
}


body {
    min-height: 100vh;
    background: var(--deep-wine);
    color: var(--cream);
    font-family: Georgia, serif;
}


/* 3. GENERAL ELEMENTS */

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 4px;
}


.eyebrow {
    color: var(--gold);
    font-family: Arial, sans-serif;
    font-size: 10px;
    letter-spacing: 3px;
    margin-bottom: 18px;
}


.hidden {
    display: none !important;
}


/* =========================================
   4. STORYBOOK INTRODUCTION
========================================= */

.welcome-screen {
    min-height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;

    position: relative;
    overflow: hidden;

    padding: 30px 20px;

    background:
        radial-gradient(
            circle at 50% 40%,
            #512332 0%,
            #321520 45%,
            #16080e 100%
        );
}


.stars {
    position: absolute;
    top: 12%;
    width: 100%;

    text-align: center;
    color: var(--gold);
    font-size: 28px;

    animation: twinkle 3s ease-in-out infinite alternate;
}


.storybook {
    position: relative;
    z-index: 2;

    max-width: 600px;
    width: 100%;

    padding: 45px 25px;

    text-align: center;

    background: rgba(255,255,255,0.035);
    border: 1px solid rgba(232,181,188,0.25);

    border-radius: 25px;

    box-shadow: 0 0 45px rgba(130,40,65,0.15);

    animation: appear 1.5s ease forwards;
}


.storybook h1 {
    font-size: clamp(35px, 7vw, 55px);
    font-weight: normal;
    font-style: italic;
    color: var(--soft-pink);

    margin-bottom: 20px;
}


.intro {
    max-width: 420px;
    margin: 0 auto;

    color: var(--muted);
    font-family: Arial, sans-serif;
    font-size: 15px;
    line-height: 1.8;
}


/* Storybook illustration */

.illustration {
    position: relative;
    height: 220px;
    margin-top: 40px;

    display: flex;
    justify-content: center;
    align-items: center;
}


.moon {
    position: absolute;
    top: 0;
    right: 18%;

    width: 65px;
    height: 65px;

    background: var(--gold);
    border-radius: 50%;

    box-shadow: 0 0 25px rgba(214,180,119,0.5);

    animation: float 4s ease-in-out infinite;
}


.moon::after {
    content: "";
    position: absolute;

    width: 58px;
    height: 58px;

    top: -10px;
    left: 17px;

    background: #321520;
    border-radius: 50%;
}


.castle {
    position: absolute;
    bottom: 0;

    width: 170px;
    height: 95px;

    background: linear-gradient(
        to bottom,
        #9b5369,
        #542432
    );

    border-radius: 8px 8px 0 0;
}


.castle::before {
    content: "";
    position: absolute;

    width: 45px;
    height: 130px;

    left: -25px;
    bottom: 0;

    background: linear-gradient(
        to bottom,
        #bd7888,
        #542432
    );

    border-radius: 5px 5px 0 0;

    box-shadow: 175px 0 0 #754050;
}


.castle::after {
    content: "";
    position: absolute;

    width: 25px;
    height: 40px;

    left: 73px;
    bottom: 0;

    background: var(--deep-wine);

    border-radius: 20px 20px 0 0;
}


.small-note {
    margin-top: 22px;
    color: var(--muted);
    font-size: 12px;
    font-style: italic;
}


/* =========================================
   5. BUTTONS
========================================= */

.enter-button,
.primary-button {
    display: inline-block;

    padding: 13px 26px;

    background: linear-gradient(
        135deg,
        var(--rose),
        var(--wine)
    );

    color: var(--cream);

    border: 1px solid var(--gold);
    border-radius: 50px;

    font-size: 14px;

    transition: 0.3s ease;
}


.enter-button {
    margin-top: 30px;
}


.enter-button:hover,
.primary-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 25px rgba(214,180,119,0.3);
}


.outline-button {
    padding: 11px 22px;

    color: var(--soft-pink);
    background: transparent;

    border: 1px solid var(--rose);
    border-radius: 30px;

    transition: 0.3s ease;
}


.outline-button:hover {
    background: var(--wine);
}


.back-button {
    display: block;
    margin: 45px auto 10px;

    background: none;
    border: none;

    color: var(--soft-pink);
    font-size: 14px;
}


/* =========================================
   6. MAIN WEBSITE
========================================= */

.website {
    display: none;
    min-height: 100vh;

    background:
        radial-gradient(
            circle at 50% 0%,
            #44202e,
            #1d0d14 70%
        );
}


/* =========================================
   7. NAVIGATION
========================================= */

.navbar {
    position: sticky;
    top: 0;
    z-index: 20;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 20px 7%;

    background: rgba(29,13,20,0.94);
    backdrop-filter: blur(12px);

    border-bottom: 1px solid rgba(232,181,188,0.15);
}


.logo {
    color: var(--cream);
    text-decoration: none;
    font-size: 20px;
    font-style: italic;
}


.logo span {
    color: var(--rose);
}


.nav-links {
    display: flex;
    gap: 22px;
}


.nav-links button {
    color: var(--muted);
    background: none;
    border: none;

    font-size: 12px;

    transition: color 0.3s ease;
}


.nav-links button:hover {
    color: var(--gold);
}


.menu-toggle {
    display: none;
    color: var(--cream);
    background: none;
    border: none;
    font-size: 24px;
}


/* =========================================
   8. PAGE SYSTEM
========================================= */

.page {
    display: none;

    min-height: 100vh;

    padding: 65px 7% 40px;

    animation: appear 0.6s ease;
}


.page.active {
    display: block;
}


.page-header {
    max-width: 700px;
    margin: 0 auto 55px;

    text-align: center;
}


.page-header h1 {
    font-size: clamp(35px, 6vw, 55px);
    font-weight: normal;
    font-style: italic;
    color: var(--soft-pink);

    margin-bottom: 18px;
}


.page-header p:last-child {
    color: var(--muted);
    font-family: Arial, sans-serif;
    font-size: 14px;
    line-height: 1.8;
}


/* =========================================
   9. HOMEPAGE
========================================= */

.home-page {
    padding-top: 50px;
}


.hero {
    position: relative;
    text-align: center;

    padding: 55px 20px 25px;
}


.hero-stars {
    color: var(--gold);
    font-size: 22px;
    margin-bottom: 30px;

    animation: twinkle 3s infinite alternate;
}


.hero h1 {
    color: var(--soft-pink);
    font-size: clamp(35px, 6vw, 55px);
    font-style: italic;
    font-weight: normal;

    margin-bottom: 20px;
}


.hero-description {
    max-width: 450px;
    margin: auto;

    color: var(--muted);
    font-family: Arial, sans-serif;
    line-height: 1.8;
}


/* Mascot */

.mascot {
    position: relative;

    width: 130px;
    height: 130px;

    display: flex;
    justify-content: center;
    align-items: center;

    margin: 35px auto 10px;

    background: linear-gradient(
        135deg,
        #bd7888,
        #542432
    );

    border: 2px solid var(--gold);
    border-radius: 45% 45% 40% 40%;

    box-shadow: 0 0 35px rgba(189,120,136,0.25);

    animation: float 4s ease-in-out infinite;
}


.mascot-face {
    font-size: 65px;
}


.mascot-sparkle,
.mascot-heart {
    position: absolute;
    color: var(--gold);
    font-size: 24px;
}


.mascot-sparkle {
    top: 0;
    right: -15px;
}


.mascot-heart {
    bottom: 0;
    left: -15px;
}


.mascot-message {
    color: var(--soft-pink);
    font-style: italic;
    font-size: 14px;
}


/* Daily reminder */

.daily-card {
    max-width: 750px;
    margin: 45px auto 75px;

    padding: 25px;

    display: flex;
    align-items: center;
    gap: 22px;

    background: rgba(189,120,136,0.08);

    border: 1px solid rgba(214,180,119,0.25);
    border-radius: 20px;
}


.daily-icon {
    color: var(--gold);
    font-size: 40px;
}


.daily-card h2 {
    color: var(--soft-pink);
    font-size: 23px;
    font-weight: normal;
    margin-bottom: 8px;
}


.daily-card p:last-child {
    color: var(--muted);
    font-size: 13px;
}


/* Section headings */

.section-heading {
    text-align: center;
    margin-bottom: 35px;
}


.section-heading h2 {
    color: var(--soft-pink);
    font-weight: normal;
    font-size: 28px;
}


/* Four destination cards */

.destination-grid {
    max-width: 950px;
    margin: auto;

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}


.destination-card {
    position: relative;

    min-height: 230px;
    padding: 30px;

    text-align: left;

    border: 1px solid rgba(232,181,188,0.2);
    border-radius: 25px;

    color: var(--cream);

    transition: transform 0.35s ease,
                box-shadow 0.35s ease;
}


.destination-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}


.memories-card {
    background: linear-gradient(135deg,#603044,#321d27);
}


.words-card {
    background: linear-gradient(135deg,#493047,#281522);
}


.family-card {
    background: linear-gradient(135deg,#69394b,#321d27);
}


.about-card {
    background: linear-gradient(135deg,#573d32,#321d27);
}


.sticker {
    display: block;

    font-size: 43px;
    margin-bottom: 22px;

    filter: drop-shadow(0 4px 5px rgba(0,0,0,0.25));

    transition: transform 0.3s ease;
}


.destination-card:hover .sticker {
    transform: rotate(-10deg) scale(1.15);
}


.destination-card h3 {
    color: var(--soft-pink);
    font-size: 22px;
    font-weight: normal;
    margin-bottom: 10px;
}


.destination-card p {
    color: var(--muted);
    font-family: Arial, sans-serif;
    font-size: 13px;
}


.card-arrow {
    display: block;
    margin-top: 22px;

    color: var(--gold);
    font-size: 13px;
}


footer {
    text-align: center;
    padding: 65px 0 20px;

    color: var(--muted);
    font-size: 12px;
}


/* =========================================
   10. MEMORIES PAGE
========================================= */

.featured-memory {
    max-width: 950px;
    margin: auto;

    display: grid;
    grid-template-columns: 1fr 1fr;

    overflow: hidden;

    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(232,181,188,0.2);

    border-radius: 25px;
}


.birthday-placeholder {
    min-height: 320px;

    display: flex;
    flex-direction: column;

    justify-content: center;
    align-items: center;

    background:
        radial-gradient(circle,#9b5369,#321520);

    color: var(--cream);
}


.birthday-placeholder span {
    font-size: 75px;
}


.birthday-placeholder p {
    margin-top: 15px;
    font-style: italic;
}


.featured-content {
    padding: 40px;

    display: flex;
    flex-direction: column;
    justify-content: center;
}


.memory-label {
    color: var(--gold);
    font-size: 10px;
    letter-spacing: 3px;
}


.featured-content h2 {
    color: var(--soft-pink);
    font-size: 29px;
    font-weight: normal;

    margin: 15px 0;
}


.featured-content p {
    color: var(--muted);
    font-family: Arial, sans-serif;
    font-size: 13px;
    line-height: 1.8;

    margin-bottom: 18px;
}


.featured-content .outline-button {
    align-self: flex-start;
}


.memory-date {
    color: var(--gold) !important;
}


.memory-toolbar {
    max-width: 950px;
    margin: 55px auto 30px;

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}


.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}


.filter-btn {
    padding: 9px 16px;

    color: var(--muted);
    background: transparent;

    border: 1px solid rgba(189,120,136,0.3);
    border-radius: 30px;

    font-size: 12px;
}


.filter-btn.selected,
.filter-btn:hover {
    background: var(--wine);
    color: var(--cream);
}


.memory-grid {
    max-width: 950px;
    margin: auto;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}


.memory-card {
    overflow: hidden;

    background: rgba(255,255,255,0.04);

    border: 1px solid rgba(232,181,188,0.17);
    border-radius: 18px;

    transition: transform 0.3s ease;
}


.memory-card:hover {
    transform: translateY(-6px);
}


.memory-photo {
    height: 180px;

    display: flex;
    justify-content: center;
    align-items: center;

    font-size: 65px;
}


.photo-one {
    background: linear-gradient(135deg,#754050,#321d27);
}


.photo-two {
    background: linear-gradient(135deg,#8a5360,#442033);
}


.photo-three {
    background: linear-gradient(135deg,#614153,#281522);
}


.memory-info {
    padding: 20px;
}


.memory-info span {
    color: var(--gold);
    font-size: 9px;
    letter-spacing: 2px;
}


.memory-info h3 {
    color: var(--soft-pink);
    font-size: 19px;
    font-weight: normal;
    margin: 10px 0;
}


.memory-info p,
.memory-info small {
    color: var(--muted);
    font-family: Arial, sans-serif;
    font-size: 12px;
    line-height: 1.7;
}


.memory-info small {
    display: block;
    margin-top: 15px;
}


/* Memory form */

.memory-form {
    max-width: 600px;
    margin: 45px auto;

    padding: 30px;

    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(214,180,119,0.3);

    border-radius: 20px;
}


.memory-form h2 {
    color: var(--soft-pink);
    font-weight: normal;
    margin-bottom: 25px;
}


.memory-form form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}


.memory-form label {
    color: var(--gold);
    font-size: 12px;
}


.memory-form input,
.memory-form textarea,
.memory-form select {
    width: 100%;
    padding: 12px;

    color: var(--cream);
    background: var(--deep-wine);

    border: 1px solid rgba(189,120,136,0.3);
    border-radius: 10px;
}


.memory-form input[type="file"] {
    font-size: 12px;
}


.memory-form option {
    background: var(--deep-wine);
}


.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 15px;
    flex-wrap: wrap;
}


/* =========================================
   11. AFFIRMATIONS PAGE
========================================= */

.verse-feature {
    max-width: 800px;
    margin: auto auto 75px;

    padding: 60px 35px;

    text-align: center;

    background:
        radial-gradient(
            circle at top,
            rgba(189,120,136,0.18),
            transparent 65%
        ),
        linear-gradient(135deg,#69394b,#321d27);

    border: 1px solid rgba(214,180,119,0.4);
    border-radius: 25px;

    box-shadow: 0 15px 40px rgba(0,0,0,0.2);

    animation: verseAppear 1s ease both;
}

/* Save verse button */

#saveVerseButton {
    margin-top: 15px;
    padding: 12px 25px;

    background: transparent;

    border: 1px solid var(--gold);
    border-radius: 30px;

    color: var(--cream);

    font-size: 13px;
    letter-spacing: 1px;

    cursor: pointer;

    transition: all 0.3s ease;
}


/* Hover effect */

#saveVerseButton:hover {
    background: var(--gold);
    color: var(--deep-wine);

    transform: translateY(-3px);
}


.verse-feature span {
    color: var(--gold);
    font-size: 10px;
    letter-spacing: 3px;
}

.verse-date {
    margin-top: 15px;
    color: var(--muted) !important;
    font-family: Arial, sans-serif;
    font-size: 11px !important;
    letter-spacing: 1px;
}


.verse-feature h2 {
    max-width: 650px;
    margin: 30px auto;

    color: var(--cream);
    font-size: clamp(22px,4vw,32px);
    line-height: 1.6;
    font-weight: normal;
    font-style: italic;
}


.verse-feature p {
    color: var(--gold);
    font-size: 14px;
    line-height: 1.8;
}


/* Decorative divider */

.verse-divider {
    color: var(--gold);
    font-size: 18px;
    margin: 20px 0;
    opacity: 0.8;
}


/* Gentle entrance animation */

@keyframes verseAppear {

    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


.affirmation-grid {
    max-width: 950px;
    margin: auto;

    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 22px;
}


.affirmation-card {
    padding: 35px;

    background: rgba(255,255,255,0.04);

    border: 1px solid rgba(232,181,188,0.2);
    border-radius: 20px;

    transition: transform 0.3s ease;
}


.affirmation-card:hover {
    transform: translateY(-5px);
}


.affirmation-card span {
    font-size: 30px;
    color: var(--gold);
}


.affirmation-card h3 {
    margin: 18px 0 12px;

    color: var(--soft-pink);
    font-size: 22px;
    font-weight: normal;
}


.affirmation-card p {
    color: var(--muted);
    font-family: Arial, sans-serif;
    font-size: 13px;
    line-height: 1.8;
}


.personal-letter {
    max-width: 750px;
    margin: 70px auto 20px;

    padding: 45px 30px;

    text-align: center;

    background: rgba(189,120,136,0.08);

    border: 1px solid rgba(214,180,119,0.25);
    border-radius: 20px;
}


.personal-letter h2 {
    color: var(--soft-pink);
    font-weight: normal;
    margin-bottom: 20px;
}


.personal-letter p:not(.eyebrow) {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.9;
}


.personal-letter span {
    display: block;
    margin-top: 25px;
    color: var(--gold);
    font-style: italic;
}


/* =========================================
   12. FAMILY MESSAGES
========================================= */

.family-intro {
    max-width: 700px;
    margin: auto auto 55px;

    text-align: center;
}


.family-icon {
    color: var(--rose);
    font-size: 55px;
}


.family-intro h2 {
    color: var(--soft-pink);
    font-weight: normal;
    margin: 20px 0;
}


.family-intro p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
}


.video-grid {
    max-width: 900px;
    margin: auto;

    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 25px;
}


.video-card {
    overflow: hidden;

    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(232,181,188,0.2);

    border-radius: 20px;
}


.video-card video {
    display: block;

    width: 100%;
    aspect-ratio: 16 / 9;

    object-fit: cover;

    background: var(--deep-wine);
}



.video-placeholder {
    min-height: 220px;

    display: flex;
    flex-direction: column;

    justify-content: center;
    align-items: center;

    background: linear-gradient(135deg,#754050,#321520);
}


.video-placeholder span {
    font-size: 60px;
}


.video-placeholder p {
    color: var(--cream);
    margin-top: 15px;
}


.video-info {
    padding: 20px;
}


.video-info h3 {
    color: var(--soft-pink);
    font-weight: normal;
}


.video-info p {
    margin-top: 10px;
    color: var(--muted);
    font-size: 13px;
}


.upload-panel {
    max-width: 700px;
    margin: 55px auto;

    padding: 35px;

    text-align: center;

    background: rgba(189,120,136,0.07);
    border: 1px solid rgba(214,180,119,0.25);

    border-radius: 20px;
}


.upload-panel h2 {
    color: var(--soft-pink);
    font-weight: normal;
    margin-bottom: 15px;
}


.upload-panel p {
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 25px;
}


#videoPreview {
    margin-top: 25px;
}


#videoPreview video {
    width: 100%;
    max-width: 500px;
    border-radius: 15px;
}


/* =========================================
   13. ABOUT YOU
========================================= */

.about-hero {
    max-width: 750px;
    margin: auto auto 60px;

    padding: 45px 25px;

    text-align: center;

    background: linear-gradient(135deg,#603044,#321d27);

    border: 1px solid rgba(214,180,119,0.25);
    border-radius: 25px;
}


.about-gift {
    display: block;
    font-size: 75px;
    animation: float 4s infinite ease-in-out;
}


.about-hero h2 {
    margin: 20px 0;

    color: var(--soft-pink);
    font-weight: normal;
    font-size: 29px;
}


.about-hero p {
    max-width: 450px;
    margin: auto;

    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
}


.about-grid {
    max-width: 900px;
    margin: auto;

    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 22px;
}


.about-card {
    padding: 30px;

    text-align: center;

    background: rgba(255,255,255,0.04);

    border: 1px solid rgba(232,181,188,0.2);
    border-radius: 20px;
}


.about-card span {
    font-size: 40px;
}


.about-card h3 {
    margin: 15px 0 10px;

    color: var(--soft-pink);
    font-weight: normal;
}


.about-card p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}


/* =========================================
   14. MODAL
========================================= */

.modal {
    position: fixed;
    inset: 0;
    z-index: 50;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 20px;

    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(8px);
}


.modal-content {
    position: relative;

    max-width: 500px;
    width: 100%;

    padding: 45px 30px;

    text-align: center;

    background: #321d27;

    border: 1px solid var(--gold);
    border-radius: 25px;
}


.modal-content h2 {
    color: var(--soft-pink);
    font-weight: normal;
    margin-bottom: 20px;
}


.modal-content p {
    color: var(--muted);
    line-height: 1.8;
    font-size: 13px;
}


.birthday-detail {
    margin: 30px;
    font-size: 45px;
}


.close-modal {
    position: absolute;
    top: 12px;
    right: 18px;

    color: var(--cream);
    background: none;
    border: none;

    font-size: 28px;
}


/* =========================================
   15. ANIMATIONS
========================================= */

@keyframes twinkle {
    from {
        opacity: 0.35;
        transform: translateY(0);
    }

    to {
        opacity: 1;
        transform: translateY(-8px);
    }
}


@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}


@keyframes appear {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* =========================================
   16. MOBILE RESPONSIVENESS
========================================= */

@media (max-width: 800px) {

    .navbar {
        padding: 17px 5%;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;

        position: absolute;
        top: 100%;
        left: 0;

        width: 100%;
        padding: 25px;

        flex-direction: column;
        align-items: center;

        background: var(--deep-wine);

        border-bottom: 1px solid rgba(232,181,188,0.2);
    }

    .nav-links.open {
        display: flex;
    }

    .page {
        padding: 45px 5%;
    }

    .memory-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .memory-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

}


@media (max-width: 600px) {

    .storybook {
        padding: 35px 18px;
    }

    .storybook h1 {
        font-size: 36px;
    }

    .illustration {
        height: 190px;
    }

    .destination-grid,
    .affirmation-grid,
    .about-grid,
    .video-grid {
        grid-template-columns: 1fr;
    }

    .destination-card {
        min-height: 200px;
    }

    .featured-memory {
        grid-template-columns: 1fr;
    }

    .birthday-placeholder {
        min-height: 220px;
    }

    .featured-content {
        padding: 28px;
    }

    .memory-grid {
        grid-template-columns: 1fr;
    }

    .daily-card {
        align-items: flex-start;
        padding: 20px;
    }

    .daily-icon {
        font-size: 30px;
    }

    .filter-buttons {
        gap: 7px;
    }

    .filter-btn {
        padding: 8px 12px;
    }

    .memory-form {
        padding: 22px;
    }

}


/* Respect reduced-motion preferences */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }

}


/* =========================================
   POLAROID MEMORY WALL
========================================= */

/* Individual Polaroid */

.memory-card {
    background: #fff0e5;
    padding: 12px 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;

    box-shadow: 0 8px 20px rgba(0,0,0,0.3);

    transition: transform 0.3s ease,
                box-shadow 0.3s ease;
}

/* Slightly rotate each photograph */

.memory-card:nth-child(3n + 1) {
    transform: rotate(-2deg);
}

.memory-card:nth-child(3n + 2) {
    transform: rotate(2deg);
}

.memory-card:nth-child(3n) {
    transform: rotate(-1deg);
}

/* Hover effect */

.memory-card:hover {
    transform: translateY(-8px) rotate(0deg) scale(1.03);
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
    z-index: 2;
}

/* Photograph inside the Polaroid */

.memory-photo {
    height: 220px;
    overflow: hidden;
    background: #542432;
}

.memory-photo img,
.memory-photo video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Handwritten-style caption */

.memory-info {
    padding: 15px 8px 5px;
    text-align: center;
}

.memory-info span {
    color: #9b5369;
}

.memory-info h3 {
    color: #321d27;
    font-family: Georgia, serif;
    font-style: italic;
}

.memory-info p,
.memory-info small {
    color: #754050;
}


/* =========================================
   OPEN MEMORY VIEWER
========================================= */

.memory-viewer-content {
    position: relative;

    max-width: 650px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;

    padding: 40px 30px;

    text-align: center;

    background: #321d27;

    border: 1px solid var(--gold);
    border-radius: 20px;
}

.memory-viewer-content h2 {
    color: var(--soft-pink);
    font-weight: normal;
    margin-bottom: 12px;
}

.memory-viewer-content p {
    color: var(--muted);
    line-height: 1.8;
    margin-top: 12px;
}

/* Large photograph */

.viewer-photo-area {
    height: 350px;
    margin: 25px auto;

    display: flex;
    justify-content: center;
    align-items: center;

    background: #fff0e5;
    color: #542432;

    font-size: 60px;
    overflow: hidden;
}

.viewer-photo-area img,
.viewer-photo-area video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Previous and next buttons */

.viewer-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.viewer-controls span {
    color: var(--gold);
    font-size: 13px;
}

/* Mobile adjustments */

@media (max-width: 600px) {

    .memory-viewer-content {
        padding: 35px 18px;
    }

    .viewer-photo-area {
        height: 260px;
    }

}


/* FAMILY VIDEO CONTRIBUTOR INPUT */

#familyAuthor {
    display: block;

    width: 100%;
    max-width: 350px;

    margin: 10px 0 20px;
    padding: 12px 15px;

    background: rgba(255, 240, 229, 0.06);

    border: 1px solid rgba(232, 181, 188, 0.35);
    border-radius: 10px;

    color: var(--cream);
    font-family: inherit;
    font-size: 14px;

    outline: none;
    transition: border-color 0.3s ease;
}

#familyAuthor:focus {
    border-color: var(--rose);
}

#familyAuthor::placeholder {
    color: rgba(255, 240, 229, 0.45);
}
/* =========================================
   FAVOURITE VERSES
========================================= */

.favourite-verses {
    max-width: 800px;
    margin: 0 auto 75px;
    padding: 45px 30px;

    text-align: center;

    background: rgba(84,36,50,0.35);

    border: 1px solid rgba(214,180,119,0.2);
    border-radius: 25px;
}

.favourite-verses .section-label {
    color: var(--gold);
    font-size: 10px;
    letter-spacing: 3px;
}

.favourite-verses h2 {
    margin: 20px 0;

    color: var(--cream);
    font-size: 27px;
    font-weight: normal;
}

.favourite-intro,
.empty-favourites {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
}

/* Individual saved verse cards */

.saved-verse-card {
    max-width: 650px;
    margin: 25px auto;
    padding: 25px;

    background: linear-gradient(
        135deg,
        rgba(105,57,75,0.55),
        rgba(50,29,39,0.8)
    );

    border: 1px solid rgba(214,180,119,0.25);
    border-radius: 18px;

    text-align: center;

    transition: transform 0.3s ease;
}

.saved-verse-card:hover {
    transform: translateY(-4px);
}

.saved-verse-card p {
    color: var(--cream);
    font-size: 16px;
    font-style: italic;
    line-height: 1.8;
}

.saved-verse-card span {
    display: block;
    margin-top: 12px;

    color: var(--gold);
    font-size: 12px;
    letter-spacing: 1px;
}


/* Remove verse button */

.remove-verse-button {
    margin-top: 18px;
    padding: 8px 18px;

    background: transparent;
    border: 1px solid rgba(189,120,136,0.6);
    border-radius: 20px;

    color: var(--soft-pink);
    font-size: 11px;

    cursor: pointer;
    transition: all 0.3s ease;
}

.remove-verse-button:hover {
    background: var(--rose);
    color: var(--deep-wine);
}


/* =========================================
   VINTAGE POLAROID PORTRAIT
========================================= */

.polaroid {
    position: relative;

    width: 260px;
    margin: 45px auto;

    padding: 12px 12px 25px;

    background: #8b6260;

    border-radius: 3px;

    box-shadow:
        0 15px 35px rgba(0,0,0,0.4),
        0 0 20px rgba(214,180,119,0.12);

    transform: rotate(-4deg);

    transition: transform 0.4s ease,
                box-shadow 0.4s ease;

    animation: polaroidAppear 1s ease both;
}


/* Photograph */

.polaroid-photo {
    width: 100%;
    height: 290px;

    overflow: hidden;

    background: var(--deep-wine);
   
    border: 3px solid #321d27;
}

.polaroid-photo img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center;

    transition: transform 0.5s ease;
}


/* Hover effect */

.polaroid:hover {
    transform: rotate(0deg) translateY(-6px);

    box-shadow:
        0 22px 45px rgba(0,0,0,0.5);
}

.polaroid:hover img {
    transform: scale(1.04);
}


/* Handwritten caption */

.polaroid-caption {
    margin: 18px 0 0;

    text-align: center;

    color: #542432;

    font-family: cursive;
    font-size: 19px;
    font-style: italic;
}


/* Decorative details */

.polaroid-sparkle {
    position: absolute;

    top: -22px;
    right: -22px;

    color: var(--gold);
    font-size: 27px;
}

.polaroid-heart {
    position: absolute;

    bottom: 48px;
    left: -22px;

    color: var(--rose);
    font-size: 25px;
}


/* Entrance animation */

@keyframes polaroidAppear {
    from {
        opacity: 0;
        transform: translateY(20px) rotate(-8deg);
    }

    to {
        opacity: 1;
        transform: translateY(0) rotate(-4deg);
    }
}


/* Mobile sizing */

@media (max-width: 480px) {
    .polaroid {
        width: 230px;
    }

    .polaroid-photo {
        height: 260px;
    }
}
/* DELETE MEMORY BUTTON */

.delete-memory-button {
    display: block;
    margin: 25px auto 10px;
    padding: 12px 22px;

    background: transparent;
    border: 1px solid #bd7888;
    border-radius: 25px;

    color: #e8b5bc;
    font-size: 13px;

    cursor: pointer;
    transition: 0.3s ease;
}

.delete-memory-button:hover {
    background: #542432;
    border-color: #e8b5bc;
}

/* =========================================
   PRIVATE LOGIN SCREEN
========================================= */

.login-screen {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 20px;
    background: radial-gradient(
        circle at top,
        #512332,
        #321520,
        #16080e
    );
}

.login-container {
    width: 100%;
    max-width: 420px;
    padding: 45px 35px;
    text-align: center;
    background: rgba(50, 29, 39, 0.85);
    border: 1px solid rgba(214, 180, 119, 0.3);
    border-radius: 25px;
}

.login-icon {
    color: var(--gold);
    font-size: 42px;
    margin-bottom: 15px;
}

.login-container h1 {
    color: var(--soft-pink);
    margin: 15px 0;
}

.login-container > p {
    color: var(--muted);
}

#loginForm {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

#loginForm input {
    padding: 15px;
    border: 1px solid rgba(214, 180, 119, 0.35);
    border-radius: 12px;
    background: #1d0d14;
    color: var(--cream);
    font-size: 14px;
    outline: none;
}

#loginForm input:focus {
    border-color: var(--gold);
}

#loginForm input::placeholder {
    color: #b995a0;
}

.login-error {
    color: #ff9b9b;
    font-size: 13px;
    margin-top: 15px;
}


/* =========================================
   FAMILY CONTRIBUTOR PAGE
========================================= */

.family-upload-screen {
    min-height: 100vh;
    padding: 35px 20px;
    background:
        radial-gradient(ellipse at top, #69394b 0%, transparent 55%),
        linear-gradient(145deg, #321d27, #16080e);
    overflow-y: auto;
}

.family-upload-container {
    width: 100%;
    max-width: 510px;
    padding: 55px 38px;
    border: 1px solid rgba(214, 180, 119, 0.4);
    border-radius: 28px;
    background: rgba(50, 29, 39, 0.92);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.3);
    text-align: center;
    animation: familyCardAppear 0.8s ease;
}

.family-decoration {
    color: var(--gold);
    font-size: 24px;
    letter-spacing: 12px;
    margin-bottom: 22px;
}

.family-upload-container .login-icon {
    color: var(--gold);
    font-size: 48px;
    margin-bottom: 20px;
}

.family-upload-container h1 {
    color: var(--soft-pink);
    font-size: clamp(30px, 6vw, 42px);
    line-height: 1.2;
    margin: 18px 0;
}

.family-upload-container > p {
    color: var(--soft-pink);
    line-height: 1.8;
    opacity: 0.85;
}

.family-upload-container form {
    margin-top: 30px;
}

.family-upload-container input:not([type="file"]),
.family-upload-container textarea {
    display: block;
    width: 100%;
    padding: 15px 17px;
    margin: 14px 0;
    border: 1px solid rgba(214, 180, 119, 0.3);
    border-radius: 12px;
    background: #fff0e5;
    color: #321d27;
    font-family: inherit;
    font-size: 15px;
    outline: none;
}

.family-upload-container input:focus,
.family-upload-container textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(214, 180, 119, 0.15);
}

.family-upload-container textarea {
    min-height: 110px;
    resize: vertical;
}

.family-upload-container label {
    display: block;
    margin: 20px 0 10px;
    color: var(--soft-pink);
}

.family-upload-container input[type="file"] {
    display: block;
    width: 100%;
    padding: 15px;
    margin: 12px 0 22px;
    border: 1px dashed var(--gold);
    border-radius: 12px;
    color: var(--soft-pink);
    background: rgba(255, 255, 255, 0.04);
}

.family-upload-container .enter-button {
    width: 100%;
    margin-top: 15px;
    padding: 16px;
    border: 1px solid var(--gold);
    border-radius: 30px;
    background: linear-gradient(135deg, #bd7888, #69394b);
    color: #fff0e5;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s ease;
}

.family-upload-container .enter-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(189, 120, 136, 0.25);
}

#contributionStatus {
    min-height: 25px;
    margin-top: 22px;
    color: var(--gold);
    font-size: 14px;
}

@keyframes familyCardAppear {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 500px) {
    .family-upload-container {
        padding: 40px 23px;
    }
}
.memory-photo img,
.memory-photo video {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;
} 


/* =========================================
   DORCAS' BIRTHDAY SURPRISE
   COLOURS
========================================= */

:root {
    --surprise-burgundy: #431923;
    --surprise-dark: #2B0D17;
    --surprise-gold: #D6B477;
}


/* =========================================
   1. SURPRISE CARD
========================================= */

.birthday-surprise {
    width: calc(100% - 40px);
    max-width: 650px;

    margin: 50px auto;
    padding: 55px 25px;

    text-align: center;

    background: linear-gradient(
        145deg,
        var(--surprise-burgundy),
        var(--surprise-dark)
    );

    border: 1px solid rgba(214,180,119,0.35);
    border-radius: 24px;

    box-shadow:
        0 15px 45px rgba(0,0,0,0.3);

    box-sizing: border-box;
}


/* ENVELOPE */

.surprise-envelope {
    width: 130px;
    height: 90px;

    margin: 0 auto 35px;

    background: #4A1929;
    border-radius: 8px;

    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow:
        0 8px 25px rgba(0,0,0,0.3);

    animation:
        envelopeFloat 3s ease-in-out infinite;
}

.surprise-envelope::before {
    content: "";

    position: absolute;
    inset: 0;

    background: #602638;

    clip-path: polygon(
        0 0,
        100% 0,
        50% 60%
    );
}

.envelope-heart {
    position: relative;
    z-index: 2;

    color: var(--surprise-gold);
    font-size: 35px;
}


/* CARD TEXT */

.surprise-eyebrow {
    color: var(--surprise-gold);

    font-size: 10px;
    letter-spacing: 3px;
}

.birthday-surprise h2 {
    margin: 18px 0;

    color: var(--surprise-gold);

    font-family: Georgia, serif;
    font-size: 28px;
    font-weight: normal;
}


/* OPEN BUTTON */

.surprise-open-btn {
    margin-top: 30px;
    padding: 13px 38px;

    background: transparent;
    color: var(--surprise-gold);

    border: 1px solid var(--surprise-gold);
    border-radius: 30px;

    font-family: Georgia, serif;
    font-size: 14px;

    cursor: pointer;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}

.surprise-open-btn:hover {
    background: var(--surprise-gold);
    color: var(--surprise-dark);

    transform: translateY(-3px);
}


/* ENVELOPE FLOAT */

@keyframes envelopeFloat {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}


/* =========================================
   2. LETTER OVERLAY
========================================= */

#birthdayLetter {
    position: fixed !important;

    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    width: 100%;
    height: 100vh;
    height: 100dvh;

    z-index: 99999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;

    background: rgba(12,4,8,0.94);

    box-sizing: border-box;
    overflow-y: auto;
}


/* HIDE LETTER UNTIL OPENED */

#birthdayLetter.hidden {
    display: none !important;
}


/* LETTER CARD */

#birthdayLetter .letter-paper {
    position: relative;

    width: 100%;
    max-width: 460px;

    margin: auto;
    padding: 55px 30px;

    box-sizing: border-box;
    text-align: center;

    background: linear-gradient(
        145deg,
        #431923,
        #2B0D17
    );

    border: 1px solid rgba(214,180,119,0.5);
    border-radius: 22px;

    box-shadow:
        0 25px 70px rgba(0,0,0,0.5);

    animation: letterReveal 0.6s ease both;
}


/* CLOSE BUTTON */

#birthdayLetter .letter-close {
    position: absolute;

    top: 15px;
    right: 20px;

    background: transparent;
    border: none;

    color: var(--surprise-gold);
    font-size: 28px;

    cursor: pointer;
}


/* DECORATION */

#birthdayLetter .letter-decoration {
    color: var(--surprise-gold);
    font-size: 22px;

    letter-spacing: 12px;
    margin-bottom: 30px;
}


/* LETTER TEXT */

#birthdayLetter .letter-eyebrow {
    color: var(--surprise-gold);

    font-size: 11px;
    letter-spacing: 3px;
}

#birthdayLetter .letter-paper h2 {
    margin: 25px 0;

    color: var(--surprise-gold);

    font-family: Georgia, serif;
    font-size: 32px;
    font-weight: normal;
}

#birthdayLetter .letter-message {
    color: var(--surprise-gold);

    font-family: Georgia, serif;
    font-size: 15px;
    line-height: 2;
}

#birthdayLetter .letter-divider {
    margin-top: 25px;

    color: var(--surprise-gold);
    font-size: 18px;
}


/* WATCH BUTTON */

#birthdayLetter .letter-watch-btn {
    margin-top: 30px;

    padding: 14px 28px;

    background: transparent;
    color: var(--surprise-gold);

    border: 1px solid var(--surprise-gold);
    border-radius: 30px;

    font-family: Georgia, serif;
    font-size: 13px;

    cursor: pointer;

    transition:
        background 0.3s ease,
        color 0.3s ease;
}

#birthdayLetter .letter-watch-btn:hover {
    background: var(--surprise-gold);
    color: var(--surprise-dark);
}


/* LETTER OPENING ANIMATION */

@keyframes letterReveal {
    from {
        opacity: 0;

        transform:
            translateY(40px) scale(0.92);
    }

    to {
        opacity: 1;

        transform:
            translateY(0) scale(1);
    }
}


/* =========================================
   3. OUR LITTLE CINEMA
========================================= */

#birthdayCinema {
    position: fixed !important;

    inset: 0;

    width: 100%;
    height: 100vh;
    height: 100dvh;

    z-index: 100000;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;

    background: rgba(12,4,8,0.97);

    box-sizing: border-box;
    overflow-y: auto;
}


/* HIDE CINEMA */

#birthdayCinema.hidden {
    display: none !important;
}


/* CINEMA CONTENT */

#birthdayCinema .cinema-content {
    position: relative;

    width: 100%;
    max-width: 850px;

    margin: auto;
    padding: 50px 20px;

    box-sizing: border-box;
    text-align: center;

    animation: letterReveal 0.6s ease;
}


/* CLOSE CINEMA */

#birthdayCinema .cinema-close {
    position: absolute;

    top: 0;
    right: 10px;

    background: transparent;
    border: none;

    color: var(--surprise-gold);
    font-size: 30px;

    cursor: pointer;
}


/* CINEMA HEADING */

#birthdayCinema .cinema-eyebrow {
    color: var(--surprise-gold);

    font-size: 10px;
    letter-spacing: 3px;
}

#birthdayCinema .cinema-content h2 {
    margin: 18px 0 35px;

    color: var(--surprise-gold);

    font-family: Georgia, serif;
    font-size: 30px;
    font-weight: normal;
}


/* VIDEO FRAME */

#birthdayCinema .cinema-screen {
    padding: 8px;

    background: var(--surprise-dark);

    border: 1px solid var(--surprise-gold);
    border-radius: 14px;

    overflow: hidden;
}

#birthdayCinema .cinema-screen video {
    display: block;

    width: 100%;
    max-height: 70vh;

    background: #000;

    border-radius: 8px;
}


/* CAPTION */

#birthdayCinema .cinema-caption {
    margin-top: 25px;

    color: var(--surprise-gold);

    font-family: Georgia, serif;
    font-size: 13px;
    font-style: italic;
}


/* =========================================
   4. MOBILE RESPONSIVENESS
========================================= */

@media (max-width: 600px) {

    .birthday-surprise {
        margin: 30px auto;
        padding: 40px 20px;
    }

    .birthday-surprise h2 {
        font-size: 25px;
    }

    #birthdayLetter .letter-paper {
        padding: 45px 22px;
    }

    #birthdayLetter .letter-paper h2 {
        font-size: 28px;
    }

    #birthdayCinema .cinema-content {
        padding: 45px 0;
    }

    #birthdayCinema .cinema-content h2 {
        font-size: 25px;
    }

    #birthdayCinema .cinema-screen {
        padding: 4px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .surprise-envelope,
    #birthdayLetter .letter-paper,
    #birthdayCinema .cinema-content {
        animation: none;
    }
}

/* =========================================
   BIRTHDAY SURPRISE POPUP FIX
========================================= */

/* LETTER OVERLAY */

#birthdayLetter {
    position: fixed !important;
    inset: 0 !important;
    z-index: 99999 !important;

    width: 100% !important;
    height: 100vh !important;
    height: 100dvh !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 20px !important;

    background: rgba(12, 4, 8, 0.95) !important;
    box-sizing: border-box !important;
}

#birthdayLetter.hidden {
    display: none !important;
}

/* CINEMA OVERLAY */

#birthdayCinema {
    position: fixed !important;
    inset: 0 !important;
    z-index: 100000 !important;

    width: 100% !important;
    height: 100vh !important;
    height: 100dvh !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 20px !important;

    background: rgba(12, 4, 8, 0.97) !important;
    box-sizing: border-box !important;
    overflow-y: auto !important;
}

#birthdayCinema.hidden {
    display: none !important;
}

/* LETTER DESIGN */

#birthdayLetter .letter-paper {
    position: relative;
    width: 100%;
    max-width: 460px;

    padding: 55px 30px;

    background: linear-gradient(145deg, #431923, #2B0D17) !important;

    border: 1px solid #D6B477;
    border-radius: 22px;

    text-align: center;
    box-sizing: border-box;
}

#birthdayLetter .letter-paper h2,
#birthdayLetter .letter-eyebrow,
#birthdayLetter .letter-message,
#birthdayLetter .letter-decoration,
#birthdayLetter .letter-divider {
    color: #D6B477 !important;
}

/* CINEMA DESIGN */

#birthdayCinema .cinema-content {
    position: relative;
    width: 100%;
    max-width: 850px;
    margin: auto;
    text-align: center;
}

#birthdayCinema .cinema-content h2,
#birthdayCinema .cinema-eyebrow,
#birthdayCinema .cinema-caption {
    color: #D6B477 !important;
}

/* HIDE BOTH POPUPS INITIALLY */

#birthdayLetter.hidden,
#birthdayCinema.hidden {
    display: none !important;
}

/* =========================================
   CINEMA ENDING
========================================= */

#cinemaEnding.hidden {
    display: none !important;
}

#cinemaEnding {
    width: 100%;
    min-height: 300px;
    margin: 20px auto;
    padding: 55px 25px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;

    background: linear-gradient(
        145deg,
        #431923,
        #2B0D17
    );

    border: 1px solid rgba(214,180,119,0.45);
    border-radius: 20px;
    box-sizing: border-box;
    text-align: center;

    animation: endingFade 1.5s ease both;
}

#cinemaEnding .ending-decoration {
    color: #D6B477;
    font-size: 23px;
    letter-spacing: 10px;
}

#cinemaEnding .ending-eyebrow {
    color: #D6B477;
    font-size: 10px;
    letter-spacing: 3px;
}

#cinemaEnding h2 {
    color: #D6B477;
    font-family: Georgia, serif;
    font-size: clamp(23px, 4vw, 32px);
    font-weight: normal;
    margin: 0;
}

#cinemaEnding .ending-message {
    max-width: 400px;
    color: #D6B477;
    font-size: 15px;
    line-height: 1.9;
}

#cinemaEnding .ending-replay-btn {
    margin-top: 15px;
    padding: 13px 30px;

    background: transparent;
    color: #D6B477;
    border: 1px solid #D6B477;
    border-radius: 30px;

    font-family: Georgia, serif;
    cursor: pointer;
    transition: 0.3s ease;
}

#cinemaEnding .ending-replay-btn:hover {
    background: #D6B477;
    color: #2B0D17;
}

#birthdayCinema .cinema-screen.hidden,
#birthdayCinema .cinema-caption.hidden {
    display: none !important;
}

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

@media (prefers-reduced-motion: reduce) {
    #cinemaEnding {
        animation: none;
    }
}

/* SPECIAL FAMILY BIRTHDAY FILM */

.birthday-film-card {
    border: 1px solid #D6B477;
    background: linear-gradient(
        145deg,
        #431923,
        #2B0D17
    );

    border-radius: 18px;
    overflow: hidden;
}

.birthday-film-card .video-info h3 {
    color: #D6B477;
}

.birthday-film-card .video-info p {
    color: #D6B477;
    line-height: 1.7;
}

.birthday-film-card video {
    width: 100%;
    display: block;
    background: #000;
}
