/* styles.css - Hyper-Modern Luxury Wedding Platform */

:root {
  /* Dynamic Deep Glass Aesthetics */
  --bento-bg: #0d0d12;
  --bento-gradient: radial-gradient(circle at top left, #1a1a24, #0d0d12 80%);
  --bento-glass: rgba(255, 255, 255, 0.02);
  --bento-border: rgba(255, 255, 255, 0.06);
  --accent-gold: #d4af37;
  --accent-gold-gradient: linear-gradient(135deg, #fceda1, #d4af37, #9e8121);
  --text-light: #f8fafc;
  --text-muted: #94a3b8;
}

html, body {
  margin: 0; padding: 0;
  font-family: 'Outfit', 'Inter', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

/* -------------------------------------------
   DASHBOARD & PORTALS (BENTO GRID)
------------------------------------------- */
body:not(.invite-body) {
  background: var(--bento-bg);
  background-image: var(--bento-gradient);
  color: var(--text-light);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 3rem 1.5rem;
}

h1, h2, h3 { 
  font-family: 'Playfair Display', serif; 
  font-weight: 500; 
  margin: 0 0 1.2rem 0; 
  color: var(--accent-gold); 
  letter-spacing: 0.5px; 
}
.title-wrapper { grid-column: 1 / -1; text-align: center; margin-bottom: 1rem; }
.title { font-size: 3rem; margin-bottom: 0.3rem; text-shadow: 0 4px 20px rgba(212, 175, 55, 0.2); }
.subtitle { font-family: 'Outfit', sans-serif; color: var(--text-muted); font-size: 1rem; letter-spacing: 1px; text-transform: uppercase; }

/* Bento Container */
.container {
  width: 100%; 
  max-width: 1100px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin: 0 auto;
}

@media (min-width: 850px) {
  .container { grid-template-columns: repeat(2, 1fr); align-items: start; }
  /* Full Width Panes */
  #admin-events-list-section, #couple-guests-list-section, 
  #admin-settings-section { grid-column: 1 / -1; }
}

/* Bento Card Geometry */
.card {
  background: var(--bento-glass);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--bento-border);
  border-radius: 20px;
  padding: 2.2rem;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.06);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.4s;
  position: relative;
  overflow: hidden;
  animation: fadeUp 0.6s ease backwards;
}
.card:nth-child(2) { animation-delay: 0.1s; }
.card:nth-child(3) { animation-delay: 0.2s; }

.card:hover { border-color: rgba(212, 175, 55, 0.3); }

/* Sleek Inputs */
input, select {
  width: 100%;
  padding: 1rem 0 0.6rem;
  margin-bottom: 1.2rem;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  color: var(--text-light);
  font-size: 1.05rem;
  font-family: 'Outfit', sans-serif;
  transition: border-color 0.3s, box-shadow 0.3s;
  border-radius: 0;
}
input:focus, select:focus {
  outline: none;
  border-bottom-color: var(--accent-gold);
  box-shadow: 0 8px 10px -10px rgba(212, 175, 55, 0.3);
}
input::placeholder { color: rgba(255,255,255,0.3); font-weight: 300; }
select { appearance: none; color: var(--text-muted); cursor: pointer; }
select:focus { color: var(--text-light); }
select option { background: #1a1a24; color: var(--text-light); padding: 10px; }

/* Premium Buttons */
.btn {
  background: var(--accent-gold-gradient);
  border: none;
  color: #0b0b0e;
  font-weight: 600;
  padding: 1.1rem 2rem;
  border-radius: 12px;
  cursor: pointer;
  font-size: 1.05rem;
  font-family: 'Outfit', sans-serif;
  width: 100%;
  margin-top: 1rem;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}
.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.5);
}
.btn-sm { width: auto; padding: 0.6rem 1.2rem; font-size: 0.9rem; border-radius: 8px; margin-top: 0; }
.btn-danger { background: linear-gradient(135deg, #ef4444, #991b1b); color: white; box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3); }

/* Details & Summaries */
details summary {
  color: var(--accent-gold);
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  cursor: pointer;
  padding: 0.8rem 0;
  transition: opacity 0.2s;
  user-select: none;
  border-bottom: 1px dashed rgba(255,255,255,0.1);
}
details summary:hover { opacity: 0.8; }
details[open] summary { border-bottom: none; }

/* List Data Grids */
ul { 
  list-style: none; padding: 0; margin: 0; 
  display: grid; gap: 1rem; grid-template-columns: 1fr; 
}
@media (min-width: 700px) { ul { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); } }
li {
  background: rgba(255, 255, 255, 0.02);
  padding: 1.5rem;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.05);
  transition: background 0.3s, transform 0.3s, border-color 0.3s;
  display: flex; flex-direction: column; gap: 1rem;
}
li:hover {
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.15);
}
.invite-info strong { display: block; font-size: 1.2rem; color: var(--accent-gold); margin-bottom: 0.4rem; font-family: 'Playfair Display', serif; }
.invite-address { font-size: 0.85rem; color: var(--text-muted); line-height: 1.4; display: block; }
.invite-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: auto; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.05); }

/* Action Links */
a { color: var(--accent-gold); text-decoration: none; transition: color 0.2s; }
a:hover { color: #fff; }

/* Guest Table Styles */
.table-responsive { width: 100%; overflow-x: auto; margin-top: 1rem; }
.guest-table { width: 100%; border-collapse: collapse; text-align: left; background: var(--bg-hover); border-radius: 8px; overflow: hidden; }
.guest-table th, .guest-table td { padding: 1rem; border-bottom: 1px solid rgba(255,255,255,0.05); }
.guest-table th { background: rgba(0,0,0,0.2); color: var(--accent-gold); font-family: 'Outfit', sans-serif; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; font-weight: 500; }
.guest-table tr:hover { background: rgba(255,255,255,0.02); }
.guest-table td { vertical-align: middle; }
.guest-table td:last-child { width: auto; white-space: nowrap; }

/* -------------------------------------------
   VIOLET EDITORIAL INVITATION STRUCTURE
------------------------------------------- */
/* Light Editorial — invite page body */
.light-editorial {
  margin: 0; padding: 0; min-height: 100vh;
  background: linear-gradient(160deg, var(--theme-page-grad-a, #f8f2ff) 0%, #ffffff 45%, var(--theme-page-grad-b, #fff2f7) 100%);
  display: flex; justify-content: center;
  position: relative;
  font-family: 'Playfair Display', serif;
  color: #2D3436;
  overflow-x: hidden;
  padding: 2rem 0;
}

/* On large screens, make the gradient more vivid so the page doesn't look empty */
@media (min-width: 901px) {
  .light-editorial {
    background: linear-gradient(145deg,
      var(--theme-page-grad-a, #f8f2ff) 0%,
      #ffffff 35%,
      #ffffff 65%,
      var(--theme-page-grad-b, #fff2f7) 100%
    );
  }
}

/* Animated Bokeh Background */
.animated-bg {
  position: fixed; inset: 0; pointer-events: none; z-index: 1; overflow: hidden;
}
.bokeh-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.85; /* Massively increased opacity so it can be seen clearly over white */
  animation: floatOrb 25s infinite ease-in-out alternate;
}
.orb1 {
  width: 300px; height: 300px;
  background: #EEDCFF; /* Soft pale violet */
  top: -10%; left: -10%;
}
.orb2 {
  width: 400px; height: 400px;
  background: #F8E5ED; /* Soft pale rose */
  bottom: -20%; right: -10%;
  animation-duration: 35s; animation-direction: alternate-reverse;
}
.orb3 {
  width: 250px; height: 250px;
  background: #F2EEFF; /* Soft lavender */
  top: 40%; left: 60%;
  animation-duration: 28s; animation-delay: -5s;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(50px, -50px) scale(1.1); }
  66% { transform: translate(-30px, 40px) scale(0.9); }
  100% { transform: translate(20px, 20px) scale(1.05); }
}

.hero-wrapper {
  position: relative; z-index: 5;
  width: 100%; max-width: 550px;
  padding: 0 1rem; box-sizing: border-box;
  margin: 0 auto;
}

.editorial-card {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 5rem 2.5rem; /* Massive padding to emulate the long spacing of the reference */
  min-height: 90vh; /* Stretch to fill almost whole screen vertically */
  display: flex; flex-direction: column; justify-content: center;
  box-shadow: 0 30px 80px rgba(118,92,125,0.1), 0 0 40px rgba(118,92,125,0.08); /* Sophisticated Violet Glow */
  text-align: center;
  position: relative;
}

.fade-up {
  opacity: 0; transform: translateY(20px);
  animation: fadeUpItem 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; position: relative; z-index: 2;
}

@keyframes fadeUpItem { to { opacity: 1; transform: translateY(0); } }

/* Light Typography */
.invite-header { margin-bottom: 2rem; }
.couple-names { font-family: 'Playfair Display', serif; font-size: 2.8rem; line-height: 1.2; margin: 1.5rem 0; font-weight: 500; color: #3A403A; }

.invite-guest-section { margin-bottom: 1.5rem; }
.invite-pre-text { font-family: 'Outfit', sans-serif; text-transform: uppercase; letter-spacing: 2px; font-size: 0.75rem; font-weight: 400; margin: 1rem 0 0.5rem; color: #765C7D; }
.guest-name { font-family: 'Playfair Display', serif; font-size: 1.8rem; margin: 0; font-weight: 400; color: #2D3436; }

.welcome-box { 
  background: #F8F6F8; 
  border-left: 2px solid #765C7D; 
  padding: 1.5rem; 
  margin: 1.5rem 0;
}
.welcome-message { font-family: 'Playfair Display', serif; font-style: italic; font-size: 1.05rem; margin: 0; color: #555; line-height: 1.6; }

.divider { height: 1px; background: rgba(0,0,0,0.06); width: 80%; margin: 2rem auto; }

/* 3-Column Editorial Date Grid */
.editorial-date-grid {
  display: flex; justify-content: center; align-items: center; gap: 1.5rem;
  margin: 2rem 0;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(118,92,125,0.04) 0%, rgba(248,229,237,0.2) 100%);
  border-radius: 16px;
  border: 1px solid rgba(118,92,125,0.1);
  box-shadow: 0 0 40px rgba(118,92,125,0.07);
}
.date-left, .date-right { display: flex; flex-direction: column; width: 80px; }
.date-left { text-align: right; }
.date-right { text-align: left; }
.date-center { 
  border-left: 1px solid rgba(0,0,0,0.1); 
  border-right: 1px solid rgba(0,0,0,0.1); 
  padding: 0 2rem; 
}

.date-left strong, .date-right strong { font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 400; color: #2D3436; }
.date-left span, .date-right span { font-family: 'Outfit', sans-serif; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1.5px; color: #888; margin-top: 0.2rem; }
.date-center span { font-family: 'Playfair Display', serif; font-size: 3.5rem; line-height: 1; font-weight: 400; color: #3A403A; }

.editorial-venue { margin-bottom: 2.5rem; }
.editorial-venue h3 { font-family: 'Outfit', sans-serif; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 2px; color: #765C7D; margin-bottom: 0.5rem; }
.editorial-venue p { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: #555; margin: 0 0 1rem 0; }

.btn-violet-outline {
  background: transparent;
  border: 1px solid #765C7D; color: #765C7D;
  padding: 0.6rem 1.2rem; border-radius: 30px; font-family: 'Outfit', sans-serif; 
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; font-weight: 500;
  cursor: pointer; transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative; overflow: hidden; z-index: 1;
}
.btn-violet-outline:hover { background: #765C7D; color: #fff; }
.btn-violet-outline:active { transform: scale(0.95); }

.btn-violet {
  background: #765C7D;
  border: none; color: #fff;
  padding: 1rem 2rem; font-family: 'Outfit', sans-serif; 
  font-size: 0.9rem; text-transform: uppercase; letter-spacing: 2px; font-weight: 500;
  cursor: pointer; transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 4px 15px rgba(118,92,125,0.3);
  position: relative; overflow: hidden; z-index: 1;
}
.btn-violet:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(118,92,125,0.4); }
.btn-violet:active { transform: scale(0.95); }

/* Ripple Effect Animation */
.btn-violet::after, .btn-violet-outline::after {
  content: ''; position: absolute; inset: 0; border-radius: 30px; background: rgba(255,255,255,0.4);
  transform: scale(0); opacity: 0; pointer-events: none;
}
.btn-violet.ripple::after, .btn-violet-outline.ripple::after {
  animation: btnRipple 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes btnRipple {
  0% { transform: scale(0); opacity: 1; }
  100% { transform: scale(2.5); opacity: 0; }
}

/* Countdown Section */
.countdown-section { 
  background: linear-gradient(135deg, rgba(118,92,125,0.04) 0%, rgba(248,229,237,0.3) 100%);
  border-radius: 16px;
  border: 1px solid rgba(118,92,125,0.12);
  padding: 2rem 1rem; margin-bottom: 2rem;
  box-shadow: 0 0 30px rgba(118,92,125,0.06);
}
.countdown-section h4 { font-family: 'Outfit', sans-serif; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 2px; color: #765C7D; margin: 0 0 1.5rem 0; }
.countdown-grid { display: flex; justify-content: center; gap: 0.8rem; }
.cd-box { 
  background: #fff;
  border: 1px solid rgba(118,92,125,0.15);
  border-radius: 12px;
  width: 70px; height: 70px; display: flex; flex-direction: column; justify-content: center; align-items: center;
  box-shadow: 0 4px 20px rgba(118,92,125,0.1);
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  animation: cdPulse 3s ease-in-out infinite;
}
.cd-box:nth-child(2) { animation-delay: 0.3s; }
.cd-box:nth-child(3) { animation-delay: 0.6s; }
.cd-box:nth-child(4) { animation-delay: 0.9s; }
@keyframes cdPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(118,92,125,0.1); }
  50% { box-shadow: 0 4px 25px rgba(118,92,125,0.25); }
}
.cd-box:hover { transform: translateY(-4px) scale(1.05); box-shadow: 0 10px 30px rgba(118,92,125,0.25); }
.cd-box strong { font-family: 'Playfair Display', serif; font-size: 1.6rem; font-weight: 400; color: #765C7D; line-height: 1; }
.cd-box span { font-family: 'Outfit', sans-serif; font-size: 0.55rem; text-transform: uppercase; letter-spacing: 1px; color: #aaa; margin-top: 0.4rem; }

.family-details { 
  display: flex; justify-content: space-between; gap: 15px; 
  margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(118,92,125,0.1); text-align: center;
}
.fam-col { 
  flex: 1; display:flex; flex-direction:column;
  padding: 1.2rem 1rem;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(118,92,125,0.03) 0%, rgba(255,255,255,1) 100%);
  border: 1px solid rgba(118,92,125,0.1);
  transition: all 0.3s ease;
}
.fam-col.glow-card {
  animation: famGlow 4s ease-in-out infinite;
}
.fam-col:nth-child(2).glow-card { animation-delay: 1s; }
@keyframes famGlow {
  0%, 100% { box-shadow: 0 4px 20px rgba(118,92,125,0.05); }
  50% { box-shadow: 0 8px 30px rgba(118,92,125,0.18); }
}
.fam-col strong { font-size: 0.75rem; font-family: 'Outfit', sans-serif; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 0.8rem; color: #765C7D; display: block; }
.fam-col small { font-family: 'Playfair Display', serif; font-size: 0.9rem; color: #666; line-height: 1.8; display: block; }

.compliments-section { font-size: 0.9rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(0,0,0,0.06); color: #888; font-family: 'Playfair Display', serif; font-style: italic; }
.bismillah-text { font-size: 2.8rem; text-align: center; margin-bottom: 1rem; font-weight: normal; color: #765C7D; letter-spacing: 4px; animation: bismillahFade 2s ease forwards; opacity: 0; }
@keyframes bismillahFade {
  0% { opacity: 0; transform: scale(0.9); filter: blur(4px); }
  100% { opacity: 1; transform: scale(1); filter: blur(0); }
}

/* ===================================================
   ADVANCED THEME SYSTEM — CSS Custom Properties
   Each theme completely transforms all color layers
=================================================== */

/* DEFAULT / GENERAL (Violet) */
:root {
  --theme-primary: #765C7D;
  --theme-secondary: #9B7AA8;
  --theme-bg: #FAFAFA;
  --theme-card-bg: #FFFFFF;
  --theme-orb1: #e8d5f5;
  --theme-orb2: #f5dde8;
  --theme-orb3: #ede4ff;
  --theme-accent-light: rgba(118,92,125,0.08);
  --theme-accent-border: rgba(118,92,125,0.15);
  --theme-accent-glow: rgba(118,92,125,0.2);
  --theme-date-num: #4A3354;
  --theme-btn-grad: linear-gradient(135deg, #8B6FA0 0%, #5C3E6E 100%);
  --theme-card-shadow: 0 30px 80px rgba(118,92,125,0.12), 0 0 60px rgba(118,92,125,0.08);
  /* Page gradient & card glow */
  --theme-page-grad-a: #f8f2ff;
  --theme-page-grad-b: #fff2f7;
  --theme-wrapper-border: rgba(118,92,125,0.28);
  --theme-wrapper-ring: rgba(118,92,125,0.07);
  --theme-wrapper-shadow-near: rgba(118,92,125,0.2);
  --theme-wrapper-shadow-far: rgba(118,92,125,0.12);
}

/* ── MUSLIM THEME — Deep Emerald + Gold ── */
body.theme-muslim {
  --theme-primary: #1B6B45;
  --theme-secondary: #D4AF37;
  --theme-bg: #F4FBF7;
  --theme-card-bg: #FDFFFE;
  --theme-orb1: #a8d8be;  /* Rich emerald green */
  --theme-orb2: #f5e199;  /* Warm gold */
  --theme-orb3: #b8edcf;  /* Mint */
  --theme-accent-light: rgba(27,107,69,0.06);
  --theme-accent-border: rgba(27,107,69,0.18);
  --theme-accent-glow: rgba(212,175,55,0.3);
  --theme-date-num: #0D3B26;
  --theme-btn-grad: linear-gradient(135deg, #2D8653 0%, #0D3B26 100%);
  --theme-card-shadow: 0 30px 80px rgba(27,107,69,0.1), 0 0 60px rgba(212,175,55,0.12);
  /* Page gradient & card glow */
  --theme-page-grad-a: #edfbf3;
  --theme-page-grad-b: #fffbea;
  --theme-wrapper-border: rgba(27,107,69,0.35);
  --theme-wrapper-ring: rgba(212,175,55,0.08);
  --theme-wrapper-shadow-near: rgba(27,107,69,0.22);
  --theme-wrapper-shadow-far: rgba(212,175,55,0.15);
}

/* ── HINDU THEME — Crimson + Saffron ── */
body.theme-hindu {
  --theme-primary: #C1440E;
  --theme-secondary: #F7A908;
  --theme-bg: #FFFBF3;
  --theme-card-bg: #FFFEF9;
  --theme-orb1: #ffc9a0;  /* Warm saffron */
  --theme-orb2: #ffe8a0;  /* Golden yellow */
  --theme-orb3: #ffb08a;  /* Deep saffron */
  --theme-accent-light: rgba(193,68,14,0.06);
  --theme-accent-border: rgba(247,169,8,0.25);
  --theme-accent-glow: rgba(247,169,8,0.3);
  --theme-date-num: #7A2000;
  --theme-btn-grad: linear-gradient(135deg, #E85D04 0%, #9D0208 100%);
  --theme-card-shadow: 0 30px 80px rgba(193,68,14,0.1), 0 0 60px rgba(247,169,8,0.15);
  /* Page gradient & card glow */
  --theme-page-grad-a: #fff5eb;
  --theme-page-grad-b: #fffaea;
  --theme-wrapper-border: rgba(193,68,14,0.3);
  --theme-wrapper-ring: rgba(247,169,8,0.08);
  --theme-wrapper-shadow-near: rgba(193,68,14,0.2);
  --theme-wrapper-shadow-far: rgba(247,169,8,0.18);
}

/* ── CHRISTIAN THEME — Royal Blue + Gold ── */
body.theme-christian {
  --theme-primary: #1A3A6B;
  --theme-secondary: #C8A951;
  --theme-bg: #F5F7FF;
  --theme-card-bg: #FDFEFF;
  --theme-orb1: #a8bef5;  /* Periwinkle blue */
  --theme-orb2: #d8e4ff;  /* Soft sky */
  --theme-orb3: #cad8f8;  /* Cool lavender */
  --theme-accent-light: rgba(26,58,107,0.06);
  --theme-accent-border: rgba(26,58,107,0.18);
  --theme-accent-glow: rgba(200,169,81,0.25);
  --theme-date-num: #0A1F45;
  --theme-btn-grad: linear-gradient(135deg, #2356A8 0%, #0A1F45 100%);
  --theme-card-shadow: 0 30px 80px rgba(26,58,107,0.1), 0 0 60px rgba(200,169,81,0.12);
  /* Page gradient & card glow */
  --theme-page-grad-a: #eef2ff;
  --theme-page-grad-b: #f8f5ea;
  --theme-wrapper-border: rgba(26,58,107,0.3);
  --theme-wrapper-ring: rgba(200,169,81,0.08);
  --theme-wrapper-shadow-near: rgba(26,58,107,0.2);
  --theme-wrapper-shadow-far: rgba(200,169,81,0.15);
}

/* Apply CSS vars to every visual layer */
/* Page bg uses themed gradient defined in invite.html inline styles via CSS vars */
/* Page bg uses themed gradient — defined per-theme via CSS vars above */
/* .light-editorial background is set at top of this section — theme CSS vars cascade automatically */

.editorial-card {
  background: var(--theme-card-bg) !important;
  box-shadow: var(--theme-card-shadow) !important;
}

.bokeh-orb.orb1 { background: var(--theme-orb1) !important; }
.bokeh-orb.orb2 { background: var(--theme-orb2) !important; }
.bokeh-orb.orb3 { background: var(--theme-orb3) !important; }

.bismillah-text { color: var(--theme-primary) !important; }
.invite-pre-text { color: var(--theme-primary) !important; }
.couple-names { color: var(--theme-date-num) !important; }

.welcome-box {
  border-left-color: var(--theme-primary) !important;
  background: var(--theme-accent-light) !important;
}

.editorial-date-grid {
  background: linear-gradient(135deg, var(--theme-accent-light) 0%, var(--theme-accent-light) 100%) !important;
  border-color: var(--theme-accent-border) !important;
  box-shadow: 0 0 40px var(--theme-accent-glow) !important;
}
.date-center span { color: var(--theme-date-num) !important; }
.date-left strong, .date-right strong { color: var(--theme-primary) !important; }
.date-left span, .date-right span { color: var(--theme-secondary) !important; }

.countdown-section {
  background: linear-gradient(135deg, var(--theme-accent-light) 0%, rgba(255,255,255,0.5) 100%) !important;
  border-color: var(--theme-accent-border) !important;
  box-shadow: 0 0 30px var(--theme-accent-glow) !important;
}
.countdown-section h4 { color: var(--theme-primary) !important; }
.cd-box { border-color: var(--theme-accent-border) !important; }
@keyframes cdPulse {
  0%, 100% { box-shadow: 0 4px 20px var(--theme-accent-border); }
  50% { box-shadow: 0 4px 25px var(--theme-accent-glow); }
}
.cd-box strong { color: var(--theme-primary) !important; }

.editorial-venue h3 { color: var(--theme-primary) !important; }
.fam-col { border-color: var(--theme-accent-border) !important; background: linear-gradient(135deg, var(--theme-accent-light) 0%, rgba(255,255,255,0.9) 100%) !important; }
.fam-col strong { color: var(--theme-primary) !important; }
@keyframes famGlow {
  0%, 100% { box-shadow: 0 4px 20px var(--theme-accent-border); }
  50% { box-shadow: 0 8px 30px var(--theme-accent-glow); }
}

.btn-violet, .btn-violet-outline:hover {
  background: var(--theme-btn-grad) !important;
}
.btn-violet-outline {
  border-color: var(--theme-primary) !important;
  color: var(--theme-primary) !important;
}
.btn-violet { box-shadow: 0 4px 20px var(--theme-accent-glow) !important; }
.btn-violet:hover { box-shadow: 0 8px 30px var(--theme-accent-glow) !important; }

/* Toasts */
#toast { position: fixed; bottom: -60px; left: 50%; transform: translateX(-50%); background: rgba(255,255,255,0.1); backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,0.1); color: #fff; padding: 1rem 2.5rem; border-radius: 40px; font-weight: 500; font-family: 'Outfit'; opacity: 0; transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1); z-index: 1000; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
#toast.show { bottom: 40px; opacity: 1; }
#toast.error { border-color: rgba(239, 68, 68, 0.5); background: rgba(239, 68, 68, 0.1); color: #fca5a5; }

@keyframes softBounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes fadeUp { from { transform: translateY(30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* Confetti & Petals — elements created and styled inline by JS */
#animation-container { position: fixed; inset: 0; pointer-events: none; z-index: 50; overflow: hidden; }

@keyframes explode {
  0% { transform: scale(0) translate(0,0) rotate(0deg); opacity: 1; }
  100% { transform: scale(1) translate(var(--tx), var(--ty)) rotate(720deg); opacity: 0; }
}

