/* ============================================
   SHARED CSS - Valentine Static Pages
   Berisi variabel, reset, dan utilitas bersama
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&family=Cormorant+Garamond:ital,wght@0,400;1,400;1,600&family=Inter:wght@300;400;600&family=Dancing+Script:wght@700&family=Caveat:wght@400;700&display=swap');

:root {
    --primary: #7e0c23;
    --rosegold: #B76E79;
    --rose-light: #fce7f3;
    --rose-pale: #fff1f2;
    --cream: #fffdf5;
    --font-display: 'Cinzel', serif;
    --font-sans: 'Inter', sans-serif;
    --font-dancing: 'Caveat', cursive;
    --font-editorial: 'Cormorant Garamond', serif;
}

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

html, body {
    height: 100%;
    width: 100%;
}

body {
    font-family: var(--font-display);
    background: linear-gradient(135deg, #fadceb 0%, #fef3e2 50%, #e0e7ff 100%);
    background-attachment: fixed;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-user-select: none;
    user-select: none;
}

/* Grain Overlay */
.grain-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9000;
    opacity: 0.04;
    background-image: url("https://lh3.googleusercontent.com/aida-public/AB6AXuDKGknlB-KxaIGCLnTlbc4Nl4TkEFPgcawululOaTjrPN1TjAXh5-VF4xHrr9ynM5yX31NDpYR9RHV2UmbTm20_2PelSIGaLyd6umPnVXMyK5b2UtcHLG3b7jdMErP-Ln0xg5L0HyGn5OoJ1P4RzpWNxI46kDviC-kSSVyGCXAzO7mApHsoqMZkysiUBK5Dw6oeM04dK5WKl4LGHCmneeyiRbiz0D6NcA8NpUWZPs19QE-FuTH8tKsNYadHZHpxk8bnqYdtBBXl9b34");
}

/* Glass Card Base */
.glass-card {
    background: rgba(255,255,255,0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.85);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    border-radius: 1.5rem;
}

/* Nav Bar (shared bottom nav) */
.nav-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1.25rem 1.5rem;
    pointer-events: none;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    max-width: 600px;
    left: 50%;
    transform: translateX(-50%);
}

.nav-btn {
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.6);
    border-radius: 9999px;
    padding: 0.65rem 1.25rem;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    text-decoration: none;
}

.nav-btn:hover {
    background: rgba(255,255,255,0.92);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.nav-btn:active { transform: scale(0.95); }

.nav-btn .material-symbols-outlined {
    font-size: 1.1rem;
    font-variation-settings: 'FILL' 0, 'wght' 400;
}

/* Page Title + Subtitle Shared */
.page-header {
    text-align: center;
    margin-bottom: 2rem;
}

.page-header .brand-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(126,12,35,0.4);
    font-family: var(--font-sans);
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-header h1 {
    font-family: var(--font-display);
    font-style: italic;
    color: var(--primary);
    font-size: clamp(1.6rem, 5vw, 2.6rem);
    margin-bottom: 0.5rem;
    line-height: 1.1;
}

.page-header .subtitle {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(126,12,35,0.5);
}

.divider {
    width: 6rem;
    height: 1px;
    background: rgba(183,110,121,0.3);
    margin: 1rem auto;
}

/* Fade In Animation */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeInUp 0.7s ease-out forwards;
}

.fade-in.delay-1 { animation-delay: 0.1s; opacity: 0; }
.fade-in.delay-2 { animation-delay: 0.25s; opacity: 0; }
.fade-in.delay-3 { animation-delay: 0.4s; opacity: 0; }
.fade-in.delay-4 { animation-delay: 0.55s; opacity: 0; }

/* Washi Tape */
.washi-tape {
    background: rgba(244,212,218,0.5);
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    backdrop-filter: blur(1px);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    clip-path: polygon(0% 10%, 2% 0%, 4% 8%, 6% 1%, 8% 9%, 10% 2%, 12% 10%, 14% 3%, 16% 9%, 18% 1%, 20% 8%, 22% 2%, 24% 10%, 26% 4%, 28% 9%, 30% 1%, 32% 8%, 34% 3%, 36% 10%, 38% 2%, 40% 9%, 42% 1%, 44% 8%, 46% 3%, 48% 10%, 50% 2%, 52% 9%, 54% 1%, 56% 8%, 58% 3%, 60% 10%, 62% 2%, 64% 9%, 66% 1%, 68% 8%, 70% 3%, 72% 10%, 74% 2%, 76% 9%, 78% 1%, 80% 8%, 82% 3%, 84% 10%, 86% 2%, 88% 9%, 90% 1%, 92% 8%, 94% 2%, 96% 10%, 98% 3%, 100% 9%, 100% 91%, 98% 98%, 96% 91%, 94% 99%, 92% 92%, 90% 100%, 88% 93%, 86% 99%, 84% 91%, 82% 98%, 80% 92%, 78% 100%, 76% 91%, 74% 99%, 72% 92%, 70% 100%, 68% 91%, 66% 98%, 64% 92%, 62% 100%, 60% 91%, 58% 99%, 56% 92%, 54% 100%, 52% 91%, 50% 98%, 48% 92%, 46% 100%, 44% 91%, 42% 99%, 40% 92%, 38% 100%, 36% 91%, 34% 98%, 32% 92%, 30% 100%, 28% 91%, 26% 99%, 24% 92%, 22% 100%, 20% 91%, 18% 98%, 16% 92%, 14% 100%, 12% 91%, 10% 99%, 8% 92%, 6% 100%, 4% 91%, 2% 98%, 0% 90%);
}

.washi-tape-gold {
    background: rgba(255, 215, 100, 0.45);
}

/* Material Symbols */
.material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}
