:root {
  --pine-950: #071611;
  --pine-900: #0c241b;
  --pine-800: #123528;
  --pine-700: #1a4938;
  --pine-600: #23614a;
  --crimson-600: #a61f2c;
  --crimson-500: #c82b3a;
  --crimson-400: #e24252;
  --gold-500: #dfa844;
  --gold-400: #f2c66d;
  --gold-300: #ffe19e;
  --cream-100: #fdf8ee;
  --cream-200: #f4ead6;
  --cream-300: #e5d4b6;
  --ink-dark: #1d1a16;
  --ink-muted: #5d554a;
  --discord: #5865f2;
  --discord-hover: #4752c4;
  --glass-bg: rgba(15, 42, 32, 0.78);
  --glass-border: rgba(242, 198, 109, 0.24);
  --shadow-lg: 0 24px 60px rgba(3, 12, 8, 0.55);
  --shadow-md: 0 12px 32px rgba(3, 12, 8, 0.35);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--cream-100);
  background:
    radial-gradient(circle at 18% 12%, rgba(200, 43, 58, 0.18), transparent 42%),
    radial-gradient(circle at 82% 18%, rgba(242, 198, 109, 0.14), transparent 38%),
    radial-gradient(circle at 50% 85%, rgba(26, 73, 56, 0.65), transparent 60%),
    linear-gradient(180deg, var(--pine-950) 0%, var(--pine-900) 48%, #091d16 100%);
  background-attachment: fixed;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Subtle festive paper grain overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.035;
  background-image: radial-gradient(rgba(255, 240, 210, 0.8) 0.7px, transparent 0.7px);
  background-size: 16px 16px;
}

#snow-canvas, #confetti-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

#snow-canvas { z-index: 2; }
#confetti-canvas { z-index: 90; }

/* Fairy Lights Garland */
.garland {
  position: relative;
  height: 44px;
  width: 100%;
  overflow: hidden;
  z-index: 5;
}

.garland-wire {
  position: absolute;
  top: -18px;
  left: -2%;
  width: 104%;
  height: 36px;
  border-bottom: 2px solid rgba(242, 198, 109, 0.28);
  border-radius: 50%;
}

.bulbs {
  list-style: none;
  margin: 0;
  padding: 0 12px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
}

.bulb {
  width: 10px;
  height: 16px;
  border-radius: 50% 50% 50% 50% / 35% 35% 65% 65%;
  margin-top: 12px;
  position: relative;
  animation: twinkle 2.8s ease-in-out infinite;
}

.bulb::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 2px;
  width: 6px;
  height: 5px;
  background: #2f4238;
  border-radius: 2px 2px 0 0;
}

.bulb.gold { background: #ffd875; box-shadow: 0 0 14px 3px rgba(255, 216, 117, 0.65); }
.bulb.red { background: #ff5b69; box-shadow: 0 0 14px 3px rgba(255, 91, 105, 0.65); }
.bulb.green { background: #5ee39b; box-shadow: 0 0 14px 3px rgba(94, 227, 155, 0.55); }
.bulb.warm { background: #fff0c7; box-shadow: 0 0 14px 3px rgba(255, 240, 199, 0.7); }

@keyframes twinkle {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.92); }
}

/* Header */
.site-header {
  position: relative;
  z-index: 10;
  max-width: 1060px;
  margin: 0 auto;
  padding: 6px 20px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--cream-100);
}

.brand-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  font-size: 22px;
  background: linear-gradient(145deg, var(--crimson-500), var(--crimson-600));
  border: 1.5px solid rgba(255, 225, 158, 0.45);
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(166, 31, 44, 0.4);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.brand-text small {
  font-size: 0.75rem;
  color: var(--gold-400);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* Main Container */
.container {
  position: relative;
  z-index: 10;
  max-width: 1060px;
  margin: 0 auto;
  padding: 8px 20px 64px;
}

/* Typography */
h1, h2, h3 {
  font-family: "Fraunces", Georgia, serif;
  margin: 0;
  letter-spacing: -0.02em;
}

.hero {
  text-align: center;
  max-width: 720px;
  margin: 10px auto 34px;
  animation: fadeUp 0.55s ease both;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(242, 198, 109, 0.14);
  border: 1px solid rgba(242, 198, 109, 0.32);
  color: var(--gold-300);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1.08;
  color: var(--cream-100);
  text-shadow: 0 6px 28px rgba(0, 0, 0, 0.4);
}

.hero h1 em {
  font-style: italic;
  color: var(--gold-400);
}

.hero p {
  margin: 14px auto 0;
  font-size: 1.06rem;
  line-height: 1.6;
  color: rgba(253, 248, 238, 0.82);
  max-width: 580px;
}

/* Cards */
.card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-lg);
}

.card-cream {
  background: linear-gradient(180deg, var(--cream-100) 0%, var(--cream-200) 100%);
  color: var(--ink-dark);
  border: 2px solid var(--gold-400);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-lg);
}

.home-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: 24px;
  align-items: start;
  animation: fadeUp 0.65s ease 0.08s both;
}

.section-title {
  font-size: 1.45rem;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-sub {
  margin: 0 0 20px;
  font-size: 0.92rem;
  color: rgba(253, 248, 238, 0.72);
  line-height: 1.5;
}

/* Forms */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.form-group.full {
  grid-column: 1 / -1;
}

label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold-300);
  letter-spacing: 0.02em;
}

.card-cream label {
  color: var(--pine-800);
}

input[type="text"],
input[type="password"],
input[type="date"],
textarea,
select {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1.5px solid rgba(242, 198, 109, 0.25);
  background: rgba(7, 22, 17, 0.65);
  color: var(--cream-100);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--gold-400);
  box-shadow: 0 0 0 3px rgba(242, 198, 109, 0.18);
  background: rgba(7, 22, 17, 0.85);
}

.card-cream input,
.card-cream textarea,
.card-cream select {
  background: #fffdf8;
  color: var(--ink-dark);
  border-color: #d8c6a6;
}

.card-cream input:focus,
.card-cream textarea:focus {
  border-color: var(--crimson-500);
  box-shadow: 0 0 0 3px rgba(200, 43, 58, 0.15);
}

input::placeholder, textarea::placeholder {
  color: rgba(253, 248, 238, 0.38);
}

.card-cream input::placeholder, .card-cream textarea::placeholder {
  color: #9b8f7e;
}

textarea {
  resize: vertical;
  min-height: 76px;
}

.hint {
  font-size: 0.78rem;
  color: rgba(253, 248, 238, 0.62);
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--cream-100);
  margin: 4px 0 14px;
}

.checkbox-row input {
  width: 18px;
  height: 18px;
  accent-color: var(--crimson-500);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  border: 1.5px solid transparent;
  font-family: inherit;
  font-size: 0.94rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.52; cursor: not-allowed; transform: none; }

.btn-primary {
  background: linear-gradient(135deg, var(--crimson-400), var(--crimson-600));
  color: #fff;
  border-color: rgba(255, 225, 158, 0.35);
  box-shadow: 0 10px 26px rgba(166, 31, 44, 0.45);
}

.btn-primary:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(200, 43, 58, 0.55);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
  color: var(--pine-950);
  box-shadow: 0 10px 26px rgba(223, 168, 68, 0.35);
}

.btn-gold:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(242, 198, 109, 0.45);
}

.btn-discord {
  background: var(--discord);
  color: #fff;
  box-shadow: 0 8px 22px rgba(88, 101, 242, 0.35);
}

.btn-discord:hover:not(:disabled) {
  background: var(--discord-hover);
  transform: translateY(-1px);
}

.btn-ghost {
  background: rgba(253, 248, 238, 0.08);
  color: var(--cream-100);
  border-color: rgba(242, 198, 109, 0.25);
}

.btn-ghost:hover:not(:disabled) {
  background: rgba(253, 248, 238, 0.14);
  border-color: rgba(242, 198, 109, 0.48);
}

.btn-danger {
  background: rgba(200, 43, 58, 0.18);
  color: #ff9ba4;
  border-color: rgba(226, 66, 82, 0.4);
}

.btn-danger:hover:not(:disabled) {
  background: rgba(200, 43, 58, 0.32);
}

.btn-sm {
  padding: 8px 13px;
  font-size: 0.82rem;
  border-radius: 10px;
}

.btn-full {
  width: 100%;
}

/* How It Works Steps */
.steps-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
  animation: fadeUp 0.75s ease 0.16s both;
}

.step-card {
  background: rgba(12, 36, 27, 0.65);
  border: 1px solid rgba(242, 198, 109, 0.18);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.step-num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(242, 198, 109, 0.18);
  color: var(--gold-300);
  font-family: "Fraunces", serif;
  font-weight: 700;
  display: grid;
  place-items: center;
  margin-bottom: 10px;
}

.step-card h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.step-card p {
  margin: 0;
  font-size: 0.86rem;
  color: rgba(253, 248, 238, 0.72);
  line-height: 1.5;
}

/* Room Header Banner */
.room-banner {
  background: linear-gradient(135deg, rgba(166, 31, 44, 0.34), rgba(15, 42, 32, 0.92) 55%);
  border: 1.5px solid rgba(242, 198, 109, 0.35);
  border-radius: var(--radius-xl);
  padding: 28px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  animation: fadeUp 0.5s ease both;
}

.room-banner-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  flex-wrap: wrap;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.status-pill.open {
  background: rgba(94, 227, 155, 0.16);
  color: #84f5b8;
  border: 1px solid rgba(94, 227, 155, 0.38);
}

.status-pill.drawn {
  background: rgba(242, 198, 109, 0.22);
  color: var(--gold-300);
  border: 1px solid rgba(242, 198, 109, 0.5);
}

.room-banner h1 {
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
  margin-bottom: 10px;
}

.meta-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 10px;
  background: rgba(7, 22, 17, 0.55);
  border: 1px solid rgba(242, 198, 109, 0.2);
  font-size: 0.85rem;
  color: var(--cream-100);
}

.code-badge {
  font-family: "JetBrains Mono", monospace;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--gold-300);
}

.room-rules {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: rgba(7, 22, 17, 0.45);
  border-left: 3px solid var(--gold-400);
  font-size: 0.9rem;
  color: rgba(253, 248, 238, 0.86);
  line-height: 1.5;
}

.share-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(242, 198, 109, 0.18);
}

/* Room Two-Column Layout */
.room-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 24px;
  align-items: start;
}

/* Participant Cards */
.roster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.person-card {
  text-align: left;
  width: 100%;
  background: rgba(7, 22, 17, 0.58);
  border: 1.5px solid rgba(242, 198, 109, 0.22);
  border-radius: var(--radius-lg);
  padding: 16px;
  color: var(--cream-100);
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: inherit;
}

.person-card:hover {
  transform: translateY(-2px);
  border-color: var(--gold-400);
  background: rgba(18, 53, 40, 0.82);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.32);
}

.person-card.is-me {
  border-color: var(--gold-400);
  background: rgba(242, 198, 109, 0.1);
}

.person-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.avatar {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--cream-100);
  background: linear-gradient(145deg, var(--crimson-500), var(--pine-600));
  border: 1px solid rgba(255, 225, 158, 0.35);
  flex-shrink: 0;
}

.person-name {
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.2;
}

.person-discord {
  font-size: 0.8rem;
  color: #a5aefb;
  font-family: "JetBrains Mono", monospace;
}

.person-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: rgba(253, 248, 238, 0.68);
  padding-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.person-cta {
  color: var(--gold-300);
  font-weight: 700;
}

/* Wishlist Inputs */
.wishlist-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wishlist-row {
  display: flex;
  gap: 8px;
}

.icon-btn {
  width: 42px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  border: 1px solid rgba(242, 198, 109, 0.22);
  background: rgba(255, 255, 255, 0.06);
  color: var(--cream-100);
  cursor: pointer;
  font-size: 1.1rem;
}

.icon-btn:hover {
  background: rgba(200, 43, 58, 0.3);
  border-color: rgba(226, 66, 82, 0.5);
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(4, 14, 10, 0.78);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  padding: 18px;
  overflow-y: auto;
}

.modal-backdrop.hidden {
  display: none;
}

.modal-card {
  width: 100%;
  max-width: 540px;
  background: linear-gradient(180deg, #102e23 0%, #0a1f17 100%);
  border: 1.5px solid rgba(242, 198, 109, 0.38);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.65);
  position: relative;
  animation: popIn 0.25s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(242, 198, 109, 0.25);
  background: rgba(255, 255, 255, 0.06);
  color: var(--cream-100);
  font-size: 1.1rem;
  cursor: pointer;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.14);
}

/* Interactive Gift Box Unwrap */
.gift-stage {
  text-align: center;
  padding: 18px 8px 10px;
}

.gift-box-btn {
  position: relative;
  width: 156px;
  height: 146px;
  margin: 22px auto 18px;
  background: none;
  border: none;
  cursor: pointer;
  display: block;
  animation: giftWobble 2.2s ease-in-out infinite;
}

.gift-box-btn:hover {
  animation: giftWobble 0.8s ease-in-out infinite;
}

.gift-lid {
  position: absolute;
  top: 20px;
  left: 4px;
  width: 148px;
  height: 34px;
  background: linear-gradient(180deg, #e24252, #b82936);
  border-radius: 8px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.45s ease;
  z-index: 3;
}

.gift-lid::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 24px;
  height: 100%;
  background: linear-gradient(90deg, #dfa844, #ffe19e, #dfa844);
}

.gift-bow {
  position: absolute;
  top: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 58px;
  height: 24px;
  z-index: 4;
  transition: transform 0.55s ease, opacity 0.45s ease;
}

.gift-bow::before,
.gift-bow::after {
  content: "";
  position: absolute;
  width: 28px;
  height: 22px;
  border: 6px solid #f2c66d;
  border-radius: 50% 50% 0 50%;
  transform: rotate(-18deg);
  left: 2px;
}

.gift-bow::after {
  left: auto;
  right: 2px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(18deg);
}

.gift-body {
  position: absolute;
  top: 52px;
  left: 12px;
  width: 132px;
  height: 90px;
  background: linear-gradient(180deg, #c82b3a, #8d1924);
  border-radius: 4px 4px 12px 12px;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.48);
  z-index: 2;
}

.gift-body::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 24px;
  height: 100%;
  background: linear-gradient(90deg, #d49c36, #f5ce7c, #d49c36);
}

.gift-box-btn.unwrapping {
  animation: none;
}

.gift-box-btn.unwrapping .gift-lid {
  transform: translateY(-56px) rotate(-14deg);
  opacity: 0;
}

.gift-box-btn.unwrapping .gift-bow {
  transform: translate(-50%, -74px) scale(1.2);
  opacity: 0;
}

@keyframes giftWobble {
  0%, 100% { transform: rotate(0deg) scale(1); }
  20% { transform: rotate(-3deg) scale(1.03); }
  40% { transform: rotate(3deg) scale(1.03); }
  60% { transform: rotate(-1.5deg) scale(1.01); }
  80% { transform: rotate(0deg) scale(1); }
}

/* Revealed Match Gift Tag */
.match-tag {
  background: linear-gradient(180deg, #fdf8ee 0%, #f3e6cd 100%);
  color: var(--ink-dark);
  border: 2px solid var(--gold-500);
  border-radius: var(--radius-lg);
  padding: 22px;
  text-align: left;
  position: relative;
  animation: popIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.match-tag-label {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--crimson-600);
}

.match-tag h2 {
  font-size: 1.9rem;
  color: var(--pine-900);
  margin: 4px 0 2px;
}

.match-discord {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.88rem;
  color: var(--discord);
  font-weight: 600;
}

.match-wishlist {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.match-wishlist li {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid #e2d1b3;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 0.92rem;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.match-notes {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(18, 53, 40, 0.08);
  font-size: 0.88rem;
  color: #363029;
  line-height: 1.45;
}

/* Tabs inside modal */
.tab-bar {
  display: flex;
  gap: 8px;
  margin: 14px 0 18px;
  background: rgba(7, 22, 17, 0.6);
  padding: 4px;
  border-radius: 12px;
}

.tab-btn {
  flex: 1;
  padding: 9px 12px;
  border: none;
  border-radius: 9px;
  background: transparent;
  color: rgba(253, 248, 238, 0.72);
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
}

.tab-btn.active {
  background: var(--crimson-500);
  color: #fff;
}

/* Exclusions & Host List */
.chip-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}

.chip-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(7, 22, 17, 0.55);
  border: 1px solid rgba(242, 198, 109, 0.18);
  font-size: 0.88rem;
}

/* Toasts */
.toast-container {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 360px;
}

.toast {
  background: #123528;
  color: var(--cream-100);
  border: 1px solid var(--gold-400);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45);
  animation: fadeUp 0.25s ease both;
}

.toast.error {
  background: #4e121a;
  border-color: var(--crimson-400);
}

/* Loading & Footer */
.loading-card {
  text-align: center;
  padding: 64px 20px;
  color: var(--gold-300);
}

.spinner {
  width: 34px;
  height: 34px;
  margin: 0 auto 14px;
  border: 3px solid rgba(242, 198, 109, 0.25);
  border-top-color: var(--gold-400);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.site-footer {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 18px 20px 32px;
  font-size: 0.82rem;
  color: rgba(253, 248, 238, 0.5);
}

.divider {
  height: 1px;
  background: rgba(242, 198, 109, 0.16);
  margin: 18px 0;
}

.empty-state {
  text-align: center;
  padding: 28px 16px;
  color: rgba(253, 248, 238, 0.68);
  font-size: 0.92rem;
}

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes popIn {
  from { opacity: 0; transform: scale(0.94) translateY(8px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

@media (max-width: 860px) {
  .home-grid, .room-grid, .steps-strip {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .card, .room-banner, .modal-card {
    padding: 20px;
  }
  .site-header {
    padding: 4px 16px 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
