:root {
    --primary: #efc436;
    --primary-dark: #B8941E;
    --secondary: #2C2C2C;
    --accent: #E8D5B7;
    --bg: #FAFAFA;
    --text: #333;
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;
    --font-accent: 'Great Vibes', cursive;
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent;}

/* Remove default focus/active styles */
a,
button,  
input,  
textarea,
select { 
    outline: none;
    box-shadow: none;
}

/* Links: no blue after click */
a {
    color: inherit;
    text-decoration: none;
}

a:visited,
a:focus,
a:active {
    color: inherit;
    background: transparent;
    outline: none;
}

/* Buttons: no blue bg after click */
button {
    background: none;
    border: none;
    color: inherit;
}

button:focus,
button:active {
    outline: none;
    box-shadow: none;
    background: none;
}


body { font-family: var(--font-body); background: var(--bg); color: var(--text); overflow-x: hidden; -webkit-font-smoothing: antialiased; line-height: 1.6; }


.container { max-width: 1400px; margin: 0 auto; padding: 0 20px; }

/* Loader */
.loader-overlay {
    position: fixed; inset: 0; background: linear-gradient(135deg, #fff 0%, #f5f5f5 100%); z-index: 9999;
    display: flex; justify-content: center; align-items: center; flex-direction: column;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}
.loader-overlay.hidden { opacity: 0; visibility: hidden; }
.heart-loader {
    width: 60px; height: 60px; background: var(--primary);
    transform: rotate(45deg); animation: heartbeat 1.3s ease-in-out infinite;
    position: relative; margin-left: auto; margin-right: auto;
}
.heart-loader::before, .heart-loader::after {
    content: ""; position: absolute; width: 60px; height: 60px;
    background: var(--primary); border-radius: 50%;
}
.heart-loader::before { left: -30px; }
.heart-loader::after { top: -30px; }
@keyframes heartbeat { 
    0%, 100% { transform: rotate(45deg) scale(0.85); } 
    50% { transform: rotate(45deg) scale(1.05); } 
}
.loader-content p { 
    margin-top: 50px; font-family: var(--font-heading); font-size: 1.3rem; 
    letter-spacing: 3px; color: var(--secondary); font-weight: 300;
}

/* Navigation - Dynamic Glassmorphism */
/* ===== Floating Glass Navigation ===== */
.glass-nav {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;

    width: calc(100% - 32px);
    max-width: 1200px;

    background: none;

    border: none;
    border-radius: 18px;


    transition:
        transform 0.45s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.35s ease,
        background 0.3s ease,
        box-shadow 0.3s ease;
}

/* Inner layout */
.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 13px 22px;
}

/* Shrink on scroll */
.glass-nav.scrolled {
    background: none;
}

.glass-nav.scrolled .nav-inner {
    padding: 13px 22px;
}

/* Hide on scroll down */
.glass-nav.nav-hidden {
    transform: translate(-50%, -120%);
    opacity: 0;
}

/* Brand */
.nav-brand img {
    height: 50px;
    transition: transform 0.3s ease;
    justify-content: center;
    align-items: center;
}

.nav-brand img:hover {
    transform: scale(1.05);
}

/* Actions */
.nav-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.nav-btn {
    background: rgba(255,255,255,0.9);
    border: 1.5px solid var(--primary);
    color: var(--secondary);

    width: 44px;
    height: 44px;
    border-radius: 50%;

    cursor: pointer;
    display: inline-flex;
    justify-content: center;
    align-items: center;

    font-size: 1.1rem;
    text-decoration: none;

    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.nav-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 10px 28px rgba(212, 175, 55, 0.35);
}

.nav-btn:active {
    transform: translateY(-1px) scale(1.02);
}

/* Hero Section - Premium Fullscreen */
.hero-section {
    height: 100vh; position: relative; overflow: hidden;
    display: flex; justify-content: center; align-items: center; text-align: center;
}

.hero-swiper { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; }
.hero-slide {
    background-size: cover; background-position: center;
    width: 100%; height: 100%;
}
.hero-overlay { 
    position: absolute; inset: 0; 
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.50) 0%, transparent 50%, rgba(0, 0, 0, 0.50) 100%); 
    pointer-events: none; z-index: 1;
}
.hero-content { 
    color: #fff; z-index: 2; padding: 30px; max-width: 900px; margin: 0 auto;
    animation: fadeInContent 1.2s ease-out;
}
@keyframes fadeInContent {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.pre-title { 
    font-family: var(--font-body); text-transform: uppercase; letter-spacing: 8px; 
    font-size: 0.85rem; display: block; margin-bottom: 20px; font-weight: 300;
}
.main-title { 
    font-family: var(--font-heading); font-size: clamp(2.5rem, 8vw, 4.5rem); 
    font-weight: 300; line-height: 1.15; margin-bottom: 20px; 
    text-shadow: 0 6px 20px rgba(0, 0, 0, 0.606); letter-spacing: 2px;
}
.sub-title { 
    font-family: var(--font-accent); font-size: clamp(2rem, 5vw, 3.5rem); 
    color: var(--primary); text-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
.scroll-indicator {
    position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
    color: rgba(255,255,255,0.9); font-size: 0.75rem; text-transform: uppercase; 
    letter-spacing: 3px; animation: bounce 2.5s ease-in-out infinite; z-index: 2;
    display: flex; flex-direction: column; align-items: center; gap: 8px;
}
@keyframes bounce { 
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); } 
    40% { transform: translateX(-50%) translateY(-12px); } 
    60% { transform: translateX(-50%) translateY(-6px); } 
}
.scroll-indicator i { font-size: 1.2rem; }

/* Fade Animations */
.hero-animate { opacity: 0; transform: translateY(30px); transition: all 1s ease-out; }
.page-loaded .hero-animate { opacity: 1; transform: translateY(0); }

.delay-1 { transition-delay: 0.3s; animation-delay: 0.3s; }
.delay-2 { transition-delay: 0.6s; animation-delay: 0.6s; }

/* Scroll Reveal Animation */
.reveal { opacity: 0; transform: translateY(50px); transition: all 0.8s cubic-bezier(0.5, 0, 0, 1); will-change: opacity, transform; }
.reveal.active { opacity: 1; transform: translateY(0); }

@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

/* Moments Slider - Premium Swiper */
.moments-section { 
    padding: 120px 0; background: linear-gradient(180deg, #fff 0%, #fafafa 100%); 
    overflow: hidden; position: relative;
}
.section-header { text-align: center; margin-bottom: 70px; }

.section-header h2 {
    position: relative;
    display: inline-block;
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: var(--secondary);
    font-weight: 400;
    letter-spacing: 1px;
    padding: 0; /* space for lines */
}

/* Top line */
.section-header h2::before,
.section-header h2::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: var(--primary);
}

/* Top underline */
.section-header h2::before {
    top: 0;
}

/* Bottom underline */
.section-header h2::after {
    bottom: -5px;
}

.margin-updown {
    margin-top: -10px;
    margin-bottom: -80px;
}

.margin-up {
    margin-top: -70px;
}

.separator { 
    font-size: 2.5rem; color: var(--primary); margin-top: 15px; 
    animation: rotate 3s linear infinite;
}
@keyframes rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.moments-swiper {
    width: 100%; padding: 60px 0 80px;
    max-width: 1200px; margin: 0 auto;
}
.moment-card {
    width: 320px; height: 480px; border-radius: 16px; overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}
.moment-card::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,0.4));
    opacity: 0; transition: opacity 0.4s ease;
}
.moment-card:hover::after { opacity: 1; }
.moment-card img { 
    width: 100%; height: 100%; object-fit: cover; 
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.moment-card:hover img { transform: scale(1.08); }

/* Swiper Pagination */
.swiper-pagination-bullet { 
    background: rgba(0,0,0,0.3); width: 10px; height: 10px; 
    transition: all 0.3s ease;
}
.swiper-pagination-bullet-active { 
    background: var(--primary) !important; width: 30px; border-radius: 5px;
}

/* Gallery Section - Random Grid Masonry */
.gallery-section { 
    padding: 100px 0; background: var(--bg); position: relative;
}
.gallery-section .container { max-width: 1600px; }
.filter-bar { 
    margin-top: 40px; display: flex; justify-content: center; 
    flex-wrap: wrap; gap: 12px; padding: 0 20px;
}
.filter-pill {
    background: #fff; border: 2px solid var(--accent); color: var(--secondary);
    padding: 12px 28px; border-radius: 50px; cursor: pointer;
    font-family: var(--font-body); font-size: 0.85rem; 
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase; letter-spacing: 1.5px; font-weight: 500;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.filter-pill.active, .filter-pill:hover { 
    background: var(--primary); color: #fff; border-color: var(--primary); 
    transform: translateY(-2px); box-shadow: 0 8px 25px rgba(212, 175, 55, 0.25);
}

/* Random Grid - Premium Masonry with Random Sizes */
.masonry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    grid-auto-rows: 250px;
    grid-auto-flow: dense;
    gap: 15px;
    margin-top: 60px;
    padding: 0 20px;

    max-width: 1200px; margin: 0 auto;
}
.grid-item { 
    border-radius: 12px; overflow: hidden;
}
.grid-item.hidden { 
    opacity: 0; transform: scale(0.8); pointer-events: none;
}

.grid-item.vertical { grid-row: span 2; }
.grid-item.horizontal { grid-column: span 2; }
.grid-item.big { grid-column: span 2; grid-row: span 2; }

.img-wrapper { 
    position: relative; border-radius: 12px; overflow: hidden; 
    cursor: pointer; height: 100%;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.img-wrapper::before {
    content: ''; position: absolute; inset: 0; z-index: 2;
    background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.6));
    opacity: 0; transition: opacity 0.4s ease;
}
.img-wrapper:hover::before { opacity: 1; }
.img-wrapper::after { content: none; }
.img-wrapper img { 
    width: 100%; height: 100%; object-fit: cover; display: block; 
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.img-wrapper:hover { 
    transform: translateY(-8px); 
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}
.img-wrapper:hover img { transform: scale(1.1); }

/* Timer Section - Years, Months, Days */
.timer-section {
    position: relative; padding: 120px 20px; text-align: center; color: #fff;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.7)), fixed center/cover;
    min-height: 500px; display: flex; align-items: center; justify-content: center;
}
.timer-overlay { 
    position: absolute; inset: 0; 
    background: linear-gradient(135deg, rgba(44, 44, 44, 0.9) 0%, rgba(0, 0, 0, 0.85) 100%);
    backdrop-filter: blur(3px);
}
.timer-content { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; }
.timer-content h3 { 
    font-family: var(--font-accent); font-size: clamp(2.5rem, 6vw, 5rem); 
    margin-bottom: 60px; color: var(--primary); 
    text-shadow: 0 4px 20px rgba(0,0,0,0.6); font-weight: 400;
}
#countdown-display {
    display: flex; justify-content: center; gap: 25px; flex-wrap: wrap;
}
.time-block {
    background: rgba(255,255,255,0.08); backdrop-filter: blur(15px);
    padding: 30px 25px; border-radius: 20px; min-width: 130px; 
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.time-block:hover {
    transform: translateY(-8px);
    background: rgba(255,255,255,0.12);
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}
.time-val { 
    font-family: var(--font-heading); font-size: clamp(2.5rem, 5vw, 4rem); 
    display: block; line-height: 1; margin-bottom: 10px; font-weight: 300;
    color: var(--primary);
}
.time-label { 
    font-size: 0.8rem; text-transform: uppercase; letter-spacing: 3px; 
    opacity: 0.85; font-weight: 500; color: rgba(255,255,255,0.9);
}

/* Footer - Premium */
.premium-footer {
    background: linear-gradient(180deg, #fff 0%, #f5f5f5 100%); 
    padding: 80px 20px 40px; text-align: center;
    border-top: 1px solid rgba(0,0,0,0.06);
}
.footer-brand img { 
    height: 70px; margin-bottom: 25px; opacity: 0.95; 
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.1));
}
.footer-brand p { 
    font-family: var(--font-heading); font-style: italic; 
    color: var(--text); font-size: 1.2rem; font-weight: 300; letter-spacing: 0.5px;
}

/* ===== Footer Social Icons (APK Style) ===== */
.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin-top: 20px;
}

.social-buttons {
   display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin-top: 10px;
}

.social-buttons button{
    border: none;
}

.social-btn {
    width: 45px;
    height: 45px;
    border-radius: 14px;

    display: flex;
    justify-content: center;
    align-items: center;

    font-size: 1.35rem;
    color: #fff !important;
    text-decoration: none;

    cursor: pointer;

    box-shadow:
        0 8px 22px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255,255,255,0.25);

    transition: all 0.25s ease;
}

.social-btn.edit {
    background-color: var(--primary-dark);
}

/* Press / Tap effect (APK feel) */
.social-btn:active {
    transform: scale(0.92);
}

.glass-nav .social-btn {
    width: 40px;
    height: 40px;
}
/* Hover (desktop) */
.social-btn:hover {
    transform: translateY(-2px);
}

/* ===== Platform Colors ===== */
.social-btn.instagram {
    background: radial-gradient(
        circle at 30% 110%,
        #fdf497 0%,
        #fdf497 5%,
        #fd5949 45%,
        #d6249f 60%,
        #285AEB 90%
    );
}

.social-btn.whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.social-btn.qrcode {
    background: linear-gradient(135deg, #111, #444);
}

.social-btn.music {
    background: linear-gradient(135deg, #fc2121, #fc8585);
}

/* Icon alignment fix */
.social-btn i {
    line-height: 1;
}

.copyright { 
    font-size: 0.75rem; color: #999; letter-spacing: 1px; 
    margin-top: 30px; padding-top: 30px; border-top: 1px solid rgba(0,0,0,0.05);
    justify-content: center;
}

.copyright a {
    display: inline-flex;
    align-items: center;
    gap: 6px;               /* space between text & logo */
    color: inherit;
    text-decoration: none;
}

.copyright img {
    display: block;         /* removes baseline shift */
    height: 25px;           /* keeps logo consistent */
    width: auto;
}

.copyright span {
    color: var(--primary-dark);
}

/* Lightbox - Premium Modal */
.lightbox {
    position: fixed; inset: 0; z-index: 3000;
    display: none; opacity: 0; transition: opacity 0.4s ease;
}
.lightbox.active { display: block; opacity: 1; }

.lightbox-backdrop { 
    position: absolute; inset: 0; 
    background: rgba(0, 0, 0, 0.454); backdrop-filter: blur(10px);
    cursor: pointer;
}
.lightbox-swiper { width: 100%; height: 100%; }
.lightbox-swiper .swiper-slide { 
    display: flex; justify-content: center; align-items: center; padding: 20px;
}
.lightbox-swiper img { 
    max-width: 95%; max-height: 90vh; object-fit: contain; 
    border-radius: 8px; box-shadow: 0 0 80px rgba(0,0,0,0.8);
}
.swiper-button-next, .swiper-button-prev { 
    color: rgba(255,255,255,0.8); 
    transition: all 0.3s ease;
    width: 50px; height: 50px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}


.swiper-button-next:hover, .swiper-button-prev:hover { 
    color: var(--primary); background: rgba(255,255,255,0.2);
    transform: scale(1.1);
}
.swiper-button-next::after, .swiper-button-prev::after {
    font-size: 1.5rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .masonry-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        grid-auto-rows: 220px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: 90vh;
    }
    .nav-inner {
        padding: 0px 10px;
    }
    .glass-nav.scrolled .nav-inner {
        padding: 0px 10px;
    }

    .nav-brand img { height: 50px; }
    .nav-btn { width: 42px; height: 42px; font-size: 1rem; }
    
    .main-title { font-size: 2.5rem; }
    .pre-title { font-size: 0.7rem; letter-spacing: 4px; }
    .sub-title { font-size: 2rem; }
    
    .section-header h2 { font-size: 2.5rem; }
    .moments-section { padding: 80px 0; }
    .moment-card { width: 280px; height: 420px; }
    
    .masonry-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 180px;
        gap: 10px;
    }
    
    #countdown-display { gap: 15px; }
    .time-block { min-width: 100px; padding: 20px 15px; }
    .time-val { font-size: 2.5rem; }
    .time-label { font-size: 0.7rem; }
    
    .timer-content h3 { font-size: 3rem; margin-bottom: 40px; }
}

@media (max-width: 480px) {
    .masonry-grid {
        gap: 8px;
    }    
    .filter-bar { gap: 8px; }
    .filter-pill { padding: 10px 20px; font-size: 0.75rem; }
    
    .time-block { min-width: 75px; padding: 15px 10px; }
    .time-val { font-size: 2rem; }
    
    .scroll-indicator { font-size: 0.65rem; bottom: 25px; }
}

/* Music Icon Animation */
.rotating {
    animation: rotate 3s linear infinite;
}

/* Disable dragging/selecting images */
img { -webkit-user-drag: none; user-select: none; -webkit-user-select: none; }

/* Album Details Modal CSS */
.details-modal {
    display: none; 
    position: fixed; 
    z-index: 10001; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0,0,0,0.6); 
    backdrop-filter: blur(5px);
}
.details-modal-content {
    background-color: #fff;
    margin: 10% auto; 
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    animation: modalFadeIn 0.3s;
}
@keyframes modalFadeIn {
    from {opacity: 0; transform: translateY(-20px);}
    to {opacity: 1; transform: translateY(0);}
}
.close-details-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 10px;
    transition: color 0.3s;
}
.close-details-modal:hover { color: #333; }
.details-modal-content h2 {
    margin-top: 0;
    color: #333;
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    margin-bottom: 20px;
}
.details-content p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 15px;
    line-height: 1.6;
}
.details-content strong { color: #333; }
.note-a {
    font-size: 0.9rem !important;
    background: #fff5f5;
    padding: 10px;
    border-radius: 8px;
    border-left: 4px solid #ff6b6b;
    margin-top: 20px;
}
.details-buttons {
    margin-top: 30px;
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}
.details-buttons button {
    padding: 12px 25px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: transform 0.2s, box-shadow 0.2s;
}
#renewMembershipBtn { background: #333; color: #fff; }
#editAlbumBtn { background: #f0f0f0; color: #333; }
.details-buttons button:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.albumDetails {
    background: transparent; border: 1px solid currentColor; color: inherit;
    padding: 8px 20px; border-radius: 30px; cursor: pointer;
    font-family: inherit; font-size: 0.9rem; margin-top: 15px;
    transition: all 0.3s ease; display: inline-flex; align-items: center; gap: 8px;
}
.albumDetails:hover { background: rgba(255,255,255,0.1); transform: translateY(-2px); } 


