/**
 * 🎃 MIKROCSODÁK MÚZEUMA - MIKROBORZONGÁS DESIGN SYSTEM
 * Pontos átültetés a feltöltött haloween.png és mobile.png látványtervek alapján.
 */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400..900;1,9..144,400..900&family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --mc-font-serif: 'Fraunces', Georgia, serif;
  --mc-font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Színpaletta a látványtervből */
  --mc-orange-hero-start: #ff9d42;
  --mc-orange-hero-mid: #f36c12;
  --mc-orange-hero-deep: #bc4605;
  --mc-orange-button: #e8590c;
  --mc-orange-button-hover: #d9480f;
  --mc-cream-bg: #fdf5ec;
  --mc-cream-card: #fef8f0;
  --mc-dark-card: #0d1522;
  --mc-dark-card-border: #1e293b;
  --mc-dark-section: #0b111e;
  --mc-gold: #f59e0b;
  --mc-gold-glow: rgba(245, 158, 11, 0.4);
  --mc-text-dark: #1f1b2e;
  --mc-text-light: #ffffff;
  --mc-text-muted: #64748b;
  --mc-radius-card: 20px;
  --mc-radius-btn: 30px;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--mc-font-sans);
  background-color: var(--mc-cream-bg);
  color: var(--mc-text-dark);
  -webkit-font-smoothing: antialiased;
}

/* Felső Navigációs Sáv (Desktop & Mobile) */
.mc-navbar {
  background-color: #0b111e;
  color: #fff;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.mc-navbar-brand img {
  height: 38px;
  width: auto;
  display: block;
}

.mc-nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
  font-size: 13px;
  font-weight: 500;
}

.mc-nav-links a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.15s;
}

.mc-nav-links a:hover {
  color: #fff;
}

.mc-nav-user {
  display: flex;
  align-items: center;
  gap: 14px;
}

.mc-user-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  color: #f1f5f9;
}

.mc-candies-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(232, 89, 12, 0.2);
  border: 1px solid rgba(232, 89, 12, 0.5);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 700;
  color: #fed7aa;
}

.mc-bell-icon {
  position: relative;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.mc-bell-badge {
  position: absolute;
  top: -4px;
  right: -6px;
  background: #ea580c;
  color: #fff;
  border-radius: 50%;
  width: 15px;
  height: 15px;
  font-size: 10px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #0b111e;
}

.mc-mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 26px;
  cursor: pointer;
}

/* HERO SZEKCIÓ */
.mc-hero-section {
  background: #0b111e url('./assets/foter.png') no-repeat center right;
  background-size: cover;
  position: relative;
  overflow: hidden;
  padding: 60px 20px 90px 20px;
  min-height: 500px;
  display: flex;
  align-items: center;
}

.mc-hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, rgba(11, 17, 30, 0.88) 0%, rgba(11, 17, 30, 0.6) 45%, rgba(11, 17, 30, 0.15) 85%);
  pointer-events: none;
  z-index: 1;
}

.mc-hero-container {
  max-width: 1080px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.mc-hero-content {
  flex: 1;
  max-width: 580px;
}

.mc-hero-title-img {
  max-width: 100%;
  width: 520px;
  height: auto;
  display: block;
  margin-bottom: 12px;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 25px rgba(247, 103, 7, 0.4));
}

.mc-hero-subtitle {
  font-family: var(--mc-font-serif);
  font-size: 26px;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
  margin: 0 0 6px 0;
  letter-spacing: -0.3px;
}

.mc-hero-tagline {
  font-family: var(--mc-font-serif);
  font-size: 16px;
  font-weight: 600;
  color: #fed7aa;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
  margin: 0 0 24px 0;
}

/* Fődíj Kártya a Heroban */
.mc-prize-card {
  background: rgba(255, 248, 240, 0.88);
  backdrop-filter: blur(8px);
  border: 1.5px solid #d9480f;
  border-radius: 16px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 10px 25px rgba(180, 50, 0, 0.25);
  margin-bottom: 24px;
}

.mc-prize-icon-img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  flex-shrink: 0;
}

.mc-prize-text {
  flex: 1;
}

.mc-prize-label {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #c2410c;
  margin-bottom: 2px;
}

.mc-prize-title {
  font-family: var(--mc-font-serif);
  font-size: 20px;
  font-weight: 800;
  color: #1e1b2e;
  margin: 0 0 4px 0;
  line-height: 1.2;
}

.mc-prize-date {
  font-size: 12px;
  font-weight: 600;
  color: #475569;
}

.mc-prize-guest {
  font-size: 11px;
  color: #64748b;
  margin-top: 2px;
}

/* Fő CTA gomb */
.mc-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #e8590c 0%, #c2410c 100%);
  color: #fff;
  border: none;
  border-radius: var(--mc-radius-btn);
  padding: 16px 36px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.5px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(194, 65, 12, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}

.mc-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(194, 65, 12, 0.55);
}

.mc-hero-visual {
  flex-shrink: 0;
  width: 380px;
  text-align: right;
}

.mc-hero-visual img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 15px 30px rgba(120, 30, 0, 0.35));
}

/* Általános Szekció Stílusok */
.mc-section-header {
  text-align: center;
  margin-bottom: 36px;
}

.mc-section-title {
  font-family: var(--mc-font-serif);
  font-size: 32px;
  font-weight: 800;
  color: #1e1b2e;
  margin: 0 0 8px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.mc-section-star {
  color: #f76707;
  font-size: 20px;
}

.mc-section-desc {
  font-size: 14px;
  color: #475569;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.5;
}

/* A 4 JÁTÉK RÁCS */
.mc-games-section {
  padding: 60px 20px;
  background-color: var(--mc-cream-bg);
  max-width: 1080px;
  margin: 0 auto;
}

.mc-games-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.mc-game-card {
  border-radius: var(--mc-radius-card);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  position: relative;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s;
}

.mc-game-card:hover {
  transform: translateY(-6px);
}

/* Világos Kártya (Játék 1 & 3) */
.mc-card-light {
  background: var(--mc-cream-card);
  border: 1px solid #fed7aa;
  box-shadow: 0 10px 25px rgba(249, 115, 22, 0.08);
  color: var(--mc-text-dark);
}

.mc-card-light:hover {
  box-shadow: 0 15px 35px rgba(249, 115, 22, 0.18);
  border-color: #f97316;
}

/* Sötét Kártya (Játék 2 & 4) */
.mc-card-dark {
  background: var(--mc-dark-card);
  border: 1px solid var(--mc-dark-card-border);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  color: #fff;
}

.mc-card-dark:hover {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.45);
  border-color: #38bdf8;
}

.mc-game-thumb {
  height: 95px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.mc-game-thumb img {
  max-height: 90px;
  max-width: 100%;
  object-fit: contain;
}

.mc-game-name {
  font-family: var(--mc-font-serif);
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 8px 0;
  line-height: 1.25;
}

.mc-game-summary {
  font-size: 12px;
  line-height: 1.45;
  margin: 0 0 16px 0;
  flex: 1;
}

.mc-card-light .mc-game-summary { color: #64748b; }
.mc-card-dark .mc-game-summary { color: #94a3b8; }

.mc-game-maxscore {
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 14px;
}

.mc-card-light .mc-game-maxscore { color: #334155; }
.mc-card-dark .mc-game-maxscore { color: #cbd5e1; }

.mc-btn-game {
  width: 100%;
  padding: 11px 14px;
  border-radius: var(--mc-radius-btn);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  transition: transform 0.15s, opacity 0.15s;
}

.mc-btn-game-orange, .mc-btn-play-orange {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--mc-radius-btn);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e8590c, #c2410c);
  color: #fff;
  box-shadow: 0 4px 12px rgba(232, 89, 12, 0.3);
  transition: transform 0.15s, box-shadow 0.15s;
}

.mc-btn-game-orange:hover, .mc-btn-play-orange:hover {
  background: linear-gradient(135deg, #f76707, #d9480f);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(232, 89, 12, 0.5);
}

.mc-btn-game-dark, .mc-btn-play-dark {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--mc-radius-btn);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #172133;
  color: #f8fafc;
  border: 1px solid #334155;
  transition: transform 0.15s, background 0.15s;
}

.mc-btn-game-dark:hover, .mc-btn-play-dark:hover {
  background: #1e293b;
  transform: translateY(-2px);
}



/* HALLOWEEN SZOMSZÉDSÁG SZEKCIÓ */
.mc-neighborhood-section {
  padding: 60px 20px;
  background: linear-gradient(180deg, var(--mc-cream-bg) 0%, #fef3e7 100%);
  max-width: 1080px;
  margin: 0 auto;
}

.mc-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 36px;
}

.mc-step-card {
  background: #ffffff;
  border: 1px solid #fed7aa;
  border-radius: var(--mc-radius-card);
  padding: 24px 20px;
  display: flex;
  gap: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

.mc-step-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e8590c;
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mc-step-body h4 {
  font-family: var(--mc-font-serif);
  font-size: 16px;
  font-weight: 800;
  margin: 0 0 6px 0;
  color: #1e1b2e;
}

.mc-step-body p {
  font-size: 12px;
  color: #64748b;
  margin: 0;
  line-height: 1.45;
}

.mc-step-icon {
  margin-top: 10px;
  height: 40px;
  display: flex;
  align-items: center;
}

.mc-step-icon img {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.mc-neighborhood-cta {
  text-align: center;
}

/* RANGLISTA SZEKCIÓ */
.mc-leaderboard-section {
  background: var(--mc-dark-section);
  border-radius: 28px;
  border: 1.5px solid #ff7518;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), 0 0 35px rgba(255, 117, 24, 0.2);
  padding: 36px 30px;
  max-width: 1000px;
  margin: 0 auto 60px auto;
  color: #fff;
}

.mc-leaderboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 16px;
}

.mc-leaderboard-title h3 {
  font-family: var(--mc-font-serif);
  font-size: 28px;
  font-weight: 800;
  margin: 0 0 6px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.mc-leaderboard-title p {
  margin: 0;
  font-size: 13px;
  color: #94a3b8;
}

.mc-btn-full-ranking {
  border: 1px solid #ff7518;
  background: transparent;
  color: #fff;
  border-radius: 20px;
  padding: 8px 18px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.mc-leaderboard-body {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 32px;
  align-items: flex-end;
}

/* Dobogók (#2 Ezüst, #1 Arany, #3 Bronz) */
.mc-podium-stage {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;
  padding-bottom: 0;
}

.mc-podium-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

.mc-podium-img {
  width: 100%;
  max-width: 175px;
  height: auto;
  display: block;
}

.mc-podium-col-gold .mc-podium-img {
  max-width: 185px;
}

/* 4-10 Helyezettek Táblázata */
.mc-ranking-table {
  width: 100%;
  font-size: 13px;
  border-collapse: collapse;
}

.mc-ranking-table tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mc-ranking-table td {
  padding: 10px 8px;
}

.mc-rank-num {
  width: 24px;
  color: #94a3b8;
  font-weight: 700;
}

.mc-rank-name {
  font-weight: 600;
  color: #f1f5f9;
}

.mc-rank-pts {
  text-align: right;
  font-weight: 700;
  color: #cbd5e1;
}

/* LÁBLÉC VISSZASZÁMLÁLÓ SÁV */
.mc-countdown-bar {
  background: radial-gradient(circle at 50% 0%, #ffa94d 0%, #f76707 60%, #d9480f 100%);
  padding: 24px 20px;
  color: #1e1b2e;
}

.mc-countdown-container {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.mc-timer-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mc-timer-label {
  font-family: var(--mc-font-serif);
  font-size: 20px;
  font-weight: 800;
}

.mc-timer-boxes {
  display: flex;
  gap: 8px;
}

.mc-timer-box {
  background: #ffc078;
  border-radius: 8px;
  padding: 8px 10px;
  text-align: center;
  min-width: 44px;
}

.mc-timer-val {
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
}

.mc-timer-unit {
  font-size: 10px;
  font-weight: 600;
  color: #7c2d12;
  margin-top: 2px;
}

.mc-footer-links {
  display: flex;
  gap: 16px;
  font-size: 12px;
  font-weight: 600;
}

.mc-footer-links a {
  color: #3b2a1a;
  text-decoration: none;
}

.mc-social-icons {
  display: flex;
  gap: 12px;
  font-size: 18px;
}

/* ========================================================
   RESPONSIVE (MOBILE NÉZET - PONTOSAN A mobile.png ALAPJÁN)
   ======================================================== */
@media (max-width: 860px) {
  .mc-nav-links, .mc-nav-user {
    display: none;
  }

  .mc-mobile-menu-btn {
    display: block;
  }

  .mc-hero-container {
    flex-direction: column;
    text-align: center;
  }

  .mc-hero-content {
    max-width: 100%;
  }

  .mc-hero-title-img {
    margin: 0 auto 12px auto;
    width: 90%;
  }

  .mc-hero-visual {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    text-align: center;
  }

  .mc-prize-card {
    text-align: left;
  }

  .mc-games-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .mc-steps-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .mc-leaderboard-body {
    grid-template-columns: 1fr;
  }

  .mc-countdown-container {
    flex-direction: column;
    text-align: center;
  }
}

  text-align: center;
  min-width: 44px;
}

.mc-timer-val {
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
}

.mc-timer-unit {
  font-size: 10px;
  font-weight: 600;
  color: #7c2d12;
  margin-top: 2px;
}

.mc-footer-links {
  display: flex;
  gap: 16px;
  font-size: 12px;
  font-weight: 600;
}

.mc-footer-links a {
  color: #3b2a1a;
  text-decoration: none;
}

.mc-social-icons {
  display: flex;
  gap: 12px;
  font-size: 18px;
}

/* ========================================================
   RESPONSIVE (MOBILE NÉZET - PONTOSAN A mobile.png ALAPJÁN)
   ======================================================== */
@media (max-width: 860px) {
  .mc-nav-links, .mc-nav-user {
    display: none;
  }

  .mc-mobile-menu-btn {
    display: block;
  }

  .mc-hero-container {
    flex-direction: column;
    text-align: center;
  }

  .mc-hero-content {
    max-width: 100%;
  }

  .mc-hero-title-img {
    margin: 0 auto 12px auto;
    width: 90%;
  }

  .mc-hero-visual {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    text-align: center;
  }

  .mc-prize-card {
    text-align: left;
  }

  .mc-games-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .mc-steps-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .mc-leaderboard-body {
    grid-template-columns: 1fr;
  }

  .mc-countdown-container {
    flex-direction: column;
    text-align: center;
  }
}

/* Lebegő Halloweeni Widget */
#al-halloween-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
}

.al-hw-widget-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #0d1522;
  border: 1.5px solid #ff7518;
  border-radius: 40px;
  padding: 10px 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 16px rgba(255, 117, 24, 0.35);
  cursor: pointer;
  color: #fff;
  transition: transform 0.2s, box-shadow 0.2s;
}

.al-hw-widget-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.6), 0 0 24px rgba(255, 117, 24, 0.5);
}

.al-hw-widget-icon {
  font-size: 24px;
  position: relative;
  display: flex;
  align-items: center;
}

.al-hw-widget-info {
  display: flex;
  flex-direction: column;
}

.al-hw-widget-title {
  font-size: 11px;
  color: #94a3b8;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.al-hw-widget-candies {
  font-size: 14px;
  font-weight: 800;
  color: #fed7aa;
}

er-spacing: 0.5px;
}

.al-hw-widget-candies {
  font-size: 14px;
  font-weight: 800;
  color: #fed7aa;
}

/* Szomszédság modal */
body.al-hw-modal-open {
  overflow: hidden;
}

.al-hw-hub-overlay {
  position: fixed;
  inset: 0;
  z-index: 99998;
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: min(1120px, calc(100vw - 32px));
  max-height: min(880px, calc(100vh - 32px));
  margin: auto;
  padding: 24px;
  box-sizing: border-box;
  overflow: auto;
  color: #f8fafc;
  background:
    radial-gradient(circle at 12% 0%, rgba(249, 115, 22, 0.2), transparent 34%),
    radial-gradient(circle at 92% 10%, rgba(246, 196, 69, 0.14), transparent 28%),
    linear-gradient(180deg, rgba(12, 16, 26, 0.98), rgba(5, 8, 13, 0.98));
  border: 1px solid rgba(240, 177, 94, 0.34);
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.78), 0 0 0 9999px rgba(4, 7, 12, 0.72);
}

.al-hw-hub-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  padding-right: 46px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(240, 177, 94, 0.2);
}

.al-hw-hub-title-group {
  max-width: 720px;
}

.al-hw-kicker {
  display: block;
  margin-bottom: 6px;
  color: #f0b15e;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.al-hw-hub-title-group h2 {
  margin: 0 0 8px;
  color: #fff5ea;
  font-family: var(--mc-font-serif, Georgia, serif);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
}

.al-hw-hub-title-group p {
  margin: 0;
  color: #cbd5e1;
  font-size: 14px;
  line-height: 1.55;
}

.al-hw-close-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(240, 177, 94, 0.35);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #fff5ea;
  cursor: pointer;
  font-size: 18px;
  font-weight: 800;
}

.al-hw-close-btn:hover {
  background: rgba(249, 115, 22, 0.22);
}

.al-hw-quota-card,
.al-hw-how {
  display: grid;
  gap: 12px;
}

.al-hw-quota-card {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.al-hw-quota-card > div,
.al-hw-how > div {
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid rgba(240, 177, 94, 0.22);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.055);
}

.al-hw-quota-label {
  display: block;
  margin-bottom: 5px;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.al-hw-quota-card strong {
  color: #fed7aa;
  font-size: 15px;
}

.al-hw-how {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.al-hw-how > div {
  color: #dbe6f3;
  font-size: 13px;
  line-height: 1.45;
}

.al-hw-how strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-right: 6px;
  border-radius: 50%;
  background: #f0b15e;
  color: #111827;
  font-size: 12px;
}

.al-hw-panel-title {
  margin: 4px 0 -6px;
  color: #fff5ea;
  font-family: var(--mc-font-serif, Georgia, serif);
  font-size: 22px;
}

.al-hw-street-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
}

.al-hw-door-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 176px;
  padding: 16px;
  border: 1px solid rgba(240, 177, 94, 0.24);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.035)),
    radial-gradient(circle at 88% 12%, rgba(249, 115, 22, 0.16), transparent 38%);
}

.al-hw-door-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.al-hw-door-graphic {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(240, 177, 94, 0.12);
  font-size: 24px;
}

.al-hw-door-avatar-name {
  color: #fff5ea;
  font-size: 15px;
  font-weight: 850;
}

.al-hw-door-helper {
  margin-top: 3px;
  color: #94a3b8;
  font-size: 12px;
}

.al-hw-door-score {
  margin-top: auto;
  color: #cbd5e1;
  font-size: 13px;
}

.al-hw-door-score span {
  color: #f0b15e;
  font-size: 24px;
  font-weight: 900;
}

.al-hw-knock-btn {
  width: 100%;
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #e8712a, #b8410f);
  color: #fff;
  cursor: pointer;
  font-weight: 900;
}

.al-hw-knock-btn:hover {
  filter: brightness(1.08);
}

.al-hw-empty-state {
  grid-column: 1 / -1;
  padding: 28px 18px;
  border: 1px dashed rgba(240, 177, 94, 0.35);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: #cbd5e1;
  text-align: center;
}

.al-hw-empty-state strong {
  display: block;
  margin-bottom: 6px;
  color: #fff5ea;
}

.al-hw-empty-state span,
.al-hw-muted {
  color: #94a3b8;
  font-size: 13px;
}

.al-hw-leaderboard-card {
  padding: 16px;
  border: 1px solid rgba(240, 177, 94, 0.22);
  border-radius: 12px;
  background: rgba(3, 7, 18, 0.45);
}

.al-hw-leaderboard-card h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 12px;
  color: #fff5ea;
  font-size: 16px;
}

.al-hw-leaderboard-card h3 span:last-child {
  color: #94a3b8;
  font-size: 12px;
  font-weight: 600;
}

.al-hw-leaderboard-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.al-hw-leaderboard-table th,
.al-hw-leaderboard-table td {
  padding: 10px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
}

.al-hw-leaderboard-table th {
  color: #94a3b8;
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.al-hw-rank-gold { color: #f6c445; font-weight: 900; }
.al-hw-rank-silver { color: #d7dee9; font-weight: 900; }
.al-hw-rank-bronze { color: #d99055; font-weight: 900; }
.al-hw-top3-badge {
  display: inline-flex;
  margin-left: 8px;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(246, 196, 69, 0.12);
  color: #f6c445;
  font-size: 10px;
  font-weight: 800;
}

@media (max-width: 760px) {
  .al-hw-hub-overlay {
    width: calc(100vw - 20px);
    max-height: calc(100vh - 20px);
    padding: 18px;
    border-radius: 14px;
  }

  .al-hw-hub-header {
    padding-right: 44px;
  }

  .al-hw-leaderboard-card h3 {
    flex-direction: column;
    align-items: flex-start;
  }

  .al-hw-close-btn {
    top: 18px;
    right: 18px;
  }

  .al-hw-quota-card,
  .al-hw-how {
    grid-template-columns: 1fr;
  }

  .al-hw-leaderboard-table,
  .al-hw-leaderboard-table thead,
  .al-hw-leaderboard-table tbody,
  .al-hw-leaderboard-table tr,
  .al-hw-leaderboard-table td {
    display: block;
  }

  .al-hw-leaderboard-table thead {
    display: none;
  }

  .al-hw-leaderboard-table tr {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .al-hw-leaderboard-table td {
    padding: 4px 0;
    border-bottom: 0;
  }
}



/* ==========================================================================
   🎃 ARENALIVE B2B MINI-GAME SUITE STYLES
   ========================================================================== */
#al-game-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(7, 10, 18, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: alFadeIn 0.25s ease-out;
}

@keyframes alFadeIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

.al-game-container {
  max-width: 820px;
  width: 100%;
  background: #0f172a;
  border: 2px solid #f97316;
  border-radius: 20px;
  box-shadow: 0 0 50px rgba(249, 115, 22, 0.35), 0 20px 40px rgba(0, 0, 0, 0.8);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.al-game-header {
  padding: 18px 24px;
  background: #1e293b;
  border-bottom: 1px solid rgba(249, 115, 22, 0.3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.al-game-title {
  font-family: 'Cinzel', serif;
  font-size: 20px;
  font-weight: 800;
  color: #fdba74;
}

.al-game-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.al-meta-badge {
  background: #0b111e;
  border: 1px solid #334155;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 700;
  color: #f8fafc;
}

.al-score-badge {
  border-color: #f97316;
  color: #fdba74;
}

.al-game-close {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
  padding: 0 6px;
  transition: color 0.15s;
}
.al-game-close:hover { color: #f8fafc; }

.al-game-canvas-area {
  padding: 24px;
  min-height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 50%, #1e293b 0%, #090d16 100%);
  position: relative;
  overflow: hidden;
}

/* 1. Puzzle stílusok */
.al-puzzle-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
}
.al-puzzle-hint {
  font-size: 14px;
  color: #cbd5e1;
  text-align: center;
}
.al-puzzle-grid {
  display: grid;
  gap: 6px;
  width: 320px;
  height: 320px;
  background: #0b111e;
  padding: 8px;
  border-radius: 12px;
  border: 1.5px solid #475569;
}
.al-puzzle-tile {
  background: #1e293b;
  border-radius: 8px;
  border: 2px solid #334155;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
  overflow: hidden;
}
.al-puzzle-tile:hover {
  border-color: #f97316;
  transform: scale(1.03);
}
.al-tile-selected {
  border-color: #f97316 !important;
  box-shadow: 0 0 15px rgba(249, 115, 22, 0.8);
}
.al-tile-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #1e1b4b;
  background-image: radial-gradient(#6366f1 1px, transparent 1px);
  background-size: 12px 12px;
}
.al-tile-num {
  font-size: 24px;
  font-weight: 900;
  color: #fed7aa;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

/* 5. MikroKvíz stílusok */
.al-quiz-wrapper {
  width: min(680px, 100%);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.al-quiz-progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 700;
}

.al-quiz-progress strong {
  color: #f6c445;
}

.al-quiz-card {
  padding: 24px;
  border: 1px solid rgba(240, 177, 94, 0.3);
  border-radius: 16px;
  background:
    radial-gradient(circle at 10% 0%, rgba(249, 115, 22, 0.16), transparent 36%),
    rgba(3, 7, 18, 0.56);
}

.al-quiz-card h3 {
  margin: 0 0 18px;
  color: #fff5ea;
  font-family: var(--mc-font-serif, Georgia, serif);
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.2;
}

.al-quiz-options {
  display: grid;
  gap: 10px;
}

.al-quiz-option {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.78);
  color: #e5edf6;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  text-align: left;
}

.al-quiz-option span {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(240, 177, 94, 0.16);
  color: #f0b15e;
  font-size: 12px;
  font-weight: 900;
}

.al-quiz-option:hover:not(:disabled) {
  border-color: #f0b15e;
  background: rgba(240, 177, 94, 0.1);
}

.al-quiz-option.is-correct {
  border-color: #22c55e;
  background: rgba(34, 197, 94, 0.16);
  color: #dcfce7;
}

.al-quiz-option.is-wrong {
  border-color: #ef4444;
  background: rgba(239, 68, 68, 0.14);
  color: #fee2e2;
}

.al-quiz-feedback {
  min-height: 22px;
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

/* 2. Búra (Cloche) stílusok */
.al-cloche-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
}
.al-cloche-instruction {
  font-size: 15px;
  font-weight: 600;
  color: #fed7aa;
}
.al-cloche-table {
  display: flex;
  justify-content: center;
  gap: 36px;
  align-items: flex-end;
  height: 220px;
}
.al-cloche-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.al-cloche-glass {
  width: 100px;
  height: 130px;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(254, 215, 170, 0.4);
  border-radius: 50px 50px 8px 8px;
  backdrop-filter: blur(4px);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  z-index: 3;
  transition: transform 0.4s ease;
}
.al-cloche-lifted {
  transform: translateY(-80px);
}
.al-cloche-content {
  position: absolute;
  bottom: 24px;
  font-size: 38px;
  z-index: 2;
  filter: drop-shadow(0 0 10px rgba(250, 204, 21, 0.8));
}
.al-cloche-base {
  width: 115px;
  height: 14px;
  background: #78350f;
  border: 1px solid #d97706;
  border-radius: 4px;
  z-index: 1;
}
.al-cloche-status {
  font-size: 14px;
  font-weight: 700;
  color: #f8fafc;
}

/* 3. Szellemvadász stílusok */
.al-hunter-stage {
  width: 100%;
  height: 380px;
  background: #030712;
  border-radius: 12px;
  position: relative;
  cursor: crosshair;
  overflow: hidden;
  border: 1px solid #1e293b;
}
.al-hunter-crosshair {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.88), 0 0 30px rgba(249, 115, 22, 0.6);
  border: 2px dashed rgba(249, 115, 22, 0.8);
  transition: width 0.1s, height 0.1s;
}
.al-hunter-hint {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  font-size: 13px;
  color: #fdba74;
  text-align: center;
  z-index: 10;
  pointer-events: none;
}
.al-micro-ghost {
  position: absolute;
  font-size: 36px;
  cursor: pointer;
  user-select: none;
  animation: ghostFloat 1s infinite alternate;
}
@keyframes ghostFloat {
  from { transform: translateY(0); }
  to { transform: translateY(-8px); }
}
.al-ghost-banished {
  transform: scale(1.6) rotate(20deg);
  opacity: 0;
  transition: all 0.2s ease-out;
}

/* 4. Különbségkereső (Frames) stílusok */
.al-frames-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  width: 100%;
}
.al-frames-hint {
  width: min(100%, 980px);
  font-size: 15px;
  line-height: 1.45;
  color: #f7d8ad;
  background: linear-gradient(135deg, rgba(24, 18, 15, 0.82), rgba(9, 14, 25, 0.82));
  border: 1px solid rgba(240, 177, 94, 0.32);
  border-radius: 10px;
  padding: 10px 14px;
  text-align: center;
}
.al-frames-duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 18px;
  width: min(100%, 980px);
  align-items: start;
}
.al-frame-box {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
}
.al-frame-badge {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 900;
  color: #f8d8aa;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.al-frame-art {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #0f172a url('/kampanyok/haloween/assets/game-frames.png') no-repeat center;
  background-size: cover;
  border: 1px solid rgba(240, 177, 94, 0.55);
  border-radius: 10px;
  position: relative;
  cursor: crosshair;
  overflow: hidden;
  box-shadow:
    inset 0 0 38px rgba(0, 0, 0, 0.5),
    0 16px 38px rgba(0, 0, 0, 0.38);
}
.al-frame-art::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 48% 46%, rgba(255, 255, 255, 0.08), transparent 34%),
    linear-gradient(135deg, rgba(240, 177, 94, 0.08), transparent 42%, rgba(15, 23, 42, 0.2));
  mix-blend-mode: screen;
}
.al-diff-zone {
  position: absolute;
  width: clamp(34px, 7.4vw, 54px);
  height: clamp(34px, 7.4vw, 54px);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: 2;
}
.al-diff-zone:hover {
  outline: 1px solid rgba(250, 204, 21, 0.38);
  outline-offset: 4px;
}
.al-diff-found {
  border: 3px solid #7dd3fc !important;
  background: radial-gradient(circle, rgba(125, 211, 252, 0.18), rgba(34, 197, 94, 0.08) 58%, transparent 60%);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.22), 0 0 24px rgba(125, 211, 252, 0.85);
  animation: pulseDiff 1s infinite;
}
.al-diff-found::after {
  content: '';
  position: absolute;
  inset: 9px;
  border-radius: 50%;
  border: 2px solid rgba(250, 204, 21, 0.95);
}
@media (max-width: 760px) {
  .al-frames-duo { grid-template-columns: 1fr; }
}
@keyframes pulseDiff {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.15); }
}

/* Győzelmi képernyő */
.al-victory-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  animation: alFadeIn 0.3s ease;
}
.al-victory-badge {
  font-size: 13px;
  font-weight: 800;
  color: #22c55e;
  background: rgba(34, 197, 94, 0.15);
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid #22c55e;
}
.al-victory-score {
  font-family: 'Cinzel', serif;
  font-size: 42px;
  font-weight: 900;
  color: #fdba74;
  margin: 0;
  text-shadow: 0 0 20px rgba(249, 115, 22, 0.6);
}
.al-victory-msg {
  color: #cbd5e1;
  font-size: 15px;
  margin: 0;
}
.al-victory-treat {
  background: #1e293b;
  border: 1.5px solid #f97316;
  border-radius: 12px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #f8fafc;
}
.al-victory-actions {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}
.al-btn-action {
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  border: 1px solid #475569;
  background: #1e293b;
  color: #f8fafc;
  transition: all 0.15s;
}
.al-btn-action:hover {
  background: #334155;
}
.al-btn-primary {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  border: none;
  box-shadow: 0 4px 15px rgba(249, 115, 22, 0.4);
}
.al-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.6);
}

/* További finomítások a 4 alapjátékhoz */
.al-puzzle-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  max-width: 440px;
}
.al-puzzle-preview-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}
.al-puzzle-thumb {
  width: 58px;
  height: 58px;
  border-radius: 8px;
  border: 2px solid #f59e0b;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
}
.al-puzzle-thumb-label {
  font-size: 10px;
  font-weight: 700;
  color: #f59e0b;
  margin-top: 3px;
}
.al-puzzle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  width: 320px;
  height: 320px;
  background: #0b111e;
  padding: 10px;
  border-radius: 14px;
  border: 2px solid #d97706;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.7);
}
.al-tile-art {
  width: 100%;
  height: 100%;
  background-size: 300% 300%;
  background-repeat: no-repeat;
  border-radius: 6px;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 4px;
}
.al-tile-correct {
  border-color: #22c55e !important;
}
.al-puzzle-status {
  font-size: 13px;
  color: #cbd5e1;
}
.al-relic-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fbbf24;
  box-shadow: 0 0 20px rgba(251, 191, 36, 0.9);
}
.al-hunter-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.22;
  filter: blur(2px) grayscale(40%);
  pointer-events: none;
}


/* ========================================================================= */
/* PREMIUM SZELLEMVADÁSZ REDESIGN (1:1 A LÁTVÁNYTERV ALAPJÁN)               */
/* ========================================================================= */
.al-ghost-modal-frame {
  max-width: 980px !important;
  width: 96vw !important;
  background: #060911 !important;
  border: 1.5px solid rgba(240, 177, 94, 0.45) !important;
  border-radius: 20px !important;
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.95), 0 0 35px rgba(217, 72, 15, 0.25) !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  color: #f5eadb !important;
  position: relative !important;
}

.al-gh-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  background: rgba(5, 8, 16, 0.96);
  border-bottom: 1px solid rgba(240, 177, 94, 0.25);
  z-index: 20;
}
.al-gh-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}
.al-gh-title-icon {
  font-size: 24px;
  filter: drop-shadow(0 0 8px rgba(240, 177, 94, 0.6));
}
.al-gh-title {
  font-family: var(--font-fraunces, 'Cinzel', serif);
  font-size: 20px;
  font-weight: 800;
  color: #fed7aa;
  letter-spacing: 0.8px;
  line-height: 1.1;
  text-shadow: 0 2px 6px rgba(0,0,0,0.8);
}
.al-gh-subtitle {
  font-size: 11px;
  color: #94a3b8;
  letter-spacing: 0.4px;
  margin-top: 1px;
}
.al-gh-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.al-gh-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(240, 177, 94, 0.35);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 700;
  color: #f5eadb;
  box-shadow: inset 0 0 8px rgba(0,0,0,0.5);
}
.al-gh-badge-icon {
  font-size: 14px;
}
.al-gh-badge-label {
  font-size: 10px;
  font-weight: 800;
  color: #cbd5e1;
  letter-spacing: 0.5px;
}
.al-gh-badge-val {
  color: #fed7aa;
  font-family: var(--font-fraunces, serif);
  font-size: 15px;
  letter-spacing: 0.3px;
}
.al-gh-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(240, 177, 94, 0.45);
  background: rgba(0, 0, 0, 0.55);
  color: #fed7aa;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.al-gh-close-btn:hover {
  background: rgba(220, 38, 38, 0.3);
  border-color: #ef4444;
  color: #fca5a5;
  transform: scale(1.08);
}

.al-gh-stage-wrapper {
  position: relative;
  width: 100%;
  height: 480px;
  overflow: hidden;
  background: #03060d;
  user-select: none;
}
.al-gh-stage {
  position: relative;
  width: 100%;
  height: 100%;
  cursor: crosshair;
}
.al-gh-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center bottom;
  z-index: 1;
}

/* 4 Múzeumi Arany Névtábla */
.al-gh-plaque {
  position: absolute;
  bottom: 12px;
  z-index: 4;
  font-family: var(--font-fraunces, 'Cinzel', serif);
  font-size: 9px;
  font-weight: 700;
  color: #f1f5f9;
  letter-spacing: 0.5px;
  background: rgba(15, 12, 8, 0.82);
  border: 1px solid rgba(217, 119, 6, 0.6);
  border-radius: 4px;
  padding: 3px 8px;
  text-shadow: 0 1px 3px #000;
  box-shadow: 0 3px 8px rgba(0,0,0,0.8);
  pointer-events: none;
  text-transform: uppercase;
}
.al-plaque-camel { left: 24%; transform: translateX(-50%); }
.al-plaque-chess { left: 50%; transform: translateX(-50%); border-color: rgba(245, 158, 11, 0.85); box-shadow: 0 0 10px rgba(245, 158, 11, 0.4); }
.al-plaque-coca { left: 72%; transform: translateX(-50%); }
.al-plaque-flea { left: 88%; transform: translateX(-50%); }

/* Dinamikus sötétség & Lámpafény réteg */
.al-gh-darkness {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}
.al-gh-spotlight {
  position: absolute;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 6;
  border: 1.5px solid rgba(240, 177, 94, 0.5);
  box-shadow: 0 0 45px rgba(56, 189, 248, 0.4), inset 0 0 30px rgba(255, 255, 255, 0.15);
  transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease;
}
.al-gh-spotlight.super-beam {
  border-color: #38bdf8 !important;
  box-shadow: 0 0 70px rgba(56, 189, 248, 0.75), inset 0 0 50px rgba(255, 255, 255, 0.35) !important;
}

/* Fagyasztás overlay */
.al-gh-frost {
  position: absolute;
  inset: 0;
  z-index: 8;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
  background: radial-gradient(circle, transparent 35%, rgba(56, 189, 248, 0.35) 85%, rgba(14, 165, 233, 0.7) 100%);
  backdrop-filter: blur(1.5px);
}
.al-gh-frost.active {
  opacity: 1;
}

/* Felső Pergamen Útmutató Sáv */
.al-gh-parchment {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 7;
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, rgba(254, 243, 199, 0.95) 0%, rgba(253, 230, 138, 0.95) 100%);
  border: 1.5px solid rgba(180, 83, 9, 0.45);
  border-radius: 12px;
  padding: 8px 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.75), inset 0 0 10px rgba(217, 119, 6, 0.25);
  max-width: 530px;
  pointer-events: none;
}
.al-gh-parchment-mascot {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.3));
}
.al-gh-parchment-body {
  font-size: 11.5px;
  color: #451a03;
  line-height: 1.35;
}
.al-gh-parchment-heading {
  font-weight: 800;
  font-family: var(--font-fraunces, serif);
  font-size: 12.5px;
  color: #78350f;
  margin-bottom: 1px;
}
.al-gh-parchment-sub {
  color: #573010;
  font-weight: 600;
}

/* Csokicsapda csalétek */
.al-gh-bait {
  position: absolute;
  left: 50%;
  top: 52%;
  transform: translate(-50%, -50%);
  font-size: 38px;
  z-index: 6;
  filter: drop-shadow(0 0 20px #f97316);
  animation: alBaitBounce 1s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}
@keyframes alBaitBounce {
  from { transform: translate(-50%, -50%) scale(0.9); }
  to { transform: translate(-50%, -65%) scale(1.15); }
}

/* Transzparens Szellem Sprite-ok */
.al-gh-ghost-sprite {
  position: absolute;
  width: 82px;
  height: 96px;
  transform: translate(-50%, -50%);
  cursor: pointer;
  z-index: 6;
  user-select: none;
  border-radius: 46% 46% 38% 38%;
  background:
    radial-gradient(circle at 34% 31%, rgba(255, 255, 255, 0.18), transparent 10%),
    radial-gradient(circle at 64% 33%, rgba(255, 255, 255, 0.14), transparent 10%),
    linear-gradient(145deg, rgba(7, 13, 28, 0.96), rgba(24, 33, 54, 0.9) 46%, rgba(5, 7, 13, 0.96));
  clip-path: polygon(50% 0%, 70% 8%, 86% 27%, 92% 56%, 82% 86%, 67% 74%, 55% 95%, 43% 75%, 28% 96%, 19% 74%, 7% 88%, 10% 50%, 16% 24%, 30% 8%);
  box-shadow:
    inset 0 10px 26px rgba(255, 255, 255, 0.08),
    inset 0 -20px 24px rgba(0, 0, 0, 0.5),
    0 0 28px rgba(14, 165, 233, 0.38),
    0 12px 20px rgba(0, 0, 0, 0.7);
  transition: opacity 0.2s ease, filter 0.2s ease, transform 0.2s ease;
  animation: alGhostBob 2.2s infinite ease-in-out alternate;
}
.al-gh-ghost-sprite::before {
  content: '';
  position: absolute;
  inset: 7px 9px 18px;
  border-radius: 44% 44% 35% 35%;
  background:
    radial-gradient(circle at 33% 35%, #f8fafc 0 5px, #020617 6px 9px, transparent 10px),
    radial-gradient(circle at 67% 35%, #f8fafc 0 5px, #020617 6px 9px, transparent 10px),
    radial-gradient(ellipse at 50% 67%, rgba(248, 113, 113, 0.5), transparent 18%),
    linear-gradient(160deg, rgba(148, 163, 184, 0.36), rgba(15, 23, 42, 0.1));
}
.al-gh-ghost-sprite::after {
  content: '';
  position: absolute;
  inset: -11px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(125, 211, 252, 0.25), transparent 62%);
  z-index: -1;
}
.al-gh-wraith {
  width: 96px;
  height: 108px;
  background: linear-gradient(145deg, rgba(23, 37, 84, 0.98), rgba(2, 6, 23, 0.96));
}
.al-gh-mask {
  width: 78px;
  height: 90px;
  background: linear-gradient(145deg, rgba(69, 10, 10, 0.98), rgba(15, 23, 42, 0.94));
}
.al-gh-eye {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  clip-path: ellipse(48% 39% at 50% 50%);
  background:
    radial-gradient(circle at 50% 50%, #020617 0 9px, #facc15 10px 18px, #7f1d1d 19px 31px, rgba(2, 6, 23, 0.98) 32px);
}
.al-gh-eye::before {
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, #020617 0 8px, #f8fafc 9px 12px, transparent 13px);
}
.al-gh-fracture {
  width: 92px;
  height: 104px;
  background:
    linear-gradient(52deg, transparent 47%, rgba(248, 250, 252, 0.35) 48% 50%, transparent 51%),
    linear-gradient(145deg, rgba(39, 39, 42, 0.98), rgba(3, 7, 18, 0.96));
}
.al-gh-entity-eye,
.al-gh-entity-mouth,
.al-gh-entity-claw {
  display: none;
}
.al-gh-ghost-sprite.in-darkness {
  opacity: 0.32;
  filter: saturate(0.65) brightness(0.62) drop-shadow(0 0 10px rgba(56, 189, 248, 0.45));
}
.al-gh-ghost-sprite.under-light {
  opacity: 0.98;
  filter: drop-shadow(0 0 22px rgba(125, 211, 252, 0.95)) brightness(1.28) contrast(1.1);
}
.al-gh-ghost-sprite.radar-ping {
  opacity: 0.95 !important;
  filter: drop-shadow(0 0 25px rgba(56, 189, 248, 1)) !important;
}
.al-gh-ghost-sprite.radar-ping::after {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 2px dashed #38bdf8;
  animation: alRadarSpin 1.5s linear infinite;
}
@keyframes alRadarSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes alGhostBob {
  from { transform: translateY(0px) rotate(-3deg); }
  to { transform: translateY(-12px) rotate(3deg); }
}
.al-ghost-banished {
  animation: alGhostBanish 0.22s forwards ease-out !important;
}
@keyframes alGhostBanish {
  0% { transform: translate(-50%, -50%) scale(1); filter: brightness(2.5) drop-shadow(0 0 35px #38bdf8); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(1.6); opacity: 0; filter: brightness(3); }
}

/* Szellemesszencia részecskék */
.al-gh-sparkle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 10;
  animation: alSparkleFloat 0.75s forwards ease-out;
}
@keyframes alSparkleFloat {
  0% { transform: translate(0, 0) scale(1); opacity: 1; }
  100% { transform: translate(var(--tx), var(--ty)) scale(0); opacity: 0; }
}

/* Lebegő pontszám felugró */
.al-gh-score-popup {
  position: absolute;
  font-family: var(--font-fraunces, serif);
  font-weight: 900;
  font-size: 22px;
  color: #fbbf24;
  text-shadow: 0 0 14px rgba(251, 191, 36, 0.9), 0 2px 5px #000;
  pointer-events: none;
  z-index: 11;
  transform: translate(-50%, -50%);
  animation: alScoreRise 0.75s forwards cubic-bezier(0.2, 0.8, 0.2, 1);
  white-space: nowrap;
}
@keyframes alScoreRise {
  0% { opacity: 0; transform: translate(-50%, 0) scale(0.6); }
  20% { opacity: 1; transform: translate(-50%, -18px) scale(1.15); }
  100% { opacity: 0; transform: translate(-50%, -50px) scale(0.9); }
}

/* Alsó sáv (Footer) */
.al-gh-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  background: rgba(5, 8, 16, 0.98);
  border-top: 1px solid rgba(240, 177, 94, 0.25);
  gap: 16px;
  flex-wrap: wrap;
  z-index: 20;
}

/* Combo & Paranormális Aktivitás Mérő */
.al-gh-combo-box {
  display: flex;
  align-items: center;
  gap: 14px;
}
.al-gh-combo-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.al-gh-combo-title {
  font-size: 10px;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: 1px;
}
.al-gh-combo-multiplier {
  font-family: var(--font-fraunces, serif);
  font-size: 22px;
  font-weight: 800;
  color: #f59e0b;
  line-height: 1;
}
.al-gh-meter-track {
  width: 150px;
  height: 12px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(240, 177, 94, 0.35);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  box-shadow: inset 0 1px 4px rgba(0,0,0,0.8);
}
.al-gh-meter-fill {
  height: 100%;
  background: linear-gradient(90deg, #f59e0b, #ef4444);
  border-radius: 4px;
  transition: width 0.25s ease;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.6);
}
.al-gh-meter-ghost {
  font-size: 18px;
  margin-left: 8px;
  filter: drop-shadow(0 0 6px rgba(245, 158, 11, 0.8));
  transition: transform 0.2s;
}
.al-gh-meter-ghost.pulse {
  animation: alGhostPulse 0.4s infinite alternate;
}
@keyframes alGhostPulse {
  from { transform: scale(1); }
  to { transform: scale(1.35) rotate(10deg); }
}

/* 4 Powerup gomb */
.al-gh-powerups {
  display: flex;
  align-items: center;
  gap: 12px;
}
.al-gh-pwr-btn {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.85);
  border: 1.5px solid rgba(240, 177, 94, 0.35);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.al-gh-pwr-btn:hover:not(:disabled) {
  border-color: #f97316;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.35);
}
.al-gh-pwr-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  border-color: rgba(255,255,255,0.1);
}
.al-gh-pwr-btn.active {
  border-color: #38bdf8 !important;
  background: rgba(56, 189, 248, 0.25) !important;
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.7) !important;
}
.al-pwr-icon {
  font-size: 22px;
}
.al-pwr-badge {
  position: absolute;
  bottom: -4px;
  right: -4px;
  min-width: 17px;
  height: 17px;
  border-radius: 9px;
  background: #fed7aa;
  color: #1c1917;
  font-size: 10px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.6);
  border: 1px solid #78350f;
}

/* Tipp gomb */
.al-gh-tipp-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(15, 23, 42, 0.85);
  border: 1.5px solid rgba(240, 177, 94, 0.35);
  border-radius: 10px;
  padding: 6px 14px;
  color: #fed7aa;
  cursor: pointer;
  transition: all 0.2s;
  text-align: left;
}
.al-gh-tipp-btn:hover:not(:disabled) {
  border-color: #f59e0b;
  background: rgba(245, 158, 11, 0.15);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3);
}
.al-gh-tipp-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.al-tipp-icon {
  font-size: 22px;
}
.al-tipp-row {
  display: flex;
  align-items: center;
  gap: 6px;
}
.al-tipp-title {
  font-family: var(--font-fraunces, serif);
  font-weight: 800;
  font-size: 12px;
  color: #fed7aa;
}
.al-tipp-badge {
  background: #f59e0b;
  color: #000;
  font-size: 9px;
  font-weight: 900;
  border-radius: 8px;
  padding: 1px 5px;
}
.al-tipp-desc {
  font-size: 10px;
  color: #94a3b8;
  margin-top: 1px;
}
