/* ==========================================================================
   ELİF & ANIL — NİKÂH DAVETİYESİ (Enriched 9:16 Mobile Invitation + Envelope)
   ========================================================================== */

/* --- CSS Reset & Variables --- */
:root {
    /* Color Palette */
    --bg-canvas: #FAF7F2;
    --bg-card: #FAF6F1;
    --bg-nude-light: #F7EFE8;
    --bg-nude-soft: #F0E5DC;
    
    --text-primary: #332A26;
    --text-secondary: #5C4F48;
    --text-muted: #8C7C74;
    
    --accent-gold: #B8976C;
    --accent-gold-dark: #96754B;
    --accent-champagne: #D6C2A5;
    --accent-blush: #E6D4CB;

    --btn-primary-bg: linear-gradient(135deg, #B8976C 0%, #A38054 100%);
    --btn-primary-text: #FFFFFF;
    --btn-shadow: 0 10px 24px -4px rgba(184, 151, 108, 0.35);

    --border-subtle: rgba(184, 151, 108, 0.22);
    --border-nude: rgba(220, 203, 191, 0.45);

    /* Fonts */
    --font-script: 'Pinyon Script', 'Alex Brush', cursive;
    --font-names: 'Cormorant Garamond', 'Alex Brush', serif;
    --font-heading: 'Marcellus', 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;

    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html, body {
    width: 100%;
    min-height: 100vh;
    background-color: #181513;
    font-family: var(--font-body);
    color: var(--text-primary);
    overflow-x: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ==========================================================================
   MOVING BACKGROUND CLOUDS
   ========================================================================== */
.cloud-background {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
    opacity: 0.35;
}

.cloud {
    position: absolute;
    background: radial-gradient(circle, rgba(255, 248, 242, 0.85) 0%, rgba(240, 225, 215, 0.3) 60%, transparent 80%);
    border-radius: 50%;
    filter: blur(40px);
    animation: floatCloud linear infinite;
}

.cloud-1 {
    width: 450px;
    height: 250px;
    top: 5%;
    left: -200px;
    animation-duration: 35s;
}

.cloud-2 {
    width: 550px;
    height: 300px;
    top: 40%;
    right: -250px;
    animation-duration: 45s;
    animation-direction: reverse;
}

.cloud-3 {
    width: 400px;
    height: 220px;
    bottom: 10%;
    left: -150px;
    animation-duration: 30s;
}

.cloud-4 {
    width: 600px;
    height: 320px;
    top: 75%;
    right: -300px;
    animation-duration: 50s;
}

@keyframes floatCloud {
    0% { transform: translateX(0) translateY(0) rotate(0deg); }
    50% { transform: translateX(350px) translateY(-30px) rotate(5deg); }
    100% { transform: translateX(0) translateY(0) rotate(0deg); }
}

/* --- Desktop Presentation Canvas --- */
.desktop-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    background: radial-gradient(circle at 50% 30%, #28211E 0%, #120F0E 100%);
    pointer-events: none;
}

.ambient-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.18;
}

.glow-1 { top: -100px; left: 15%; background: var(--accent-champagne); }
.glow-2 { bottom: -100px; right: 15%; background: var(--accent-blush); }

/* ==========================================================================
   INTERACTIVE BULUTLU ZARF AÇILIŞ OVERLAY & ANIMATION
   ========================================================================== */
.envelope-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(18, 15, 14, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: opacity 0.9s ease, visibility 0.9s ease;
    overflow: hidden;
}

/* Parting Opening Clouds */
.cloud-curtain-left, .cloud-curtain-right {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 65%;
    pointer-events: none;
    z-index: 1;
    background: radial-gradient(ellipse at center, rgba(255, 246, 240, 0.92) 0%, rgba(240, 226, 217, 0.75) 60%, transparent 100%);
    filter: blur(35px);
    transition: transform 1.2s cubic-bezier(0.7, 0, 0.3, 1), opacity 1s ease;
}

.cloud-curtain-left {
    left: -10%;
    border-radius: 0 100% 100% 0;
}

.cloud-curtain-right {
    right: -10%;
    border-radius: 100% 0 0 100%;
}

.envelope-overlay.opened .cloud-curtain-left {
    transform: translateX(-120%);
    opacity: 0;
}

.envelope-overlay.opened .cloud-curtain-right {
    transform: translateX(120%);
    opacity: 0;
}

.envelope-overlay.opened {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.envelope-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 360px;
    height: 250px;
    background: #EFE4DC;
    border-radius: 12px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.15);
    perspective: 1000px;
    cursor: pointer;
    transition: transform 0.4s ease;
}

.envelope-container:hover {
    transform: scale(1.02);
}

.envelope-back {
    position: absolute;
    inset: 0;
    background: #E5D5C9;
    border-radius: 12px;
}

.envelope-card-preview {
    position: absolute;
    top: 15px;
    left: 20px;
    right: 20px;
    height: 200px;
    background: #FAF7F2;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

.preview-names {
    font-family: var(--font-names);
    font-size: 2.2rem;
    color: var(--text-primary);
}

.preview-date {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    color: var(--accent-gold-dark);
    margin-top: 6px;
}

.envelope-flap {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 130px;
    background: #E2D0C3;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    transform-origin: top center;
    transition: transform 0.7s ease-in-out;
    z-index: 4;
}

.envelope-front {
    position: absolute;
    inset: 0;
    background: transparent;
    border-bottom: 125px solid #EFE4DC;
    border-left: 180px solid #E9DBD0;
    border-right: 180px solid #E9DBD0;
    border-top: 125px solid transparent;
    border-radius: 12px;
    z-index: 3;
    pointer-events: none;
}

/* Wax Seal Monogram Button */
.wax-seal-wrapper {
    position: absolute;
    top: 110px;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    width: 76px;
    height: 76px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.wax-seal-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.seal-pulse {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid var(--accent-gold);
    animation: pulseRing 1.8s infinite ease-out;
    pointer-events: none;
}

@keyframes pulseRing {
    0% { transform: scale(0.9); opacity: 0.9; }
    100% { transform: scale(1.3); opacity: 0; }
}

.envelope-prompt {
    position: absolute;
    bottom: -65px;
    left: 0;
    right: 0;
    text-align: center;
    color: #FFFFFF;
    font-family: var(--font-body);
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    opacity: 0.9;
    animation: bouncePrompt 2s infinite ease-in-out;
}

@keyframes bouncePrompt {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* Envelope Opening Animation Classes */
.envelope-container.open .envelope-flap {
    transform: rotateX(180deg);
    z-index: 1;
}

.envelope-container.open .wax-seal-wrapper {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.4);
    transition: all 0.5s ease;
}

.envelope-container.open .envelope-card-preview {
    transform: translateY(-120px) scale(1.05);
    z-index: 6;
}

/* ==========================================================================
   9:16 MAIN INVITATION CARD WRAPPER
   ========================================================================== */
.invitation-wrapper {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 440px;
    height: 100vh;
    max-height: 920px;
    aspect-ratio: 9 / 16;
    background-color: var(--bg-canvas);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    display: flex;
    flex-direction: column;
}

.invitation-wrapper::-webkit-scrollbar { display: none; }

@media (max-width: 480px) {
    body { background-color: var(--bg-canvas); }
    .invitation-wrapper {
        max-width: 100%;
        max-height: 100vh;
        height: 100vh;
        border-radius: 0;
        box-shadow: none;
    }
    .desktop-bg { display: none; }
}

/* Paper Texture & Layers */
.paper-texture {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    background-image: radial-gradient(#B8976C 0.4px, transparent 0.4px);
    background-size: 24px 24px;
    opacity: 0.035;
}

.light-grain {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    background: radial-gradient(ellipse at 50% 15%, rgba(255, 255, 255, 0.85) 0%, transparent 70%);
}

.soft-gradient-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    background: linear-gradient(180deg, 
        rgba(250, 247, 242, 0.1) 0%, 
        rgba(246, 236, 230, 0.25) 50%, 
        rgba(250, 247, 242, 0.1) 100%);
}

.petal-canvas {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    width: 100%;
    height: 100%;
}

/* Floral Headers */
.floral-header-container, .floral-footer-container {
    position: absolute;
    left: 0;
    right: 0;
    pointer-events: none;
    z-index: 3;
    overflow: hidden;
}

.floral-header-container { top: 0; }
.floral-footer-container { bottom: 0; }

.floral-top-img {
    width: 105%;
    height: auto;
    max-height: 240px;
    object-fit: cover;
    mix-blend-mode: multiply;
    opacity: 0.92;
    margin-top: -15px;
    margin-left: -10px;
}

.floral-bottom-img {
    width: 105%;
    height: auto;
    max-height: 230px;
    object-fit: cover;
    mix-blend-mode: multiply;
    opacity: 0.92;
    margin-bottom: -15px;
    margin-left: 5%;
}

/* Music Toggle Button */
.music-toggle-btn {
    position: absolute;
    top: 22px;
    right: 22px;
    z-index: 20;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(250, 246, 241, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--border-subtle);
    color: var(--accent-gold-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    transition: var(--transition-smooth);
}

.music-toggle-btn:hover {
    transform: scale(1.08);
    background: #FFFFFF;
    color: var(--accent-gold);
}

.music-wave-bars {
    display: none;
    align-items: flex-end;
    gap: 2px;
    height: 12px;
}

.music-wave-bars span {
    width: 2px;
    height: 100%;
    background-color: var(--accent-gold);
    border-radius: 1px;
    animation: bounceBar 1.2s infinite ease-in-out alternate;
}

.music-wave-bars span:nth-child(2) { animation-delay: 0.3s; }
.music-wave-bars span:nth-child(3) { animation-delay: 0.6s; }

@keyframes bounceBar {
    0% { height: 3px; }
    100% { height: 12px; }
}

.music-toggle-btn.playing .music-icon { display: none; }
.music-toggle-btn.playing .music-wave-bars { display: flex; }

/* ==========================================================================
   ENRICHED INVITATION CONTENT SECTIONS
   ========================================================================== */
.invitation-content {
    position: relative;
    z-index: 10;
    padding: 70px 24px 80px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    gap: 28px;
}

/* SECTION 1: MUSTAFA KEMAL ATATÜRK QUOTE */
.ataturk-quote-section {
    width: 100%;
    max-width: 360px;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(6px);
    border: 1px solid var(--border-nude);
    padding: 16px 20px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(184, 151, 108, 0.06);
    margin-top: 10px;
}

.ataturk-crest {
    margin-bottom: 4px;
}

.star-crescent {
    font-size: 1.1rem;
    color: var(--accent-gold);
}

.ataturk-quote {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    line-height: 1.55;
    color: var(--text-primary);
    font-style: italic;
}

.ataturk-author {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    color: var(--accent-gold-dark);
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 6px;
}

.subtle-divider-line {
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
    margin: 10px auto 0 auto;
}

/* SECTION 2: SLOGAN & NAMES */
.header-section { margin-top: -4px; }

.quote-text {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
    font-style: italic;
}

.names-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.bride-name, .groom-name {
    font-family: var(--font-names);
    font-size: 3.5rem;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.05;
    text-shadow: 0 2px 10px rgba(184, 151, 108, 0.12);
}

.ampersand-wrapper { margin: -6px 0; }

.ampersand {
    font-family: var(--font-script);
    font-size: 2.8rem;
    color: var(--accent-gold);
}

/* FAMILY NAMES SECTION */
.families-section {
    width: 100%;
    max-width: 360px;
}

.family-card {
    display: flex;
    align-items: center;
    justify-content: space-around;
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid var(--border-nude);
    padding: 14px 16px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(184, 151, 108, 0.06);
}

.family-block {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.family-surname {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--accent-gold-dark);
}

.family-parents {
    font-family: var(--font-body);
    font-size: 0.78rem;
    color: var(--text-secondary);
    margin-top: 2px;
}

.family-ampersand {
    font-family: var(--font-script);
    font-size: 1.8rem;
    color: var(--accent-gold);
    line-height: 1;
}

.invitation-message {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-gold-dark);
    font-weight: 500;
}

/* Section Common Titles */
.section-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    letter-spacing: 0.1em;
    color: var(--accent-gold-dark);
    text-transform: uppercase;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.section-title i {
    font-size: 0.85rem;
    color: var(--accent-gold);
}

/* SECTION 3: OUR STORY TIMELINE */
.story-section {
    width: 100%;
    max-width: 360px;
}

.story-timeline {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid var(--border-nude);
    padding: 16px 14px;
    border-radius: 18px;
}

.story-item {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    text-align: left;
}

.story-icon {
    font-size: 1.3rem;
    width: 36px;
    height: 36px;
    background: var(--bg-nude-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.story-info h4 {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--text-primary);
}

.story-info p {
    font-size: 0.72rem;
    color: var(--text-secondary);
    line-height: 1.35;
}

.story-line {
    width: 2px;
    height: 16px;
    background: var(--accent-blush);
    margin: 4px 0 4px 17px;
    align-self: flex-start;
}

/* SECTION 4: WATERCOLOR ARTWORK CARD */
.artwork-section {
    width: 100%;
    max-width: 360px;
}

.artwork-card {
    background: #FFFFFF;
    border: 1px solid var(--border-nude);
    border-radius: 20px;
    padding: 10px;
    box-shadow: 0 8px 25px rgba(184, 151, 108, 0.1);
    overflow: hidden;
}

.couple-img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 14px;
}

.artwork-caption {
    font-family: var(--font-heading);
    font-size: 0.82rem;
    color: var(--text-secondary);
    font-style: italic;
    margin-top: 10px;
    padding: 0 6px 4px 6px;
}

/* SECTION 5: EVENT PROGRAM TIMELINE */
.program-section {
    width: 100%;
    max-width: 360px;
}

.program-grid {
    display: flex;
    gap: 8px;
    width: 100%;
}

.program-card {
    flex: 1;
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid var(--border-nude);
    border-radius: 14px;
    padding: 12px 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.program-card.active-program {
    background: var(--bg-nude-light);
    border-color: var(--accent-gold);
}

.program-time {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent-gold-dark);
}

.program-desc {
    font-size: 0.7rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* SECTION 6: DATE & TIME */
.date-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.date-time-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--border-nude);
    padding: 12px 24px;
    border-radius: 18px;
    box-shadow: 0 6px 20px rgba(184, 151, 108, 0.08);
    margin-bottom: 16px;
    width: 100%;
    max-width: 330px;
}

.date-block { display: flex; flex-direction: column; align-items: center; }
.date-day { font-family: var(--font-heading); font-size: 1.8rem; font-weight: 600; color: var(--text-primary); line-height: 1; }
.date-month-year { font-size: 0.72rem; letter-spacing: 0.18em; color: var(--accent-gold-dark); font-weight: 600; margin-top: 2px; }
.date-weekday { font-size: 0.7rem; color: var(--text-muted); margin-top: 1px; }

.time-divider { width: 1px; height: 36px; background: var(--border-subtle); }
.time-block { display: flex; align-items: center; gap: 6px; color: var(--text-primary); }
.clock-icon { font-size: 0.95rem; color: var(--accent-gold); }
.time-text { font-family: var(--font-heading); font-size: 1.4rem; font-weight: 600; }

.countdown-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(246, 236, 230, 0.6);
    padding: 8px 16px;
    border-radius: 14px;
    border: 1px dashed var(--border-subtle);
}

.countdown-item { display: flex; flex-direction: column; align-items: center; min-width: 38px; }
.countdown-item span { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 600; color: var(--accent-gold-dark); }
.countdown-item small { font-size: 0.55rem; letter-spacing: 0.1em; color: var(--text-muted); font-weight: 500; }
.cd-colon { font-size: 0.9rem; color: var(--accent-gold); font-weight: bold; margin-top: -8px; }

/* SECTION 7: LOCATION DETAILS & MAP BUTTON */
.location-section {
    width: 100%;
    max-width: 330px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.location-box { margin-bottom: 16px; }
.venue-title { font-family: var(--font-heading); font-size: 1.15rem; font-weight: 600; color: var(--text-primary); margin-bottom: 3px; }
.salon-name { font-size: 0.85rem; color: var(--accent-gold-dark); font-weight: 500; margin-bottom: 6px; }
.venue-address { font-style: normal; font-size: 0.78rem; color: var(--text-secondary); line-height: 1.45; }

.btn-primary-location {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 52px;
    background: var(--btn-primary-bg);
    color: var(--btn-primary-text);
    text-decoration: none;
    border-radius: 50px;
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: var(--btn-shadow);
    transition: var(--transition-smooth);
}

.btn-primary-location:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -4px rgba(184, 151, 108, 0.45); }

/* SECTION 8: ACTION BUTTONS */
.action-section { width: 100%; max-width: 330px; }
.secondary-btn-row { display: flex; gap: 8px; width: 100%; }

.btn-secondary {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 42px;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid var(--border-nude);
    border-radius: 12px;
    color: var(--text-secondary);
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-secondary:hover { background: #FFFFFF; border-color: var(--accent-gold); color: var(--accent-gold-dark); }

/* Footer */
.invitation-footer {
    margin-top: 10px;
    border-top: 1px solid var(--border-subtle);
    padding-top: 14px;
    width: 100%;
}

.invitation-footer p { font-family: var(--font-heading); font-size: 0.85rem; color: var(--text-secondary); }
.invitation-footer small { font-size: 0.65rem; color: var(--text-muted); letter-spacing: 0.1em; }

/* ==========================================================================
   MODALS
   ========================================================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1100;
    background: rgba(20, 16, 14, 0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.modal-overlay.active { opacity: 1; visibility: visible; }

.modal-card {
    position: relative;
    width: 100%;
    max-width: 380px;
    background: var(--bg-card);
    border: 1px solid var(--accent-blush);
    border-radius: 24px;
    padding: 28px 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    transform: translateY(20px) scale(0.95);
    transition: var(--transition-smooth);
}

.modal-overlay.active .modal-card { transform: translateY(0) scale(1); }

.modal-close-btn {
    position: absolute;
    top: 16px; right: 18px;
    background: none; border: none;
    font-size: 1.6rem; color: var(--text-muted);
    cursor: pointer;
}

.modal-header { text-align: center; margin-bottom: 12px; }
.modal-icon { font-size: 1.6rem; color: var(--accent-gold); margin-bottom: 6px; }
.modal-header h3 { font-family: var(--font-heading); font-size: 1.25rem; color: var(--text-primary); }
.modal-desc { text-align: center; font-size: 0.82rem; color: var(--text-secondary); margin-bottom: 20px; }

.modal-options { display: flex; flex-direction: column; gap: 10px; }
.modal-opt-btn {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    height: 46px; background: #FFFFFF; border: 1px solid var(--border-nude);
    border-radius: 12px; color: var(--text-primary); text-decoration: none;
    font-size: 0.85rem; font-weight: 500; transition: var(--transition-smooth);
}

.modal-opt-btn:hover { border-color: var(--accent-gold); background: var(--bg-nude-light); }
