:root {
  --bg-main: #1b0f19;
  --bg-panel: #261423;
  --bg-panel-soft: rgba(38, 20, 35, 0.9);
  --bg-hero: radial-gradient(circle at top left, #3a1a2b 0, transparent 55%),
             radial-gradient(circle at bottom right, #140a17 0, transparent 60%),
             #120812;
  --gold: #d4af37;
  --gold-soft: rgba(212, 175, 55, 0.16);
  --gold-soft-border: rgba(212, 175, 55, 0.4);
  --text-main: #fdf7e9;
  --text-muted: #d1c5aa;
  --danger: #f97373;
  --radius-lg: 24px;
  --radius-full: 999px;
  --shadow-soft: 0 26px 50px rgba(0, 0, 0, 0.8);
}

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-main);
  background: var(--bg-hero);
  display: flex;
  flex-direction: column;
}

/* Layout */
.site-wrapper {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.5rem 1.6rem 2.8rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Header / Nav */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.4rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-badge {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background:
    radial-gradient(circle at 30% 30%, #f9e8a4, #e3b23c);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2e1a18;
  font-weight: 700;
  font-size: 1.2rem;
  box-shadow: 0 14px 22px rgba(0, 0, 0, 0.6);
  border: 2px solid rgba(250, 250, 250, 0.5);
}

.brand-text-title {
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-text-subtitle {
  font-size: 0.78rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.2em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-link {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-full);
  transition: all 0.18s ease-out;
  border: 1px solid transparent;
}

.nav-link:hover {
  color: var(--text-main);
  border-color: rgba(212, 175, 55, 0.5);
  background: rgba(10, 10, 10, 0.3);
}

.nav-link--primary {
  background: linear-gradient(135deg, #f4e0b2, #d4af37);
  color: #29140f;
  font-weight: 600;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.7);
}

.nav-link--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 36px rgba(0, 0, 0, 0.8);
}

/* Hero */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.3fr);
  gap: 1.8rem;
  align-items: stretch;
  margin-top: 0.4rem;
}

.hero-main {
  background: var(--bg-panel-soft);
  border-radius: 30px;
  padding: 1.8rem 1.9rem 1.9rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(148, 120, 88, 0.65);
  position: relative;
  overflow: hidden;
}

.hero-main::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(244, 224, 178, 0.12), transparent 60%),
    linear-gradient(to bottom right, rgba(148, 120, 88, 0.16), transparent 60%);
  mix-blend-mode: screen;
  opacity: 0.9;
  pointer-events: none;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.28rem 0.85rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--gold-soft-border);
  background: rgba(15, 10, 10, 0.7);
  color: var(--gold);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.hero-pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--gold);
}

.hero-title {
  font-family: "Georgia", "Times New Roman", serif;
  font-size: clamp(1.9rem, 3vw + 1rem, 2.5rem);
  line-height: 1.2;
  margin: 0 0 0.6rem;
  position: relative;
  z-index: 1;
}

.hero-title span {
  color: var(--gold);
}

.hero-subtitle {
  margin: 0 0 1.4rem;
  color: var(--text-muted);
  font-size: 0.96rem;
  max-width: 32rem;
  position: relative;
  z-index: 1;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1rem 0 0.6rem;
  position: relative;
  z-index: 1;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.45rem;
  border-radius: var(--radius-full);
  border: none;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.18s ease-out;
}

.btn-primary {
  background: linear-gradient(135deg, #f5e6bf, #d4af37);
  color: #2f140f;
  font-weight: 600;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.8);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.85);
}

.btn-ghost {
  background: rgba(20, 10, 10, 0.8);
  color: var(--text-muted);
  border: 1px solid rgba(148, 120, 88, 0.7);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* Hero meta */
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.4rem;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 1.1rem;
  position: relative;
  z-index: 1;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* Side panel */

.hero-side {
  position: relative;
}

.hero-panel {
  background: linear-gradient(
      135deg,
      rgba(29, 14, 24, 0.98),
      rgba(22, 11, 20, 0.96)
    );
  border-radius: 30px;
  padding: 1.4rem 1.6rem;
  border: 1px solid rgba(148, 120, 88, 0.7);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.hero-panel-heading {
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.1rem;
}

.hero-panel-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.hero-panel-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-muted);
  padding: 0.35rem 0;
  border-bottom: 1px dashed rgba(148, 120, 88, 0.4);
}

.hero-panel-row:last-child {
  border-bottom: none;
}

.hero-panel-label {
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: rgba(233, 213, 181, 0.85);
}

.hero-panel-value {
  font-size: 0.88rem;
}

.hero-panel-footer {
  margin-top: 0.9rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
}

/* Messages */

.flash-messages {
  margin-bottom: 0.9rem;
  list-style: none;
  padding: 0;
}

.flash-messages li {
  font-size: 0.85rem;
  padding: 0.6rem 0.9rem;
  border-radius: var(--radius-lg);
  background: rgba(24, 46, 32, 0.9);
  border: 1px solid rgba(34, 197, 94, 0.9);
}

.flash-messages li.error {
  background: rgba(64, 16, 16, 0.9);
  border-color: var(--danger);
}

/* Footer */

.site-footer {
  margin-top: auto;
  padding: 0.9rem 1.6rem 1.4rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
}

/* Responsive */

@media (max-width: 860px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }

  .nav-links {
    flex-wrap: wrap;
    width: 100%;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-side {
    order: -1;
  }

  .site-wrapper {
    padding-inline: 1.2rem;
  }
}
