:root {
  --bg: #050608;
  --bg-alt: #101318;
  --card: #151923;
  --accent: #f5a623; /* roping arena dirt / gold */
  --accent-soft: rgba(245, 166, 35, 0.15);
  --border-subtle: #242938;
  --text: #f5f5f7;
  --muted: #a4a8b3;
  --danger: #f24949;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --shadow-soft: 0 12px 35px rgba(0, 0, 0, 0.45);
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.35);
}

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

html,
body {
  margin: 0;
  padding: 0;
}
.alert-bar {
  padding: 0.75rem 0;
  font-size: 0.85rem;
}

.alert-success {
  background: rgba(64, 180, 92, 0.18);
  border-bottom: 1px solid rgba(64, 180, 92, 0.5);
  color: #c7f5d6;
}

.alert-error {
  background: rgba(235, 87, 87, 0.18);
  border-bottom: 1px solid rgba(235, 87, 87, 0.5);
  color: #ffd3d3;
}

body {
  font-family: 'Roboto', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: radial-gradient(circle at top, #141824 0, #050608 55%);
  color: var(--text);
  line-height: 1.6;
}

/* Utilities */

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4rem 0;
}

.section.alt {
  background: radial-gradient(circle at top left, #1b2130 0, #050608 60%);
}

.section-title {
  font-family: 'Oswald', system-ui, sans-serif;
  font-size: 2.2rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-intro {
  max-width: 640px;
  color: var(--muted);
  margin-bottom: 2.5rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: flex-start;
}

@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
  }
}

/* Top Bar */

.top-bar {
  background: #000;
  color: var(--muted);
  padding: 0.35rem 1.5rem;
  font-size: 0.8rem;
  text-align: center;
}

/* Header / Nav */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: linear-gradient(to bottom, rgba(5, 6, 8, 0.94), rgba(5, 6, 8, 0.75));
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
}

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

.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 0, #f7e3b0 0, #f5a623 45%, #c5720c 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #100c05;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 0 0 2px #151821, 0 8px 18px rgba(0, 0, 0, 0.7);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: 'Oswald', system-ui, sans-serif;
  letter-spacing: 0.08em;
  font-size: 1.2rem;
  text-transform: uppercase;
}

.logo-tagline {
  font-size: 0.75rem;
  color: var(--muted);
}

.nav {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  font-size: 0.9rem;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  position: relative;
}

.nav a:hover {
  color: var(--text);
}

.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.18s ease-out;
}

.nav a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(245, 166, 35, 0.6);
  color: var(--accent);
  font-weight: 500;
}

.nav-cta:hover {
  background: var(--accent-soft);
}

@media (max-width: 800px) {
  .nav {
    display: none;
  }
}

/* Hero */

.hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  padding: 3.5rem 0 4rem;
  background-image:
    radial-gradient(circle at top left, rgba(245, 166, 35, 0.12) 0, transparent 55%),
    radial-gradient(circle at bottom right, rgba(0, 0, 0, 0.7) 0, #050608 55%);
}

.hero .overlay {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to bottom right, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.85)),
        url('../img/hero-arena.jpg');
  background-size: cover;
  background-position: center;
  mix-blend-mode: multiply;
  opacity: 0.35;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 3rem;
  z-index: 1;
}

@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
}

.hero-content h1 {
  font-family: 'Oswald', system-ui, sans-serif;
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero-content p {
  color: var(--muted);
  max-width: 640px;
  margin-bottom: 1.7rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.2rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.hero-meta span {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.25rem 0.7rem;
  backdrop-filter: blur(12px);
  background: rgba(10, 12, 18, 0.8);
}

/* Hero card */

.hero-card {
  background: radial-gradient(circle at top, #1b2233 0, #10131c 60%);
  border-radius: 24px;
  box-shadow: var(--shadow-card);
  padding: 1.7rem 1.5rem;
  border: 1px solid rgba(245, 166, 35, 0.35);
}

.hero-card h2 {
  font-family: 'Oswald', system-ui, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.3rem;
}

.hero-card-title {
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.hero-card-meta {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.8rem;
}

.hero-list {
  margin: 0 0 1rem;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.hero-card-note {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.6rem;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.3rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(15, 18, 26, 0.9);
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
  cursor: pointer;
  transition: transform 0.12s ease-out, box-shadow 0.12s ease-out, background 0.12s ease-out;
  white-space: nowrap;
}

.btn.primary {
  border-color: rgba(245, 166, 35, 0.9);
  background: radial-gradient(circle at top, #f7e3b0 0, #f5a623 45%, #c5720c 100%);
  color: #120b03;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.55);
}

.btn.ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.24);
}

.btn.full {
  width: 100%;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.5);
}

.btn.primary:hover {
  background: radial-gradient(circle at top, #fff1c6 0, #f8b640 40%, #ca7b14 100%);
}

.text-link {
  display: inline-flex;
  margin-top: 0.9rem;
  font-size: 0.85rem;
  color: var(--accent);
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

/* Cards / Grids */

.card {
  background: radial-gradient(circle at top left, #1b2130 0, #10131c 60%);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  padding: 1.4rem 1.5rem;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.3rem;
}

.about-grid .card h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.about-grid .card p {
  font-size: 0.86rem;
  color: var(--muted);
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

/* Programs */

.program-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.program ul {
  font-size: 0.85rem;
  color: var(--muted);
  padding-left: 1rem;
  margin-top: 0.7rem;
}

.pill {
  display: inline-flex;
  padding: 0.12rem 0.6rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.pill-dark {
  background: rgba(118, 128, 158, 0.25);
  color: #f3f4ff;
}

@media (max-width: 900px) {
  .program-grid {
    grid-template-columns: 1fr;
  }
}

/* Events */

.events-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.event-meta {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.7rem;
}

.event-list {
  font-size: 0.86rem;
  color: var(--muted);
  padding-left: 1rem;
  margin-bottom: 0.7rem;
}

.event-footer {
  font-size: 0.8rem;
  color: var(--muted);
}

@media (max-width: 900px) {
  .events-grid {
    grid-template-columns: 1fr;
  }
}

/* Membership */

.membership-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.membership {
  position: relative;
}

.membership .price {
  font-size: 1.4rem;
  margin: 0.5rem 0 0.8rem;
}

.membership .price span {
  font-size: 0.8rem;
  color: var(--muted);
}

.membership ul {
  font-size: 0.86rem;
  color: var(--muted);
  padding-left: 1rem;
  margin-bottom: 1rem;
}

.membership-featured {
  border-color: rgba(245, 166, 35, 0.9);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.75);
  transform: translateY(-4px);
}

.ribbon {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  background: var(--accent);
  color: #120b03;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
}

@media (max-width: 900px) {
  .membership-grid {
    grid-template-columns: 1fr;
  }

  .membership-featured {
    transform: none;
  }
}

/* Bullets */

.bullets {
  list-style: none;
  padding-left: 0;
  margin: 1rem 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.bullets li::before {
  content: '•';
  color: var(--accent);
  margin-right: 0.5rem;
}

/* Shop */

.shop-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 180px;
}

.shop-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.shop-title {
  font-weight: 500;
  margin-bottom: 0.4rem;
}

.shop-body {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Contact */

.contact-split {
  align-items: stretch;
}

.contact-form {
  display: grid;
  gap: 0.9rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.field label {
  font-size: 0.85rem;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 12, 18, 0.9);
  color: var(--text);
  padding: 0.55rem 0.7rem;
  font-size: 0.9rem;
  outline: none;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(245, 166, 35, 0.8);
  box-shadow: 0 0 0 1px rgba(245, 166, 35, 0.4);
}

.muted {
  font-size: 0.8rem;
  color: var(--muted);
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.3rem 0 1.4rem;
  background: #050608;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--muted);
}

.footer-brand {
  font-family: 'Oswald', system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.1rem;
}

.footer-text {
  margin: 0;
}

.footer-right {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  align-items: center;
}

.footer-right a {
  color: var(--muted);
  text-decoration: none;
}

.footer-right a:hover {
  color: var(--accent);
}

.footer-divider {
  opacity: 0.5;
}

@media (max-width: 700px) {
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }
}
