/* ============================================================
   Comic Book Central — Global Styles
   ============================================================ */

:root {
  --bg-deep: #050a1f;
  --bg-mid: #0b1738;
  --bg-panel: #0e1a3e;
  --bg-card: #142150;
  --bg-card-hover: #1a2a64;
  --border: #243169;
  --gold: #ffd23f;
  --gold-bright: #ffe566;
  --red: #e63946;
  --red-bright: #ff4757;
  --blue: #1e88ff;
  --blue-bright: #4ba3ff;
  --text: #ffffff;
  --text-muted: #b8c4e6;
  --text-dim: #7a86b0;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg-deep);
  color: var(--text);
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

/* ============================================================
   Comic-panel background texture
   ============================================================ */

.bg-comic {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse at top left, rgba(30, 136, 255, 0.15), transparent 60%),
    radial-gradient(ellipse at bottom right, rgba(230, 57, 70, 0.08), transparent 60%),
    linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-mid) 50%, var(--bg-deep) 100%);
}

.bg-comic::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    /* comic panel grid lines */
    linear-gradient(rgba(36, 49, 105, 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(36, 49, 105, 0.15) 1px, transparent 1px);
  background-size: 240px 200px, 320px 280px;
  opacity: 0.5;
  mask-image: radial-gradient(ellipse at center, transparent 30%, black 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, transparent 30%, black 80%);
}

/* Homepage hero background image — covers topbar + nav + hero area,
   then fades into the dark page background. */
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 920px;
  z-index: -1;
  background-image: url('../images/hero-bg.png');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  pointer-events: none;
  /* Fade out at the bottom so it blends into the page background */
  mask-image: linear-gradient(180deg, black 0%, black 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, black 0%, black 70%, transparent 100%);
}

/* Let the hero background show through topbar and nav on the homepage */
.homepage .topbar {
  background: rgba(5, 10, 31, 0.55);
  border-bottom-color: rgba(36, 49, 105, 0.5);
}

.homepage .navbar {
  background: rgba(5, 10, 31, 0.35);
  border-bottom-color: rgba(36, 49, 105, 0.5);
}

/* ============================================================
   Top utility bar (social + community CTA)
   ============================================================ */

.topbar {
  background: rgba(5, 10, 31, 0.95);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  font-size: 13px;
  position: relative;
  z-index: 10;
}

.topbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.social-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.social-label {
  color: var(--text-dim);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 11px;
}

.social-icons {
  display: flex;
  gap: 10px;
}

.social-icons a {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: color 0.2s, transform 0.2s;
}

.social-icons a:hover {
  color: var(--gold);
  transform: translateY(-2px);
}

.social-icons svg {
  width: 18px;
  height: 18px;
}

.community-cta {
  color: var(--text);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.community-cta .accent {
  color: var(--gold);
  font-weight: 800;
}

/* ============================================================
   Main nav
   ============================================================ */

.navbar {
  background: rgba(5, 10, 31, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
}

.nav-link {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  letter-spacing: 0.12em;
  color: var(--text);
  padding: 8px 4px;
  position: relative;
  transition: color 0.2s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
}

.nav-search {
  color: var(--text-muted);
  width: 22px;
  height: 22px;
  cursor: pointer;
  transition: color 0.2s;
}

.nav-search:hover {
  color: var(--gold);
}

/* ============================================================
   Hero
   ============================================================ */

.hero {
  position: relative;
  padding: 10px 24px 40px;
  max-width: 1280px;
  margin: 0 auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: center;
}

.hero-mascot {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-mascot img {
  width: 150%;
  max-width: 1050px;
  filter:
    drop-shadow(0 20px 30px rgba(0, 0, 0, 0.6));
  animation: hero-float 6s ease-in-out infinite;
}

@keyframes hero-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

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

.hero-welcome {
  font-family: 'Bangers', 'Bebas Neue', sans-serif;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--text);
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
  margin-bottom: 4px;
  text-shadow: 0 4px 0 rgba(0, 0, 0, 0.4);
}

.hero-lair {
  font-family: 'Bangers', 'Bebas Neue', sans-serif;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--gold);
  font-size: clamp(90px, 14vw, 175px);
  line-height: 1;
  margin-bottom: 24px;
  text-shadow:
    -2px -2px 0 var(--red),
    2px 2px 0 rgba(0, 0, 0, 0.6),
    0 8px 0 rgba(0, 0, 0, 0.3);
  transform: rotate(-2deg);
  display: inline-block;
}

.hero-tagline {
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.hero-description {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto 32px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

/* ============================================================
   Buttons
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 21px;
  font-family: 'Anton', 'Bebas Neue', sans-serif;
  font-weight: 400; /* Anton is naturally heavy at 400 */
  font-size: 18px;
  letter-spacing: 0.1em;
  border-radius: 8px;
  transition: transform 0.15s, box-shadow 0.15s, background 0.2s;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.btn:active {
  transform: translateY(0);
}

.btn-gold {
  background: var(--gold);
  color: #111;
  box-shadow: 0 4px 0 #c19b1f;
}

.btn-gold:hover {
  background: var(--gold-bright);
  box-shadow: 0 6px 0 #c19b1f, 0 8px 20px rgba(0, 0, 0, 0.4);
}

.btn-yt {
  background: rgba(0, 0, 0, 0.4);
  color: var(--text);
  border-color: var(--text);
}

.btn-yt:hover {
  background: #ff0000;
  border-color: #ff0000;
}

.btn-blue {
  background: var(--blue);
  color: var(--text);
  box-shadow: 0 4px 0 #1466c4;
}

.btn-blue:hover {
  background: var(--blue-bright);
  box-shadow: 0 6px 0 #1466c4, 0 8px 20px rgba(0, 0, 0, 0.4);
}

.btn svg {
  width: 18px;
  height: 18px;
}

/* LISTEN NOW buttons (gold + blue variants when carrying the play-in-circle
   icon) get a larger icon to match the mockup. */
.btn-gold > svg,
.btn-blue > svg {
  width: 24px;
  height: 24px;
}

/* ============================================================
   Stats strip
   ============================================================ */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: 900px;
  margin: 0 auto;
}

.stat {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
}

.stat-icon {
  color: var(--gold);
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}

.stat-icon svg {
  width: 100%;
  height: 100%;
}

.stat-value {
  font-family: 'Anton', 'Bebas Neue', sans-serif;
  font-size: 28px;
  letter-spacing: 0.02em;
  color: var(--text);
  line-height: 1;
}

.stat-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 2px;
  white-space: nowrap;
}

/* ============================================================
   Section container
   ============================================================ */

.section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 24px;
}

.section-title {
  font-family: 'Bangers', 'Bebas Neue', sans-serif;
  font-weight: 400;
  font-size: 36px;
  letter-spacing: 0.04em;
  color: var(--text);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================================================
   Featured (Latest) Episode block
   ============================================================ */

.featured {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.featured-ribbon {
  display: inline-block;
  background: var(--gold);
  color: #111;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 14px;
  letter-spacing: 0.15em;
  padding: 6px 18px;
  border-radius: 4px;
  margin-bottom: 16px;
  position: relative;
}

.featured-ribbon::after {
  content: '';
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  border: 8px solid transparent;
  border-left-color: var(--gold);
}

.featured-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 28px;
  align-items: center;
}

.featured-info .ep-num {
  display: inline-block;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  padding: 4px 12px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 13px;
  letter-spacing: 0.12em;
  border-radius: 4px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.featured-info h2 {
  font-family: 'Bangers', 'Bebas Neue', sans-serif;
  font-weight: 400;
  font-size: 40px;
  letter-spacing: 0.02em;
  line-height: 1.05;
  margin-bottom: 6px;
}

.featured-info .subtitle {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  color: var(--gold);
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.featured-info .desc {
  color: var(--text-muted);
  margin-bottom: 24px;
  font-size: 15px;
  line-height: 1.55;
}

.featured-info .btn-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.featured-art {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-deep);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.featured-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================================
   Latest episodes carousel/grid
   ============================================================ */

.eps-rail {
  position: relative;
}

.eps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.ep-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.ep-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
}

.ep-card-art {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--bg-deep);
  overflow: hidden;
}

.ep-card-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ep-card-num {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(0, 0, 0, 0.75);
  color: var(--gold);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 12px;
  letter-spacing: 0.1em;
  padding: 3px 8px;
  border-radius: 4px;
}

.ep-card-date {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.75);
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: 4px;
}

.ep-card-body {
  padding: 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ep-card-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  letter-spacing: 0.04em;
  line-height: 1.1;
  color: var(--text);
}

.ep-card-sub {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.4;
  flex: 1;
}

.ep-card-play {
  align-self: flex-end;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.ep-card:hover .ep-card-play {
  background: var(--gold);
  color: #111;
}

.rail-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  z-index: 5;
}

.rail-arrow.prev { left: -50px; }
.rail-arrow.next { right: -50px; }

/* ============================================================
   Three-column bottom row (vault / youtube / community)
   ============================================================ */

.three-col {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px 40px;
}

.panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
}

.panel-title {
  font-family: 'Bangers', 'Bebas Neue', sans-serif;
  font-weight: 400;
  font-size: 26px;
  letter-spacing: 0.04em;
  text-align: center;
  margin-bottom: 4px;
}

.panel-subtitle {
  text-align: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 14px;
  letter-spacing: 0.16em;
  color: var(--gold);
  margin-bottom: 20px;
}

.vault-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  text-align: center;
  margin-bottom: 20px;
}

.vault-art {
  width: 100%;
  aspect-ratio: 1;
  max-width: 280px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-deep);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4);
}

.vault-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vault-info h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 26px;
  line-height: 1.05;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
  color: var(--text);
}

.vault-info .tag {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--gold);
  margin-bottom: 4px;
}

.vault-info .ep {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 14px;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.vault-stack > .btn {
  width: 100%;
  justify-content: center;
}

.vault-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#vault-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

#vault-block .btn {
  width: 100%;
  justify-content: center;
}

.yt-embed {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-deep);
  margin-bottom: 12px;
}

.yt-embed img,
.yt-embed iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}

.yt-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  transition: background 0.2s;
}

.yt-embed:hover .yt-play-overlay {
  background: rgba(0, 0, 0, 0.15);
}

.yt-play-overlay::after {
  content: '';
  width: 64px;
  height: 64px;
  background: rgba(255, 0, 0, 0.9);
  border-radius: 12px;
  clip-path: polygon(30% 25%, 75% 50%, 30% 75%);
}

.yt-caption {
  text-align: center;
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin: 10px 0 14px;
}

.community-mascot {
  width: 300px;
  margin: 12px auto;
}

.community-panel .lead {
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 18px;
}

.community-panel .btn {
  width: 100%;
  justify-content: center;
  margin-bottom: 8px;
}

/* ============================================================
   Mailing list / Stay up to date
   ============================================================ */

.mailing {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 24px 60px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
}

.mailing-burst {
  font-family: 'Bangers', 'Bebas Neue', sans-serif;
  font-size: 36px;
  letter-spacing: 0.02em;
  color: #111;
  background: var(--gold);
  padding: 16px 28px;
  border-radius: 10px;
  line-height: 1;
  transform: rotate(-3deg);
  border: 3px solid #111;
  box-shadow: 4px 4px 0 #111;
  text-align: center;
}

.mailing-text h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.mailing-text p {
  color: var(--text-muted);
  font-size: 14px;
}

.mailing-form {
  display: flex;
  gap: 10px;
  min-width: 360px;
}

.mailing-form input {
  flex: 1;
  padding: 12px 16px;
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
}

.mailing-form input:focus {
  outline: none;
  border-color: var(--gold);
}

.mailing-form button {
  padding: 12px 21px;
  background: var(--gold);
  color: #111;
  font-family: 'Anton', 'Bebas Neue', sans-serif;
  font-size: 16px;
  letter-spacing: 0.1em;
  border-radius: 8px;
}

.mailing-form button:hover {
  background: var(--gold-bright);
}

.mailing-msg {
  margin-top: 8px;
  font-size: 13px;
  color: var(--gold);
}

/* ============================================================
   Footer
   ============================================================ */

.footer {
  background: rgba(0, 0, 0, 0.4);
  border-top: 1px solid var(--border);
  padding: 24px;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 13px;
}

.footer-brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.footer-nav {
  display: flex;
  gap: 22px;
  justify-content: center;
  flex-wrap: wrap;
}

.footer-nav a {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 14px;
  letter-spacing: 0.14em;
  color: var(--text-muted);
}

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

.footer-tag {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  text-align: right;
}

.footer-tag .accent {
  color: var(--gold);
}

.footer-legal {
  max-width: 800px;
  margin: 20px auto 0;
  padding: 16px 24px 0;
  border-top: 1px solid var(--border);
  font-size: 11px;
  line-height: 1.6;
  color: var(--text-dim);
  text-align: center;
}

/* ============================================================
   Episodes page
   ============================================================ */

.page-hero {
  padding: 60px 24px 24px;
  max-width: 1280px;
  margin: 0 auto;
  text-align: center;
}

.page-hero h1 {
  font-family: 'Bangers', 'Bebas Neue', sans-serif;
  font-weight: 400;
  font-size: clamp(48px, 7vw, 84px);
  letter-spacing: 0.04em;
  color: var(--gold);
  text-shadow:
    -2px -2px 0 var(--red),
    2px 2px 0 rgba(0, 0, 0, 0.6);
  margin-bottom: 8px;
  line-height: 1;
}

.page-hero p {
  color: var(--text-muted);
  font-size: 17px;
  max-width: 600px;
  margin: 0 auto;
}

.search-bar {
  max-width: 600px;
  margin: 28px auto 0;
  position: relative;
}

.search-bar input {
  width: 100%;
  padding: 14px 18px 14px 48px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
}

.search-bar input:focus {
  outline: none;
  border-color: var(--gold);
}

.search-bar svg {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--text-dim);
}

.episodes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px;
}

.eps-status {
  text-align: center;
  padding: 40px;
  color: var(--text-muted);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  letter-spacing: 0.1em;
}

/* ============================================================
   Contact page
   ============================================================ */

.contact-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 40px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.12em;
  font-size: 13px;
  color: var(--gold);
}

.field input,
.field textarea,
.field select {
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--gold);
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-status {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 14px;
  display: none;
}

.contact-status.show { display: block; }

.contact-status.success {
  background: rgba(76, 175, 80, 0.15);
  border: 1px solid rgba(76, 175, 80, 0.5);
  color: #c5e8c8;
}

.contact-status.error {
  background: rgba(230, 57, 70, 0.15);
  border: 1px solid rgba(230, 57, 70, 0.5);
  color: #f6b8be;
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-mascot { margin: 0 auto; }
  .featured-grid { grid-template-columns: 1fr; }
  .eps-grid { grid-template-columns: repeat(3, 1fr); }
  .three-col { grid-template-columns: 1fr; }
  .mailing { grid-template-columns: 1fr; text-align: center; }
  .mailing-form { min-width: 0; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-tag { text-align: center; }
}

@media (max-width: 640px) {
  .topbar-inner { flex-direction: column; gap: 8px; }
  .nav-inner { gap: 18px; flex-wrap: wrap; padding: 12px 16px; }
  .nav-link { font-size: 16px; }
  .eps-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .featured { padding: 18px; }
  .featured-info h2 { font-size: 30px; }
  .mailing-form { flex-direction: column; }
  .section-title { font-size: 28px; }
}
