/* ==========================================================================
   CUIYI HOTEL - LUXURY DIGITAL INVITATION SYSTEM STYLESHEET
   Aesthetics: Deep Emerald Green (#07261C) & Metallic Gold (#D4AF37)
   ========================================================================== */

:root {
    --bg-dark: #061E17;
    --bg-emerald: #0A3226;
    --bg-emerald-light: #104636;
    --gold-primary: #D4AF37;
    --gold-bright: #F5D77F;
    --gold-dark: #96761A;
    --gold-gradient: linear-gradient(135deg, #BF953F 0%, #FCF6BA 25%, #B38728 50%, #FBF5B7 75%, #AA771C 100%);
    --gold-text-gradient: linear-gradient(135deg, #E6C667 0%, #FFF4BF 40%, #D4AF37 70%, #997A15 100%);
    --ivory-white: #FBF9F3;
    --ivory-card: #FAF6ED;
    --text-dark: #1F2A24;
    --text-muted: #62756A;
    --text-light: #E0E8E3;
    --border-gold: rgba(212, 175, 55, 0.35);
    --shadow-gold: 0 10px 30px rgba(212, 175, 55, 0.2);
    --shadow-dark: 0 15px 35px rgba(0, 0, 0, 0.4);
    --font-serif: 'Noto Serif SC', 'Cinzel', serif;
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Base resets & typography */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    width: 100%;
    min-height: 100vh;
    font-family: var(--font-sans);
    background-color: var(--bg-dark);
    color: var(--text-light);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Background Canvas */
#bgCanvas, #invitationCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* Utility Colors & Text */
.text-gold { color: var(--gold-primary); }
.text-gold-bright { color: var(--gold-bright); font-weight: 700; }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.mt-15 { margin-top: 15px; }
.mt-20 { margin-top: 20px; }
.mb-15 { margin-bottom: 15px; }
.w-100 { width: 100%; }

/* Glassmorphic Panels */
.glass-panel {
    background: rgba(10, 50, 38, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-gold);
    border-radius: 16px;
    box-shadow: var(--shadow-dark);
}

.glass-panel-gold {
    background: rgba(250, 246, 237, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid var(--gold-primary);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 25px rgba(212, 175, 55, 0.25);
    color: var(--text-dark);
}

/* ==========================================================================
   ADMIN PAGE STYLES (index.html)
   ========================================================================== */

.admin-body {
    background: radial-gradient(circle at 50% 20%, #0F4636 0%, #061E17 100%);
    padding: 30px 20px;
    position: relative;
}

.admin-container {
    max-width: 1350px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.admin-header {
    text-align: center;
    margin-bottom: 35px;
}

.brand-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid var(--gold-primary);
    border-radius: 30px;
    color: var(--gold-bright);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.admin-header h1 {
    font-family: var(--font-serif);
    font-size: 32px;
    background: var(--gold-text-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.admin-header p {
    color: #A3BEB0;
    font-size: 15px;
}

/* Grid Layout */
.admin-grid {
    display: grid;
    grid-template-columns: 1fr 440px;
    gap: 30px;
}

@media (max-width: 1024px) {
    .admin-grid {
        grid-template-columns: 1fr;
    }
}

.form-card {
    padding: 35px;
}

.card-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-gold);
    color: var(--gold-bright);
}

.card-title i {
    font-size: 24px;
}

.card-title h2 {
    font-family: var(--font-serif);
    font-size: 22px;
}

/* Input Fields */
.input-group {
    margin-bottom: 24px;
}

.input-group label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--gold-bright);
    margin-bottom: 8px;
}

.required {
    color: #FF6B6B;
    font-size: 12px;
}

.input-inner {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 16px;
    color: var(--gold-primary);
    font-size: 16px;
}

.input-inner input {
    width: 100%;
    padding: 14px 16px 14px 46px;
    background: rgba(6, 30, 23, 0.7);
    border: 1px solid var(--border-gold);
    border-radius: 10px;
    color: #FFFFFF;
    font-size: 15px;
    outline: none;
    transition: all 0.3s ease;
}

.input-inner input:focus {
    border-color: var(--gold-bright);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

.input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* Preset Chips */
.preset-section {
    margin-bottom: 25px;
}

.preset-label {
    display: block;
    font-size: 13px;
    color: #A3BEB0;
    margin-bottom: 10px;
}

.chips-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chip-btn {
    padding: 6px 14px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 20px;
    color: var(--gold-bright);
    font-size: 13px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.chip-btn:hover {
    background: var(--gold-primary);
    color: var(--bg-dark);
    font-weight: 600;
}

/* Buttons */
.action-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 30px;
}

.secondary-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: var(--gold-gradient);
    color: var(--bg-dark);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.6);
}

.btn-secondary {
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid var(--gold-primary);
    color: var(--gold-bright);
}

.btn-secondary:hover {
    background: rgba(212, 175, 55, 0.3);
}

.btn-outline {
    background: transparent;
    border: 1px dashed rgba(212, 175, 55, 0.4);
    color: #A3BEB0;
    font-size: 13px;
}

.btn-outline:hover {
    border-color: var(--gold-bright);
    color: var(--gold-bright);
}

/* Generated Link Output Card */
.output-card {
    margin-top: 25px;
    padding: 20px;
    background: rgba(6, 30, 23, 0.85);
    border: 1px solid var(--gold-primary);
    border-radius: 12px;
    animation: fadeIn 0.4s ease;
}

.output-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--gold-bright);
    margin-bottom: 12px;
}

.link-display {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
}

.link-display input {
    flex: 1;
    padding: 10px;
    background: #000;
    border: 1px solid var(--border-gold);
    border-radius: 6px;
    color: #8FF0C8;
    font-family: monospace;
    font-size: 13px;
}

.btn-sm {
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
}

.btn-gold {
    background: var(--gold-primary);
    color: var(--bg-dark);
    border: none;
}

.qr-box {
    text-align: center;
    padding-top: 12px;
    border-top: 1px dashed rgba(212, 175, 55, 0.2);
}

.qr-img {
    width: 140px;
    height: 140px;
    background: #FFF;
    padding: 6px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.qr-hint {
    font-size: 12px;
    color: #A3BEB0;
    margin-top: 8px;
}

/* Phone Mockup Preview */
.preview-card {
    padding: 25px;
    display: flex;
    flex-direction: column;
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.preview-title {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gold-bright);
    font-weight: 600;
}

.badge-live {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #4EED98;
}

.badge-live .dot {
    width: 8px;
    height: 8px;
    background: #4EED98;
    border-radius: 50%;
    box-shadow: 0 0 8px #4EED98;
    animation: pulse 1.5s infinite;
}

.phone-mockup {
    width: 100%;
    height: 680px;
    background: #000;
    border: 12px solid #222;
    border-radius: 40px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7), 0 0 20px rgba(212, 175, 55, 0.15);
    position: relative;
    overflow: hidden;
}

.phone-speaker {
    width: 80px;
    height: 4px;
    background: #444;
    border-radius: 2px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.phone-mockup iframe {
    width: 100%;
    height: 100%;
    border: none;
}


/* ==========================================================================
   CLIENT INVITATION PAGE STYLES (invitation.html)
   ========================================================================== */

.invitation-body {
    background: #041611;
    color: var(--text-dark);
}

/* Floating Top Controls */
.floating-controls {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 100;
    display: flex;
    gap: 10px;
}

.control-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(10, 50, 38, 0.85);
    border: 1px solid var(--gold-primary);
    color: var(--gold-bright);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.control-btn:hover {
    transform: scale(1.1);
    background: var(--gold-primary);
    color: var(--bg-dark);
}

/* ENVELOPE SCREEN (Opening Experience) */
.envelope-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at 50% 50%, #0D3E30 0%, #03120E 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.envelope-screen.opened {
    opacity: 0;
    pointer-events: none;
    transform: scale(1.1);
}

.envelope-wrapper {
    perspective: 1000px;
    padding: 20px;
}

.envelope {
    width: 360px;
    min-height: 480px;
    background: linear-gradient(145deg, #093427, #06241B);
    border: 2px solid var(--gold-primary);
    border-radius: 16px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.8), 0 0 30px rgba(212, 175, 55, 0.3);
    position: relative;
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.gold-border-inner {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 10px;
    pointer-events: none;
}

.hotel-logo-seal {
    margin-top: 10px;
}

.logo-en {
    font-family: 'Cinzel', serif;
    font-size: 11px;
    letter-spacing: 4px;
    color: var(--gold-bright);
}

.gold-crest {
    width: 60px;
    height: 60px;
    margin: 15px auto 10px;
    background: var(--gold-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: var(--bg-dark);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.5);
}

.hotel-name-cn {
    font-family: var(--font-serif);
    font-size: 22px;
    color: var(--gold-bright);
    font-weight: 700;
}

.envelope-subtitle {
    font-size: 12px;
    color: #A3BEB0;
    margin-top: 4px;
}

.envelope-client-badge {
    margin: 25px 0;
    padding: 14px 20px;
    background: rgba(212, 175, 55, 0.08);
    border-top: 1px solid var(--border-gold);
    border-bottom: 1px solid var(--border-gold);
    width: 100%;
}

.badge-label {
    font-size: 12px;
    color: var(--gold-bright);
    letter-spacing: 2px;
}

.badge-company {
    font-family: var(--font-serif);
    font-size: 20px;
    color: #FFFFFF;
    margin-top: 4px;
    word-break: break-all;
}

/* WAX SEAL */
.wax-seal-btn {
    width: 84px;
    height: 84px;
    background: radial-gradient(circle at 35% 35%, #E5C158, #997A15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6), inset 0 2px 5px rgba(255, 255, 255, 0.6);
    position: relative;
    transition: transform 0.3s ease;
    margin-top: 10px;
}

.wax-seal-btn:hover {
    transform: scale(1.1) rotate(5deg);
}

.seal-ring {
    position: absolute;
    width: 72px;
    height: 72px;
    border: 2px dashed rgba(255, 255, 255, 0.5);
    border-radius: 50%;
}

.seal-char {
    font-family: var(--font-serif);
    font-size: 38px;
    font-weight: 900;
    color: #3D2B00;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.4);
}

.seal-ripple {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--gold-bright);
    animation: ripple 2s infinite;
}

.click-hint {
    margin-top: 20px;
    font-size: 13px;
    color: var(--gold-bright);
    animation: bounce 1.5s infinite;
}

/* MAIN INVITATION SCROLL CONTAINER */
.invitation-container {
    max-width: 820px;
    margin: 0 auto;
    padding: 30px 16px 80px;
    position: relative;
    z-index: 2;
    animation: fadeInUp 0.8s ease;
}

/* Hero Banner */
.hero-banner {
    position: relative;
    height: 320px;
    border-radius: 20px 20px 0 0;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(4, 22, 17, 0.3) 0%, rgba(4, 22, 17, 0.95) 100%);
}

.hero-content {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    text-align: center;
    padding: 0 20px;
    color: #FFF;
}

.hero-badge {
    display: inline-block;
    padding: 4px 16px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid var(--gold-primary);
    border-radius: 20px;
    font-size: 13px;
    color: var(--gold-bright);
    margin-bottom: 10px;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 34px;
    background: var(--gold-text-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 6px;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 16px;
    color: #E0E8E3;
    letter-spacing: 1px;
}

.divider-gold {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.divider-gold::before, .divider-gold::after {
    content: '';
    width: 80px;
    height: 1px;
    background: var(--gold-gradient);
}

.divider-gold .diamond {
    color: var(--gold-primary);
    font-size: 10px;
}

/* Main Letter Card */
.letter-card {
    padding: 45px 40px;
    margin-top: -10px;
    border-radius: 0 0 20px 20px;
}

@media (max-width: 600px) {
    .letter-card {
        padding: 25px 20px;
    }
    .hero-title {
        font-size: 26px;
    }
}

.letter-header {
    text-align: center;
    margin-bottom: 35px;
    border-bottom: 2px dashed rgba(212, 175, 55, 0.3);
    padding-bottom: 25px;
}

.letter-tag {
    font-family: 'Cinzel', serif;
    font-size: 12px;
    letter-spacing: 5px;
    color: var(--gold-dark);
    margin-bottom: 12px;
}

.salutation {
    font-family: var(--font-serif);
    font-size: 24px;
    color: var(--text-dark);
    line-height: 1.5;
}

.company-highlight {
    color: #074030;
    background: linear-gradient(180deg, transparent 65%, rgba(212, 175, 55, 0.3) 65%);
    padding: 0 8px;
    font-weight: 900;
}

.greeting-lead {
    font-size: 18px;
    margin-top: 10px;
    color: var(--text-dark);
    font-weight: 600;
}

.letter-body {
    line-height: 2.0;
    font-size: 16px;
    color: #2D3A33;
    margin-bottom: 40px;
}

.indent-para {
    text-indent: 2em;
    margin-bottom: 18px;
    text-align: justify;
}

/* Section Styling */
.advantage-section, .info-section {
    margin-top: 45px;
    padding-top: 35px;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
}

.section-title-box {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.num-badge {
    width: 44px;
    height: 44px;
    background: var(--bg-emerald);
    color: var(--gold-bright);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.section-title {
    font-family: var(--font-serif);
    font-size: 22px;
    color: #0A3226;
}

.section-subtitle {
    font-family: 'Cinzel', serif;
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--gold-dark);
}

/* Feature 2x2 Grid */
.grid-2x2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

@media (max-width: 650px) {
    .grid-2x2 {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    background: #FFFFFF;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 14px;
    padding: 22px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(10, 50, 38, 0.15);
    border-color: var(--gold-primary);
}

.card-icon-box {
    width: 48px;
    height: 48px;
    background: rgba(10, 50, 38, 0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0C3B2E;
    font-size: 22px;
    margin-bottom: 14px;
}

.feature-card h4 {
    font-size: 16px;
    color: #0A3226;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 14px;
    color: #526359;
    line-height: 1.7;
}

.feature-tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    padding: 4px 10px;
    background: #F4EEDF;
    border-radius: 20px;
    font-size: 12px;
    color: var(--gold-dark);
    font-weight: 600;
}

.btn-text-gold {
    background: none;
    border: none;
    color: var(--gold-dark);
    font-weight: 700;
    font-size: 13px;
    margin-top: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-text-gold:hover {
    color: #0A3226;
}

/* Showcase photo */
.photo-showcase {
    margin: 25px 0;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.showcase-img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.showcase-caption {
    padding: 10px 16px;
    background: #0A3226;
    color: var(--gold-bright);
    font-size: 13px;
    text-align: center;
}

.summary-callout {
    background: linear-gradient(135deg, #0A3226 0%, #061E17 100%);
    padding: 25px;
    border-radius: 14px;
    color: var(--ivory-white);
    position: relative;
    margin-top: 25px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.quote-icon {
    font-size: 28px;
    color: var(--gold-primary);
    margin-bottom: 10px;
}

.summary-callout p {
    font-size: 15px;
    line-height: 1.8;
    color: #E2ECE6;
}

/* Info List Card */
.info-list-card {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 15px 25px;
    border: 1px solid var(--border-gold);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 18px 0;
    border-bottom: 1px dashed #E2E8E4;
}

.info-item:last-child {
    border-bottom: none;
}

.info-icon {
    width: 42px;
    height: 42px;
    background: var(--gold-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-dark);
    font-size: 18px;
    flex-shrink: 0;
}

.info-text {
    display: flex;
    flex-direction: column;
}

.info-text .label {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 600;
}

.info-text .val {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-top: 2px;
}

.info-text .sub-val {
    font-size: 13px;
    color: #788C81;
    margin-top: 4px;
}

.highlight-val {
    color: #074030 !important;
}

.price-val {
    font-size: 20px !important;
    color: #B51A1A !important;
}

.deadline-box {
    background: #FFF9EC;
    margin: 10px -15px -5px;
    padding: 15px !important;
    border-radius: 10px;
    border-left: 4px solid var(--gold-primary);
}

.deadline-val {
    color: #A32800 !important;
}

/* Footer & Signature */
.letter-footer {
    margin-top: 45px;
    text-align: center;
}

.closing-para {
    font-size: 16px;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 35px;
}

.signature-box {
    display: inline-block;
    text-align: right;
    position: relative;
    padding-right: 20px;
}

.sig-seal {
    position: absolute;
    top: -20px;
    right: -10px;
    font-size: 60px;
    color: rgba(181, 26, 26, 0.15);
    pointer-events: none;
}

.sig-title {
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 700;
    color: #0A3226;
}

.sig-date {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Action Buttons */
.rsvp-action-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 45px;
}

@media (max-width: 500px) {
    .rsvp-action-bar {
        grid-template-columns: 1fr;
    }
}

.btn-gold-lg {
    background: var(--gold-gradient);
    color: var(--bg-dark);
    padding: 16px 28px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-gold-lg:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.6);
}

.btn-outline-gold {
    background: transparent;
    border: 2px solid var(--gold-primary);
    color: #0A3226;
    padding: 16px 28px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-outline-gold:hover {
    background: var(--gold-primary);
    color: var(--bg-dark);
}

.invitation-footer {
    text-align: center;
    color: #6C8276;
    font-size: 13px;
    margin-top: 40px;
    line-height: 1.8;
}


/* ==========================================================================
   MODALS & OVERLAYS
   ========================================================================== */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.modal-card {
    width: 100%;
    max-width: 650px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 30px;
    position: relative;
}

.modal-sm {
    max-width: 420px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border-gold);
    margin-bottom: 20px;
}

.modal-header h3 {
    font-family: var(--font-serif);
    font-size: 20px;
    color: var(--gold-bright);
}

.modal-close {
    background: none;
    border: none;
    color: var(--gold-bright);
    font-size: 28px;
    cursor: pointer;
}

/* Course Grid in Modal */
.course-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

@media (max-width: 500px) {
    .course-grid {
        grid-template-columns: 1fr;
    }
}

.course-item {
    background: rgba(6, 30, 23, 0.8);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 10px;
    padding: 15px;
    display: flex;
    gap: 12px;
}

.c-icon {
    width: 36px;
    height: 36px;
    background: rgba(212, 175, 55, 0.15);
    color: var(--gold-bright);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.course-item h4 {
    font-size: 15px;
    color: var(--gold-bright);
    margin-bottom: 4px;
}

.course-item p {
    font-size: 12px;
    color: #A3BEB0;
    line-height: 1.5;
}

/* Form inputs in Modal */
.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 13px;
    color: var(--gold-bright);
    margin-bottom: 6px;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 12px 14px;
    background: rgba(6, 30, 23, 0.9);
    border: 1px solid var(--border-gold);
    border-radius: 8px;
    color: #FFF;
    font-size: 14px;
    outline: none;
}

.read-only-input {
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold-bright);
    font-weight: 700;
}

.success-box {
    text-align: center;
    padding: 30px 20px;
}

.success-icon {
    font-size: 60px;
    color: #4EED98;
    margin-bottom: 15px;
}

.success-box h4 {
    font-size: 22px;
    color: var(--gold-bright);
    margin-bottom: 10px;
}

.success-box p {
    color: #A3BEB0;
    font-size: 14px;
    line-height: 1.6;
}

/* Contact hotline modal */
.avatar-box {
    width: 80px;
    height: 80px;
    background: var(--gold-gradient);
    border-radius: 50%;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--bg-dark);
}

.phone-highlight {
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid var(--gold-primary);
    padding: 12px;
    border-radius: 10px;
    color: var(--gold-bright);
    font-size: 20px;
    font-weight: 700;
}

/* Toast */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--gold-gradient);
    color: var(--bg-dark);
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.hidden {
    display: none !important;
}

/* Keyframe Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.3); }
}

@keyframes ripple {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.6); opacity: 0; }
}

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