/* ============================================
   RESET & BASE
============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-primary: #7d9063;
    --color-secondary: #d4917e;
    --color-bg: #f5f3f0;
    --color-bg-alt: #ebe8e3;
    --color-text: #333;
    --color-text-light: #666;
    --color-accent: #c9a66b;
    --color-white: #fff;
    --font-primary: 'Cormorant Garamond', serif;
    --font-secondary: 'Cinzel', serif;
    --transition: all 0.3s ease;
}

body {
    font-family: var(--font-primary);
    background: var(--color-bg);
    color: var(--color-text);
    overflow-x: hidden;
    line-height: 1.6;
}

body.locked {
    overflow: hidden; /* Mengunci scroll utama seluruh halaman */
    height: 100vh;
    width: 100%;
}

img {
    max-width: 100%;
    display: block;
}

button {
    font-family: var(--font-primary);
    cursor: pointer;
}

/* ============================================
   LAYOUT
============================================ */
.section {
    max-width: 480px;
    margin: 0 auto;
    position: relative;
    background: var(--color-bg);
}

/* ============================================
   ANIMATIONS - FADE IN FROM BOTTOM
============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(80px);
    transition: opacity 1s ease-out, transform 1s cubic-bezier(0.165, 0.84, 0.44, 1);
    will-change: transform, opacity;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Delay variations untuk animasi berurutan */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ============================================
   COVER SECTION (NO ANIMATION)
============================================ */
.cover {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* UBAH dari center */
    align-items: center;
    padding: 40px 20px;
    text-align: center;
    position: relative;
  /* --- TAMBAHKAN INI --- */
    overflow-y: auto; /* Membolehkan scroll HANYA di dalam kotak cover */
    -webkit-overflow-scrolling: touch; 
    z-index: 9999;
}
.cover-decoration {
    position: absolute;
    width: 280px;
    height: auto;
    z-index: 1;
    pointer-events: none;
    opacity: 0.9;
    transition: transform 0.5s ease;
}

.cover-decoration img {
    width: 100%;
    height: auto;
    display: block;
}

.floral-top-right {
    top: -20px;
    right: -40px;
}

.floral-bottom-left {
    bottom: -20px;
    left: -40px;
    transform: rotate(180deg);
}

.cover-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 480px;
    margin: auto 0; /* Center vertikal jika konten pendek */
    padding: 20px 0;
}

.cover-photo-wrapper {
    margin-bottom: 35px;
}

.cover-photo {
    width: 200px;
    height: 200px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid var(--color-white);
    box-shadow: 0 12px 35px rgba(0,0,0,0.18);
    transition: var(--transition);
}

.cover-photo:hover {
    transform: scale(1.05);
}

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

.cover-title-group {
    margin-bottom: 25px;
}

.cover-subtitle {
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-text-light);
    margin-bottom: 10px;
}

.cover-title {
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-text-light);
}

.couple-names {
    font-size: 26px;
    font-weight: 300;
    font-style: italic;
    color: var(--color-primary);
    margin: 20px 0;
    line-height: 1.4;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.couple-names .name {
    color: var(--color-primary);
    white-space: nowrap;
}

.couple-names .separator {
    font-size: 18px;
    opacity: 0.6;
    color: var(--color-accent);
}

.cover-date {
    font-size: 18px;
    color: var(--color-text-light);
    letter-spacing: 4px;
    margin: 25px 0;
}

.address-box {
    margin: 30px 0;
}

.address-label {
    font-size: 14px;
    color: var(--color-text-light);
    margin-bottom: 10px;
}

.guest-name {
    font-size: 28px;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 20px;
}

.btn-open {
    background: var(--color-primary);
    color: var(--color-white);
    font-size: 14px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    font-weight: 500;
    border: none;
    border-radius: 50px;
    padding: 17px 55px;
    box-shadow: 0 10px 25px rgba(125, 144, 99, 0.35);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;/* TAMBAHKAN INI */
    position: relative;
    z-index: 10; /* Pastikan di atas elemen lain */
    margin-top: 10px;
    margin-bottom: 20px;
}

.btn-open:hover {
    background: #6a7a54;
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(125, 144, 99, 0.45);
}

/* ============================================
   HERO SECTION
============================================ */
.hero {
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: #000;
}

.hero-bg-photo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transition: opacity 1.2s ease-in-out;
    animation: kenBurns 20s infinite alternate;
}

@keyframes kenBurns {
    from { transform: scale(1); }
    to { transform: scale(1.15); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, 
        rgba(0,0,0,0.1) 0%, 
        rgba(0,0,0,0.3) 50%, 
        rgba(0,0,0,0.7) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 4;
    color: white;
    width: 100%;
    padding: 0 20px;
}

.hero-names {
    font-size: 32px;
    font-weight: 300;
    margin: 20px 0;
    line-height: 1.6;
}

.hero-date {
    font-size: 18px;
    letter-spacing: 2px;
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 150px;
    z-index: 3;
    line-height: 0;
}

.hero-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 100%;
}

.hero-wave .wave-layer-1 { fill: rgba(245, 243, 240, 0.3); }
.hero-wave .wave-layer-2 { fill: rgba(245, 243, 240, 0.5); }
.hero-wave .wave-layer-3 { fill: #f5f3f0; }

/* ============================================
   PRAYER SECTION
============================================ */
.prayer {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 80px 20px;
    text-align: center;
    background-color: #fcfbf9;
}

.prayer-icon {
    margin-bottom: 30px;
}

.flower-prayer {
    width: 120px;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.05));
}

.om-swastyastu {
    font-size: 32px;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--color-text);
    margin-bottom: 40px;
}

.prayer-text {
    max-width: 600px;
    font-size: 18px;
    font-weight: 300;
    font-style: italic;
    line-height: 1.8;
    color: var(--color-text-light);
    padding: 0 10px;
}

.decorative-line {
    width: 80px;
    height: 1px;
    background: var(--color-accent);
    margin: 40px auto 0;
    opacity: 0.4;
}

/* ============================================
   CHILD INFO SECTIONS
============================================ */
.child-info {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.child-number {
    position: absolute;
    font-size: 200px;
    font-weight: 700;
    color: var(--color-accent);
    opacity: 0.05;
    z-index: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -80%);
    pointer-events: none;
}

.child-photo {
    width: 280px;
    height: 380px;
    margin: 5px auto 20px;
    border-radius: 150px 150px 0 0;
    overflow: visible;
    position: relative;
    z-index: 1;
}

.child-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 150px 150px 0 0;
    border: 8px solid var(--color-white);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.child-photo::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    border: 1px solid var(--color-accent);
    border-radius: 165px 165px 0 0;
    opacity: 0.4;
    z-index: -1;
}

.child-photo::after {
    content: '';
    position: absolute;
    width: 100vw;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--color-accent), transparent);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.3;
}

.child-name {
    font-size: 44px;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    color: var(--color-primary);
    margin: 10px 0 5px;
    z-index: 1;
}

.child-divider {
    width: 60px;
    height: 1px;
    background: var(--color-accent);
    margin: 8px auto;
}

.parents-info {
    margin-top: 10px;
    z-index: 1;
}

.parents-label {
    font-size: 15px;
    color: var(--color-text-light);
    font-style: italic;
    margin-bottom: 4px;
}

.parent-name {
    font-size: 17px;
    color: var(--color-text);
    font-weight: 400;
    margin: 4px 0;
}

.parent-separator {
    font-size: 14px;
    color: var(--color-accent);
    margin: 2px 0;
    opacity: 0.6;
}

/* ============================================
   QUOTE SECTION
============================================ */
.quote-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 100px 20px;
    text-align: center;
    background: var(--color-bg-alt);
}

.quote-mark {
    font-size: 90px;
    color: var(--color-text);
    opacity: 0.15;
    line-height: 0.6;
    margin-bottom: 25px;
    font-family: Georgia, serif;
}

.quote-mark.bottom {
    margin-top: 35px;
    margin-bottom: 0;
    transform: rotate(180deg);
}

.quote-text {
    max-width: 700px;
    font-size: 20px;
    font-style: italic;
    line-height: 1.9;
    color: var(--color-text-light);
    margin-bottom: 20px;
}

.quote-source {
    font-size: 18px;
    color: var(--color-text-light);
    margin-bottom: 30px;
    font-weight: 500;
}

.quote-divider {
    width: 100px;
    height: 2px;
    background: var(--color-accent);
    margin: 30px auto;
    opacity: 0.5;
}

.quote-translation {
    max-width: 680px;
    font-size: 18px;
    font-style: italic;
    line-height: 1.9;
    color: var(--color-text-light);
}

/* ============================================
   SECTION HEADER
============================================ */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-icon {
    margin: 0 auto 25px;
    width: 60px;
    height: 60px;
}

.section-icon svg {
    display: block;
    margin: 0 auto;
}

.wishes-section .section-icon {
    background-image: url('img/bunga_sudut_2-removebg-preview.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 150px;
    height: 150px;
    opacity: 0.7;
}

.wishes-section .section-icon svg {
    display: none;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 400;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--color-text);
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--color-text-light);
    font-style: italic;
}

/* ============================================
   EVENT DETAILS
============================================ */
.event-details {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 10px;
}

.event-details .section-header {
    text-align: center;
    margin-bottom: 10px;
}

.event-details .section-header h2 {
    border: 2px solid var(--color-primary);
    background: rgba(125, 144, 99, 0.05);
    padding: 15px 30px;
    border-radius: 8px;
    margin-bottom: 0;
}

.event-card {
    background: #ffffff;
    border-radius: 30px;
    padding: 50px 35px 0 35px;
    max-width: 100%;
    width: 100%;
    margin: 20px auto 50px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    text-align: center;
    overflow: hidden;
    position: relative;
}

.event-title {
    font-size: 46px;
    font-weight: 300;
    font-style: italic;
    color: #7d9063;
    margin-bottom: 10px;
}

.event-date {
    font-size: 20px;
    color: var(--color-text-light);
    margin: 18px 0;
}

.event-time,
.event-location {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 17px;
    color: var(--color-text-light);
    margin: 15px 0;
}

.btn-map {
    position: relative;
    z-index: 2;
    background: var(--color-primary);
    color: var(--color-white);
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
    border: none;
    border-radius: 50px;
    padding: 15px 42px;
    margin-top: 30px;
    margin-bottom: 0px;
    transition: var(--transition);
    box-shadow: 0 8px 20px rgba(125, 144, 99, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-map:hover {
    background: #6a7a54;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(125, 144, 99, 0.4);
}

.event-card-image {
    width: calc(100% + 70px);
    height: 500px;
    position: relative;
    margin-left: -35px;
    margin-right: -35px;
    margin-top: 0px;
    overflow: hidden;
}

.event-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gradient-overlay {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background: linear-gradient(to bottom, 
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 255, 255, 0.95) 12%,
        rgba(255, 255, 255, 0.88) 20%,
        rgba(255, 255, 255, 0.78) 28%,
        rgba(255, 255, 255, 0.65) 36%,
        rgba(255, 255, 255, 0.5) 44%,
        rgba(255, 255, 255, 0.35) 52%,
        rgba(255, 255, 255, 0.22) 60%,
        rgba(255, 255, 255, 0.12) 68%,
        rgba(255, 255, 255, 0.05) 76%,
        rgba(255, 255, 255, 0) 85%
    );
    pointer-events: none;
    z-index: 1;
    transform: translateY(-5%);
}

.event-message {
    max-width: 600px;
    margin: 0 auto 30px;
    text-align: center;
}

.event-message p {
    font-size: 18px;
    font-style: italic;
    line-height: 1.9;
    color: var(--color-text-light);
    margin-bottom: 15px;
}

.event-signature {
    text-align: center;
    margin-top: 40px;
}

.signature-line {
    width: 100px;
    height: 2px;
    background: var(--color-accent);
    margin: 0 auto 20px;
    opacity: 0.5;
}

.event-signature p {
    font-size: 18px;
    font-style: italic;
    color: var(--color-text-light);
    margin: 8px 0;
}

.signature-name {
    color: var(--color-primary);
    font-weight: 600;
}

/* ============================================
   COUNTDOWN SECTION
============================================ */
.countdown-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px 5px 10px 5px;
    background: var(--color-white);
    position: relative;
    text-align: center;
}

.countdown-photo-slider {
    width: 100%;
    max-width: 400px;
    margin: 0 auto 30px;
    border-radius: 12px;
    overflow: hidden;
    padding: 8px;
    border: 1px solid var(--color-accent);
    background: white;
}

.countdown-photo-slider img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    transition: opacity 1s ease-in-out;
}

.section-title {
    font-size: 32px;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-text);
    margin-bottom: 8px;
}

.countdown {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 10px;
}

.countdown-item {
    background: transparent;
    color: var(--color-text);
    border: 2px solid var(--color-accent);
    border-radius: 15px;
    padding: 30px 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.countdown-item:hover {
    transform: translateY(-3px);
    border-color: var(--color-primary);
    box-shadow: 0 8px 20px rgba(201, 166, 107, 0.25);
}

.countdown-number {
    font-size: 52px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 10px;
    color: var(--color-text);
}

.countdown-label {
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-text-light);
    opacity: 0.8;
}

/* ============================================
   GALLERY
============================================ */
.gallery {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px 20px 40px 20px;
    background: var(--color-white);
}

.gallery .section-header {
    margin-bottom: 25px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.gallery-item {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

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

/* ============================================
   FORM SECTIONS
============================================ */
.form-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 20px;
    background: var(--color-bg);
}

.form-description {
    max-width: 600px;
    margin: 0 auto 45px;
    text-align: center;
    font-size: 18px;
    font-style: italic;
    color: var(--color-text-light);
    line-height: 1.8;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--color-white);
    padding: 45px 35px;
    border-radius: 20px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.12);
}

.form-group {
    margin-bottom: 28px;
    text-align: left;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 500;
    color: var(--color-text-light);
    margin-bottom: 12px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    font-family: var(--font-primary);
    font-size: 16px;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(125, 144, 99, 0.08);
}

.form-group textarea {
    min-height: 130px;
    resize: vertical;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
}

.radio-option:hover {
    border-color: var(--color-primary);
    background: #f9f9f9;
}

.radio-option input {
    width: auto;
    cursor: pointer;
    margin: 0;
}

.btn-submit {
    width: 100%;
    background: var(--color-primary);
    color: var(--color-white);
    font-size: 15px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
    border: none;
    border-radius: 50px;
    padding: 17px;
    transition: var(--transition);
    box-shadow: 0 8px 20px rgba(125, 144, 99, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-submit:hover {
    background: #6a7a54;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(125, 144, 99, 0.35);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* ============================================
   WISHES SPECIFIC
============================================ */
.wish-count {
    text-align: center;
    font-size: 20px;
    color: var(--color-primary);
    margin-bottom: 35px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.wish-form input,
.wish-form textarea {
    width: 100%;
    font-family: var(--font-primary);
    font-size: 16px;
    padding: 15px;
    margin-bottom: 18px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    transition: var(--transition);
}

.wish-form input:focus,
.wish-form textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(125, 144, 99, 0.08);
}

.wishes-list {
    max-height: 550px;
    overflow-y: auto;
    margin-top: 35px;
}

.wish-item {
    padding: 22px;
    border-bottom: 1px solid #f0f0f0;
    text-align: left;
    transition: background 0.3s ease;
}

.wish-item:hover {
    background: #f9f9f9;
}

.wish-author {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 6px;
}

.wish-time {
    font-size: 13px;
    color: #999;
    margin-bottom: 12px;
}

.wish-text {
    font-size: 16px;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* ============================================
   GIFT SECTION
============================================ */
.gift {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, #e8e4df 0%, #f5f3f0 100%);
    text-align: center;
}

.gift h2 {
    font-size: 52px;
    font-weight: 300;
    color: #7d9063;
    margin-bottom: 50px;
}

.bank-info {
    background: white;
    max-width: 550px;
    margin: 0 auto;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.bank-logo {
    font-size: 52px;
    font-weight: 600;
    color: #003d79;
    margin-bottom: 25px;
}

.account-number {
    font-size: 32px;
    font-weight: 400;
    font-family: 'Times New Roman', Times, serif;
    color: #7d9063;
    letter-spacing: 2px;
    margin: 25px 0;
}

.account-name {
    font-size: 19px;
    color: #666;
    line-height: 1.8;
    margin: 15px 0;
}

/* ============================================
   FOOTER
============================================ */
.footer {
    padding: 70px 20px;
    text-align: center;
    background: var(--color-bg);
    color: var(--color-text-light);
}

.footer-ornament {
    width: 80px;
    height: 2px;
    background: var(--color-accent);
    margin: 0 auto 30px;
    opacity: 0.5;
}

.footer-thanks {
    font-size: 19px;
    line-height: 1.9;
    margin-bottom: 30px;
}

.footer-divider {
    width: 60px;
    height: 2px;
    background: var(--color-accent);
    margin: 30px auto;
    opacity: 0.3;
}

.footer-names {
    font-size: 24px;
    color: var(--color-text);
    margin: 25px 0;
    line-height: 1.8;
}

.footer-names span {
    color: var(--color-primary);
    font-weight: 500;
    display: block;
    margin-top: 10px;
}

.footer-credit {
    font-size: 14px;
    color: #999;
    margin-top: 50px;
    line-height: 1.7;
}

.credit-divider {
    width: 40px;
    height: 1px;
    background: #ccc;
    margin: 15px auto;
}

.credit-brand {
    color: var(--color-primary);
    font-weight: 600;
    margin-top: 5px;
}

/* ============================================
   MUSIC CONTROL
============================================ */
.music-control {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 58px;
    height: 58px;
    background: var(--color-primary);
    color: var(--color-white);
    border: 3px solid var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 10px 25px rgba(125, 144, 99, 0.4);
    z-index: 1000;
    transition: var(--transition);
}

.music-control:hover {
    transform: scale(1.12);
    box-shadow: 0 14px 32px rgba(125, 144, 99, 0.5);
}

.music-control.playing {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* ============================================
   RESPONSIVE
============================================ */
@media (min-width: 769px) {
    .music-control {
        right: calc((100vw - 480px) / 2 + 32px);
    }
}

@media (min-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 700px;
    }
    
    .countdown {
        max-width: 450px;
        gap: 20px;
    }
    
    .countdown-item {
        padding: 35px 25px;
    }
    
    .countdown-number {
        font-size: 60px;
    }
    
    .countdown-label {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .couple-names {
        font-size: 42px;
    }

    .hero-names {
        font-size: 40px;
    }

    .child-name {
        font-size: 38px;
    }

    .form-container {
        padding: 35px 25px;
    }
}

@media (max-width: 480px) {
    .couple-names {
        font-size: 36px;
    }

    .hero-names {
        font-size: 34px;
    }

    .child-name {
        font-size: 34px;
    }

    .child-photo {
        width: 250px;
        height: 350px;
    }

    .countdown {
        max-width: 350px;
        gap: 12px;
    }
    
    .countdown-item {
        padding: 25px 18px;
    }
    
    .countdown-number {
        font-size: 46px;
    }
    
    .countdown-label {
        font-size: 12px;
        letter-spacing: 2px;
    }

    .event-title {
        font-size: 38px;
    }

    .section-header h2 {
        font-size: 28px;
    }
}

@media (max-width: 380px) {
    .countdown {
        max-width: 320px;
    }
    
    .countdown-number {
        font-size: 42px;
    }
    
    .countdown-item {
        padding: 22px 16px;
    }
}
/* Bounce effect saat user coba scroll */
@keyframes coverBounce {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

.cover.bounce-hint {
    animation: coverBounce 0.5s ease-out;
}

/* Scroll indicator - panah ke bawah */
.cover::after {
    content: '';
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    border-left: 2px solid var(--color-primary);
    border-bottom: 2px solid var(--color-primary);
    transform: translateX(-50%) rotate(-45deg);
    animation: scrollHint 2s infinite;
    opacity: 0.4;
    pointer-events: none;
}

@keyframes scrollHint {
    0%, 100% {
        bottom: 30px;
        opacity: 0.4;
    }
    50% {
        bottom: 20px;
        opacity: 0.8;
    }
}

/* Hide scroll hint after user scrolls */
.cover.scrolled::after {
    display: none;
}