:root {
  --bg: #0b0608;
  --bg-deep: #070405;
  --surface: #150c10;
  --surface-elevated: #1e1117;
  --crimson: #8f162b;
  --crimson-bright: #b81d38;
  --crimson-glow: rgba(168, 24, 50, 0.35);
  --gold: #d9b452;
  --gold-bright: #f3d67a;
  --gold-dim: #9e7d2e;
  --border: rgba(217, 180, 82, 0.22);
  --border-strong: rgba(217, 180, 82, 0.45);
  --text: #f7eedc;
  --text-soft: #dfd0b8;
  --muted: #a99582;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.65);
  --font-display: "Cinzel", Georgia, "Times New Roman", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  font-family: var(--font-body);
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(143, 22, 43, 0.22), transparent 65%),
    var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

a:hover {
  color: var(--gold-bright);
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 22px;
}

/* Navigation */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(11, 6, 8, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}

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

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  border: 1px solid var(--border-strong);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.14em;
  font-size: 16px;
  color: var(--gold-bright);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.nav-links a:hover {
  color: var(--gold-bright);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 96px;
  border-bottom: 1px solid var(--border);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(180deg, rgba(11, 6, 8, 0.52) 0%, rgba(11, 6, 8, 0.82) 60%, var(--bg) 100%),
    radial-gradient(circle at 50% 25%, rgba(143, 22, 43, 0.32), transparent 65%),
    url('/assets/bg/court-scene.webp');
  background-size: cover;
  background-position: center 22%;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.hero-crest {
  width: 112px;
  height: 112px;
  margin: 0 auto 22px;
  border-radius: 26px;
  border: 2px solid var(--border-strong);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.72), 0 0 36px var(--crimson-glow);
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 7vw, 68px);
  line-height: 1.06;
  letter-spacing: 0.08em;
  margin: 0 0 16px;
  background: linear-gradient(180deg, #fff5dc 0%, var(--gold) 65%, #a77c26 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-size: clamp(17px, 2.3vw, 21px);
  color: var(--text-soft);
  max-width: 680px;
  margin: 0 auto 30px;
}

.store-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 26px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 22px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(35, 18, 24, 0.96), rgba(18, 9, 13, 0.98));
  border: 1px solid var(--border-strong);
  color: var(--text);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.5);
  min-width: 215px;
  text-align: left;
}

.store-badge:hover {
  border-color: var(--gold-bright);
  transform: translateY(-2px);
  color: var(--text);
}

.store-badge .badge-icon {
  font-size: 24px;
  line-height: 1;
  color: var(--gold-bright);
}

.store-badge .badge-kicker {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
}

.store-badge .badge-title {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  max-width: 760px;
  margin: 34px auto 0;
}

.stat-pill {
  background: rgba(21, 12, 16, 0.82);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 12px;
  backdrop-filter: blur(8px);
}

.stat-pill strong {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--gold-bright);
  line-height: 1.2;
}

.stat-pill span {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Sections */
.section {
  padding: 76px 0;
  border-bottom: 1px solid rgba(217, 180, 82, 0.12);
}

.section-header {
  max-width: 720px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 38px);
  color: var(--gold-bright);
  margin: 6px 0 12px;
  letter-spacing: 0.04em;
}

.section-header p {
  color: var(--text-soft);
  margin: 0;
  font-size: 16px;
}

/* Campaign Banner */
.campaign-banner {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow);
  margin-bottom: 36px;
  min-height: 300px;
  display: flex;
  align-items: flex-end;
  background:
    linear-gradient(180deg, rgba(11, 6, 8, 0.15) 0%, rgba(11, 6, 8, 0.88) 78%),
    url('/assets/bg/campaign-map.webp') center / cover no-repeat;
}

.campaign-banner-body {
  padding: 32px;
  max-width: 680px;
}

.campaign-banner-body h3 {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 30px);
  color: var(--gold-bright);
  margin: 0 0 10px;
}

.campaign-banner-body p {
  margin: 0;
  color: var(--text-soft);
}

/* Feature Grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.feature-card {
  background: linear-gradient(180deg, var(--surface-elevated), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.feature-card .feature-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  margin: 0 0 10px;
  color: var(--text);
}

.feature-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 15px;
}

/* Portrait Showcase */
.gallery-group {
  margin-bottom: 38px;
}

.gallery-group:last-child {
  margin-bottom: 0;
}

.gallery-label {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 16px;
}

.portrait-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.portrait-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
}

.portrait-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
}

.portrait-meta {
  padding: 14px 16px;
  border-top: 1px solid var(--border);
}

.portrait-meta strong {
  display: block;
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--gold-bright);
}

.portrait-meta span {
  font-size: 13px;
  color: var(--muted);
}

/* Social Community Section */
.social-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.social-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, var(--surface-elevated), var(--surface));
  border: 1px solid var(--border);
  color: var(--text);
}

.social-card:hover {
  border-color: var(--gold-bright);
  background: rgba(143, 22, 43, 0.22);
  transform: translateY(-2px);
  color: var(--text);
}

.social-card strong {
  font-size: 15px;
  color: var(--gold-bright);
}

.social-card span {
  font-size: 13px;
  color: var(--muted);
}

/* Legal / Subpage Layout */
.legal-main {
  max-width: 860px;
  margin: 0 auto;
  padding: 48px 22px 84px;
}

.legal-header {
  border-bottom: 1px solid var(--border);
  padding-bottom: 22px;
  margin-bottom: 30px;
}

.legal-header h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.5vw, 40px);
  color: var(--gold-bright);
  margin: 8px 0 8px;
}

.legal-meta {
  color: var(--muted);
  font-size: 14px;
}

.legal-main h2 {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 21px;
  margin: 34px 0 10px;
}

.legal-main p,
.legal-main li {
  color: var(--text-soft);
}

.legal-main ul,
.legal-main ol {
  padding-left: 22px;
}

.legal-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
  margin: 18px 0;
}

.cta-button {
  display: inline-block;
  margin-top: 10px;
  padding: 12px 22px;
  border-radius: 10px;
  background: linear-gradient(180deg, var(--crimson-bright), var(--crimson));
  border: 1px solid var(--border-strong);
  color: #fff6e5;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
}

.cta-button:hover {
  color: #ffffff;
  border-color: var(--gold-bright);
  transform: translateY(-1px);
}

/* Footer */
.site-footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
  padding: 46px 0 54px;
  font-size: 14px;
  color: var(--muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 28px;
  margin-bottom: 28px;
}

.footer-heading {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 12px;
}

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

.footer-social-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.footer-bottom {
  border-top: 1px solid rgba(217, 180, 82, 0.14);
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
}

@media (max-width: 920px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .portrait-grid,
  .social-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 58px 0 68px;
  }
  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .nav-links {
    gap: 14px;
  }
}
