:root {
  --santa-red: #c0392b;
  --santa-red-dark: #922b21;
  --santa-green: #1e7e34;
  --santa-green-light: #27ae60;
  --santa-gold: #f39c12;
  --santa-dark: #2c3e50;
  --santa-snow: #fdf8f0;
  --santa-card-shadow: 0 4px 24px rgba(0, 0, 0, 0.10);
}

/* ─── Base ──────────────────────────────────────────────── */
body {
  background-color: var(--santa-snow);
  font-family: 'Segoe UI', system-ui, sans-serif;
  color: #343a40;
}

/* ─── Navbar ─────────────────────────────────────────────── */
.navbar-santa {
  background: linear-gradient(135deg, var(--santa-red) 0%, var(--santa-red-dark) 100%);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.20);
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.navbar-santa .navbar-brand {
  color: #fff;
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.3px;
}

.navbar-santa .navbar-brand:hover { color: #ffe0de; }

.navbar-santa .navbar-brand img {
  height: 42px;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.3));
}

/* ─── Hero ───────────────────────────────────────────────── */
.hero-section {
  background: linear-gradient(135deg, var(--santa-red) 0%, var(--santa-red-dark) 55%, #1a5c2a 100%);
  color: #fff;
  padding: 64px 0 56px;
  text-align: center;
}

.hero-section h1 {
  font-size: 2.6rem;
  font-weight: 800;
  text-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

.hero-section p {
  font-size: 1.15rem;
  opacity: 0.92;
  max-width: 620px;
  margin: 0 auto;
}

/* ─── Section titles ─────────────────────────────────────── */
.section-title {
  color: var(--santa-red);
  font-weight: 700;
}

.section-divider {
  border: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--santa-red), var(--santa-gold), var(--santa-green));
  border-radius: 2px;
  margin: 0.4rem 0 1.6rem;
  width: 60px;
}

/* ─── Cards ──────────────────────────────────────────────── */
.card-santa {
  border: none;
  border-radius: 14px;
  box-shadow: var(--santa-card-shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.card-santa:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.14);
}

.card-santa .card-header-santa {
  background: linear-gradient(135deg, var(--santa-red), var(--santa-red-dark));
  color: #fff;
  border-radius: 14px 14px 0 0;
  padding: 1rem 1.5rem;
  font-weight: 600;
  font-size: 1.1rem;
}

/* ─── How it works steps ─────────────────────────────────── */
.step-card {
  border: none;
  border-radius: 14px;
  box-shadow: var(--santa-card-shadow);
  text-align: center;
  padding: 2rem 1.25rem;
  height: 100%;
  background: #fff;
  transition: transform 0.18s ease;
}

.step-card:hover { transform: translateY(-4px); }

.step-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--santa-red), var(--santa-red-dark));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 1rem;
  box-shadow: 0 4px 12px rgba(192,57,43,0.35);
}

.step-number {
  display: inline-block;
  background: var(--santa-gold);
  color: #fff;
  font-weight: 700;
  font-size: 0.75rem;
  border-radius: 50px;
  padding: 2px 10px;
  margin-bottom: 0.5rem;
}

/* ─── Form elements ──────────────────────────────────────── */
.form-label {
  font-weight: 500;
  color: #495057;
  margin-bottom: 0.3rem;
}

.form-control:focus, .form-select:focus {
  border-color: var(--santa-red);
  box-shadow: 0 0 0 0.2rem rgba(192,57,43,0.18);
}

/* ─── Buttons ────────────────────────────────────────────── */
.btn-santa {
  background: linear-gradient(135deg, var(--santa-red), var(--santa-red-dark));
  border: none;
  color: #fff;
  font-weight: 600;
  padding: 0.6rem 1.6rem;
  border-radius: 8px;
  transition: opacity 0.15s ease, transform 0.12s ease;
}

.btn-santa:hover, .btn-santa:focus {
  opacity: 0.9;
  transform: translateY(-1px);
  color: #fff;
}

.btn-santa:active { transform: translateY(0); }

.btn-santa-lg {
  font-size: 1.1rem;
  padding: 0.8rem 2.4rem;
}

/* ─── Table ──────────────────────────────────────────────── */
.table-santa thead th {
  background-color: var(--santa-red);
  color: #fff;
  font-weight: 600;
  border: none;
}

.table-santa tbody tr:hover { background-color: #fff5f4; }

/* ─── Event detail badges ────────────────────────────────── */
.detail-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #f0dede;
  margin-bottom: 0.75rem;
}

.detail-badge .detail-icon {
  font-size: 1.4rem;
  width: 36px;
  text-align: center;
  flex-shrink: 0;
}

.detail-badge .detail-label {
  font-size: 0.78rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1;
  margin-bottom: 2px;
}

.detail-badge .detail-value {
  font-weight: 600;
  color: var(--santa-dark);
  line-height: 1.2;
}

/* ─── Alert participant ──────────────────────────────────── */
.alert-participant {
  background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
  border: 1px solid #a5d6a7;
  border-radius: 12px;
  color: #1b5e20;
  font-size: 1.05rem;
}

/* ─── Footer ─────────────────────────────────────────────── */
.footer-santa {
  background: var(--santa-dark);
  color: #adb5bd;
  padding: 2rem 0;
  margin-top: 4rem;
  font-size: 0.88rem;
}

.footer-santa a {
  color: #ffe0de;
  text-decoration: none;
}

.footer-santa a:hover { color: #fff; }

/* ─── 404 page ───────────────────────────────────────────── */
.page-404 {
  min-height: calc(100vh - 130px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1rem;
}

.page-404 .number-404 {
  font-size: 8rem;
  font-weight: 900;
  color: var(--santa-red);
  line-height: 1;
  text-shadow: 4px 4px 0 rgba(192,57,43,0.15);
}
