:root {
    --primary-green: #044F35;
    --dark-green: #012E1F;
    --gold: #D4AF37;
    --gold-light: #F4E5B0;
    --text-light: #F9F9F9;
    --text-dark: #012E1F;
    --overlay-color: rgba(1, 46, 31, 0.4);
}

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

body {
    font-family: 'Lato', sans-serif;
    background-color: var(--text-light);
    color: var(--text-dark);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1,
h2,
h3 {
    font-family: 'Cinzel', serif;
    font-weight: 700;
}

h1 {
    font-size: 3.5rem;
    color: var(--gold-light);
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    margin: 10px 0;
    font-family: 'Cinzel', serif;
}

@media (max-height: 700px) {
    .page-cover h1 {
        font-size: 2.5rem;
    }

    .cover-content-bottom {
        padding-bottom: 1.5rem !important;
    }

    .gold-button {
        margin-top: 1rem;
        padding: 0.8rem 2rem;
    }
}

#page-2 h1 {
    color: var(--gold);
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.subtext {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    letter-spacing: 2px;
    color: #fff;
    text-transform: uppercase;
}

/* Page 1: Cover */
.page-cover {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    height: calc(var(--vh, 1vh) * 100);
    background-color: #000;
    z-index: 100;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    text-align: center;
    transition: transform 1s cubic-bezier(0.77, 0, 0.175, 1);
    overflow: hidden;
}

/* Cover Video Background */
.cover-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.page-cover.slide-up {
    transform: translateY(-100%);
}

.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 20%, rgba(1, 46, 31, 0.7) 100%);
    z-index: 1;
}

/* Gradient at bottom for better button readability */
.page-cover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
    z-index: 2;
    pointer-events: none;
}

.cover-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    padding-bottom: env(safe-area-inset-bottom, 2rem);
}

.cover-content-bottom {
    padding-bottom: 3rem;
}

/* Particles */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 2;
    pointer-events: none;
    background:
        radial-gradient(white, rgba(255, 255, 255, .2) 2px, transparent 3px),
        radial-gradient(white, rgba(255, 255, 255, .15) 1px, transparent 2px),
        radial-gradient(white, rgba(255, 255, 255, .1) 2px, transparent 3px);
    background-size: 550px 550px, 350px 350px, 250px 250px;
    background-position: 0 0, 40px 60px, 130px 270px;
    animation: particleAnim 60s linear infinite;
}

@keyframes particleAnim {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-1000px);
    }
}

/* Animations */
.fade-in-delay-1 {
    opacity: 0;
    animation: fadeIn 1.5s ease-out forwards 0.5s;
}

.fade-in-delay-2 {
    opacity: 0;
    animation: fadeIn 1.5s ease-out forwards 1s;
}

.fade-in-delay-3 {
    opacity: 0;
    animation: fadeIn 1s ease-out forwards 0.3s, buttonGlow 2s ease-in-out infinite 2s;
}

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

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

/* Buttons */
.gold-button {
    background: linear-gradient(135deg, var(--gold) 0%, #B8860B 100%);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-family: 'Playfair Display', serif;
    letter-spacing: 1px;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-top: 2rem;
}

@keyframes buttonGlow {

    0%,
    100% {
        box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    }

    50% {
        box-shadow: 0 4px 25px rgba(212, 175, 55, 0.8), 0 0 40px rgba(212, 175, 55, 0.3);
    }
}

.gold-button:active {
    transform: scale(0.95);
}

.outline-button {
    background: transparent;
    color: var(--primary-green);
    border: 1px solid var(--primary-green);
    padding: 0.8rem 2rem;
    font-size: 0.9rem;
    font-family: 'Lato', sans-serif;
    border-radius: 50px;
    cursor: pointer;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

/* Page 2: Details */
.page-details {
    padding-top: 5vh;
    background-color: var(--text-light);
    background-image: url('assets/details_bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Parallax feel */
    min-height: 100vh;
    opacity: 0;
    transition: opacity 1s ease 0.5s;
    padding-bottom: 4rem;
    position: relative;
    overflow: hidden;
}

.page-details.visible {
    opacity: 1;
}

/* Fireflies (Page 2) */
.fireflies-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.firefly {
    position: absolute;
    width: 4px;
    height: 4px;
    background-color: #ffd700;
    border-radius: 50%;
    box-shadow: 0 0 10px #ffd700, 0 0 20px #ffaa00;
    opacity: 0;
    animation: fly 15s infinite ease-in-out;
}

.firefly:nth-child(1) {
    top: 80%;
    left: 10%;
    animation-duration: 12s;
    animation-delay: 0s;
}

.firefly:nth-child(2) {
    top: 60%;
    left: 80%;
    animation-duration: 15s;
    animation-delay: 2s;
}

.firefly:nth-child(3) {
    top: 40%;
    left: 20%;
    animation-duration: 18s;
    animation-delay: 4s;
}

.firefly:nth-child(4) {
    top: 20%;
    left: 70%;
    animation-duration: 20s;
    animation-delay: 1s;
}

.firefly:nth-child(5) {
    top: 90%;
    left: 90%;
    animation-duration: 14s;
    animation-delay: 3s;
}

.firefly:nth-child(6) {
    top: 10%;
    left: 30%;
    animation-duration: 16s;
    animation-delay: 5s;
}

@keyframes fly {
    0% {
        transform: translate(0, 0);
        opacity: 0;
    }

    10% {
        opacity: 0.8;
    }

    50% {
        transform: translate(20px, -40px);
        opacity: 0.4;
    }

    80% {
        opacity: 0.8;
    }

    100% {
        transform: translate(-20px, -80px);
        opacity: 0;
    }
}

.details-section {
    padding: 4rem 1.5rem;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    position: relative;
    z-index: 2;
    /* Above fireflies */
}

/* refined details section styles */
.details-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Elegant Date Display */
.date-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 2rem 0;
    font-family: 'Cinzel', serif;
    color: var(--dark-green);
}

.date-day {
    font-size: 5rem;
    line-height: 1;
    font-weight: 700;
    color: var(--gold);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.date-month {
    font-size: 1.5rem;
    letter-spacing: 4px;
    margin-top: 0.5rem;
    font-weight: 400;
}

.date-year {
    font-size: 1.2rem;
    letter-spacing: 8px;
    opacity: 0.8;
    margin-top: 0.2rem;
}

.date-divider {
    width: 2px;
    height: 30px;
    background: var(--gold);
    margin: 1rem 0;
    opacity: 0.5;
}

.date-time {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-style: italic;
}

/* Calendar Actions */
.calendar-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 2.5rem;
}

.calendar-btn {
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.4);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-family: 'Lato', sans-serif;
    font-size: 0.9rem;
    color: var(--dark-green);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.calendar-btn:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--gold);
    transform: translateY(-2px);
}

/* Location & Maps */
.location-title {
    font-size: 1.8rem;
    font-family: 'Playfair Display', serif;
    color: var(--dark-green);
    margin-bottom: 0.2rem;
}

.location-subtitle {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.map-actions {
    background: rgba(255, 255, 255, 0.5);
    /* Slight box */
    padding: 1rem;
    border-radius: 16px;
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.map-label {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.map-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.map-btn {
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Lato', sans-serif;
}

.map-btn:hover {
    transform: scale(1.05);
}

.map-btn.waze {
    background-color: #33ccff;
    /* Waze Blue-ish */
    color: white;
    box-shadow: 0 4px 10px rgba(51, 204, 255, 0.3);
}

.map-btn.google {
    background-color: #ea4335;
    /* Google Red/Grey brand feel or just standard */
    background: white;
    border: 1px solid #ddd;
    color: #444;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.gift-container {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px) saturate(100%);
    -webkit-backdrop-filter: blur(20px) saturate(100%);
    padding: 2.5rem;
    border-radius: 24px;
    margin-bottom: 2rem;
    box-shadow: 0 20px 60px rgba(0, 50, 30, 0.1), inset 0 0 0 1px rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.6);
    position: relative;
    overflow: hidden;
}

.gift-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0.5;
}

.ath-label {
    font-weight: 700;
    color: #FF5A00;
    /* ATH Orange */
    font-family: 'Lato', sans-serif;
    display: block;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.amount-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 1.5rem;
}

.amount-chip {
    background: white;
    border: 1px solid #ddd;
    color: var(--dark-green);
    padding: 0.8rem 0;
    border-radius: 50%;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.amount-chip:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.amount-chip.selected {
    background: var(--gold);
    color: white;
    border-color: var(--gold);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

.small-button {
    padding: 0.8rem 2rem;
    font-size: 0.9rem;
    width: 100%;
    display: inline-block;
    text-decoration: none;
}

.amazon-container {
    background: rgba(255, 255, 255, 0.4);
}

.amazon-text {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #666;
}

.amazon-btn {
    border-color: #333;
    color: #333;
    width: 100%;
}

/* Cards */
.messages-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.message-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: var(--dark-green);
}

/* Gallery Placeholder */
.gallery-placeholder {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 1rem;
}

.gallery-item {
    background: #eee;
    padding-bottom: 100%;
    /* Square aspect */
    border-radius: 8px;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem 1rem;
    font-size: 0.8rem;
    color: #888;
    margin-top: 2rem;
    border-top: 1px solid #eee;
}

/* Tiana Theme Enhancements */
#kiss-reveal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, #1a2e1a, #000);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

#kiss-reveal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.kiss-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.kiss-image {
    max-width: 90%;
    max-height: 80vh;
    border-radius: 20px;
    box-shadow: 0 0 50px rgba(212, 175, 55, 0.5);
    animation: magic-zoom 1.5s forwards ease-in-out;
    transform-origin: 50% 30%;
    /* Focus on the upper center (kiss area) */
}

.welcome-message {
    text-align: center;
    padding: 3rem 1.5rem 2rem;
    font-family: 'Playfair Display', serif;
    color: var(--dark-green);
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 5;
}

.welcome-message p {
    font-size: 1.5rem;
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--dark-green);
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.8), 0 2px 4px rgba(0, 0, 0, 0.1);
    font-weight: 500;
}

.divider-small {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 0 auto;
    opacity: 0.8;
    box-shadow: 0 0 10px var(--gold);
}

@keyframes magic-zoom {
    0% {
        transform: scale(0.8);
        opacity: 0;
        filter: brightness(1) blur(0px);
    }

    15% {
        transform: scale(1);
        opacity: 1;
        filter: brightness(1) blur(0px);
    }

    70% {
        transform: scale(1.5);
        /* Closer zoom */
        filter: brightness(1.5) blur(0px);
    }

    90% {
        transform: scale(4.0);
        /* Extreme zoom into the kiss */
        filter: brightness(10) blur(2px) contrast(2);
        /* White Magic Flash */
        opacity: 1;
    }

    100% {
        transform: scale(4.5);
        opacity: 0;
        filter: brightness(20) blur(20px);
    }
}

@keyframes float {

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

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

/* Ensure hidden utility works */
.hidden {
    display: none !important;
}

/* Smart RSVP Form */
.rsvp-container {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(30px) saturate(120%);
    -webkit-backdrop-filter: blur(30px) saturate(120%);
    padding: 4rem 2.5rem;
    border-radius: 32px;
    box-shadow: 0 40px 80px -20px rgba(0, 20, 10, 0.2), inset 0 0 0 1px rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(212, 175, 55, 0.1);
    margin: 3rem 0;
    position: relative;
    overflow: hidden;
    min-height: 450px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
}

.rsvp-step {
    transition: all 0.4s ease;
    width: 100%;
}

.rsvp-step.hidden {
    display: none;
    opacity: 0;
    transform: translateX(20px);
}

.rsvp-step.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

.rsvp-instruction {
    margin-bottom: 1.5rem;
    color: #666;
}

.input-group {
    text-align: left;
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    font-size: 0.9rem;
    color: var(--dark-green);
    margin-bottom: 0.5rem;
    font-weight: bold;
}

/* Floating Label Inputs */
.input-group {
    position: relative;
    margin-bottom: 2rem;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 0.8rem 0;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    /* Slight background to indicate field */
    border-bottom: 2px solid rgba(1, 46, 31, 0.4);
    /* Darker border */
    border-radius: 4px 4px 0 0;
    font-size: 1.2rem;
    /* Larger font for readability */
    color: #000;
    /* Pure black for maximum contrast */
    font-weight: 600;
    /* Bolder text */
    transition: all 0.3s ease;
    padding-left: 10px;
    /* Space for text */
}

.input-group label {
    display: block;
    position: static;
    /* No longer absolute */
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: var(--dark-green);
    font-weight: bold;
    pointer-events: all;
    transition: none;
}

.input-group input:focus,
.input-group textarea:focus {
    background: transparent;
    border-bottom-color: var(--gold);
    box-shadow: none;
}

.input-group input:focus~label,
.input-group input:not(:placeholder-shown)~label,
.input-group textarea:focus~label,
.input-group textarea:not(:placeholder-shown)~label {
    top: -1.2rem;
    font-size: 0.85rem;
    color: var(--gold);
    font-weight: 700;
}

.attendance-options {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.radio-card {
    flex: 1;
    cursor: pointer;
    position: relative;
}

.radio-card input {
    position: absolute;
    opacity: 0;
}

.card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
    background: rgba(255, 255, 255, 0.4);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    color: #666;
    gap: 0.5rem;
}

.radio-card input:checked+.card-content {
    border-color: var(--gold);
    background-color: rgba(255, 253, 245, 0.9);
    color: var(--dark-green);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.25);
}

.card-content .icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.input-row {
    display: flex;
    gap: 1rem;
}

.input-row .input-group {
    flex: 1;
}

.back-btn {
    text-decoration: underline;
    color: #888;
    margin-top: 1rem;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.9rem;
}

.rsvp-message-box {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: var(--dark-green);
}

.success-content {
    text-align: center;
    padding: 2rem 0;
}

.success-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
    animation: pop-in 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes pop-in {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Enhanced Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 1rem;
}

.gallery-item {
    border-radius: 16px;
    overflow: hidden;
    background: #f0f0f0;
    aspect-ratio: 1;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.gallery-item.featured {
    grid-column: span 2;
    aspect-ratio: 16/9;
}

.gallery-item:first-child {
    grid-column: span 2;
    aspect-ratio: 16/9;
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px 10px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
}

.gallery-caption span {
    font-size: 1.1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.gallery-item:hover .gallery-caption {
    opacity: 1;
    transform: translateY(0);
}

.gallery-item img,
.gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-item:hover img,
.gallery-item:hover video {
    transform: scale(1.05);
}

/* Gallery Video */
.gallery-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

.gallery-upload-btn {
    border: 2px dashed var(--gold);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    background: rgba(212, 175, 55, 0.05);
    color: var(--dark-green);
    transition: all 0.3s;
    font-size: 0.8rem;
    font-weight: bold;
    aspect-ratio: 1;
}

.gallery-upload-btn:hover {
    background: rgba(212, 175, 55, 0.1);
}

.plus-icon {
    font-size: 2rem;
    margin-bottom: 0.2rem;
    line-height: 1;
}

/* Interactive Message Board */
.message-form-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.6);
    margin-bottom: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold) 0%, #B8860B 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
    align-self: center;
    min-width: 200px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
}

.messages-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.message-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
    font-family: 'Playfair Display', serif;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 1);
    margin-bottom: 1rem;
}

.msg-text {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--dark-green);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.msg-author {
    font-family: 'Lato', sans-serif;
    font-size: 0.9rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    text-align: right;
}

.msg-author {
    display: block;
    text-align: right;
    font-size: 0.85rem;
    color: #888;
    font-family: 'Inter', sans-serif;

    font-weight: 500;
}

/* Floating Music Control */
.music-fab {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid var(--gold);
    color: var(--dark-green);
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: all 0.3s ease;
    animation: bounce-in 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.music-fab:hover {
    transform: scale(1.1);
    background: white;
}

.music-fab.muted {
    opacity: 0.7;
    background: #eaeaea;
}

/* Pulse animation for music playing */
.music-fab:not(.muted)::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--gold);
    opacity: 0;
    animation: ripple 1.5s infinite;
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

@keyframes bounce-in {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    60% {
        transform: scale(1.1);
        opacity: 1;
    }

    100% {
        transform: scale(1);
    }
}