@import url('https://fonts.googleapis.com/css2?family=Alex+Brush&family=Cinzel:wght@500;600;700;800&family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Rouge+Script&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Birthstone&family=Rouge+Script&family=Tangerine:wght@400;700&display=swap');


:root {
    --bg-dark-velvet: #0e0102;
    --bg-ruby-dark: #220306;
    --bg-card: rgba(20, 2, 4, 0.88);
    --gold-bright: #fad074;
    --gold-primary: #d4af37;
    --gold-deep: #a07a24;
    --gold-border: #b89139;
    --ruby-crimson: #850c12;
    --ruby-glow: rgba(220, 20, 60, 0.45);
    --text-light: #fbeee0;
    --text-muted: #d6baa2;
}

body {
    background-color: var(--bg-dark-velvet);
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(133, 12, 18, 0.35) 0%, transparent 45%),
        radial-gradient(circle at 90% 85%, rgba(133, 12, 18, 0.4) 0%, transparent 50%),
        linear-gradient(180deg, #090001 0%, #1c0205 50%, #0d0102 100%);
    background-attachment: fixed;
    color: var(--text-light);
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

/* Font Assignments */
.font-serif, h1, h2, h3, h4, h5 {
    font-family: 'Cinzel', serif;
    letter-spacing: 1.5px;
}

.script-font {
    font-family: "Birthstone", cursive;
    font-weight: 400;
}

.birthstone-regular {
  font-family: "Birthstone", cursive;
  font-weight: 400;
  font-style: normal;
}


/* Gold Gradient Text */
.gold-text-gradient {
    background: linear-gradient(135deg, #fff2c4 0%, #fad074 40%, #d4af37 70%, #9e7520 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.gold-glow {
    text-shadow: 0 0 12px rgba(250, 208, 116, 0.45), 0 0 25px rgba(212, 175, 55, 0.2);
}

/* Luxury Dual-Line Bordered Card */
.stationery-border {
    position: relative;
    padding: 12px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--gold-deep), var(--gold-bright), var(--gold-deep));
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(133, 12, 18, 0.35);
    margin: 1.5rem auto;
}

.stationery-inner {
    position: relative;
    background: var(--bg-card);
    border: 1.5px solid var(--gold-border);
    border-radius: 12px;
    padding: 2.75rem 2rem;
    backdrop-filter: blur(8px);
}

.stationery-inner::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    pointer-events: none;
}

/* Divider with Heart Motif */
.gold-heart-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0.1rem auto;
    width: 80%;
    color: var(--gold-bright);
    font-size: 1.1rem;
}

.gold-heart-divider::before,
.gold-heart-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--gold-border);
    margin: 0 14px;
    opacity: 0.7;
}

/* Big Milestone Display */
.milestone-badge {
    font-family: 'Cinzel', serif;
    font-size: 4.8rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -2px;
    filter: drop-shadow(0 0 15px rgba(250, 208, 116, 0.5));
}

.milestone-sub {
    font-size: 2.2rem;
    color: var(--gold-bright);
    line-height: 1.2;
    margin-top: -0.3rem;
}

/* Video Invitation Container (9:16) */
.video-invitation-container {
    width: 100%;
    max-width: 360px;
    aspect-ratio: 9 / 16;
    margin: 0 auto;
    border: 2px solid var(--gold-border);
    border-radius: 16px;
    overflow: hidden;
    background-color: #000;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(133, 12, 18, 0.4);
}

.video-invitation-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Countdown Blocks */
.countdown-box {
    border: 1.5px solid var(--gold-border);
    background: rgba(30, 4, 7, 0.75);
    border-radius: 10px;
    padding: 12px 8px;
    min-width: 72px;
    text-align: center;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.6);
}

.countdown-box .digit {
    font-family: 'Cinzel', serif;
    font-size: 2.1rem;
    font-weight: 700;
    color: var(--gold-bright);
    line-height: 1;
    text-shadow: 0 0 10px rgba(250, 208, 116, 0.3);
}

.countdown-box .label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    margin-top: 5px;
}

/* Event Info Pillars */
.event-info-box {
    background: rgba(43, 4, 7, 0.55);
    border: 1px solid var(--gold-border);
    border-radius: 10px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.event-info-box .icon-col {
    color: var(--gold-bright);
    font-size: 1.5rem;
    width: 45px;
}

/* Buttons */
.btn-ruby-gold {
    background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold-primary) 50%, var(--gold-deep) 100%);
    color: #1a0104 !important;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: none;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.35);
    transition: all 0.3s ease;
}

.btn-ruby-gold:hover {
    background: linear-gradient(135deg, #fff2c4 0%, var(--gold-bright) 50%, var(--gold-primary) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(250, 208, 116, 0.5);
}

.btn-outline-gold {
    border: 1.5px solid var(--gold-border);
    color: var(--gold-bright) !important;
    background: transparent;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-gold:hover {
    background: rgba(212, 175, 55, 0.15);
    color: #fff !important;
    border-color: var(--gold-bright);
}

/* Form Inputs */
.form-control, .form-select {
    background-color: rgba(26, 3, 6, 0.85);
    border: 1.5px solid var(--gold-border);
    color: var(--text-light);
    border-radius: 6px;
}

.form-control:focus, .form-select:focus {
    background-color: rgba(35, 4, 8, 0.95);
    border-color: var(--gold-bright);
    color: #ffffff;
    box-shadow: 0 0 10px rgba(250, 208, 116, 0.4);
}

.form-control::placeholder {
    color: rgba(214, 186, 162, 0.5);
}

/* Chat Styling */
.chat-container {
    height: 320px;
    overflow-y: auto;
    background: rgba(18, 2, 4, 0.9);
    border: 1px solid var(--gold-border);
    border-radius: 8px;
    padding: 15px;
}

.bubble-guest {
    background: linear-gradient(135deg, #850c12, #530408);
    color: #fff;
    border: 1px solid rgba(250, 208, 116, 0.3);
    border-radius: 12px 12px 0 12px;
    margin-left: auto;
    max-width: 82%;
}

.bubble-admin {
    background: rgba(45, 6, 10, 0.85);
    color: var(--gold-bright);
    border: 1px solid var(--gold-border);
    border-radius: 12px 12px 12px 0;
    margin-right: auto;
    max-width: 82%;
}