/* ================================================
   INDY CLASSIC — Amber CRT Terminal Theme
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=VT323&family=Share+Tech+Mono&display=swap');

/* ── TOKENS ──────────────────────────────────── */
:root {
  --bg-main:        #0d0600;
  --bg-panel:       #0a0400;
  --bg-hdr:         #2a1200;
  --bg-nav:         #1c0a00;

  --border:         #6b3500;
  --border-hi:      #cc6600;
  --border-alert:   #ff6a00;

  --text-title:     #ffaa00;
  --text-heading:   #ff9500;
  --text-body:      #c8893a;
  --text-dim:       #5a3a10;
  --text-bright:    #ffd060;
  --text-white:     #fff8ee;

  --link:           #ffcc44;
  --link-hover:     #ffffff;

  --accent-alert:   #ff6600;
  --accent-yellow:  #ffff00;

  --font-display:   'VT323', 'Courier New', monospace;
  --font-body:      'Share Tech Mono', 'Courier New', monospace;

  --max-width:      1100px;
}

/* ── RESET ───────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ── BASE ────────────────────────────────────── */
html {
  background: #000;
}

body {
  background-color: var(--bg-main);
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Subtle scanline overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent 0px,
    transparent 2px,
    rgba(0, 0, 0, 0.08) 2px,
    rgba(0, 0, 0, 0.08) 4px
  );
  pointer-events: none;
  z-index: 9999;
}

/* ── LAYOUT ──────────────────────────────────── */
.site-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px;
}

/* ── BANNER ──────────────────────────────────── */
.site-header {
  margin-bottom: 0;
}

.banner-wrap {
  text-align: center;
  padding: 24px 16px 16px;
  border: 1px solid var(--border-hi);
  border-bottom: none;
  background: var(--bg-panel);
  position: relative;
}

.banner-wrap::before,
.banner-wrap::after {
  content: '◈';
  position: absolute;
  top: 8px;
  color: var(--text-title);
  font-family: var(--font-display);
  font-size: 1.2em;
}
.banner-wrap::before { left: 12px; }
.banner-wrap::after  { right: 12px; }

.banner-link {
  text-decoration: none;
  display: inline-block;
}

.banner-link:hover .banner-title {
  text-shadow:
    0 0 8px var(--text-title),
    0 0 20px #ff6600,
    0 0 40px #ff4400;
}

.banner-title {
  font-family: var(--font-display);
  font-size: 5.5em;
  color: var(--text-title);
  line-height: 1;
  letter-spacing: 0.05em;
  text-shadow:
    0 0 6px var(--text-title),
    0 0 14px #ff8800,
    0 0 28px #ff5500;
  display: block;
}

.banner-sub {
  font-family: var(--font-display);
  font-size: 1.6em;
  color: var(--text-bright);
  letter-spacing: 0.15em;
  display: block;
  margin-top: 4px;
}

/* ── NAVIGATION ──────────────────────────────── */
.nav-bar {
  background: var(--bg-nav);
  border: 1px solid var(--border-hi);
  border-top: 1px solid var(--border);
  padding: 8px 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: center;
  margin-bottom: 16px;
}

.nav-link {
  font-family: var(--font-display);
  font-size: 1.3em;
  color: var(--text-title);
  text-decoration: none;
  padding: 2px 8px;
  letter-spacing: 0.05em;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}

.nav-link:hover {
  background: var(--text-title);
  color: var(--bg-main);
}

.nav-link.active {
  background: var(--text-title);
  color: var(--bg-main);
}

.nav-link:visited {
  color: var(--text-title);
}
.nav-link.active:visited,
.nav-link:hover {
  color: var(--bg-main);
}

/* ── PANEL SYSTEM ────────────────────────────── */
.panel {
  border: 1px solid var(--border);
  background: var(--bg-panel);
  margin-bottom: 14px;
}

.panel-hdr {
  background: var(--bg-hdr);
  color: var(--text-title);
  font-family: var(--font-display);
  font-size: 1.35em;
  letter-spacing: 0.1em;
  padding: 6px 14px;
  border-bottom: 1px solid var(--border);
  text-transform: uppercase;
}

.panel-body {
  padding: 18px 20px;
}

/* Alert / announcement variant */
.panel-alert {
  border-color: var(--border-alert);
}

.panel-alert .panel-hdr {
  background: #3d1a00;
  border-bottom-color: var(--border-alert);
  color: var(--accent-yellow);
}

.panel-alert .panel-body {
  background: #0f0500;
}

/* ── TYPOGRAPHY ──────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: normal;
  letter-spacing: 0.08em;
  line-height: 1.2;
  margin-bottom: 12px;
}

h1 { font-size: 2em;   color: var(--text-bright); }
h2 { font-size: 1.7em; color: var(--text-heading); }
h3 { font-size: 1.4em; color: var(--text-title);   }

p {
  margin-bottom: 12px;
}

p:last-child {
  margin-bottom: 0;
}

ul, ol {
  margin-left: 24px;
  margin-bottom: 12px;
}

li {
  margin-bottom: 6px;
}

li::marker {
  color: var(--text-title);
}

strong {
  color: var(--text-bright);
}

/* ── LINKS ───────────────────────────────────── */
a {
  color: var(--link);
  text-decoration: underline;
  transition: color 0.15s;
}

a:hover  { color: var(--link-hover); }
a:visited { color: var(--link); }

/* ── ANNOUNCEMENT CONTENT ────────────────────── */
.announce-headline {
  font-family: var(--font-display);
  font-size: 2em;
  color: var(--accent-yellow);
  text-align: center;
  letter-spacing: 0.05em;
  line-height: 1.2;
  margin-bottom: 16px;
  text-shadow: 0 0 8px var(--accent-yellow);
}

.announce-date {
  font-family: var(--font-display);
  font-size: 2.8em;
  color: var(--text-white);
  text-align: center;
  letter-spacing: 0.05em;
  line-height: 1.1;
  text-shadow:
    0 0 10px var(--text-title),
    0 0 20px #ff8800;
}

.announce-venue {
  font-family: var(--font-display);
  font-size: 1.5em;
  color: var(--text-bright);
  text-align: center;
  letter-spacing: 0.08em;
  margin-top: 8px;
}

/* Blinking cursor */
@keyframes blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

.cursor {
  display: inline-block;
  animation: blink 1s step-start infinite;
  color: var(--text-title);
}

/* ── LOCATION ────────────────────────────────── */
.address-block {
  font-family: var(--font-display);
  font-size: 1.3em;
  color: var(--text-bright);
  line-height: 1.6;
  letter-spacing: 0.05em;
  margin: 12px 0 16px;
}

.map-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}

.map-link {
  font-family: var(--font-display);
  font-size: 1.2em;
  letter-spacing: 0.05em;
}

/* ── SPONSORS GRID ───────────────────────────── */
.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.sponsor-card {
  border: 1px solid var(--border);
  background: var(--bg-panel);
  padding: 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: border-color 0.2s;
}

.sponsor-card:hover {
  border-color: var(--border-alert);
}

.sponsor-logo {
  max-width: 100%;
  max-height: 130px;
  height: auto;
  object-fit: contain;
  display: block;
}

.sponsor-name {
  font-family: var(--font-display);
  font-size: 1.2em;
  color: var(--text-title);
  letter-spacing: 0.05em;
}

/* ── FAQ ─────────────────────────────────────── */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding-bottom: 16px;
  margin-bottom: 16px;
}

.faq-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.faq-q {
  font-family: var(--font-display);
  font-size: 1.3em;
  color: var(--accent-yellow);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  line-height: 1.3;
}

.faq-q::before {
  content: '▶ ';
  color: var(--text-title);
}

.faq-a {
  color: var(--text-body);
  margin-left: 20px;
  line-height: 1.7;
}

.faq-a a {
  color: var(--link);
}

/* ── FOOTER ──────────────────────────────────── */
.site-footer {
  margin-top: 16px;
  border: 1px solid var(--border);
  background: var(--bg-nav);
}

.footer-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 16px;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-display);
  font-size: 1.1em;
  color: var(--text-title);
  flex-wrap: wrap;
  gap: 8px;
}

.footer-bar a {
  color: var(--text-title);
  text-decoration: none;
}

.footer-bar a:hover { color: var(--link-hover); }

.footer-credit {
  text-align: center;
  padding: 8px 16px;
  font-size: 0.85em;
  color: var(--text-dim);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-credit a {
  color: var(--text-body);
  text-decoration: none;
}

.footer-credit a:hover { color: var(--link-hover); }

/* ── HR ──────────────────────────────────────── */
hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 16px 0;
}

/* ── UTILITY ─────────────────────────────────── */
.text-center { text-align: center; }
.text-bright  { color: var(--text-bright); }
.text-yellow  { color: var(--accent-yellow); }
.text-white   { color: var(--text-white); }
.mb-0         { margin-bottom: 0; }
.mt-12        { margin-top: 12px; }

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 768px) {
  body { font-size: 14px; }

  .site-wrap { padding: 8px; }

  .banner-title { font-size: 3.5em; }
  .banner-sub   { font-size: 1.2em; }

  .nav-bar  { padding: 6px 8px; gap: 2px; }
  .nav-link { font-size: 1.1em; padding: 2px 5px; }

  .announce-date     { font-size: 2em; }
  .announce-headline { font-size: 1.6em; }
  .announce-venue    { font-size: 1.2em; }

  .panel-body { padding: 14px; }

  .sponsors-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .footer-bar {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .banner-title { font-size: 2.6em; }
  .banner-sub   { font-size: 0.95em; letter-spacing: 0.08em; }

  .nav-link { font-size: 0.95em; padding: 2px 4px; }

  .announce-date     { font-size: 1.5em; }
  .announce-headline { font-size: 1.3em; }

  .panel-body { padding: 10px; }

  .address-block { font-size: 1.1em; }
}

@media (min-width: 1400px) {
  :root { --max-width: 1300px; }
  body  { font-size: 18px; }
}
