
/* Crisp Mongolian Typography Optimization */
*, *::before, *::after {
    font-family: 'Roboto', 'Inter', 'Rubik', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    text-rendering: optimizeLegibility !important;
}

button, input, textarea, select {
    font-family: 'Roboto', 'Inter', 'Rubik', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif !important;
    letter-spacing: 0.02em;
}

h1, h2, h3, h4, h5, h6, .section-title, .portal-title {
    font-family: 'Roboto', 'Inter', 'Rubik', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif !important;
    font-weight: 700 !important;
    letter-spacing: 0.01em !important;
}

/* ==========================================================================
   Romantic Couple Website - Love Edition Design System
   ========================================================================== */

:root {
    --bg-dark: #0d0814;
    --bg-card: rgba(26, 16, 38, 0.65);
    --border-glass: rgba(244, 63, 94, 0.18);
    --border-highlight: rgba(236, 72, 153, 0.35);

    --primary-pink: #ec4899;
    --primary-rose: #f43f5e;
    --primary-purple: #a855f7;

    --gradient-pink: linear-gradient(135deg, #f43f5e 0%, #ec4899 50%, #a855f7 100%);
    --gradient-glow: linear-gradient(135deg, rgba(244, 63, 94, 0.4), rgba(168, 85, 247, 0.3));

    --text-main: #fff1f2;
    --text-soft: #fbcfe8;
    --text-muted: #f472b6;

    --font-heading: 'Roboto', 'Inter', 'Rubik', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    --font-sans: 'Roboto', 'Inter', 'Rubik', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    --font-handwriting: 'Roboto', 'Inter', 'Rubik', sans-serif;

    --radius-lg: 24px;
    --radius-xl: 32px;
    --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
    --shadow-pink: 0 0 25px rgba(244, 63, 94, 0.35);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

html, body {
    background: #0d0814 !important;
    background-image: radial-gradient(circle at 50% 15%, #1e1035 0%, #0d0814 65%, #08040d 100%) !important;
    background-attachment: fixed !important;
    background-size: cover !important;
    color: var(--text-main);
    font-family: var(--font-sans);
    font-weight: 600;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

.container {
    width: 100%;
    max-width: 1150px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Typography Helpers */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700; letter-spacing: 0.02em;
    letter-spacing: -0.02em;
}

.text-pink { color: var(--primary-pink); }
.text-pink-gradient {
    background: var(--gradient-pink);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.text-center { text-align: center; }

/* Floating Hearts Background Particle System */
.heart-particle-container {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.floating-heart {
    position: absolute;
    bottom: -100px;
    color: rgba(244, 63, 94, 0.4);
    font-size: 1.5rem;
    animation: floatUp 12s infinite linear;
}

@keyframes floatUp {
    0% { transform: translateY(0) rotate(0deg) scale(0.8); opacity: 0; }
    20% { opacity: 0.7; }
    80% { opacity: 0.7; }
    100% { transform: translateY(-110vh) rotate(360deg) scale(1.2); opacity: 0; }
}

/* Background Blobs */
.blob-container {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
    animation: blobFloat 18s infinite alternate ease-in-out;
}

.blob-love-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #f43f5e, #ec4899);
    top: -150px;
    left: -100px;
}

.blob-love-2 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, #a855f7, #6366f1);
    top: 40%;
    right: -100px;
    animation-delay: -6s;
}

.blob-love-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #ec4899, #f43f5e);
    bottom: -100px;
    left: 30%;
    animation-delay: -12s;
}

@keyframes blobFloat {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(50px, 40px) scale(1.1); }
    100% { transform: translate(-30px, 60px) scale(0.95); }
}

/* Glassmorphism Panel Utility */
.glass {
    background: var(--bg-card);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-glass);
}

.glass-input {
    background: rgba(15, 10, 25, 0.7);
    border: 1px solid var(--border-glass);
    color: #fff;
    border-radius: 12px;
    padding: 0.85rem 1.2rem;
    font-size: 1rem;
    width: 100%;
    outline: none;
    transition: all 0.25s ease;
}

.glass-input:focus {
    border-color: var(--primary-pink);
    box-shadow: 0 0 15px rgba(236, 72, 153, 0.3);
}

/* Navigation Bar */
.navbar-wrapper {
    position: fixed;
    top: 1rem;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0 1.5rem;
}

.navbar {
    max-width: 1050px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    border-color: rgba(244, 63, 94, 0.25);
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
}

.brand-heart {
    font-size: 1.4rem;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.nav-links {
    display: flex;
    gap: 1.4rem;
}

.nav-link {
    color: var(--text-soft);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-link:hover, .nav-link.active {
    color: #fff;
    text-shadow: 0 0 8px rgba(244, 63, 94, 0.6);
}

.music-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    color: #fff;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.25s ease;
}

.music-btn:hover {
    background: rgba(244, 63, 94, 0.25);
    border-color: var(--primary-pink);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.6rem;
    border-radius: 999px;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.25s ease;
}

.btn-pink {
    background: var(--gradient-pink);
    color: #fff;
    box-shadow: 0 4px 15px rgba(244, 63, 94, 0.4);
}

.btn-pink:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(236, 72, 153, 0.6);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 1px solid var(--border-glass);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.15);
}

.btn-block { width: 100%; }

.romantic-pill {
    background: rgba(244, 63, 94, 0.15);
    border: 1px solid rgba(244, 63, 94, 0.35);
    color: #f472b6;
    border-radius: 999px;
    padding: 0.35rem 1rem;
    font-size: 0.82rem;
    font-weight: 600;
    display: inline-flex;
    gap: 0.4rem;
}

.center-pill { margin: 0 auto 1rem; }

/* Floating Music Button Position */
.floating-music-wrapper {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    z-index: 100;
}

/* Hero Section */
.hero-section {
    padding: 5rem 0 4rem;
}

.hero-grid {
    display: flex;
    justify-content: center;
    text-align: center;
}

.hero-content {
    max-width: 780px;
    margin: 0 auto;
    width: 100%;
}

.hero-title {
    font-size: 3.6rem;
    line-height: 1.1;
    margin: 1.2rem 0;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-soft);
    font-style: italic;
    margin: 0 auto 2rem;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

/* Love Counter Box */
.love-counter-box {
    padding: 1.8rem;
    border-radius: var(--radius-lg);
    margin: 0 auto 2rem;
    max-width: 620px;
    border-color: rgba(244, 63, 94, 0.3);
}

.counter-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
}

.timer-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.4rem;
}

.timer-card {
    background: rgba(15, 10, 25, 0.6);
    border: 1px solid var(--border-glass);
    border-radius: 14px;
    padding: 0.8rem 0.6rem;
    text-align: center;
    flex: 1;
}

.timer-val {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700; letter-spacing: 0.02em;
    color: #fff;
    background: var(--gradient-pink);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    line-height: 1;
}

.timer-lbl {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.3rem;
    display: block;
}

.timer-colon {
    font-size: 1.5rem;
    font-weight: 700; letter-spacing: 0.02em;
    color: var(--primary-pink);
}

.counter-footer {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-soft);
    margin-top: 1rem;
}

/* Couple Cover Visual Card */
.couple-card {
    padding: 1.2rem;
    border-radius: var(--radius-xl);
}

.image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 380px;
}

.couple-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.couple-card:hover .couple-img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13, 8, 20, 0.8) 0%, transparent 60%);
}

.heart-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(244, 63, 94, 0.85);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
}

.couple-names-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding: 0.4rem 0.5rem;
}

.love-status {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--primary-pink);
}

/* Sections */
.section-padding { padding: 6rem 0; }

.highlight-section {
    background: transparent !important;
}

.section-header { margin-bottom: 3.5rem; }
.section-title { font-size: 2.3rem; margin-bottom: 0.8rem; }
.section-desc { color: var(--text-soft); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }

/* Timeline Component */
.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: var(--gradient-pink);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 2.5rem;
    width: 50%;
}

.timeline-item.left { left: 0; padding-right: 2.5rem; }
.timeline-item.right { left: 50%; padding-left: 2.5rem; }

.timeline-dot {
    position: absolute;
    top: 1rem;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--gradient-pink);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: var(--shadow-pink);
    z-index: 2;
}

.timeline-item.left .timeline-dot { right: -19px; }
.timeline-item.right .timeline-dot { left: -19px; }

.timeline-card {
    padding: 1.5rem;
}

.timeline-date {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-pink);
}

.timeline-title {
    font-size: 1.2rem;
    margin: 0.4rem 0;
}

.timeline-text {
    font-size: 0.9rem;
    color: var(--text-soft);
}

/* Secret Love Letter Component */
.letter-card {
    max-width: 750px;
    margin: 0 auto;
    padding: 2.5rem;
    position: relative;
}

.envelope-top {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px dashed var(--border-glass);
}

.envelope-stamp { font-size: 2.5rem; }
.letter-to { font-family: var(--font-sans); font-size: 1.3rem; font-weight: 700; letter-spacing: 0.02em; }

.letter-content {
    background: rgba(15, 10, 25, 0.4);
    padding: 1.8rem;
    border-radius: 16px;
    margin-bottom: 1.8rem;
}

.handwriting-intro {
    font-family: var(--font-sans);
    font-size: 1.3rem;
    font-weight: 700; letter-spacing: 0.02em;
    color: var(--primary-pink);
    margin-bottom: 1rem;
}

.handwriting-body {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-main);
    margin-bottom: 1.2rem;
}

.handwriting-sign {
    font-family: var(--font-sans);
    font-size: 1.2rem;
    font-weight: 700; letter-spacing: 0.02em;
    text-align: right;
    color: var(--text-soft);
}

/* Memory Photo Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
}

.polaroid-card {
    padding: 1rem;
    border-radius: var(--radius-lg);
    transition: transform 0.3s ease;
}

.polaroid-card:hover {
    transform: translateY(-8px) rotate(1deg);
    border-color: var(--border-highlight);
}

.polaroid-img-wrapper {
    height: 240px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.polaroid-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-placeholder-gradient {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #a855f7, #ec4899);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
}

.polaroid-caption {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Reasons Generator Card */
.reason-card {
    max-width: 700px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.heart-burst {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: pulse 1.2s infinite;
}

.reason-quote {
    font-family: var(--font-sans);
    font-size: 1.4rem;
    font-weight: 700; letter-spacing: 0.02em;
    color: var(--text-soft);
    margin-bottom: 2rem;
    line-height: 1.5;
}

/* Couple Bucket List */
.bucket-card {
    max-width: 750px;
    margin: 0 auto;
    padding: 2.2rem;
}

.bucket-progress-box {
    margin-bottom: 1.8rem;
}

.progress-bar-bg {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    margin-top: 0.6rem;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: var(--gradient-pink);
    border-radius: 999px;
    transition: width 0.5s ease;
}

.bucket-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.bucket-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(15, 10, 25, 0.5);
    border: 1px solid var(--border-glass);
    padding: 0.9rem 1.2rem;
    border-radius: 14px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease;
}

.bucket-item:hover {
    background: rgba(244, 63, 94, 0.15);
}

.bucket-item.checked {
    text-decoration: line-through;
    opacity: 0.6;
}

/* Modal */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-backdrop.active { opacity: 1; visibility: visible; }

.modal-card {
    width: 100%;
    max-width: 420px;
    padding: 2.2rem;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.8rem;
    cursor: pointer;
}

.secret-icon { font-size: 3rem; margin-bottom: 0.5rem; }
.pin-input { text-align: center; font-size: 1.8rem; letter-spacing: 0.5em; margin: 1.2rem 0; }

/* Toast Notification Container (Top Center Luxury Pill - Never Blocked) */
.toast-container {
    position: fixed;
    top: 1.2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 99999999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
    pointer-events: none;
    width: max-content;
    max-width: 90vw;
}

.toast {
    pointer-events: auto;
    background: rgba(18, 10, 32, 0.96);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1.5px solid rgba(251, 191, 36, 0.5);
    color: #fff;
    padding: 0.8rem 1.6rem;
    border-radius: 999px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.85), 0 0 25px rgba(251, 191, 36, 0.35);
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-align: center;
    animation: toastSlideDown 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes toastSlideDown {
    from { transform: translateY(-25px) scale(0.92); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}

/* Footer */
.footer {
    padding: 4rem 0 2rem;
    border-top: none !important;
    background: transparent !important;
}

.footer-heart { font-size: 2.5rem; margin-bottom: 0.5rem; }
.footer-sub { color: var(--text-muted); font-size: 0.9rem; margin-top: 0.4rem; }

/* Responsive Media Queries */
@media (max-width: 992px) {
    .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; text-align: center; }
    .hero-subtitle { margin: 0 auto 2rem; }
    .hero-actions { justify-content: center; }
    .love-counter-box { max-width: 500px; margin: 0 auto 2rem; }
    .gallery-grid { grid-template-columns: 1fr; }
    .timeline-line { left: 20px; }
    .timeline-item { width: 100%; padding-left: 3rem !important; }
    .timeline-item.right { left: 0; }
    .timeline-dot { left: 2px !important; }
}

@media (max-width: 640px) {
    .timer-grid {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0.25rem !important;
        flex-wrap: nowrap !important;
    }
    .timer-card {
        padding: 0.6rem 0.3rem !important;
        min-width: 0 !important;
    }
    .timer-val {
        font-size: 1.35rem !important;
    }
    .timer-lbl {
        font-size: 0.68rem !important;
    }
    .timer-colon {
        font-size: 1.1rem !important;
    }
    .section-title { 
        font-size: 1.85rem !important; 
        line-height: 1.25 !important;
        padding: 0 0.5rem;
    }
    .section-desc {
        font-size: 0.95rem !important;
        line-height: 1.5;
        padding: 0 0.5rem;
        margin-bottom: 1.5rem;
    }
    .pandora-card {
        padding: 1.6rem 1.1rem !important;
        border-radius: 22px !important;
    }
    .charms-grid { 
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    .charm-item {
        padding: 1.8rem 1.2rem !important;
    }
    .charm-icon-pedestal {
        width: 64px !important;
        height: 64px !important;
        font-size: 2rem !important;
        margin-bottom: 1rem !important;
    }
    .charm-title {
        font-size: 1.2rem !important;
    }
    .charm-sub {
        font-size: 0.88rem !important;
        margin-bottom: 1.2rem !important;
    }
    .charm-btn {
        padding: 0.8rem 1rem !important;
        font-size: 0.95rem !important;
        border-radius: 999px !important;
    }
}

/* Pandora Charm Component - High-End Luxury Design */
.pandora-card {
    max-width: 950px;
    margin: 0 auto;
    padding: 2.8rem 2.2rem;
    border: 1px solid var(--border-highlight);
    background: rgba(30, 18, 45, 0.7);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

.pandora-progress-box {
    margin-bottom: 2.5rem;
}

.pandora-count-badge {
    font-size: 1.25rem;
    font-weight: 700; letter-spacing: 0.02em;
    margin-bottom: 1rem;
}

.charms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
    margin-bottom: 2.5rem;
}

.charm-item {
    padding: 2.2rem 1.4rem;
    text-align: center;
    border-radius: var(--radius-xl);
    background: rgba(20, 12, 32, 0.6);
    border: 1px solid var(--border-glass);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.charm-item:hover {
    transform: translateY(-8px);
    border-color: rgba(236, 72, 153, 0.5);
    box-shadow: 0 12px 30px rgba(244, 63, 94, 0.25);
}

.charm-item.checked {
    border-color: var(--primary-pink);
    background: linear-gradient(135deg, rgba(244, 63, 94, 0.2), rgba(168, 85, 247, 0.25));
    box-shadow: 0 0 30px rgba(244, 63, 94, 0.4);
}

.charm-icon-pedestal {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(244, 63, 94, 0.3), rgba(168, 85, 247, 0.15));
    border: 1px solid var(--border-highlight);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin-bottom: 1.2rem;
    box-shadow: var(--shadow-pink);
    transition: transform 0.3s ease;
}

.charm-item.checked .charm-icon-pedestal {
    transform: scale(1.15);
    background: var(--gradient-pink);
    border-color: #fff;
}

.charm-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700; letter-spacing: 0.02em;
    margin-bottom: 0.4rem;
    color: #fff;
}

.charm-sub {
    font-size: 0.85rem;
    color: var(--text-soft);
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.charm-btn {
    width: 100%;
    padding: 0.8rem 1.2rem;
    border-radius: 999px;
    font-weight: 700; letter-spacing: 0.02em;
    font-size: 0.92rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid var(--border-highlight);
    background: linear-gradient(135deg, rgba(244, 63, 94, 0.3), rgba(168, 85, 247, 0.3));
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(244, 63, 94, 0.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.charm-btn:hover {
    background: var(--gradient-pink);
    box-shadow: var(--shadow-pink);
}

.charm-item.checked .charm-btn {
    background: linear-gradient(135deg, #10b981, #059669);
    border-color: #10b981;
    color: #ffffff;
    box-shadow: 0 4px 18px rgba(16, 185, 129, 0.45);
}

.meet-surprise-box {
    padding: 2.5rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(244, 63, 94, 0.3), rgba(168, 85, 247, 0.3));
    border: 2px solid var(--primary-pink);
    border-radius: var(--radius-xl);
    box-shadow: 0 0 45px rgba(244, 63, 94, 0.6);
    animation: slideIn 0.5s ease;
}

.surprise-badge {
    display: inline-block;
    background: var(--gradient-pink);
    color: #fff;
    font-weight: 700; letter-spacing: 0.02em;
    font-size: 0.9rem;
    padding: 0.45rem 1.4rem;
    border-radius: 999px;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-pink);
}

.surprise-title {
    font-size: 2.4rem;
    font-weight: 700; letter-spacing: 0.02em;
    margin-bottom: 0.8rem;
    color: #fff;
}

.surprise-desc {
    font-size: 1.2rem;
    color: var(--text-soft);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}

/* 2-Column Moon Login Portal Screen Overlay */
.login-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(13, 8, 20, 0.94);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    transition: opacity 0.5s ease, visibility 0.5s ease, transform 0.5s ease;
}

.login-overlay.unlocked {
    opacity: 0;
    visibility: hidden;
    transform: scale(1.06);
    pointer-events: none;
}

.login-portal-card {
    width: 100%;
    max-width: 780px;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.login-portal-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    min-height: 400px;
}

.login-portal-visual {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    background: #0f172a;
}

.login-portal-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.login-portal-form {
    padding: 2.8rem 2.2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #ffffff;
    text-align: left;
}

.portal-title {
    font-family: 'Montserrat', 'Inter', 'Nunito', sans-serif;
    font-size: 2.2rem;
    font-weight: 700; letter-spacing: 0.02em;
    color: #0f172a;
    margin: 0 0 0.3rem 0;
    line-height: 1.2;
}

.portal-sub {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0 0 1.6rem 0;
    font-weight: 500;
}

.portal-error-banner {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    border-radius: 12px;
    padding: 0.7rem 1rem;
    font-size: 0.84rem;
    color: #b91c1c;
    margin-bottom: 1.2rem;
    font-weight: 600;
}

.portal-field-group {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin-bottom: 1.2rem;
    text-align: left;
}

.portal-field-group label {
    font-size: 0.88rem;
    font-weight: 700;
    color: #334155;
}

.portal-input {
    width: 100%;
    height: 48px;
    padding: 0 1rem;
    border-radius: 12px;
    border: 1.5px solid #cbd5e1;
    background: #f8fafc;
    color: #0f172a;
    font-size: 1rem;
    font-weight: 600;
    outline: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.portal-input:focus {
    border-color: #3b82f6;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}

.btn-portal-submit {
    width: 100%;
    height: 50px;
    border-radius: 12px;
    background: #3b82f6;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700; letter-spacing: 0.02em;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 0.4rem;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4);
}

.btn-portal-submit:hover {
    background: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
}

.btn-portal-submit:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .login-portal-grid {
        grid-template-columns: 1fr;
    }
    .login-portal-visual {
        height: 180px;
    }
}

/* World-Class Luxury Moon & Pandora Showcase System */
.luxury-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.4rem;
    border-radius: 999px;
    background: rgba(251, 191, 36, 0.12);
    border: 1px solid rgba(251, 191, 36, 0.4);
    color: #fbbf24;
    font-weight: 700; letter-spacing: 0.02em;
    font-size: 0.88rem;
    letter-spacing: 0.08em;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.2);
}

.gold-gradient-text {
    background: linear-gradient(135deg, #ffffff 0%, #fbbf24 60%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gold {
    color: #fbbf24;
    text-shadow: 0 0 12px rgba(251, 191, 36, 0.5);
}

.glass-luxury {
    background: linear-gradient(135deg, rgba(32, 16, 53, 0.75), rgba(16, 10, 28, 0.85));
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(251, 191, 36, 0.25);
    border-radius: 28px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 35px rgba(251, 191, 36, 0.15);
}

.glass-unit {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.08), rgba(244, 63, 94, 0.08));
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 18px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.glass-unit:hover {
    transform: translateY(-3px);
    border-color: rgba(251, 191, 36, 0.6);
}

.glass-orb {
    background: linear-gradient(145deg, rgba(38, 20, 60, 0.7), rgba(18, 10, 32, 0.8));
    border: 1px solid rgba(251, 191, 36, 0.25);
    border-radius: 24px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-orb:hover {
    transform: translateY(-8px);
    border-color: rgba(251, 191, 36, 0.6);
    box-shadow: 0 15px 40px rgba(251, 191, 36, 0.3);
}

.gold-ring {
    background: radial-gradient(circle, rgba(251, 191, 36, 0.35), rgba(244, 63, 94, 0.15));
    border: 2px solid rgba(251, 191, 36, 0.6);
    box-shadow: 0 0 25px rgba(251, 191, 36, 0.4);
}

.btn-gold-gradient {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border: 1px solid rgba(251, 191, 36, 0.6);
    color: #ffffff;
    font-weight: 700; letter-spacing: 0.02em;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.btn-gold-gradient:hover {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    box-shadow: 0 6px 22px rgba(251, 191, 36, 0.6);
    transform: translateY(-2px);
}

.luxury-progress-bg {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(251, 191, 36, 0.2);
}

.gold-fill {
    background: linear-gradient(90deg, #f59e0b, #fbbf24, #f43f5e);
    box-shadow: 0 0 15px rgba(251, 191, 36, 0.8);
}

.glass-gold-surprise {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.25), rgba(244, 63, 94, 0.25));
    border: 2px solid #fbbf24;
    box-shadow: 0 0 50px rgba(251, 191, 36, 0.6);
}

.gold-badge {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.5);
/* Zenly 3.0 Couple Live Radar Map Styling */
.custom-zenly-pin-container {
    background: transparent !important;
    border: none !important;
}

.custom-zenly-pin-wrapper {
    user-select: none;
    cursor: pointer;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.custom-zenly-pin-wrapper:hover {
    transform: scale(1.15) translateY(-4px);
}

.zenly-radar-aura {
    position: absolute;
    top: 30px;
    left: 34px;
    width: 95px;
    height: 95px;
    margin-top: -47.5px;
    margin-left: -47.5px;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.18);
    border: 1.5px solid rgba(34, 197, 94, 0.45);
    animation: zenlyRadarPing 2.8s infinite cubic-bezier(0.2, 0.8, 0.2, 1);
    pointer-events: none;
    z-index: 1;
}

/* Zenly Live Direction / Heading Cone (Flashlight Beam) */
.zenly-heading-cone {
    position: absolute;
    top: 30px;
    left: 34px;
    width: 170px;
    height: 170px;
    margin-top: -85px;
    margin-left: -85px;
    pointer-events: none;
    z-index: 2;
    background: radial-gradient(circle at 50% 50%, rgba(56, 189, 248, 0.65) 0%, rgba(14, 165, 233, 0.3) 45%, rgba(6, 182, 212, 0) 72%);
    clip-path: polygon(50% 50%, 15% 0%, 85% 0%);
    transform-origin: 50% 50%;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.4s ease;
    filter: drop-shadow(0 0 12px rgba(56, 189, 248, 0.5));
}

/* Moving Rainbow/Fire Speed Aura */
.zenly-speed-aura {
    display: none;
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 46px;
    height: 28px;
    background: radial-gradient(ellipse at center, rgba(236, 72, 153, 0.8) 0%, rgba(245, 158, 11, 0.8) 40%, rgba(34, 197, 94, 0.7) 70%, transparent 100%);
    filter: blur(4px);
    border-radius: 50%;
    z-index: 5;
    animation: zenlySpeedFlame 0.4s infinite alternate ease-in-out;
}

@keyframes zenlySpeedFlame {
    0% { transform: translateX(-50%) scale(0.9) translateY(0); opacity: 0.75; }
    100% { transform: translateX(-50%) scale(1.2) translateY(5px); opacity: 1; }
}

.zenly-is-moving .zenly-avatar-pin-head {
    animation: zenlyMovingBob 0.6s infinite alternate ease-in-out;
}

@keyframes zenlyMovingBob {
    0% { transform: translateY(0); }
    100% { transform: translateY(-3px); }
}

@keyframes zenlyRadarPing {
    0% {
        transform: scale(0.6);
        opacity: 0.9;
        box-shadow: 0 0 15px rgba(34, 197, 94, 0.6);
    }
    70% {
        transform: scale(1.65);
        opacity: 0;
        box-shadow: 0 0 25px rgba(34, 197, 94, 0);
    }
    100% {
        transform: scale(1.65);
        opacity: 0;
    }
}

.zenly-avatar-head:hover {
    transform: scale(1.15) rotate(5deg);
}

.zenly-speech-bubble {
    position: absolute;
    top: -34px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(18, 10, 32, 0.94);
    backdrop-filter: blur(12px);
    border: 1.5px solid rgba(251, 191, 36, 0.6);
    color: #fbbf24;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700; letter-spacing: 0.02em;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0,0,0,0.6);
    pointer-events: none;
}

.zenly-speech-bubble::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px 5px 0;
    border-style: solid;
    border-color: rgba(18, 10, 32, 0.94) transparent;
}

.zenly-battery-badge {
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(34, 197, 94, 0.95);
    color: #ffffff;
    padding: 1px 7px;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700; letter-spacing: 0.02em;
    white-space: nowrap;
    border: 1px solid rgba(255,255,255,0.4);
    box-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.zenly-memory-marker {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(18, 10, 32, 0.9);
    border: 2px solid #fbbf24;
    box-shadow: 0 0 15px rgba(251, 191, 36, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: transform 0.25s ease;
}

.zenly-memory-marker:hover {
    transform: scale(1.3);
    border-color: #f43f5e;
}

/* Heart Shake Bump Effect */
@keyframes zenlyHeartShake {
    0% { transform: scale(1) translate(0, 0); }
    20% { transform: scale(1.3) translate(-5px, 5px) rotate(-10deg); }
    40% { transform: scale(1.3) translate(5px, -5px) rotate(10deg); }
    60% { transform: scale(1.3) translate(-5px, -5px) rotate(-10deg); }
    80% { transform: scale(1.2) translate(3px, 3px) rotate(5deg); }
    100% { transform: scale(1) translate(0, 0); }
}

.shake-bump {
    animation: zenlyHeartShake 0.7s ease-in-out;
}

/* ==========================================================================
   Tactical Cosmic Case Opening System (CS2 / Roulette Style)
   ========================================================================== */
.case-opening-section {
    position: relative;
    padding: 4.5rem 1rem 5rem;
    overflow: hidden;
    background: radial-gradient(ellipse at top, #1a0b2e 0%, #0d0617 70%, #06020a 100%);
    border-top: 2px solid rgba(251, 191, 36, 0.2);
    border-bottom: 2px solid rgba(251, 191, 36, 0.2);
}

.case-opening-header {
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
}

.case-opening-logo {
    display: inline-block;
    font-size: 2.4rem;
    font-weight: 900;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #f43f5e;
    text-shadow: 0 0 25px rgba(244, 63, 94, 0.8), 0 0 50px rgba(244, 63, 94, 0.4);
    margin: 0.3rem 0 0.8rem;
    font-family: 'Roboto', 'Rubik', sans-serif;
}

.case-filter-tabs {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.case-tab-btn {
    padding: 0.45rem 1.2rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1.5px solid transparent;
}

.case-tab-btn.active {
    background: linear-gradient(135deg, rgba(251,191,36,0.25), rgba(245,158,11,0.15));
    border-color: #fde047;
    color: #fde047;
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.35);
}

.case-tab-btn.inactive {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.6);
}

.cases-showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1080px;
    margin: 0 auto 2.5rem;
    padding: 0 0.5rem;
}

.case-display-card {
    background: rgba(18, 10, 32, 0.78);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 26px;
    padding: 2.2rem 1.4rem 1.8rem;
    text-align: center;
    position: relative;
    transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.35s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.case-display-card:hover {
    transform: translateY(-8px);
}

.case-card-gold {
    border: 2px solid rgba(251, 191, 36, 0.5);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.7), 0 0 30px rgba(251, 191, 36, 0.2);
}
.case-card-gold:hover {
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.8), 0 0 45px rgba(251, 191, 36, 0.45);
}

.case-card-red {
    border: 2px solid rgba(244, 63, 94, 0.5);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.7), 0 0 30px rgba(244, 63, 94, 0.2);
}
.case-card-red:hover {
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.8), 0 0 45px rgba(244, 63, 94, 0.45);
}

.case-card-green {
    border: 2px solid rgba(34, 197, 94, 0.5);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.7), 0 0 30px rgba(34, 197, 94, 0.2);
}
.case-card-green:hover {
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.8), 0 0 45px rgba(34, 197, 94, 0.45);
}

.case-aura-wrapper {
    position: relative;
    width: 200px;
    height: 160px;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.case-aura-glow {
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    filter: blur(25px);
    opacity: 0.75;
    animation: auraPulse 3s infinite ease-in-out;
    pointer-events: none;
}

@keyframes auraPulse {
    0%, 100% { transform: scale(0.92); opacity: 0.6; }
    50% { transform: scale(1.08); opacity: 0.9; }
}

.case-title {
    font-size: 1.15rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin: 0 0 0.3rem;
}

.case-cost-pill {
    font-size: 0.82rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    display: inline-block;
    padding: 0.25rem 0.8rem;
    border-radius: 999px;
}

.btn-open-case {
    width: 100%;
    max-width: 220px;
    padding: 0.7rem 1.4rem;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.25s ease;
}

/* Roulette Spinner Modal */
.case-roulette-modal {
    position: fixed;
    inset: 0;
    background: rgba(4, 2, 8, 0.94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 99999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.2rem;
}

.case-roulette-window {
    background: radial-gradient(circle, #1e1035 0%, #0b0514 100%);
    border: 2.5px solid #fbbf24;
    border-radius: 30px;
    max-width: 860px;
    width: 100%;
    padding: 2.5rem 1.6rem 2rem;
    box-shadow: 0 0 60px rgba(251, 191, 36, 0.35);
    position: relative;
    text-align: center;
    overflow: hidden;
}

.roulette-viewport {
    position: relative;
    width: 100%;
    height: 180px;
    background: rgba(0, 0, 0, 0.75);
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    overflow: hidden;
    margin: 1.8rem 0;
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.9);
}

.roulette-pointer-top, .roulette-pointer-bottom {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    font-size: 1.4rem;
    color: #fbbf24;
    filter: drop-shadow(0 0 8px #fbbf24);
    pointer-events: none;
}
.roulette-pointer-top { top: -2px; }
.roulette-pointer-bottom { bottom: -2px; }

.roulette-center-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background: linear-gradient(180deg, #fde047 0%, #f59e0b 50%, #fde047 100%);
    transform: translateX(-50%);
    z-index: 15;
    box-shadow: 0 0 12px #fbbf24;
    pointer-events: none;
}

.roulette-track {
    display: flex;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    align-items: center;
    will-change: transform;
}

.roulette-item-card {
    width: 130px;
    height: 150px;
    margin: 0 6px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.6rem;
    text-align: center;
    flex-shrink: 0;
    user-select: none;
    border-bottom: 4px solid #3b82f6;
    transition: transform 0.2s ease;
}

.roulette-item-gold { border-bottom-color: #fbbf24; background: rgba(251, 191, 36, 0.12); }
.roulette-item-red { border-bottom-color: #f43f5e; background: rgba(244, 63, 94, 0.12); }
.roulette-item-purple { border-bottom-color: #c084fc; background: rgba(192, 132, 252, 0.12); }
.roulette-item-blue { border-bottom-color: #60a5fa; background: rgba(96, 165, 250, 0.12); }


