/* ============================================
   GOOGLE PLAY WEDDING INVITATION — PREMIUM
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&family=Dancing+Script:wght@400;700&family=Outfit:wght@300;400;500;600;700&display=swap');

/* ============================================
   DESIGN TOKENS / CSS VARIABLES
   ============================================ */
:root {
    --play-green: #01875f;
    --play-dark-green: #005a41;
    --play-light-green: #c8f7e4;
    --play-blue: #4285F4;
    --accent-gold: #f5c842;
    --accent-rose: #e8a0bf;
    --text-dark: #202124;
    --text-medium: #5f6368;
    --text-light: #9aa0a6;
    --bg-light: #f1f3f4;
    --bg-white: #ffffff;
    --border-color: #dadce0;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    --font-display: 'Dancing Script', cursive;
    --font-body: 'Outfit', 'Roboto', sans-serif;
}

/* --- Dark Mode Variables --- */
body.dark-mode {
    --play-green: #0dd393;
    --play-dark-green: #01875f;
    --play-light-green: #0a3d2a;
    --text-dark: #e8eaed;
    --text-medium: #9aa0a6;
    --text-light: #5f6368;
    --bg-light: #1a1a1e;
    --bg-white: #202124;
    --border-color: #3c4043;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.6);
}

/* --- Global Theme Transition --- */
body,
.app-container,
.app-header,
.search-bar,
.screenshots-section,
.section-card,
.timeline-content,
.bank-card,
.write-review-form,
.form-group input,
.form-group textarea,
.timeline-item::after,
.countdown-card,
.fab-music {
    transition: background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-light);
    color: var(--text-dark);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    line-height: 1.6;
}

/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--play-green);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--play-dark-green);
}

/* --- Selection Color --- */
::selection {
    background: var(--play-green);
    color: white;
}

/* ============================================
   COVER PAGE — PREMIUM
   ============================================ */
#cover {
    position: fixed;
    inset: 0;
    background-image: linear-gradient(160deg, rgba(1, 135, 95, 0.7) 0%, rgba(0, 0, 0, 0.6) 50%, rgba(1, 135, 95, 0.5) 100%),
        url('https://i.pinimg.com/564x/e9/48/f6/e948f60d5fcf24f67c704080966a2413.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 1000;
    transition: opacity 0.8s ease-out, transform 0.5s ease-out;
    overflow: hidden;
}

#cover::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 80%, rgba(1, 135, 95, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(245, 200, 66, 0.15) 0%, transparent 50%);
    z-index: 0;
}

#cover.hidden {
    opacity: 0;
    transform: scale(1.05);
    pointer-events: none;
}

.cover-content {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-xl);
    padding: 40px 35px;
    max-width: 380px;
    width: 90%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.cover-ornament {
    font-size: 2rem;
    margin-bottom: 10px;
    opacity: 0.8;
}

#cover .cover-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 8px;
}

#cover h1 {
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 700;
    margin: 5px 0 15px 0;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

#cover .cover-date {
    font-size: 0.85rem;
    opacity: 0.9;
    font-weight: 300;
    letter-spacing: 1px;
}

.cover-button {
    position: relative;
    background: linear-gradient(135deg, #fff 0%, #f0f0f0 100%);
    color: var(--play-green);
    padding: 14px 36px;
    border-radius: var(--radius-xl);
    border: none;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    margin-top: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all var(--transition-bounce);
    overflow: hidden;
    z-index: 2;
}

.cover-button::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, var(--play-green), var(--accent-gold));
    z-index: -1;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.cover-button:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 25px rgba(1, 135, 95, 0.3);
}

.cover-button:hover::after {
    opacity: 1;
}

/* Cover Floating Particles */
.cover-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: floatParticle linear infinite;
}

.particle:nth-child(1) {
    left: 10%;
    width: 4px;
    height: 4px;
    animation-duration: 12s;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    left: 25%;
    width: 6px;
    height: 6px;
    animation-duration: 15s;
    animation-delay: 2s;
}

.particle:nth-child(3) {
    left: 40%;
    width: 3px;
    height: 3px;
    animation-duration: 10s;
    animation-delay: 4s;
}

.particle:nth-child(4) {
    left: 55%;
    width: 8px;
    height: 8px;
    animation-duration: 18s;
    animation-delay: 1s;
}

.particle:nth-child(5) {
    left: 70%;
    width: 5px;
    height: 5px;
    animation-duration: 13s;
    animation-delay: 3s;
}

.particle:nth-child(6) {
    left: 85%;
    width: 4px;
    height: 4px;
    animation-duration: 16s;
    animation-delay: 5s;
}

.particle:nth-child(7) {
    left: 15%;
    width: 7px;
    height: 7px;
    animation-duration: 20s;
    animation-delay: 7s;
}

.particle:nth-child(8) {
    left: 60%;
    width: 3px;
    height: 3px;
    animation-duration: 11s;
    animation-delay: 6s;
}

.particle-heart {
    background: none;
    width: auto;
    height: auto;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.2);
}

@keyframes floatParticle {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-20vh) rotate(720deg);
        opacity: 0;
    }
}

/* Pulse glow for cover button */
@keyframes pulseGlow {

    0%,
    100% {
        box-shadow: 0 0 5px rgba(1, 135, 95, 0.4);
    }

    50% {
        box-shadow: 0 0 25px rgba(1, 135, 95, 0.6), 0 0 50px rgba(1, 135, 95, 0.2);
    }
}

.cover-button {
    animation: pulseGlow 2.5s ease-in-out infinite;
}



/* ============================================
   MAIN APP CONTAINER
   ============================================ */
.app-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-lg);
    padding-bottom: 80px;
    display: none;
    position: relative;
}

/* ============================================
   HEADER — FROSTED GLASS
   ============================================ */
.app-header {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 500;
    transition: all var(--transition-smooth);
}

body.dark-mode .app-header {
    background-color: rgba(32, 33, 36, 0.88);
}

.app-header.scrolled {
    box-shadow: var(--shadow-md);
}

.app-header .icon {
    font-size: 1.2rem;
    color: var(--text-medium);
    margin-right: 15px;
    cursor: pointer;
    transition: color var(--transition-fast);
}

.app-header .icon:hover {
    color: var(--play-green);
}

#dark-mode-toggle {
    font-size: 1.3rem;
    color: var(--text-medium);
    margin-left: auto;
    margin-right: 15px;
    cursor: pointer;
    transition: color var(--transition-fast), transform var(--transition-bounce);
}

#dark-mode-toggle:hover {
    color: var(--play-green);
    transform: rotate(20deg);
}

.search-bar-container {
    flex-grow: 0;
    position: relative;
    margin-right: 10px;
}

.app-header .search-bar {
    padding: 8px 15px;
    background-color: var(--bg-light);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid transparent;
    transition: all var(--transition-fast);
}

.app-header .search-bar:focus-within {
    border-color: var(--play-green);
    box-shadow: 0 0 0 3px rgba(1, 135, 95, 0.1);
}

.app-header .search-bar input {
    border: none;
    background: none;
    outline: none;
    flex-grow: 1;
    font-size: 0.8rem;
    font-family: var(--font-body);
    color: var(--text-dark);
    max-width: 150px;
}

.app-header .search-bar .search-icon {
    color: var(--text-medium);
    margin-left: 10px;
    transition: color var(--transition-fast);
}

.app-header .search-bar:focus-within .search-icon {
    color: var(--play-green);
}

.app-header .user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #ccc;
    margin-left: 0;
    cursor: pointer;
    background-image: url('https://i.pinimg.com/564x/36/35/ed/3635ed25d73caeb1121bb463070f188c.jpg');
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
    border: 2px solid transparent;
    transition: border-color var(--transition-fast);
}

.app-header .user-avatar:hover {
    border-color: var(--play-green);
}

/* --- Search Dropdown --- */
#search-dropdown {
    display: none;
    position: absolute;
    top: 110%;
    left: 0;
    width: 100%;
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
    animation: dropdownFade 0.2s ease;
}

@keyframes dropdownFade {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

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

#search-dropdown a {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.8rem;
    transition: background-color var(--transition-fast);
}

#search-dropdown a:hover {
    background-color: var(--play-light-green);
}

#search-dropdown i {
    color: var(--play-green);
    margin-right: 15px;
    width: 20px;
}

/* ============================================
   HERO SECTION — APP LISTING PREMIUM
   ============================================ */
.hero-section {
    padding: 24px 20px;
    display: flex;
    align-items: center;
    gap: 18px;
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-light) 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(1, 135, 95, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero-section .app-icon {
    width: 88px;
    height: 88px;
    border-radius: 22px;
    background-color: var(--play-green);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    color: white;
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    position: relative;
}

/* Shimmer effect on app icon */
.hero-section .app-icon::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    50%,
    100% {
        left: 100%;
    }
}

.hero-section .app-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-info h2 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-dark);
}

.hero-info .developer {
    font-size: 0.78rem;
    color: var(--play-green);
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.hero-info .developer .verified-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    background: var(--play-blue);
    border-radius: 50%;
    color: white;
    font-size: 0.55rem;
}

.hero-info .meta-info {
    display: flex;
    align-items: center;
    margin-top: 10px;
    font-size: 0.72rem;
    color: var(--text-medium);
    gap: 0;
}

.hero-info .meta-info span {
    display: flex;
    align-items: center;
    margin-right: 15px;
    gap: 4px;
}

.hero-info .meta-info .stars i {
    color: #ffc107;
    font-size: 0.68rem;
}

/* ============================================
   INSTALL / CTA BUTTON
   ============================================ */
.install-button {
    background: linear-gradient(135deg, var(--play-green) 0%, var(--play-dark-green) 100%);
    color: white;
    padding: 14px 0;
    text-align: center;
    border-radius: var(--radius-xl);
    width: 90%;
    max-width: 300px;
    margin: 20px auto;
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    border: none;
    transition: all var(--transition-bounce);
    box-shadow: 0 4px 15px rgba(1, 135, 95, 0.3);
    position: relative;
    overflow: hidden;
}

.install-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.install-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(1, 135, 95, 0.4);
}

.install-button:hover::before {
    width: 400px;
    height: 400px;
}

.install-button:active {
    transform: translateY(-1px);
}

.install-button i {
    margin-right: 8px;
}

/* ============================================
   GALLERY / SCREENSHOTS — SWIPER
   ============================================ */
.screenshots-section {
    padding: 0 0 24px 0;
    background-color: var(--bg-white);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin-top: 20px;
}

.screenshots-section h3 {
    font-size: 1rem;
    font-weight: 600;
    padding: 18px 20px 12px 20px;
    margin: 0;
    color: var(--text-dark);
}

.swiper-container {
    width: 100%;
    height: 240px;
    margin-left: 0 !important;
    overflow: hidden;
}

.swiper-slide {
    width: 170px !important;
    margin-right: 10px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-smooth);
    cursor: pointer;
}

.swiper-slide:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-smooth);
}

.swiper-slide:hover img {
    transform: scale(1.05);
}

/* ============================================
   SECTION CARD — COMMON
   ============================================ */
.section-card {
    background-color: var(--bg-white);
    padding: 24px 20px;
    border-bottom: 1px solid var(--border-color);
    margin-top: 20px;
}

.section-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 18px 0;
    color: var(--text-dark);
}

.section-sub-heading {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 30px 0 18px 0;
    text-align: center;
    position: relative;
}

.section-sub-heading::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--play-green), var(--play-dark-green));
    margin: 10px auto 0;
    border-radius: 2px;
}

/* ============================================
   ABOUT THIS APP / DESCRIPTION
   ============================================ */
.app-description p {
    font-size: 0.82rem;
    line-height: 1.7;
    margin-bottom: 12px;
    color: var(--text-medium);
}

.app-description strong {
    color: var(--text-dark);
}

.app-description .read-more {
    color: var(--play-green);
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    transition: color var(--transition-fast);
}

.app-description .read-more:hover {
    color: var(--play-dark-green);
}

/* Detail items (date, time, location) */
.detail-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 0.78rem;
    color: var(--text-medium);
    padding: 8px 12px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    transition: background-color var(--transition-fast);
}

.detail-item:hover {
    background: var(--play-light-green);
}

.detail-item i {
    color: var(--play-green);
    margin-right: 12px;
    font-size: 0.95rem;
    width: 22px;
    text-align: center;
}

.detail-item .label {
    width: 100px;
    color: var(--text-dark);
    font-weight: 600;
    flex-shrink: 0;
}

.detail-item .value {
    flex-grow: 1;
}

/* --- Mempelai Photos --- */
.mempelai-container {
    display: flex;
    justify-content: space-around;
    text-align: center;
    margin-bottom: 20px;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    /* Pastikan bisa turun ke bawah jika layar sempit */
}

@media (max-width: 480px) {
    .mempelai-container {
        flex-direction: column;
        gap: 20px;
    }
}

.mempelai-photo {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
    border: 3px solid var(--play-green);
    box-shadow: 0 4px 15px rgba(1, 135, 95, 0.2);
    transition: all var(--transition-smooth);
}

.mempelai-photo:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(1, 135, 95, 0.3);
}

.mempelai-name {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--play-dark-green);
    margin: 0;
}

.mempelai-parents {
    font-size: 0.72rem;
    margin: 5px 0;
    color: var(--text-medium);
}

.mempelai-ig {
    color: var(--play-green);
    text-decoration: none;
    font-size: 0.72rem;
    transition: color var(--transition-fast);
}

.mempelai-ig:hover {
    color: var(--play-dark-green);
}

.ampersand {
    font-family: var(--font-display);
    font-size: 2.2rem;
    color: var(--play-green);
    margin: 0;
}

/* --- Couple Name Display --- */
.couple-name-display {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--play-green);
    text-align: center;
    margin: 20px 0;
}

/* --- Add to Calendar Button --- */
.add-to-calendar-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    max-width: 220px;
    margin: 25px auto;
    padding: 12px 24px;
    border: 2px solid var(--play-green);
    border-radius: var(--radius-xl);
    color: var(--play-green);
    text-decoration: none;
    text-align: center;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all var(--transition-bounce);
}

.add-to-calendar-btn:hover {
    background-color: var(--play-green);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(1, 135, 95, 0.3);
}

.add-to-calendar-btn i {
    font-size: 1rem;
}

/* ============================================
   COUNTDOWN — FLIP CLOCK STYLE
   ============================================ */
.countdown-wrapper {
    text-align: center;
    margin: 25px 0;
    padding: 20px;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
}

.countdown-wrapper .countdown-title {
    margin-bottom: 15px;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.countdown-grid {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.countdown-card {
    background: linear-gradient(180deg, var(--play-green) 0%, var(--play-dark-green) 100%);
    color: white;
    border-radius: var(--radius-sm);
    padding: 12px 8px;
    min-width: 60px;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.countdown-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(0, 0, 0, 0.15);
}

.countdown-card .count-number {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
    display: block;
    font-family: var(--font-body);
}

.countdown-card .count-label {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.85;
    margin-top: 6px;
    display: block;
    font-weight: 500;
}

/* Pulse animation on countdown change */
@keyframes countPulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08);
    }

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

.countdown-card.pulse {
    animation: countPulse 0.4s ease;
}

/* ============================================
   MAP / LOCATION
   ============================================ */
.location-section {
    margin-top: 20px;
}

.location-section iframe {
    border: 0;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.location-btn {
    display: block;
    text-align: center;
    margin-top: 15px;
    padding: 12px;
    background: linear-gradient(135deg, var(--play-green), var(--play-dark-green));
    color: white;
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all var(--transition-bounce);
    box-shadow: 0 4px 15px rgba(1, 135, 95, 0.3);
}

.location-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(1, 135, 95, 0.4);
}

/* ============================================
   VIDEO SECTION
   ============================================ */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    margin-top: 15px;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ============================================
   GIFT / BANK DETAILS — ELEGANT CARDS
   ============================================ */
.gift-section .gift-intro {
    font-size: 0.78rem;
    color: var(--text-medium);
    margin-bottom: 18px;
    text-align: center;
    line-height: 1.6;
}

.gift-section .bank-card {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 12px;
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.gift-section .bank-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--play-green), var(--play-dark-green));
    border-radius: 0 2px 2px 0;
}

.gift-section .bank-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.gift-section .bank-header {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.gift-section .bank-logo {
    width: 60px;
    height: auto;
    margin-right: 12px;
    object-fit: contain;
}

.gift-section .bank-info p {
    margin: 0;
    font-size: 0.75rem;
    color: var(--text-medium);
}

.gift-section .bank-info strong {
    font-size: 0.88rem;
    color: var(--text-dark);
}

.gift-section .copy-btn {
    background: linear-gradient(135deg, var(--play-green), var(--play-dark-green));
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: var(--radius-lg);
    font-size: 0.72rem;
    font-family: var(--font-body);
    cursor: pointer;
    float: right;
    margin-top: 10px;
    transition: all var(--transition-bounce);
    display: flex;
    align-items: center;
    gap: 6px;
}

.gift-section .copy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(1, 135, 95, 0.3);
}

.gift-section .copy-btn.copied {
    background: #4caf50;
}

.gift-section .copy-notification {
    font-size: 0.68rem;
    color: var(--play-green);
    margin-top: 5px;
    text-align: right;
    display: none;
    font-weight: 500;
}

.gift-section .bank-card::after {
    content: "";
    display: table;
    clear: both;
}

/* ============================================
   TIMELINE — PREMIUM CARDS
   ============================================ */
.timeline-section {
    margin-top: 30px;
}

.timeline {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 3px;
    background: linear-gradient(180deg, var(--play-green), var(--play-dark-green), var(--play-green));
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1.5px;
    border-radius: 2px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 22px;
    right: -11px;
    background-color: var(--bg-white);
    border: 3px solid var(--play-green);
    top: 22px;
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 0 4px rgba(1, 135, 95, 0.1);
    transition: all var(--transition-smooth);
}

.timeline-item:hover::after {
    background-color: var(--play-green);
    box-shadow: 0 0 0 8px rgba(1, 135, 95, 0.15);
}

.timeline-item.left {
    left: 0;
}

.timeline-item.right {
    left: 50%;
}

.timeline-item.right::after {
    left: -11px;
}

.timeline-content {
    padding: 18px;
    background-color: var(--bg-light);
    position: relative;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: all var(--transition-smooth);
}

.timeline-content:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--play-green);
}

.timeline-content h4 {
    margin: 0 0 6px 0;
    font-size: 0.85rem;
    color: var(--play-green);
    font-weight: 600;
}

.timeline-content p {
    margin: 0;
    font-size: 0.78rem;
    line-height: 1.5;
    color: var(--text-medium);
}

/* ============================================
   PENUTUP SECTION — EMOTIONAL
   ============================================ */
.penutup-section {
    text-align: center;
    margin-top: 40px;
    padding: 35px 20px;
    border-top: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.penutup-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(1, 135, 95, 0.03) 50%, transparent 100%);
    pointer-events: none;
}

.penutup-section p {
    font-size: 0.82rem;
    color: var(--text-medium);
    line-height: 1.8;
    position: relative;
}

.penutup-section .couple-name {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--play-green);
    margin: 18px 0;
    position: relative;
}

.penutup-section .family-name {
    font-size: 0.78rem;
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding: 10px 24px;
    background: #25D366;
    color: white;
    border: none;
    border-radius: var(--radius-xl);
    font-size: 0.8rem;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition-bounce);
    position: relative;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

/* ============================================
   REVIEWS / GUESTBOOK — SOCIAL STYLE
   ============================================ */
.reviews-section .user-review {
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
    margin-bottom: 0;
    animation: reviewSlideIn 0.4s ease;
}

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

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

.reviews-section .user-review:last-of-type {
    border-bottom: none;
}

.reviews-section .review-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.reviews-section .review-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    margin-right: 12px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.8rem;
    color: white;
    text-transform: uppercase;
}

.reviews-section .review-name {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.82rem;
}

.reviews-section .review-stars i {
    color: #ffc107;
    font-size: 0.7rem;
    margin-right: 2px;
}

.reviews-section .review-date {
    font-size: 0.65rem;
    color: var(--text-light);
    margin-left: auto;
}

.reviews-section .review-text {
    font-size: 0.78rem;
    line-height: 1.6;
    color: var(--text-medium);
    margin-left: 48px;
}

/* Overall rating */
.overall-rating {
    display: flex;
    align-items: baseline;
    margin-bottom: 18px;
    gap: 10px;
}

.overall-rating .rating-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1;
}

.overall-rating .rating-stars {
    font-size: 1rem;
    color: #ffc107;
}

/* --- Write a Review Form --- */
.write-review-form {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%);
    padding: 20px;
    border-radius: var(--radius-md);
    margin-top: 20px;
    border: 1px solid var(--border-color);
}

.write-review-form h4 {
    margin: 0 0 18px 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-medium);
    margin-bottom: 6px;
    font-weight: 500;
}

.form-group input[type="text"],
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--text-dark);
    background-color: var(--bg-white);
    transition: all var(--transition-fast);
    box-sizing: border-box;
}

.form-group input[type="text"]:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--play-green);
    box-shadow: 0 0 0 3px rgba(1, 135, 95, 0.1);
}

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

.rating-stars {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-top: 5px;
}

.rating-stars i {
    cursor: pointer;
    transition: color var(--transition-fast), transform var(--transition-fast);
}

.rating-stars i.active,
.rating-stars i:hover {
    color: #ffc107;
    transform: scale(1.15);
}

.submit-review-btn {
    background: linear-gradient(135deg, var(--play-green), var(--play-dark-green));
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: var(--radius-lg);
    font-size: 0.82rem;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    transition: all var(--transition-bounce);
    display: block;
    width: 100%;
    margin-top: 20px;
    box-shadow: 0 4px 15px rgba(1, 135, 95, 0.3);
}

.submit-review-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(1, 135, 95, 0.4);
}

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

.form-status {
    text-align: center;
    margin-top: 10px;
    font-size: 0.75rem;
}

.form-status .spinner {
    border: 2px solid #f3f3f3;
    border-top: 2px solid var(--play-green);
    border-radius: 50%;
    width: 16px;
    height: 16px;
    animation: spin 1s linear infinite;
    display: inline-block;
    vertical-align: middle;
    margin-right: 5px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.form-status .success {
    color: var(--play-green);
}

.form-status .error {
    color: #d32f2f;
}

/* ============================================
   FLOATING ACTION BUTTON (MUSIC)
   ============================================ */
.fab-music {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--play-green), var(--play-dark-green));
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(1, 135, 95, 0.4);
    cursor: pointer;
    z-index: 900;
    transition: all var(--transition-bounce);
    border: none;
}

.fab-music:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(1, 135, 95, 0.5);
}

/* Music playing animation */
.fab-music.playing {
    animation: musicPulse 1.5s ease-in-out infinite;
}

@keyframes musicPulse {

    0%,
    100% {
        box-shadow: 0 4px 15px rgba(1, 135, 95, 0.4);
    }

    50% {
        box-shadow: 0 4px 15px rgba(1, 135, 95, 0.4), 0 0 0 10px rgba(1, 135, 95, 0.1);
    }
}

/* ============================================
   IMAGE MODAL — PREMIUM LIGHTBOX
   ============================================ */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    justify-content: center;
    align-items: center;
}

.modal-content {
    margin: auto;
    display: block;
    width: 85%;
    max-width: 700px;
    animation: zoomIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.85);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #f1f1f1;
    font-size: 36px;
    font-weight: 300;
    transition: all var(--transition-fast);
    cursor: pointer;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

/* ============================================
   FOOTER
   ============================================ */
.app-footer {
    text-align: center;
    padding: 24px 20px;
    border-top: 1px solid var(--border-color);
    background: var(--bg-light);
}

.app-footer p {
    font-size: 0.7rem;
    color: var(--text-light);
    margin: 4px 0;
}

.app-footer .footer-heart {
    color: #e74c3c;
}

.app-footer .footer-links {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.app-footer .footer-links a {
    color: var(--text-medium);
    text-decoration: none;
    font-size: 0.68rem;
    transition: color var(--transition-fast);
}

.app-footer .footer-links a:hover {
    color: var(--play-green);
}

/* ============================================
   CONFETTI ANIMATION
   ============================================ */
.confetti-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 3000;
    overflow: hidden;
}

.confetti-piece {
    position: absolute;
    width: 8px;
    height: 12px;
    top: -20px;
    border-radius: 2px;
    animation: confettiFall linear forwards;
}

@keyframes confettiFall {
    0% {
        transform: translateY(0) rotateZ(0deg) rotateY(0deg);
        opacity: 1;
    }

    75% {
        opacity: 1;
    }

    100% {
        transform: translateY(100vh) rotateZ(720deg) rotateY(360deg);
        opacity: 0;
    }
}

/* ============================================
   LOADING SKELETON
   ============================================ */
.skeleton {
    background: linear-gradient(90deg, var(--bg-light) 25%, rgba(0, 0, 0, 0.04) 50%, var(--bg-light) 75%);
    background-size: 200% 100%;
    animation: skeletonShimmer 1.5s ease-in-out infinite;
    border-radius: var(--radius-sm);
}

@keyframes skeletonShimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* ============================================
   RESPONSIVE — MOBILE FIRST
   ============================================ */
@media screen and (max-width: 600px) {

    /* Timeline mobile */
    .timeline::after {
        left: 30px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 15px;
    }

    .timeline-item.left,
    .timeline-item.right {
        left: 0;
    }

    .timeline-item.left::after,
    .timeline-item.right::after {
        left: 20px;
        right: auto;
    }

    /* Countdown cards smaller */
    .countdown-card {
        min-width: 52px;
        padding: 10px 6px;
    }

    .countdown-card .count-number {
        font-size: 1.5rem;
    }

    /* Mempelai stacking */
    .mempelai-container {
        flex-wrap: wrap;
        gap: 15px;
    }

    .mempelai-photo {
        width: 90px;
        height: 90px;
    }

    /* Gallery height */
    .swiper-container {
        height: 200px;
    }

    .swiper-slide {
        width: 150px !important;
    }
}

@media screen and (max-width: 380px) {
    .countdown-card {
        min-width: 45px;
        padding: 8px 4px;
    }

    .countdown-card .count-number {
        font-size: 1.3rem;
    }

    .countdown-card .count-label {
        font-size: 0.55rem;
    }

    #cover h1 {
        font-size: 1.8rem;
    }
}

/* --- Tablet --- */
@media screen and (min-width: 601px) and (max-width: 768px) {
    .app-container {
        max-width: 600px;
    }
}