:root {
  --bg-canvas: #3b0d1a;
  --bg-surface: #521225;
  --text-primary: #fcfbf9;
  --accent: #e8d5a8;
  --font-head: Georgia, "Times New Roman", serif;
  --font-body: system-ui, -apple-system, sans-serif;
  --radius: 20px;
}

* {
  box-sizing: border-box;
}

body {
  background: var(--bg-canvas);
  color: var(--text-primary);
  font-family: var(--font-body);
  margin: 0;
  padding: 2rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.page-frame {
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  background: transparent;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--accent);
  border-radius: 99px;
  padding: 1rem 2rem;
  margin-bottom: 3rem;
  position: relative;
}

.brand {
  font-family: var(--font-head);
  font-size: 1.5rem;
  color: var(--accent);
  text-decoration: none;
}

.desktop-nav {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.desktop-nav a {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.mobile-only {
  display: none;
}

.mobile-menu {
  display: none;
  background: var(--bg-surface);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-menu a {
  color: var(--text-primary);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 1rem;
}

.btn {
  background: var(--accent);
  color: var(--bg-canvas);
  padding: 0.75rem 1.5rem;
  border-radius: 99px;
  text-decoration: none;
  display: inline-block;
  font-weight: bold;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--accent);
  margin-top: 0;
  font-weight: normal;
}

h1 {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2.2rem;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}

p {
  margin-bottom: 1.5rem;
}

.card {
  background: var(--bg-surface);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: none;
}

.vertical-flow {
  position: relative;
  padding-left: 3rem;
  margin-top: 2rem;
}

.vertical-flow::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 1rem;
  width: 1px;
  background: var(--accent);
}

.flow-step {
  position: relative;
  margin-bottom: 4rem;
}

.step-num {
  position: absolute;
  left: -2rem;
  top: 0;
  width: 34px;
  height: 34px;
  background: var(--bg-canvas);
  border: 1px solid var(--accent);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 0.9rem;
  transform: translateX(-50%);
}

.hero-wrapper {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 2rem;
}

.hero-img {
  width: 100%;
  height: 60vh;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}

.hero-card {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  background: var(--bg-surface);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.5rem;
  max-width: 320px;
}

.hero-card ul {
  margin: 0;
  padding-left: 1.2rem;
}

.hero-card li {
  margin-bottom: 0.5rem;
}

.stadium-profiles {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin: 2rem 0;
}

.profile-card {
  display: flex;
  align-items: center;
  position: relative;
}

.profile-card:nth-child(even) {
  flex-direction: row-reverse;
}

.profile-img {
  width: 60%;
  height: 350px;
  object-fit: cover;
  border-radius: var(--radius);
  position: relative;
  z-index: 1;
}

.profile-info {
  background: var(--bg-surface);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 2rem;
  width: 50%;
  margin-left: -10%;
  position: relative;
  z-index: 2;
}

.profile-card:nth-child(even) .profile-info {
  margin-left: 0;
  margin-right: -10%;
}

.bento {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.bento-card.wide {
  grid-column: span 2;
}

.expand-panel {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 1.5s ease, opacity 1.5s ease;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.stat-box {
  text-align: center;
}

.counter {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--accent);
  font-family: var(--font-head);
}

select, input, textarea {
  width: 100%;
  padding: 1rem;
  background: var(--bg-canvas);
  border: 1px solid var(--accent);
  color: var(--text-primary);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
}

select:focus, input:focus, textarea:focus {
  outline: none;
  border-color: var(--text-primary);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--accent);
}

.footer-grid ul {
  list-style: none;
  padding: 0;
}

.footer-grid li {
  margin-bottom: 0.5rem;
}

.footer-grid a {
  color: var(--text-primary);
  text-decoration: none;
}

.footer-grid a:hover {
  text-decoration: underline;
}

.table-wrap {
  overflow-x: auto;
  margin: 2rem 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

th, td {
  border: 1px solid var(--accent);
  padding: 1rem;
  text-align: left;
}

th {
  background: var(--bg-surface);
  color: var(--accent);
  font-family: var(--font-head);
}

@media (max-width: 1024px) {
  .bento-card.wide {
    grid-column: span 1;
  }
}

@media (max-width: 768px) {
  body {
    padding: 0.5rem;
  }
  .page-frame {
    padding: 1rem;
  }
  .desktop-nav {
    display: none;
  }
  .mobile-only {
    display: block;
    background: transparent;
    border: none;
    color: var(--accent);
    font-size: 1.5rem;
    cursor: pointer;
  }
  .vertical-flow {
    padding-left: 2rem;
  }
  .vertical-flow::before {
    left: 0.5rem;
  }
  .step-num {
    left: -1.5rem;
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
  }
  .profile-card, .profile-card:nth-child(even) {
    flex-direction: column;
  }
  .profile-img {
    width: 100%;
    height: 250px;
  }
  .profile-info, .profile-card:nth-child(even) .profile-info {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    margin-top: -2rem;
  }
  h1 {
    font-size: 2.5rem;
  }
}

@media (prefers-reduced-motion: reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
