/* ============================================================
   WEDDING PLATFORM — Global Styles
   Aesthetic: Luxury Refined | Midnight Navy + Champagne Gold
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400&family=Lato:wght@300;400;700&display=swap');

/* === CSS VARIABLES === */
:root {
  --navy:       #0a1628;
  --navy-mid:   #0f2040;
  --navy-light: #1a3055;
  --gold:       #c9a96e;
  --gold-light: #e2c99a;
  --gold-dark:  #a07840;
  --ivory:      #f5f0e8;
  --ivory-dark: #e8dece;
  --cream:      #fdfaf5;
  --text-dark:  #1a1a2e;
  --text-mid:   #4a4a6a;
  --white:      #ffffff;
  --error:      #c0392b;
  --success:    #2d8a4e;
  --warning:    #c9860e;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-body:  'Cormorant Garamond', 'Times New Roman', serif;
  --font-ui:    'Lato', sans-serif;

  --radius:     8px;
  --radius-lg:  16px;
  --shadow:     0 4px 24px rgba(10,22,40,0.12);
  --shadow-lg:  0 12px 48px rgba(10,22,40,0.22);
  --transition: all 0.3s ease;

  --header-h: 72px;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-ui);
  color: var(--text-dark);
  background: var(--cream);
  line-height: 1.6;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: var(--gold-dark); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold); }
ul { list-style: none; }
button, input, select, textarea { font-family: inherit; }

/* === TYPOGRAPHY === */
h1, h2, h3, h4 { font-family: var(--font-serif); line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.6rem); }
h4 { font-size: 1.15rem; }
p { font-family: var(--font-body); font-size: 1.05rem; }

/* === DECORATIVE DIVIDER === */
.ornament {
  display: flex; align-items: center; gap: 12px;
  color: var(--gold); font-size: 1.2rem; margin: 8px 0;
}
.ornament::before, .ornament::after {
  content: ''; flex: 1; height: 1px; background: currentColor; opacity: 0.4;
}

/* === HEADER / NAV === */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--header-h);
  background: rgba(10, 22, 40, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(201,169,110,0.2);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(16px, 4vw, 48px);
  transition: var(--transition);
}
.site-header.scrolled {
  background: rgba(10, 22, 40, 0.98);
  box-shadow: var(--shadow);
}
.logo {
  font-family: var(--font-serif);
  font-size: 1.4rem; font-weight: 600;
  color: var(--gold-light);
  letter-spacing: 0.03em;
  display: flex; align-items: center; gap: 8px;
}
.logo span { color: var(--ivory); font-weight: 400; font-style: italic; }
.nav-links {
  display: flex; align-items: center; gap: 32px;
}
.nav-links a {
  color: var(--ivory-dark); font-family: var(--font-ui);
  font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase;
  font-weight: 400; padding: 4px 0;
  border-bottom: 1px solid transparent;
}
.nav-links a:hover { color: var(--gold); border-bottom-color: var(--gold); }
.nav-cta {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold) !important;
  border-radius: 2px;
  padding: 8px 20px !important;
  transition: var(--transition);
}
.nav-cta:hover { background: var(--gold) !important; color: var(--navy) !important; }

.hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  padding: 4px;
}
.hamburger span {
  width: 24px; height: 1.5px; background: var(--ivory); transition: var(--transition);
}

/* === HERO === */
.hero {
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(10,26,47,0.78) 0%, rgba(13,30,53,0.72) 50%, rgba(10,26,47,0.85) 100%),
    url('../img/hero-rings.jpg') center center / cover no-repeat;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center; padding: 120px 24px 80px;
  position: relative; overflow: hidden;
}
.hero-bg-pattern {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(201,169,110,0.10) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(201,169,110,0.08) 0%, transparent 50%);
  pointer-events: none;
}
.hero-ornament {
  position: absolute; opacity: 0.05;
  font-size: 30vw; font-family: var(--font-serif);
  color: var(--gold); user-select: none; line-height: 1;
  top: 50%; left: 50%; transform: translate(-50%,-50%);
}
.hero-badge {
  display: inline-block;
  border: 1px solid rgba(201,169,110,0.4);
  color: var(--gold-light);
  font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 6px 20px; border-radius: 2px; margin-bottom: 32px;
  font-family: var(--font-ui);
  animation: fadeInDown 0.8s ease both;
}
.hero h1 {
  color: var(--ivory);
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
  animation: fadeInUp 0.9s ease 0.2s both;
  max-width: 800px;
}
.hero h1 em { color: var(--gold-light); font-style: italic; }
.hero-sub {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: rgba(245,240,232,0.7); margin: 24px 0 48px;
  max-width: 560px; line-height: 1.7;
  animation: fadeInUp 0.9s ease 0.4s both;
}
.hero-actions {
  display: flex; gap: 16px; flex-wrap: wrap; justify-content: center;
  animation: fadeInUp 0.9s ease 0.6s both;
}

/* === BUTTONS === */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-ui); font-size: 0.85rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 14px 36px; border-radius: 2px;
  border: none; cursor: pointer; transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy);
}
.btn-primary:hover { background: var(--gold-light); color: var(--navy); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,169,110,0.35); }
.btn-outline {
  background: transparent;
  color: var(--ivory);
  border: 1px solid rgba(245,240,232,0.4);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-dark {
  background: var(--navy);
  color: var(--gold);
  border: 1px solid var(--gold);
}
.btn-dark:hover { background: var(--gold); color: var(--navy); }
.btn-sm { padding: 8px 20px; font-size: 0.78rem; }
.btn-danger { background: var(--error); color: #fff; }
.btn-danger:hover { background: #a93226; }
.btn-success { background: var(--success); color: #fff; }

/* === SECTIONS === */
.section { padding: clamp(60px,8vw,120px) clamp(16px,5vw,64px); }
.section-dark { background: var(--navy); }
.section-center { text-align: center; }
.section-label {
  font-family: var(--font-ui); font-size: 0.75rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold); display: block; margin-bottom: 12px;
}
.section-title { margin-bottom: 16px; }
.section-desc {
  font-family: var(--font-body); font-size: 1.1rem; color: var(--text-mid);
  max-width: 580px; margin: 0 auto; line-height: 1.8;
}
.section-dark .section-desc { color: rgba(245,240,232,0.65); }
.section-dark .section-title { color: var(--ivory); }

/* === FEATURES GRID === */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px; margin-top: 64px;
}
.feature-card {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(201,169,110,0.15);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: var(--transition);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(201,169,110,0.35); }
.feature-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(10,22,40,0.2);
}
.feature-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.feature-card p { font-size: 0.95rem; color: var(--text-mid); line-height: 1.7; }

/* === TEMPLATES GRID === */
.templates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px; margin-top: 48px;
}
.template-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer; transition: var(--transition);
  position: relative;
}
.template-card:hover, .template-card.selected {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,169,110,0.25);
  transform: scale(1.03);
}
.template-card.selected::after {
  content: '✓'; position: absolute; top: 10px; right: 10px;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--gold); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.85rem;
}
.template-preview {
  height: 160px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.template-preview-text { font-size: 0.9rem; font-weight: 600; z-index: 1; }
.template-name {
  padding: 10px 14px;
  background: var(--cream);
  font-size: 0.82rem; font-weight: 600; color: var(--text-dark);
  text-align: center;
}

/* === AUTH PAGES === */
.auth-page {
  min-height: 100vh;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.auth-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 56px);
  width: 100%; max-width: 480px;
  box-shadow: var(--shadow-lg);
}
.auth-logo { text-align: center; margin-bottom: 32px; }
.auth-logo h1 { font-size: 1.8rem; color: var(--navy); }
.auth-logo p { color: var(--text-mid); font-size: 0.95rem; margin-top: 4px; }
.auth-title { font-size: 1.5rem; color: var(--navy); margin-bottom: 4px; }
.auth-sub { color: var(--text-mid); font-size: 0.9rem; margin-bottom: 32px; font-family: var(--font-body); }

/* === FORMS === */
.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label {
  display: block; font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-mid);
  margin-bottom: 8px;
}
input[type=text], input[type=email], input[type=password],
input[type=datetime-local], input[type=url], input[type=number],
input[type=tel], textarea, select {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--ivory-dark);
  border-radius: var(--radius);
  background: #fff; color: var(--text-dark);
  font-size: 1rem; font-family: var(--font-body);
  transition: var(--transition); outline: none;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,169,110,0.15);
}
textarea { resize: vertical; min-height: 100px; }
.form-hint { font-size: 0.8rem; color: var(--text-mid); margin-top: 4px; }
.form-error { font-size: 0.82rem; color: var(--error); margin-top: 4px; }

.alert {
  padding: 12px 16px; border-radius: var(--radius);
  font-size: 0.9rem; margin-bottom: 20px;
  display: flex; align-items: center; gap: 8px;
}
.alert-error { background: #fdf0ef; border-left: 3px solid var(--error); color: #8b2020; }
.alert-success { background: #edfdf3; border-left: 3px solid var(--success); color: #1a5c30; }
.alert-info { background: #eef5ff; border-left: 3px solid #3b6fd4; color: #1a3060; }

/* === DASHBOARD === */
.app-layout { display: flex; min-height: 100vh; }

.sidebar {
  width: 260px; min-height: 100vh;
  background: var(--navy);
  display: flex; flex-direction: column;
  padding: 0; position: fixed; top: 0; left: 0; bottom: 0; z-index: 100;
  transition: transform 0.3s ease;
}
.sidebar-logo {
  padding: 28px 24px 20px;
  border-bottom: 1px solid rgba(201,169,110,0.15);
  font-family: var(--font-serif); font-size: 1.2rem; color: var(--gold-light);
}
.sidebar-logo small { display: block; font-family: var(--font-ui); font-size: 0.72rem; color: rgba(245,240,232,0.4); letter-spacing: 0.1em; text-transform: uppercase; margin-top: 2px; }

.sidebar-nav { flex: 1; padding: 24px 0; overflow-y: auto; }
.sidebar-section { padding: 0 16px 8px; font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(245,240,232,0.3); margin-top: 16px; }
.sidebar-nav a {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 24px; color: rgba(245,240,232,0.65);
  font-size: 0.88rem; transition: var(--transition);
  border-left: 3px solid transparent; margin: 2px 0;
}
.sidebar-nav a:hover, .sidebar-nav a.active {
  color: var(--gold-light); background: rgba(201,169,110,0.08);
  border-left-color: var(--gold);
}
.sidebar-nav a .nav-icon { font-size: 1.1rem; width: 20px; text-align: center; }

.sidebar-footer {
  padding: 20px 24px;
  border-top: 1px solid rgba(201,169,110,0.12);
}
.sidebar-user { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.sidebar-user-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  display: flex; align-items: center; justify-content: center;
  color: var(--navy); font-weight: 700; font-size: 0.85rem;
}
.sidebar-user-info small { display: block; font-size: 0.75rem; color: rgba(245,240,232,0.45); }
.sidebar-user-name { font-size: 0.85rem; color: var(--ivory); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 140px; }

.main-content {
  margin-left: 260px; flex: 1; padding: 32px clamp(16px,3vw,40px);
  max-width: calc(100vw - 260px);
}

.page-header {
  margin-bottom: 32px; padding-bottom: 24px;
  border-bottom: 1px solid rgba(201,169,110,0.15);
  display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 16px;
}
.page-header h2 { font-size: 1.8rem; color: var(--navy); }
.page-header p { color: var(--text-mid); font-family: var(--font-body); margin-top: 4px; }

/* === STATS CARDS === */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; margin-bottom: 32px; }
.stat-card {
  background: #fff; border-radius: var(--radius-lg);
  padding: 24px; border: 1px solid var(--ivory-dark);
  position: relative; overflow: hidden;
  transition: var(--transition);
}
.stat-card:hover { box-shadow: var(--shadow); border-color: rgba(201,169,110,0.3); }
.stat-card::before {
  content: ''; position: absolute; top: 0; right: 0;
  width: 80px; height: 80px;
  background: radial-gradient(circle at top right, rgba(201,169,110,0.1), transparent);
}
.stat-number { font-family: var(--font-serif); font-size: 2.4rem; font-weight: 700; color: var(--navy); }
.stat-label { font-size: 0.78rem; color: var(--text-mid); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 4px; }
.stat-icon { position: absolute; top: 20px; right: 20px; font-size: 1.5rem; opacity: 0.3; }

/* === CARD === */
.card {
  background: #fff; border-radius: var(--radius-lg);
  border: 1px solid var(--ivory-dark);
  overflow: hidden;
  margin-bottom: 24px;
}
.card-header {
  padding: 20px 24px; border-bottom: 1px solid var(--ivory-dark);
  display: flex; align-items: center; justify-content: space-between;
  background: #fdfaf5;
}
.card-header h3 { font-size: 1.1rem; color: var(--navy); }
.card-body { padding: 24px; }

/* === TABLE === */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 12px 16px; text-align: left; }
th {
  font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-mid); background: var(--cream);
  border-bottom: 1.5px solid var(--ivory-dark);
}
td { border-bottom: 1px solid var(--ivory-dark); font-size: 0.92rem; }
tr:hover td { background: #fdfaf5; }
tr:last-child td { border-bottom: none; }

.badge {
  display: inline-block; padding: 3px 10px; border-radius: 20px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}
.badge-confirmed { background: #e8f8ee; color: #1a7040; }
.badge-declined  { background: #fdf0ef; color: #8b2020; }
.badge-pending   { background: #fef9e6; color: #8b6000; }
.badge-admin     { background: #eef3ff; color: #1a3080; }

/* === INVITATION PUBLIC PAGE === */
.invitation-page {
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center;
  padding: 60px 16px;
  text-align: center;
}
.invitation-names {
  font-family: var(--font-serif); font-style: italic;
  font-size: clamp(2.5rem, 7vw, 5rem);
  line-height: 1.1; margin: 24px 0 8px;
}
.invitation-ampersand { color: var(--gold); }
.invitation-date {
  font-family: var(--font-body); font-size: 1.1rem; letter-spacing: 0.1em;
  text-transform: uppercase; opacity: 0.7; margin-bottom: 32px;
}
.invitation-divider {
  width: 120px; height: 1px; background: var(--gold);
  margin: 24px auto; opacity: 0.5;
}
.invitation-message {
  font-family: var(--font-body); font-size: 1.1rem; line-height: 1.8;
  max-width: 560px; margin: 0 auto 32px; font-style: italic;
}
.invitation-details { display: flex; flex-wrap: wrap; justify-content: center; gap: 32px; margin: 32px 0; }
.inv-detail { text-align: center; }
.inv-detail-label { font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; opacity: 0.5; margin-bottom: 4px; font-family: var(--font-ui); }
.inv-detail-value { font-family: var(--font-serif); font-size: 1.05rem; }

/* === COUNTDOWN === */
.countdown { display: flex; gap: 24px; justify-content: center; margin: 40px 0; flex-wrap: wrap; }
.countdown-unit { text-align: center; }
.countdown-num {
  font-family: var(--font-serif); font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700; line-height: 1;
  width: 80px; height: 80px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(201,169,110,0.3);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
}
.countdown-label {
  font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase;
  opacity: 0.6; margin-top: 8px; font-family: var(--font-ui);
}

/* === RSVP FORM === */
.rsvp-section {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(201,169,110,0.2);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 56px);
  max-width: 560px; width: 100%; margin: 40px auto 0;
  text-align: left;
}
.rsvp-buttons { display: flex; gap: 12px; margin-bottom: 24px; }
.rsvp-btn {
  flex: 1; padding: 14px; border-radius: var(--radius);
  border: 2px solid transparent; cursor: pointer; font-size: 0.9rem;
  font-weight: 700; transition: var(--transition); font-family: var(--font-ui);
}
.rsvp-btn-yes { border-color: var(--success); color: var(--success); background: transparent; }
.rsvp-btn-yes.active, .rsvp-btn-yes:hover { background: var(--success); color: #fff; }
.rsvp-btn-no  { border-color: var(--error); color: var(--error); background: transparent; }
.rsvp-btn-no.active, .rsvp-btn-no:hover { background: var(--error); color: #fff; }

/* === SEATING === */
.seating-workspace {
  position: relative; border: 2px dashed var(--ivory-dark);
  border-radius: var(--radius-lg); background: #fdfaf5;
  min-height: 600px; overflow: hidden;
}
.seating-table {
  position: absolute; cursor: move;
  background: #fff; border: 2px solid var(--navy-light);
  border-radius: var(--radius); padding: 12px;
  min-width: 140px; box-shadow: var(--shadow);
  user-select: none;
}
.seating-table-name {
  font-weight: 700; font-size: 0.82rem; text-align: center;
  color: var(--navy); margin-bottom: 8px;
  border-bottom: 1px solid var(--ivory-dark); padding-bottom: 6px;
}
.seating-table.drag-over { border-color: var(--gold); background: #fffaef; }
.seating-guest-slot {
  padding: 4px 8px; border-radius: 4px;
  background: var(--cream); font-size: 0.78rem;
  color: var(--text-mid); margin-bottom: 3px;
  border: 1px dashed var(--ivory-dark); min-height: 26px;
}
.seating-guest-slot.filled { background: #e8f8ee; border-color: #a0d4b0; color: #1a5030; font-weight: 600; }
.unassigned-guests { background: var(--cream); border-radius: var(--radius); padding: 16px; }
.unassigned-guest {
  display: inline-block; padding: 6px 12px; background: #fff;
  border: 1px solid var(--ivory-dark); border-radius: 20px;
  font-size: 0.82rem; cursor: grab; margin: 4px;
  transition: var(--transition);
}
.unassigned-guest:hover { border-color: var(--gold); color: var(--gold-dark); }
.unassigned-guest:active { cursor: grabbing; }

/* === ADMIN === */
.admin-tag { background: linear-gradient(135deg, var(--gold-dark), var(--gold)); color: var(--navy); font-size: 0.65rem; padding: 2px 8px; border-radius: 20px; font-weight: 700; letter-spacing: 0.05em; }

/* === MODAL === */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(10,22,40,0.7);
  z-index: 9000; display: flex; align-items: center; justify-content: center;
  padding: 16px; opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  background: var(--cream); border-radius: var(--radius-lg);
  padding: 32px; width: 100%; max-width: 560px;
  max-height: 90vh; overflow-y: auto;
  box-shadow: var(--shadow-lg);
  transform: scale(0.95); transition: transform 0.3s;
}
.modal-overlay.open .modal { transform: scale(1); }
.modal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.modal-close { background: none; border: none; font-size: 1.4rem; cursor: pointer; color: var(--text-mid); padding: 4px; }

/* === FOOTER === */
.site-footer {
  background: var(--navy); color: rgba(245,240,232,0.45);
  text-align: center; padding: 40px 24px;
  font-size: 0.82rem; letter-spacing: 0.05em;
  border-top: 1px solid rgba(201,169,110,0.1);
}
.site-footer a { color: var(--gold); opacity: 0.7; }
.site-footer a:hover { opacity: 1; }

/* === ANIMATIONS === */
@keyframes fadeInDown { from { opacity:0; transform:translateY(-20px); } to { opacity:1; transform:none; } }
@keyframes fadeInUp   { from { opacity:0; transform:translateY(20px);  } to { opacity:1; transform:none; } }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.6} }

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .sidebar { transform: translateX(-260px); }
  .sidebar.open { transform: translateX(0); }
  .main-content { margin-left: 0; max-width: 100%; }
  .hamburger { display: flex; }
  .overlay-bg { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 99; display: none; }
  .overlay-bg.show { display: block; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .btn { padding: 12px 24px; }
  .stats-grid { grid-template-columns: 1fr; }
  .countdown-num { width: 60px; height: 60px; font-size: 1.6rem; }
}

/* === UTILITY === */
.text-center { text-align: center; }
.text-right  { text-align: right; }
.text-gold   { color: var(--gold); }
.text-muted  { color: var(--text-mid); }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.flex  { display: flex; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.gap-8  { gap: 8px; }
.gap-16 { gap: 16px; }
.hidden { display: none !important; }
.w-full { width: 100%; }