@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --funhouseworld-ink: #0f172a;
  --funhouseworld-muted: #4b5563;
  --funhouseworld-surface: #f6f7fb;
  --funhouseworld-panel: #ffffff;
  --funhouseworld-accent: #38c0ba;
  --funhouseworld-amber: #f6b652;
  --funhouseworld-navy: #0b243a;
  --funhouseworld-border: #e3e8ef;
  --funhouseworld-shadow: 0 12px 40px rgba(13, 38, 59, 0.12);
  --funhouseworld-radius: 18px;
  --funhouseworld-transition: all 0.2s ease;
}

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

body.funhouseworld-body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: radial-gradient(circle at 20% 20%, rgba(56,192,186,0.08), transparent 32%),
              radial-gradient(circle at 80% 0%, rgba(11,36,58,0.12), transparent 35%),
              var(--funhouseworld-surface);
  color: var(--funhouseworld-ink);
  line-height: 1.7;
}

a { color: var(--funhouseworld-navy); text-decoration: none; transition: var(--funhouseworld-transition); }
a:hover { color: var(--funhouseworld-accent); }

.funhouseworld-page { min-height: 100vh; display: flex; flex-direction: column; }

.funhouseworld-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--funhouseworld-border);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}

.funhouseworld-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 5vw 0.5rem;
  gap: 1rem;
}

.funhouseworld-logo { display: inline-flex; align-items: center; gap: 0.75rem; color: var(--funhouseworld-ink); font-weight: 800; }
.funhouseworld-logo img { width: 48px; height: 48px; border-radius: 12px; box-shadow: var(--funhouseworld-shadow); }
.funhouseworld-logo-title { display: block; font-size: 1.08rem; }
.funhouseworld-logo-tagline { display: block; font-size: 0.95rem; color: var(--funhouseworld-muted); }

.funhouseworld-burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  border: 1px solid var(--funhouseworld-border);
  background: #0b243a;
  padding: 0.55rem 0.6rem;
  border-radius: 12px;
  cursor: pointer;
}
.funhouseworld-burger span { width: 22px; height: 2px; background: #f6f7fb; transition: var(--funhouseworld-transition); }

.funhouseworld-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw 1rem;
  gap: 1rem;
}
.funhouseworld-nav-list { list-style: none; display: flex; align-items: center; gap: 0.35rem; flex-wrap: wrap; }
.funhouseworld-nav-link {
  display: inline-block;
  padding: 0.65rem 0.9rem;
  border-radius: 12px;
  color: var(--funhouseworld-muted);
  font-weight: 600;
}
.funhouseworld-nav-link.active,
.funhouseworld-nav-link:hover { background: rgba(56,192,186,0.14); color: var(--funhouseworld-ink); }
.funhouseworld-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: linear-gradient(120deg, var(--funhouseworld-accent), #73e0d7);
  color: #042026;
  padding: 0.75rem 1.15rem;
  border-radius: 14px;
  font-weight: 800;
  box-shadow: var(--funhouseworld-shadow);
}
.funhouseworld-cta:hover { transform: translateY(-1px); box-shadow: 0 14px 36px rgba(56,192,186,0.24); }

.funhouseworld-content { width: 100%; padding: 1.5rem 5vw 3rem; flex: 1; display: grid; gap: 1.75rem; }

.funhouseworld-hero,
.funhouseworld-hero-alt {
  background: linear-gradient(135deg, #0b243a 20%, #0f304e 50%, #163859 100%);
  border-radius: var(--funhouseworld-radius);
  color: #e8f3ff;
  padding: 2.4rem;
  box-shadow: var(--funhouseworld-shadow);
  overflow: hidden;
}
.funhouseworld-hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.6rem;
  align-items: center;
}
.funhouseworld-hero h1 { font-size: clamp(2.1rem, 3vw, 2.8rem); margin-bottom: 0.6rem; line-height: 1.25; word-break: break-word; }
.funhouseworld-hero p { max-width: 760px; color: #d9e6f5; }
.funhouseworld-bubbles {
  display: grid;
  gap: 0.8rem;
}
.funhouseworld-bubble {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--funhouseworld-radius);
  padding: 1rem 1.2rem;
}
.funhouseworld-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0.9rem; margin-top: 1.25rem; }
.funhouseworld-stat-card {
  background: #ffffff;
  color: var(--funhouseworld-ink);
  border-radius: var(--funhouseworld-radius);
  padding: 1rem 1.1rem;
  border: 1px solid var(--funhouseworld-border);
  box-shadow: var(--funhouseworld-shadow);
}
.funhouseworld-stat-card strong { display: block; font-size: 1.2rem; margin-bottom: 0.3rem; }
.funhouseworld-kicker { letter-spacing: 0.8px; text-transform: uppercase; color: var(--funhouseworld-amber); font-weight: 700; font-size: 0.95rem; }

.funhouseworld-section {
  background: var(--funhouseworld-panel);
  border: 1px solid var(--funhouseworld-border);
  border-radius: var(--funhouseworld-radius);
  padding: 1.8rem 1.6rem;
  box-shadow: var(--funhouseworld-shadow);
}
.funhouseworld-section-head { display: grid; gap: 0.3rem; margin-bottom: 1.1rem; }
.funhouseworld-section-head h2 { font-size: 1.6rem; }
.funhouseworld-section-head p { color: var(--funhouseworld-muted); }

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

.funhouseworld-card {
  background: #ffffff;
  border: 1px solid var(--funhouseworld-border);
  border-radius: var(--funhouseworld-radius);
  padding: 1.4rem;
  box-shadow: var(--funhouseworld-shadow);
  display: grid;
  gap: 0.6rem;
  height: 100%;
}
.funhouseworld-card-plain {
  background: #f8fbff;
  border-style: dashed;
}
.funhouseworld-card-tag {
  display: inline-flex;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--funhouseworld-border);
  color: var(--funhouseworld-muted);
  font-size: 0.9rem;
}
.funhouseworld-card-badge {
  display: inline-block;
  padding: 0.35rem 0.7rem;
  border-radius: 12px;
  background: rgba(56,192,186,0.14);
  color: #0f4c46;
  font-weight: 700;
}
.funhouseworld-card-amber { background: rgba(246,182,82,0.18); color: #5f3b00; }

.funhouseworld-cta-row { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.funhouseworld-btn {
  border: none;
  cursor: pointer;
  font-weight: 700;
  border-radius: 12px;
  padding: 0.9rem 1.25rem;
  transition: var(--funhouseworld-transition);
}
.funhouseworld-btn-primary { background: linear-gradient(115deg, var(--funhouseworld-accent), #6fe5d8); color: #042026; }
.funhouseworld-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 32px rgba(56,192,186,0.25); }
.funhouseworld-btn-ghost { background: transparent; border: 1px solid var(--funhouseworld-border); color: var(--funhouseworld-ink); }
.funhouseworld-btn-ghost:hover { border-color: var(--funhouseworld-accent); color: var(--funhouseworld-accent); }
.funhouseworld-btn-soft { background: #0b243a; color: #f4f7fb; }
.funhouseworld-btn-soft:hover { background: #10304c; }
.funhouseworld-hero .funhouseworld-btn-ghost { border-color: rgba(255,255,255,0.28); color: #e8f3ff; }
.funhouseworld-hero .funhouseworld-btn-ghost:hover { border-color: #73e0d7; color: #73e0d7; }
.funhouseworld-cookie-banner .funhouseworld-btn-ghost { border-color: rgba(255,255,255,0.28); color: #e8f3ff; }
.funhouseworld-cookie-banner .funhouseworld-btn-ghost:hover { border-color: #73e0d7; color: #73e0d7; }

.funhouseworld-list { list-style: none; display: grid; gap: 0.5rem; color: var(--funhouseworld-muted); }
.funhouseworld-list i { color: var(--funhouseworld-accent); margin-right: 0.4rem; }

.funhouseworld-card-grid .funhouseworld-card { display: flex; flex-direction: column; }
.funhouseworld-card-image { border-radius: 14px; overflow: hidden; border: 1px solid var(--funhouseworld-border); }
.funhouseworld-card-image img { width: 100%; height: 180px; object-fit: cover; display: block; }
.funhouseworld-card-body { display: grid; gap: 0.55rem; padding-top: 0.9rem; }
.funhouseworld-card-compact { padding: 1.1rem; }

.funhouseworld-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.4rem; }
.funhouseworld-highlight {
  background: linear-gradient(135deg, #ffffff 0%, #f7fbff 100%);
  border: 1px solid var(--funhouseworld-border);
  border-radius: var(--funhouseworld-radius);
  padding: 1.4rem;
  box-shadow: var(--funhouseworld-shadow);
}

.funhouseworld-contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem; }
.funhouseworld-form-group { display: grid; gap: 0.4rem; }
.funhouseworld-form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.funhouseworld-input,
.funhouseworld-textarea,
.funhouseworld-select {
  background: #f9fbfd;
  border: 1px solid var(--funhouseworld-border);
  color: var(--funhouseworld-ink);
  padding: 0.9rem 0.95rem;
  border-radius: 10px;
  font: inherit;
  width: 100%;
}
.funhouseworld-input:focus,
.funhouseworld-textarea:focus,
.funhouseworld-select:focus { border-color: var(--funhouseworld-accent); outline: none; box-shadow: 0 0 0 3px rgba(56,192,186,0.18); }
.funhouseworld-input.error,
.funhouseworld-textarea.error { border-color: #c62828; }

.funhouseworld-legal { display: grid; gap: 0.9rem; color: var(--funhouseworld-muted); }
.funhouseworld-legal h2 { color: var(--funhouseworld-ink); font-size: 1.4rem; margin-top: 0.4rem; }

.funhouseworld-message { margin-top: 1rem; padding: 0.9rem 1rem; border-radius: 12px; }
.funhouseworld-alert-success { background: #e8f6f4; color: #0f4c46; border: 1px solid #b7e3dd; }
.funhouseworld-alert-error { background: #fdecef; color: #a52834; border: 1px solid #f5c6cb; }

.funhouseworld-cookie-banner {
  position: fixed;
  bottom: 18px;
  left: 18px;
  right: 18px;
  z-index: 90;
  max-width: 840px;
  margin: 0 auto;
  background: #0b243a;
  color: #e8f3ff;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--funhouseworld-radius);
  padding: 1.2rem 1.4rem;
  box-shadow: var(--funhouseworld-shadow);
  display: grid;
  gap: 0.9rem;
}
.funhouseworld-cookie-banner p { color: #dbe6f5; }
.funhouseworld-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  border-bottom: 1px dashed var(--funhouseworld-border);
  padding-bottom: 0.75rem;
}
.funhouseworld-toggle-row:last-child { border-bottom: none; padding-bottom: 0; }
.funhouseworld-toggle { display: flex; align-items: center; gap: 0.45rem; color: var(--funhouseworld-muted); }
.funhouseworld-toggle input { accent-color: var(--funhouseworld-accent); width: 18px; height: 18px; }

.funhouseworld-footer {
  background: #0b243a;
  color: #d8e6f3;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 2.4rem 5vw 2.1rem;
  margin-top: 1rem;
}
.funhouseworld-footer h3 { color: #ffffff; margin-bottom: 0.55rem; }
.funhouseworld-footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.4rem; }
.funhouseworld-sponsor,
.funhouseworld-disclaimer {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--funhouseworld-radius);
  padding: 1rem 1.2rem;
  color: #d8e6f3;
  margin-top: 1rem;
}
.funhouseworld-footer-bottom { text-align: center; color: #c1d2e6; font-size: 0.95rem; margin-top: 1rem; }

.funhouseworld-hint { color: var(--funhouseworld-muted); font-size: 0.95rem; }
.funhouseworld-meta { color: var(--funhouseworld-muted); font-size: 0.95rem; }

.funhouseworld-card-rows { display: grid; gap: 0.8rem; }
.funhouseworld-card-rows li { display: flex; align-items: flex-start; gap: 0.45rem; }
.funhouseworld-gap-md { margin-top: 1rem; }
.funhouseworld-gap-lg { margin-top: 1.4rem; }

@media (max-width: 980px) {
  .funhouseworld-burger { display: flex; z-index: 30; }
  .funhouseworld-nav {
    position: fixed;
    inset: 0;
    background: rgba(11,36,58,0.96);
    color: #e8f3ff;
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 10vw 2rem;
    transform: translateX(-100%);
    opacity: 0;
    pointer-events: none;
    transition: var(--funhouseworld-transition);
    z-index: 25;
    height: 100vh;
    overflow-y: auto;
  }
  .funhouseworld-nav.open { transform: translateX(0); opacity: 1; pointer-events: auto; }
  .funhouseworld-nav-list { flex-direction: column; align-items: flex-start; gap: 0.6rem; }
  .funhouseworld-nav-link { color: #dbe6f5; font-size: 1.05rem; }
  .funhouseworld-nav-link.active,
  .funhouseworld-nav-link:hover { background: rgba(255,255,255,0.08); color: #ffffff; }
  .funhouseworld-cta { width: 100%; justify-content: center; }
  .funhouseworld-content { padding: 1.4rem 6vw 3rem; }
  .funhouseworld-footer { padding: 2.2rem 6vw; }
}

@media (max-width: 640px) {
  body.funhouseworld-body { line-height: 1.6; }
  h1 { font-size: clamp(1.65rem, 7vw, 2.1rem); line-height: 1.3; }
  .funhouseworld-card-image img { height: 150px; }
  h1, h2, h3 { word-break: break-word; }
  .funhouseworld-toggle-row { flex-direction: column; align-items: flex-start; }
}

