/* Hooligan Holiday — landing page styles (standalone, self-contained) */

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

:root {
  --bg: #1a1a2e;
  --bg-alt: #16213e;
  --card: #16213e;
  --card-hover: #1b2a4a;
  --border: #0f3460;
  --accent: #e94560;
  --accent-2: #ff5570;
  --yellow: #ffd166;
  --green: #6ee7b7;
  --muted: #aab;
  --text: #eee;
  --text-dim: #aab;
  --radius: 16px;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.hh-no-scroll { overflow: hidden; }

section { scroll-margin-top: 84px; }

/* ---------- Buttons ---------- */
.hh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #e94560 0%, #ff5570 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.1s ease, box-shadow 0.12s ease;
}
.hh-btn:hover { box-shadow: 0 6px 20px rgba(233, 69, 96, 0.45); }
.hh-btn:active { transform: scale(0.97); }
.hh-btn:disabled { opacity: 0.5; cursor: default; }

.hh-btn-primary { background: linear-gradient(135deg, #e94560 0%, #ff5570 100%); }

.hh-btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.hh-btn-ghost:hover { background: var(--border); box-shadow: none; }

.hh-btn-lg { padding: 15px 26px; font-size: 1.05rem; border-radius: 12px; }
.hh-btn-block { width: 100%; }

/* ---------- Navigation ---------- */
.hh-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 24px;
  background: rgba(26, 26, 46, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.hh-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
}

.hh-logo { font-size: 1.5rem; line-height: 1; }
.hh-brand-name { font-size: 1.15rem; font-weight: 800; letter-spacing: -0.01em; }

.hh-nav-links { display: flex; gap: 22px; }
.hh-nav-links a {
  color: var(--text-dim);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s ease;
}
.hh-nav-links a:hover { color: #fff; }

.hh-nav-actions { display: flex; align-items: center; gap: 10px; }

/* ---------- Hero ---------- */
.hh-hero {
  position: relative;
  padding: 80px 24px 64px;
  overflow: hidden;
  background:
    radial-gradient(1200px 500px at 50% -10%, rgba(233, 69, 96, 0.22), transparent 60%),
    radial-gradient(800px 400px at 85% 20%, rgba(255, 209, 102, 0.12), transparent 55%),
    var(--bg);
}

.hh-hero-inner { max-width: 780px; margin: 0 auto; text-align: center; }

.hh-badge {
  display: inline-block;
  padding: 7px 16px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--yellow);
  background: rgba(255, 209, 102, 0.12);
  border: 1px solid rgba(255, 209, 102, 0.3);
  border-radius: 999px;
  margin-bottom: 22px;
}
.hh-badge-plain {
  color: var(--green);
  background: rgba(110, 231, 183, 0.12);
  border-color: rgba(110, 231, 183, 0.3);
}

.hh-hero-title {
  font-size: clamp(2.3rem, 6vw, 3.6rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.hh-accent {
  background: linear-gradient(135deg, #e94560 0%, #ffd166 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hh-hero-sub {
  max-width: 620px;
  margin: 0 auto 28px;
  font-size: 1.1rem;
  color: var(--text-dim);
}

.hh-cta-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 40px; }

.hh-stat-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.hh-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 130px;
  padding: 16px 22px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.hh-stat strong { font-size: 1.6rem; font-weight: 800; color: var(--yellow); }
.hh-stat span { font-size: 0.8rem; color: var(--muted); }

/* ---------- Sections ---------- */
.hh-section { padding: 72px 24px; }
.hh-section-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.hh-section-head { max-width: 640px; margin: 0 auto 44px; text-align: center; }
.hh-section-head .hh-badge { margin-bottom: 18px; }
.hh-section-title { font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 800; letter-spacing: -0.01em; margin-bottom: 12px; }
.hh-section-sub { color: var(--text-dim); font-size: 1.05rem; }

/* ---------- Feature grid ---------- */
.hh-feature-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.hh-card {
  padding: 26px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.hh-card:hover { transform: translateY(-4px); border-color: var(--accent); background: var(--card-hover); }

.hh-card-emoji { font-size: 2.1rem; display: block; margin-bottom: 14px; }
.hh-card-title { font-size: 1.2rem; font-weight: 800; margin-bottom: 10px; }
.hh-card-text { color: var(--text-dim); font-size: 0.95rem; margin-bottom: 16px; }

.hh-card-badge {
  display: inline-block;
  padding: 4px 11px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-2);
  background: rgba(233, 69, 96, 0.14);
  border: 1px solid rgba(233, 69, 96, 0.3);
  border-radius: 999px;
}
.hh-card-badge-yellow { color: var(--yellow); background: rgba(255, 209, 102, 0.12); border-color: rgba(255, 209, 102, 0.3); }
.hh-card-badge-green { color: var(--green); background: rgba(110, 231, 183, 0.12); border-color: rgba(110, 231, 183, 0.3); }

/* ---------- How it works ---------- */
.hh-steps {
  max-width: 900px;
  margin: 0 auto;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: step;
}

.hh-step {
  position: relative;
  padding: 24px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.hh-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #e94560 0%, #ff5570 100%);
  border-radius: 50%;
  margin-bottom: 14px;
}
.hh-step-title { font-size: 1.1rem; font-weight: 800; margin-bottom: 8px; }
.hh-step-text { color: var(--text-dim); font-size: 0.92rem; }

/* ---------- Social proof ---------- */
.hh-quotes {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.hh-quote {
  padding: 24px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.hh-quote blockquote { font-size: 1.05rem; font-style: italic; margin-bottom: 14px; }
.hh-quote figcaption { font-size: 0.85rem; font-weight: 700; color: var(--yellow); }

/* ---------- FAQ ---------- */
.hh-faq { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }

.hh-faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.hh-faq-item summary {
  padding: 18px 22px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.hh-faq-item summary::-webkit-details-marker { display: none; }
.hh-faq-item summary::after { content: '+'; float: right; font-size: 1.3rem; color: var(--accent-2); }
.hh-faq-item[open] summary::after { content: '–'; }
.hh-faq-item p { padding: 0 22px 18px; color: var(--text-dim); }

/* ---------- Footer ---------- */
.hh-footer {
  padding: 56px 24px;
  text-align: center;
  border-top: 1px solid var(--border);
}
.hh-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.hh-footer-tagline { color: var(--text-dim); margin-bottom: 16px; }
.hh-footer-copy { font-size: 0.8rem; color: var(--muted); }

/* ---------- Modal ---------- */
.hh-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.hh-modal[hidden] { display: none; }

.hh-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(3px);
}

.hh-modal-panel {
  position: relative;
  width: 100%;
  max-width: 420px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 26px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  animation: hh-pop 0.18s ease;
}
@keyframes hh-pop {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.hh-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #fff;
  background: var(--accent);
  border: none;
  border-radius: 50%;
  cursor: pointer;
}
.hh-modal-close:hover { background: var(--accent-2); }

.hh-modal-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.hh-modal-title { font-size: 1.4rem; font-weight: 800; }

.hh-modal-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 5px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 20px;
}
.hh-tab {
  padding: 11px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #ccc;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 9px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.hh-tab:hover { color: #fff; }
.hh-tab.active {
  color: #fff;
  background: linear-gradient(135deg, #e94560 0%, #ff5570 100%);
  box-shadow: 0 4px 14px rgba(233, 69, 96, 0.35);
}

/* ---------- Forms ---------- */
.hh-form { display: flex; flex-direction: column; }
.hh-form.hidden { display: none; }

.hh-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.hh-field label { font-size: 0.85rem; font-weight: 600; color: var(--text-dim); }

.hh-input {
  width: 100%;
  padding: 12px 14px;
  font-size: 1rem;
  color: var(--text);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.hh-input:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: transparent; }
.hh-input::placeholder { color: #667; }

.hh-form-error {
  color: var(--accent-2);
  font-size: 0.85rem;
  min-height: 18px;
  margin-bottom: 10px;
}

.hh-switch { margin-top: 16px; text-align: center; font-size: 0.9rem; color: var(--text-dim); }
.hh-link {
  background: none;
  border: none;
  padding: 0;
  color: var(--accent-2);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
}
.hh-link:hover { text-decoration: underline; }

/* ---------- Toast ---------- */
.toast-container {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5000;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: calc(100% - 32px);
  max-width: 420px;
}
.toast {
  padding: 12px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 10px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.toast.show { opacity: 1; transform: translateY(0); }
.toast.success { border-left-color: var(--green); }
.toast.error { border-left-color: #dc2626; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hh-feature-grid { grid-template-columns: repeat(2, 1fr); }
  .hh-steps { grid-template-columns: repeat(2, 1fr); }
  .hh-quotes { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .hh-nav-links { display: none; }
  .hh-feature-grid { grid-template-columns: 1fr; }
  .hh-steps { grid-template-columns: 1fr; }
  .hh-brand-name { font-size: 1rem; }
  .hh-nav { padding: 12px 16px; }
  .hh-hero { padding: 56px 18px 48px; }
  .hh-section { padding: 52px 18px; }
}
