:root {
            --bg-burgundy: #4A0E17;
            --bg-burgundy-deep: #2D080E;
            --bg-card: rgba(45, 8, 14, 0.75);
            --gold-primary: #E5C378;
            --gold-light: #F9E7B9;
            --gold-dark: #B88E3E;
            --gold-gradient: linear-gradient(135deg, #FBF0D2 0%, #E5C378 50%, #B88E3E 100%);
            --text-cream: #FAF6EE;
            --text-muted: #D1B89D;
            --emerald: #1C3B2B;
            --emerald-light: #2A5A42;
            --border-gold: rgba(229, 195, 120, 0.35);
            --shadow-luxury: 0 12px 35px rgba(0, 0, 0, 0.55);
        }

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

        body {
            font-family: 'Noto Serif SC', -apple-system, BlinkMacSystemFont, "PingFang SC", serif;
            background-color: var(--bg-burgundy-deep);
            color: var(--text-cream);
            overflow-x: hidden;
            line-height: 1.6;
            min-height: 100vh;
        }

        /* Golden Sparkles & Snow Canvas */
        #snowCanvas {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 10;
        }

        /* Floating Audio Control */
        .music-btn {
            position: fixed;
            top: 20px;
            right: 20px;
            width: 44px;
            height: 44px;
            border-radius: 50%;
            background: rgba(30, 5, 10, 0.75);
            border: 1.5px solid var(--gold-primary);
            box-shadow: 0 4px 15px rgba(0,0,0,0.4);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 100;
            cursor: pointer;
            backdrop-filter: blur(8px);
            transition: all 0.3s ease;
        }
        .music-btn svg {
            width: 22px;
            height: 22px;
            fill: var(--gold-primary);
        }
        .music-btn.playing {
            animation: rotateDisc 4s linear infinite;
        }
        @keyframes rotateDisc {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }

        /* Main Container */
        .app-container {
            max-width: 480px;
            margin: 0 auto;
            position: relative;
            min-height: 100vh;
            background: radial-gradient(circle at 50% 20%, #5C121D 0%, var(--bg-burgundy-deep) 80%);
            box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
        }

        /* Section 1: Luxury Envelope Opener */
        .envelope-screen {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            max-width: 480px;
            left: 50%;
            transform: translateX(-50%);
            background: linear-gradient(180deg, #3D0910 0%, #1F0407 100%);
            z-index: 90;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 24px;
            transition: all 0.8s cubic-bezier(0.77, 0, 0.175, 1);
        }
        .envelope-screen.opened {
            opacity: 0;
            pointer-events: none;
            transform: translateX(-50%) scale(1.1);
        }

        .envelope-box {
            width: 100%;
            max-width: 340px;
            background: linear-gradient(145deg, #61131E, #3B090F);
            border-radius: 16px;
            padding: 36px 24px;
            text-align: center;
            border: 1px solid rgba(229, 195, 120, 0.4);
            box-shadow: 0 20px 45px rgba(0,0,0,0.65), inset 0 0 20px rgba(229, 195, 120, 0.15);
            position: relative;
            overflow: hidden;
        }
        .envelope-box::before {
            content: '';
            position: absolute;
            top: 6px; left: 6px; right: 6px; bottom: 6px;
            border: 1px solid rgba(229, 195, 120, 0.25);
            border-radius: 12px;
            pointer-events: none;
        }
        .env-subtitle {
            font-family: 'Cinzel', serif;
            letter-spacing: 4px;
            font-size: 13px;
            color: var(--gold-light);
            text-transform: uppercase;
            margin-bottom: 8px;
        }
        .env-title {
            font-size: 26px;
            font-weight: 700;
            color: var(--text-cream);
            letter-spacing: 2px;
            margin-bottom: 24px;
            background: var(--gold-gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        .wax-seal-btn {
            width: 100px;
            height: 100px;
            margin: 15px auto;
            border-radius: 50%;
            background: radial-gradient(circle, #8C1C28 0%, #4D0A11 100%);
            border: 2px solid var(--gold-primary);
            box-shadow: 0 8px 25px rgba(0,0,0,0.6), inset 0 0 15px rgba(229, 195, 120, 0.4);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: transform 0.3s ease;
            animation: pulseGlow 2.5s infinite;
        }
        @keyframes pulseGlow {
            0%, 100% { transform: scale(1); box-shadow: 0 0 15px rgba(229, 195, 120, 0.3); }
            50% { transform: scale(1.05); box-shadow: 0 0 30px rgba(229, 195, 120, 0.6); }
        }
        .wax-seal-btn span {
            font-family: 'Cinzel', serif;
            font-size: 24px;
            font-weight: 800;
            color: var(--gold-light);
            line-height: 1;
        }
        .wax-seal-btn small {
            font-size: 10px;
            color: var(--gold-light);
            letter-spacing: 1px;
            margin-top: 4px;
        }
        .env-tip {
            font-size: 13px;
            color: var(--text-muted);
            margin-top: 18px;
            letter-spacing: 1px;
        }

        /* Content Sections */
        .content-wrap {
            padding: 30px 20px 80px 20px;
            display: flex;
            flex-direction: column;
            gap: 32px;
        }

        /* Hero Header */
        .hero-header {
            text-align: center;
            padding: 20px 0 10px 0;
        }
        .monogram-badge {
            width: 90px;
            height: 90px;
            margin: 0 auto 16px auto;
            filter: drop-shadow(0 6px 15px rgba(0,0,0,0.5));
        }
        .hero-names {
            font-size: 30px;
            font-weight: 700;
            letter-spacing: 3px;
            background: var(--gold-gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            margin-bottom: 6px;
        }
        .hero-en {
            font-family: 'Cinzel', serif;
            font-size: 14px;
            letter-spacing: 5px;
            color: var(--gold-light);
            text-transform: uppercase;
        }
        .hero-date-badge {
            display: inline-flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            margin-top: 14px;
            padding: 8px 22px;
            border-radius: 20px;
            background: rgba(30, 5, 10, 0.7);
            border: 1px dashed rgba(229, 195, 120, 0.45);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
            max-width: 90%;
        }
        .hero-date-badge .badge-date {
            font-family: 'Cinzel', 'Noto Serif SC', serif;
            font-size: 14.5px;
            color: var(--gold-primary);
            letter-spacing: 2px;
            font-weight: 600;
        }
        .hero-date-badge .badge-time {
            font-size: 12.5px;
            color: var(--text-cream);
            letter-spacing: 1.5px;
            margin-top: 3px;
            opacity: 0.95;
        }

        /* Card Base */
        .glass-card {
            background: var(--bg-card);
            border: 1px solid var(--border-gold);
            border-radius: 18px;
            padding: 24px 20px;
            box-shadow: var(--shadow-luxury);
            backdrop-filter: blur(12px);
            position: relative;
            overflow: hidden;
        }
        .glass-card::before {
            content: '';
            position: absolute;
            top: 0; left: 0; right: 0; height: 2px;
            background: var(--gold-gradient);
        }
        .card-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 18px;
            border-bottom: 1px dashed rgba(229, 195, 120, 0.25);
            padding-bottom: 12px;
        }
        .card-title {
            font-size: 18px;
            font-weight: 600;
            color: var(--gold-light);
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .card-subtitle {
            font-family: 'Cinzel', serif;
            font-size: 11px;
            color: var(--text-muted);
            letter-spacing: 2px;
        }

        /* Video Cinema Screen */
        .video-wrapper {
            position: relative;
            border-radius: 14px;
            overflow: hidden;
            background: #110204;
            border: 1.5px solid var(--gold-dark);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
        }
        .video-wrapper video {
            width: 100%;
            height: auto;
            max-height: none;
            display: block;
            border-radius: 10px;
            object-fit: contain;
        }
        .video-overlay-poster {
            position: absolute;
            top: 0; left: 0; width: 100%; height: 100%;
            background: radial-gradient(circle at center, rgba(45, 8, 14, 0.75) 0%, rgba(18, 2, 5, 0.95) 100%);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: opacity 0.4s ease;
        }
        .play-big-btn {
            width: 68px;
            height: 68px;
            border-radius: 50%;
            background: var(--gold-gradient);
            box-shadow: 0 6px 25px rgba(229, 195, 120, 0.6);
            display: flex;
            align-items: center;
            justify-content: center;
            transition: transform 0.2s ease;
        }
        .play-big-btn svg {
            width: 28px;
            height: 28px;
            fill: #3D0910;
            margin-left: 4px;
        }
        .video-tip {
            margin-top: 14px;
            font-size: 13px;
            color: var(--gold-light);
            letter-spacing: 1px;
            text-shadow: 0 2px 4px rgba(0,0,0,0.8);
        }

        /* Carnival 3 Zones */
        .zone-grid {
            display: flex;
            flex-direction: column;
            gap: 14px;
        }
        .zone-item {
            background: rgba(30, 5, 10, 0.65);
            border: 1px solid rgba(229, 195, 120, 0.25);
            border-radius: 12px;
            padding: 14px 16px;
            display: flex;
            align-items: flex-start;
            gap: 14px;
        }
        .zone-icon {
            font-size: 26px;
            line-height: 1;
            padding: 8px;
            background: rgba(229, 195, 120, 0.1);
            border-radius: 10px;
            border: 1px solid rgba(229, 195, 120, 0.2);
        }
        .zone-name {
            font-size: 15px;
            font-weight: 600;
            color: var(--gold-light);
            margin-bottom: 4px;
        }
        .zone-desc {
            font-size: 12.5px;
            color: var(--text-muted);
            line-height: 1.5;
        }

        /* Countdown */
        .countdown-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 8px;
            margin-top: 14px;
            text-align: center;
        }
        .count-unit {
            background: rgba(20, 3, 5, 0.6);
            border: 1px solid rgba(229, 195, 120, 0.2);
            border-radius: 10px;
            padding: 10px 4px;
        }
        .count-num {
            font-family: 'Cinzel', serif;
            font-size: 22px;
            font-weight: 700;
            color: var(--gold-light);
            line-height: 1.1;
        }
        .count-label {
            font-size: 10px;
            color: var(--text-muted);
            margin-top: 4px;
        }

        /* Map & Location */
        .hotel-name {
            font-size: 17px;
            font-weight: 600;
            color: var(--text-cream);
            margin-bottom: 4px;
        }
        .hotel-address {
            font-size: 13px;
            color: var(--text-muted);
            margin-bottom: 14px;
        }
        .nav-btn-group {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
        }
        .nav-btn {
            background: rgba(229, 195, 120, 0.12);
            border: 1px solid var(--gold-primary);
            color: var(--gold-light);
            padding: 10px;
            border-radius: 10px;
            font-size: 13px;
            font-weight: 600;
            text-decoration: none;
            text-align: center;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            transition: all 0.2s ease;
        }
        .nav-btn:active {
            background: var(--gold-primary);
            color: #3D0910;
        }

        /* Form Styles */
        .form-group {
            margin-bottom: 18px;
        }
        .form-label {
            font-size: 13.5px;
            color: var(--gold-light);
            margin-bottom: 6px;
            display: block;
            font-weight: 500;
        }
        .form-label .req {
            color: #FF6B6B;
            margin-left: 2px;
        }
        .form-control {
            width: 100%;
            background: rgba(20, 3, 5, 0.7);
            border: 1px solid rgba(229, 195, 120, 0.35);
            border-radius: 10px;
            padding: 12px 14px;
            font-size: 14px;
            color: var(--text-cream);
            outline: none;
            transition: border-color 0.2s ease;
            font-family: inherit;
        }
        .form-control:focus {
            border-color: var(--gold-primary);
            box-shadow: 0 0 10px rgba(229, 195, 120, 0.3);
        }

        /* Custom Segmented Control */
        .radio-pills {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
        }
        .radio-pill-label {
            background: rgba(20, 3, 5, 0.6);
            border: 1px solid rgba(229, 195, 120, 0.3);
            border-radius: 10px;
            padding: 10px;
            text-align: center;
            font-size: 13.5px;
            cursor: pointer;
            transition: all 0.2s ease;
            color: var(--text-muted);
        }
        .radio-pills input[type="radio"] {
            display: none;
        }
        .radio-pills input[type="radio"]:checked + .radio-pill-label {
            background: var(--gold-gradient);
            color: #3D0910;
            font-weight: 700;
            border-color: transparent;
            box-shadow: 0 4px 15px rgba(229, 195, 120, 0.4);
        }

        /* Multi options vertical */
        .option-stack {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }
        .option-stack-item {
            background: rgba(20, 3, 5, 0.6);
            border: 1px solid rgba(229, 195, 120, 0.25);
            border-radius: 10px;
            padding: 10px 14px;
            font-size: 13px;
            display: flex;
            align-items: center;
            gap: 10px;
            cursor: pointer;
            color: var(--text-muted);
            transition: all 0.2s ease;
        }
        .option-stack-item input[type="radio"] {
            accent-color: var(--gold-primary);
            width: 16px;
            height: 16px;
        }
        .option-stack-item.active {
            background: rgba(229, 195, 120, 0.15);
            border-color: var(--gold-primary);
            color: var(--gold-light);
            font-weight: 600;
        }

        /* Number Stepper */
        .stepper-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: rgba(20, 3, 5, 0.6);
            border: 1px solid rgba(229, 195, 120, 0.25);
            border-radius: 10px;
            padding: 8px 14px;
            margin-bottom: 8px;
        }
        .stepper-label {
            font-size: 13.5px;
            color: var(--text-cream);
        }
        .stepper-ctrl {
            display: flex;
            align-items: center;
            gap: 12px;
        }
        .stepper-btn {
            width: 30px;
            height: 30px;
            border-radius: 50%;
            background: rgba(229, 195, 120, 0.2);
            border: 1px solid var(--gold-primary);
            color: var(--gold-light);
            font-size: 18px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            user-select: none;
        }
        .stepper-val {
            font-family: 'Cinzel', serif;
            font-size: 16px;
            font-weight: 700;
            width: 24px;
            text-align: center;
            color: var(--gold-light);
        }

        /* Submit Button */
        .submit-btn {
            width: 100%;
            background: var(--gold-gradient);
            border: none;
            border-radius: 12px;
            padding: 15px;
            font-size: 16px;
            font-weight: 700;
            color: #3D0910;
            cursor: pointer;
            letter-spacing: 2px;
            margin-top: 10px;
            box-shadow: 0 8px 25px rgba(229, 195, 120, 0.4);
            transition: all 0.2s ease;
        }
        .submit-btn:active {
            transform: scale(0.98);
        }

        /* Success Card Popup */
        .modal-mask {
            position: fixed;
            top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(0, 0, 0, 0.85);
            z-index: 200;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.3s ease;
        }
        .modal-mask.show {
            opacity: 1;
            pointer-events: auto;
        }
        .success-box {
            background: linear-gradient(160deg, #5A111B, #260509);
            border: 1.5px solid var(--gold-primary);
            border-radius: 20px;
            padding: 30px 20px;
            text-align: center;
            width: 100%;
            max-width: 360px;
            box-shadow: 0 15px 40px rgba(0,0,0,0.8);
            position: relative;
        }
        .success-icon {
            font-size: 46px;
            margin-bottom: 12px;
        }
        .success-title {
            font-size: 20px;
            font-weight: 700;
            color: var(--gold-light);
            margin-bottom: 8px;
        }
        .success-desc {
            font-size: 13.5px;
            color: var(--text-cream);
            line-height: 1.6;
            margin-bottom: 20px;
        }
        .modal-close-btn {
            background: var(--gold-gradient);
            color: #3D0910;
            border: none;
            border-radius: 10px;
            padding: 10px 24px;
            font-weight: 700;
            cursor: pointer;
        }

        /* Admin Management Modal */
        .admin-modal {
            max-height: 80vh;
            overflow-y: auto;
            text-align: left;
        }
        .admin-table {
            width: 100%;
            font-size: 12px;
            border-collapse: collapse;
            margin-top: 14px;
        }
        .admin-table th, .admin-table td {
            border: 1px solid rgba(229, 195, 120, 0.25);
            padding: 8px 6px;
        }
        .admin-table th {
            background: rgba(229, 195, 120, 0.15);
            color: var(--gold-light);
        }

        /* Footer */
        .footer-wrap {
            text-align: center;
            padding: 30px 20px;
            font-size: 12px;
            color: var(--text-muted);
            border-top: 1px dashed rgba(229, 195, 120, 0.2);
        }
        .admin-trigger {
            color: rgba(229, 195, 120, 0.4);
            text-decoration: underline;
            cursor: pointer;
            margin-top: 10px;
            display: inline-block;
        }
