:root{
  --primary: #1e3a8a;
  --primary-hover: #1e40af;
  --accent: #f59e0b;
  --text-main: #1f2937;
  --text-muted: #6b7280;
  --bg-body: #f3f4f6;
  --bg-card: #ffffff;
  --border: #e5e7eb;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, sans-serif;
  color: var(--text-main);
  background: var(--bg-body);
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
a:hover { color: var(--accent); }

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1rem;
}

.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-header {
  background: var(--primary);
  color: #fff;
  padding: 1rem 0;
}

.site-header a { color: #fff; }
.site-header a:hover { color: var(--accent); }

.logo {
  font-size: 1.5rem;
  font-weight: 700;
}

.main-nav a {
  margin-left: 1.5rem;
  font-weight: 500;
}

h1, h2, h3 {
  line-height: 1.2;
  margin-bottom: 1rem;
}

section {
  padding: 3rem 0;
}

.hero-section {
  text-align: center;
}

.hero-section h1 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 800px;
  margin: 0 auto 2rem;
}

.lookup-tool {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
  max-width: 600px;
  margin: 0 auto;
}

.lookup-tool h2 {
  font-size: 1.5rem;
}

#searchForm {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

#stadiumInput {
  flex-grow: 1;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 1rem;
}

#searchBtn {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1rem;
}

#searchBtn:hover {
  background: var(--primary-hover);
}

.results-area {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  text-align: left;
}

.result-card {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  padding: 1rem;
  border-radius: 6px;
}

.result-card h3 {
  margin-bottom: 0.5rem;
  color: var(--primary);
}

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

.card {
  background: var(--bg-card);
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px -1px rgba(0,0,0,0.05);
}

.survival-section ul {
  margin-top: 1.5rem;
  padding-left: 1.5rem;
}

.survival-section li {
  margin-bottom: 1rem;
}

.site-footer {
  background: #111827;
  color: #d1d5db;
  text-align: center;
  padding: 2rem 0;
  margin-top: 3rem;
}

.footer-nav {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

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

@media (max-width: 600px) {
  #searchForm {
    flex-direction: column;
  }
}


/* Factory-injected deployment helpers. The AI owns the site design above this block. */
.ad-unit {
  width: min(100%, 720px);
  min-height: 120px;
  margin: 24px auto;
  display: block;
}

.legal-page {
  width: min(900px, calc(100% - 32px));
  margin: 40px auto;
}

.factory-fallback-nav {
  width: min(900px, calc(100% - 32px));
  margin: 24px auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  font-size: 0.95rem;
}

.factory-fallback-nav a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}
