/* ============================================
   TMAS ONLINE — Comic Book Aesthetic
   Colors: Tiger Flame #FF5500, Sky Blue #00BFFF, Yellow #FFD600
   Font: Lilita One (Chunk substitute), Nunito
   ============================================ */

:root {
  --tiger: #FF5500;
  --sky: #00BFFF;
  --yellow: #FFD600;
  --black: #0A0A0A;
  --white: #FFFFFF;
  --ink: #1A1A1A;
  --panel-bg: #FFFDE7;
  --border: 3px solid var(--black);
  --shadow: 5px 5px 0 var(--black);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', sans-serif;
  background: var(--yellow);
  color: var(--ink);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* HALFTONE BG */
.halftone-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image: radial-gradient(circle, rgba(0,0,0,0.12) 1px, transparent 1px);
  background-size: 18px 18px;
  pointer-events: none;
}

/* MAIN WRAP */
.main-wrap {
  position: relative;
  z-index: 1;
  max-width: 960px;
  margin: 0 auto;
  padding: 32px 20px 60px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* LOGO */
.logo-wrap {
  display: flex;
  justify-content: center;
  padding: 12px 0;
}
.site-logo {
  height: 80px;
  width: auto;
  filter: drop-shadow(3px 3px 0 rgba(0,0,0,0.3));
}

/* COMIC PANELS */
.comic-panel {
  background: var(--panel-bg);
  border: 3px solid var(--black);
  box-shadow: var(--shadow);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}
.panel-border {
  padding: 32px 36px;
  position: relative;
}

/* HERO PANEL */
.hero-panel {
  background: var(--sky);
}
.hero-panel .panel-border {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  position: relative;
  min-height: 280px;
}

.starburst {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 120px;
  height: 120px;
  background: var(--yellow);
  border: 3px solid var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: 'Lilita One', cursive;
  font-size: 20px;
  line-height: 1.15;
  color: var(--black);
  border-radius: 50%;
  box-shadow: 4px 4px 0 var(--black);
  animation: spin-bounce 3s ease-in-out infinite;
  z-index: 2;
  padding: 10px;
}
@keyframes spin-bounce {
  0%, 100% { transform: rotate(-5deg) scale(1); }
  50% { transform: rotate(5deg) scale(1.06); }
}

.hero-title {
  font-family: 'Lilita One', cursive;
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.title-line-1 {
  font-size: clamp(52px, 8vw, 96px);
  color: var(--black);
  -webkit-text-stroke: 2px var(--black);
  text-shadow: 4px 4px 0 rgba(0,0,0,0.25);
  display: block;
}
.title-line-2 {
  font-size: clamp(52px, 8vw, 96px);
  color: var(--tiger);
  -webkit-text-stroke: 2px var(--black);
  text-shadow: 4px 4px 0 rgba(0,0,0,0.25);
  display: block;
}
.hero-sub {
  font-size: 18px;
  font-weight: 700;
  color: var(--black);
  max-width: 480px;
  line-height: 1.4;
  background: var(--white);
  border: 2px solid var(--black);
  padding: 10px 16px;
  box-shadow: 3px 3px 0 var(--black);
}

/* SPEECH BUBBLE */
.speech-bubble {
  background: var(--white);
  border: 3px solid var(--black);
  border-radius: 20px;
  padding: 14px 20px;
  margin-bottom: 24px;
  position: relative;
  display: inline-block;
  box-shadow: 4px 4px 0 var(--black);
  font-family: 'Lilita One', cursive;
  font-size: 20px;
  color: var(--ink);
}
.speech-bubble::after {
  content: '';
  position: absolute;
  bottom: -18px;
  left: 32px;
  border: 10px solid transparent;
  border-top-color: var(--black);
}
.speech-bubble::before {
  content: '';
  position: absolute;
  bottom: -14px;
  left: 34px;
  border: 8px solid transparent;
  border-top-color: var(--white);
  z-index: 1;
}

/* WAITLIST PANEL */
.waitlist-panel {
  background: var(--white);
}

/* FORM */
.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 600px;
}
.form-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.form-row input,
.form-row select {
  flex: 1;
  min-width: 200px;
  padding: 14px 16px;
  font-family: 'Nunito', sans-serif;
  font-size: 15px;
  font-weight: 700;
  border: 3px solid var(--black);
  background: var(--panel-bg);
  color: var(--ink);
  outline: none;
  box-shadow: 3px 3px 0 var(--black);
  transition: box-shadow 0.15s;
}
.form-row input:focus,
.form-row select:focus {
  box-shadow: 5px 5px 0 var(--tiger);
  border-color: var(--tiger);
}
.form-row--select select { min-width: 100%; flex: none; }

.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  background: var(--tiger);
  color: var(--white);
  font-family: 'Lilita One', cursive;
  font-size: 20px;
  border: 3px solid var(--black);
  box-shadow: 5px 5px 0 var(--black);
  cursor: pointer;
  transition: transform 0.12s, box-shadow 0.12s;
  letter-spacing: 0.5px;
  align-self: flex-start;
}
.btn-submit:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--black);
}
.btn-submit:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--black);
}
.btn-arrow { font-size: 22px; }

.form-success {
  font-size: 16px;
  font-weight: 800;
  color: #007700;
  background: #EAFFEA;
  border: 2px solid #007700;
  padding: 12px 16px;
}
.form-error {
  font-size: 15px;
  font-weight: 700;
  color: #AA0000;
  background: #FFEEEE;
  border: 2px solid #AA0000;
  padding: 10px 14px;
}

/* FEATURES PANEL */
.features-panel {
  background: var(--tiger);
}
.panel-title {
  font-family: 'Lilita One', cursive;
  font-size: clamp(28px, 5vw, 48px);
  color: var(--white);
  -webkit-text-stroke: 1px var(--black);
  text-shadow: 3px 3px 0 var(--black);
  margin-bottom: 28px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.feature-item {
  background: var(--white);
  border: 3px solid var(--black);
  box-shadow: 4px 4px 0 var(--black);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.15s, box-shadow 0.15s;
}
.feature-item:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--black);
}
.feature-icon { font-size: 32px; }
.feature-item h3 {
  font-family: 'Lilita One', cursive;
  font-size: 18px;
  color: var(--ink);
}
.feature-item p {
  font-size: 14px;
  line-height: 1.5;
  color: #444;
}

/* FOOTER */
.site-footer {
  text-align: center;
  font-size: 13px;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.site-footer a {
  color: var(--tiger);
  font-weight: 700;
  text-decoration: none;
}
.site-footer a:hover { text-decoration: underline; }

/* ============================================
   COOKIE CONSENT BANNER
   ============================================ */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99999;
  background: var(--black);
  border-top: 3px solid var(--yellow);
  padding: 0;
}
.cookie-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}
.cookie-text {
  flex: 1;
  min-width: 260px;
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  line-height: 1.5;
}
.cookie-text strong { color: var(--yellow); display: block; margin-bottom: 4px; }
.cookie-link { color: var(--sky); text-decoration: none; }
.cookie-link:hover { text-decoration: underline; }
.cookie-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.btn-cookie {
  padding: 10px 18px;
  font-family: 'Nunito', sans-serif;
  font-size: 13px;
  font-weight: 800;
  border: 2px solid var(--yellow);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  letter-spacing: 0.3px;
}
.btn-essential {
  background: transparent;
  color: var(--yellow);
}
.btn-essential:hover { background: rgba(255,214,0,0.15); }
.btn-accept {
  background: var(--yellow);
  color: var(--black);
}
.btn-accept:hover { background: #FFE033; }

/* RESPONSIVE */
@media (max-width: 600px) {
  .hero-panel .panel-border { padding: 24px 20px; min-height: 220px; }
  .starburst { width: 80px; height: 80px; font-size: 13px; }
  .panel-border { padding: 24px 20px; }
  .form-row { flex-direction: column; }
  .form-row input, .form-row select { min-width: 100%; }
  .btn-submit { width: 100%; justify-content: center; }
}
