/* ============================================================
   FIESTAJUEGOOS.COM — Main Stylesheet
   Palette: Coral #FF6B4A | Gold #FFB347 | Turquoise #40E0D0
            Sunset Pink #FF8A9E | Rich Indigo #4B0082
   Prefix: fjo-
   ============================================================ */

/* ── Variables ───────────────────────────────────────────── */
:root {
  --fjo-coral:       #FF6B4A;
  --fjo-coral-dark:  #E55A3A;
  --fjo-gold:        #FFB347;
  --fjo-gold-dark:   #E89F30;
  --fjo-turquoise:   #40E0D0;
  --fjo-turquoise-d: #30C8B8;
  --fjo-pink:        #FF8A9E;
  --fjo-indigo:      #4B0082;
  --fjo-indigo-lt:   #6B2FA0;
  --fjo-bg:          #FFF8F0;
  --fjo-bg-alt:      #FFF0E6;
  --fjo-bg-dark:     #1A0A2E;
  --fjo-surface:     #FFFFFF;
  --fjo-card:        #FFFFFF;
  --fjo-border:      #FFDCC8;
  --fjo-border-dk:   #E8C4B0;
  --fjo-text:        #2D1B3D;
  --fjo-text-light:  #6B5B7A;
  --fjo-text-white:  #F5E8FF;
  --fjo-success:     #00C9A7;
  --fjo-error:       #FF4757;
  --fjo-radius:      14px;
  --fjo-radius-lg:   24px;
  --fjo-shadow:      0 8px 32px rgba(75,0,130,0.1);
  --fjo-shadow-lg:   0 12px 48px rgba(75,0,130,0.15);
  --fjo-shadow-glow: 0 0 24px rgba(255,107,74,0.25);
  --fjo-transition:  0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --fjo-font:        'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --fjo-font-display:'Playfair Display', Georgia, 'Times New Roman', serif;
}

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; height: 100%; margin: 0; padding: 0; }
body {
  font-family: var(--fjo-font);
  background: var(--fjo-bg);
  color: var(--fjo-text);
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
img { max-width: 100%; display: block; height: auto; }
a { color: var(--fjo-coral); text-decoration: none; transition: color var(--fjo-transition); }
a:hover { color: var(--fjo-coral-dark); }
ul { list-style: none; }
button, input, select, textarea { font-family: inherit; }
button { cursor: pointer; border: none; background: none; }
table { width: 100%; border-collapse: collapse; }

/* ── Typography ──────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--fjo-font-display);
  line-height: 1.25;
  color: var(--fjo-text);
}
h1 { font-size: clamp(2rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.6rem); }
h4 { font-size: clamp(1rem, 1.8vw, 1.25rem); }
p { color: var(--fjo-text-light); margin-bottom: 0.75rem; }
p:last-child { margin-bottom: 0; }
.fjo-text-center { text-align: center; }
.fjo-text-coral { color: var(--fjo-coral); }
.fjo-text-gold { color: var(--fjo-gold); }
.fjo-text-turq { color: var(--fjo-turquoise); }
.fjo-text-indigo { color: var(--fjo-indigo); }
.fjo-text-white { color: var(--fjo-text-white); }

/* ── Container ───────────────────────────────────────────── */
.fjo-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.fjo-container-sm { max-width: 880px; margin: 0 auto; padding: 0 1.5rem; }

/* ── Section ─────────────────────────────────────────────── */
.fjo-section {
  padding: 5rem 0;
}
.fjo-section-alt {
  background: var(--fjo-bg-alt);
}
.fjo-section-dark {
  background: var(--fjo-bg-dark);
  color: var(--fjo-text-white);
}
.fjo-section-dark h2,
.fjo-section-dark h3 {
  color: var(--fjo-text-white);
}
.fjo-section-dark p {
  color: rgba(245, 232, 255, 0.75);
}
.fjo-section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.fjo-section-header h2 { margin-bottom: 0.75rem; }
.fjo-section-header p {
  font-size: 1.1rem;
  max-width: 640px;
  margin: 0 auto;
  color: var(--fjo-text-light);
}
.fjo-divider {
  width: 70px;
  height: 3.5px;
  background: linear-gradient(90deg, var(--fjo-coral), var(--fjo-gold), var(--fjo-turquoise));
  border-radius: 3px;
  margin: 1rem auto 0;
}

/* ── Buttons ─────────────────────────────────────────────── */
.fjo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all var(--fjo-transition);
  border: 2px solid transparent;
  white-space: nowrap;
}
.fjo-btn-primary {
  background: linear-gradient(135deg, var(--fjo-coral), var(--fjo-coral-dark));
  color: #fff;
  border-color: var(--fjo-coral);
  box-shadow: 0 4px 20px rgba(255,107,74,0.35);
}
.fjo-btn-primary:hover {
  background: linear-gradient(135deg, var(--fjo-coral-dark), var(--fjo-coral));
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(255,107,74,0.45);
}
.fjo-btn-secondary {
  background: linear-gradient(135deg, var(--fjo-turquoise), var(--fjo-turquoise-d));
  color: #fff;
  border-color: var(--fjo-turquoise);
  box-shadow: 0 4px 20px rgba(64,224,208,0.3);
}
.fjo-btn-secondary:hover {
  background: linear-gradient(135deg, var(--fjo-turquoise-d), var(--fjo-turquoise));
  color: #fff;
  transform: translateY(-2px);
}
.fjo-btn-ghost {
  background: transparent;
  color: var(--fjo-coral);
  border-color: var(--fjo-coral);
}
.fjo-btn-ghost:hover {
  background: var(--fjo-coral);
  color: #fff;
  transform: translateY(-2px);
}
.fjo-btn-gold {
  background: linear-gradient(135deg, var(--fjo-gold), var(--fjo-gold-dark));
  color: #fff;
  border-color: var(--fjo-gold);
  box-shadow: 0 4px 20px rgba(255,179,71,0.35);
}
.fjo-btn-gold:hover {
  background: linear-gradient(135deg, var(--fjo-gold-dark), var(--fjo-gold));
  color: #fff;
  transform: translateY(-2px);
}
.fjo-btn-sm { padding: 0.5rem 1.25rem; font-size: 0.85rem; }
.fjo-btn-lg { padding: 1rem 2.5rem; font-size: 1.05rem; }
.fjo-btn-block { width: 100%; }
.fjo-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

/* ── Header ──────────────────────────────────────────────── */
.fjo-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,248,240,0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--fjo-border);
  transition: background var(--fjo-transition), box-shadow var(--fjo-transition);
}
.fjo-header.fjo-scrolled {
  background: rgba(255,248,240,0.98);
  box-shadow: 0 4px 20px rgba(75,0,130,0.08);
}
.fjo-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0;
}
.fjo-header-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}
.fjo-header-logo img {
  height: 42px;
  width: auto;
}
.fjo-nav-group {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.fjo-nav-group a {
  padding: 0.5rem 0.9rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--fjo-text);
  border-radius: 8px;
  transition: all var(--fjo-transition);
}
.fjo-nav-group a:hover,
.fjo-nav-group a.fjo-active {
  color: var(--fjo-coral);
  background: rgba(255,107,74,0.08);
}
.fjo-nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.fjo-nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}
.fjo-nav-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--fjo-text);
  border-radius: 3px;
  transition: all var(--fjo-transition);
}
.fjo-nav-toggle.fjo-open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.fjo-nav-toggle.fjo-open span:nth-child(2) {
  opacity: 0;
}
.fjo-nav-toggle.fjo-open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ── Hero ────────────────────────────────────────────────── */
.fjo-hero {
  padding: 8rem 0 5rem;
  background: linear-gradient(135deg, #FFF0E6 0%, #FFE8D6 40%, #E8F8F5 100%);
  position: relative;
  overflow: hidden;
  min-height: 85vh;
  display: flex;
  align-items: center;
}
.fjo-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,107,74,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.fjo-hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(64,224,208,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.fjo-hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.fjo-hero-text { position: relative; z-index: 2; }
.fjo-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,107,74,0.12);
  color: var(--fjo-coral);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}
.fjo-hero-title {
  font-size: clamp(2.2rem, 5.5vw, 3.75rem);
  margin-bottom: 1.25rem;
  line-height: 1.15;
}
.fjo-hero-title span {
  background: linear-gradient(135deg, var(--fjo-coral), var(--fjo-gold), var(--fjo-turquoise));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.fjo-hero-desc {
  font-size: 1.1rem;
  color: var(--fjo-text-light);
  max-width: 520px;
  margin-bottom: 2rem;
  line-height: 1.7;
}
.fjo-hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.fjo-hero-stats {
  display: flex;
  gap: 2rem;
}
.fjo-hero-stat-item {
  text-align: center;
}
.fjo-hero-stat-num {
  font-family: var(--fjo-font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--fjo-indigo);
}
.fjo-hero-stat-label {
  font-size: 0.78rem;
  color: var(--fjo-text-light);
  margin-top: 0.15rem;
}

/* Hero showcase cards */
.fjo-hero-showcase {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.fjo-hero-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  width: 100%;
  max-width: 480px;
}
.fjo-hero-card {
  background: var(--fjo-surface);
  border-radius: var(--fjo-radius-lg);
  padding: 1.25rem;
  box-shadow: var(--fjo-shadow);
  text-align: center;
  transition: all var(--fjo-transition);
  border: 1.5px solid var(--fjo-border);
  cursor: pointer;
}
.fjo-hero-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--fjo-shadow-lg);
  border-color: var(--fjo-coral);
}
.fjo-hero-card.fjo-active {
  border-color: var(--fjo-coral);
  background: linear-gradient(135deg, rgba(255,107,74,0.05), rgba(255,179,71,0.05));
}
.fjo-hero-card-icon {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}
.fjo-hero-card-title {
  font-family: var(--fjo-font);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--fjo-text);
}
.fjo-hero-card-desc {
  font-size: 0.72rem;
  color: var(--fjo-text-light);
  margin-top: 0.2rem;
}

/* ── Cards ───────────────────────────────────────────────── */
.fjo-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.fjo-card {
  background: var(--fjo-card);
  border-radius: var(--fjo-radius-lg);
  overflow: hidden;
  box-shadow: var(--fjo-shadow);
  transition: all var(--fjo-transition);
  border: 1.5px solid var(--fjo-border);
}
.fjo-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--fjo-shadow-lg);
  border-color: var(--fjo-coral);
}
.fjo-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--fjo-bg-alt);
}
.fjo-card-body {
  padding: 1.5rem;
}
.fjo-card-badge {
  display: inline-block;
  padding: 0.2rem 0.7rem;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}
.fjo-card-badge-new {
  background: rgba(64,224,208,0.15);
  color: var(--fjo-turquoise);
}
.fjo-card-badge-popular {
  background: rgba(255,107,74,0.12);
  color: var(--fjo-coral);
}
.fjo-card-badge-featured {
  background: rgba(255,179,71,0.15);
  color: var(--fjo-gold-dark);
}
.fjo-card-title {
  font-family: var(--fjo-font-display);
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: var(--fjo-text);
}
.fjo-card-text {
  font-size: 0.88rem;
  color: var(--fjo-text-light);
  margin-bottom: 1rem;
  line-height: 1.6;
}
.fjo-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  border-top: 1px solid var(--fjo-border);
}

/* ── Game Cards (Hero Mini Cards) ────────────────────────── */
.fjo-game-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.fjo-game-mini-card {
  background: var(--fjo-surface);
  border-radius: var(--fjo-radius);
  padding: 1.25rem;
  text-align: center;
  box-shadow: var(--fjo-shadow);
  border: 1.5px solid var(--fjo-border);
  transition: all var(--fjo-transition);
  cursor: pointer;
}
.fjo-game-mini-card:hover {
  transform: translateY(-3px);
  border-color: var(--fjo-turquoise);
  box-shadow: var(--fjo-shadow-lg);
}
.fjo-game-mini-icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

/* ── Feature Grid ────────────────────────────────────────── */
.fjo-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}
.fjo-feature-card {
  background: var(--fjo-surface);
  border-radius: var(--fjo-radius);
  padding: 1.75rem;
  text-align: center;
  box-shadow: var(--fjo-shadow);
  border: 1.5px solid var(--fjo-border);
  transition: all var(--fjo-transition);
}
.fjo-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--fjo-shadow-glow);
}
.fjo-feature-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, rgba(255,107,74,0.1), rgba(64,224,208,0.1));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

/* ── Benefits ────────────────────────────────────────────── */
.fjo-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}
.fjo-benefit-item {
  padding: 1.5rem;
  text-align: center;
  background: rgba(255,255,255,0.05);
  border-radius: var(--fjo-radius);
  border: 1px solid rgba(255,255,255,0.1);
  transition: all var(--fjo-transition);
}
.fjo-benefit-item:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-3px);
}
.fjo-benefit-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}
.fjo-benefit-title {
  font-family: var(--fjo-font-display);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--fjo-text-white);
}

/* ── FAQ / Accordion ─────────────────────────────────────── */
.fjo-faq-list {
  max-width: 720px;
  margin: 0 auto;
}
.fjo-faq-item {
  border-bottom: 1.5px solid var(--fjo-border);
  padding: 0.25rem 0;
}
.fjo-faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--fjo-text);
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
  transition: color var(--fjo-transition);
}
.fjo-faq-question:hover { color: var(--fjo-coral); }
.fjo-faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--fjo-coral);
  transition: transform var(--fjo-transition);
}
.fjo-faq-item.fjo-open .fjo-faq-question::after {
  transform: rotate(45deg);
}
.fjo-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 0;
}
.fjo-faq-item.fjo-open .fjo-faq-answer {
  max-height: 300px;
  padding: 0 0 1.25rem;
}
.fjo-faq-answer p {
  font-size: 0.92rem;
  color: var(--fjo-text-light);
  line-height: 1.7;
}

/* ── Game Player Modal ───────────────────────────────────── */
.fjo-game-modal {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(0,0,0,0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: fjo-fadeIn 0.2s ease;
}
.fjo-game-modal-box {
  background: var(--fjo-surface);
  border-radius: var(--fjo-radius-lg);
  max-width: 640px;
  width: 100%;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  overflow: hidden;
}
.fjo-game-modal-header {
  background: linear-gradient(135deg, rgba(255,107,74,0.15), rgba(64,224,208,0.1));
  border-bottom: 1.5px solid var(--fjo-border);
  padding: 1.2rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.fjo-game-modal-close {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--fjo-bg);
  border: 1.5px solid var(--fjo-border);
  color: var(--fjo-text-light);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--fjo-transition);
}
.fjo-game-modal-close:hover {
  background: var(--fjo-coral);
  color: #fff;
  border-color: var(--fjo-coral);
}
.fjo-game-modal-body {
  padding: 1.5rem;
}
.fjo-game-modal-footer {
  border-top: 1.5px solid var(--fjo-border);
  padding: 0.65rem 1.5rem;
  text-align: center;
  font-size: 0.65rem;
  color: var(--fjo-text-light);
}

/* ── Game UI ─────────────────────────────────────────────── */
.fjo-game-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--fjo-bg);
  border: 1.5px solid var(--fjo-border);
  border-radius: var(--fjo-radius);
  padding: 0.7rem 1.25rem;
  margin-bottom: 1.25rem;
}
.fjo-game-label {
  font-size: 0.8rem;
  color: var(--fjo-text-light);
}
.fjo-game-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--fjo-gold-dark);
  font-family: var(--fjo-font-display);
}
.fjo-game-value-small {
  font-size: 1rem;
}
.fjo-game-grid {
  margin-bottom: 1.25rem;
}
.fjo-game-row {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 8px;
}
.fjo-game-row:last-child { margin-bottom: 0; }
.fjo-game-cell {
  width: 64px;
  height: 64px;
  background: var(--fjo-bg);
  border: 2px solid var(--fjo-border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  transition: all 0.15s ease;
}
.fjo-game-cell.fjo-win {
  border-color: var(--fjo-gold);
  box-shadow: 0 0 16px rgba(255,179,71,0.5);
  animation: fjo-pulse 0.5s ease;
}
.fjo-game-bet-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}
.fjo-game-bet-btn {
  padding: 0.35rem 0.85rem;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--fjo-bg-alt);
  border: 1.5px solid var(--fjo-border);
  color: var(--fjo-text-light);
  cursor: pointer;
  transition: all var(--fjo-transition);
}
.fjo-game-bet-btn:hover {
  border-color: var(--fjo-gold);
  color: var(--fjo-gold-dark);
}
.fjo-game-bet-btn.fjo-active {
  border-color: var(--fjo-gold);
  background: rgba(255,179,71,0.1);
  color: var(--fjo-gold-dark);
}
.fjo-game-spin-btn {
  display: block;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--fjo-gold), var(--fjo-gold-dark));
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  padding: 0.8rem 2.5rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all var(--fjo-transition);
  box-shadow: 0 4px 24px rgba(255,179,71,0.4);
}
.fjo-game-spin-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(255,179,71,0.5);
}
.fjo-game-spin-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}
.fjo-game-message {
  min-height: 28px;
  font-size: 0.82rem;
  text-align: center;
  margin-bottom: 1rem;
  font-weight: 500;
}
.fjo-game-win { color: var(--fjo-success); }
.fjo-game-lose { color: var(--fjo-error); }
.fjo-game-info { color: var(--fjo-gold-dark); }

/* ── 18+ Popup ───────────────────────────────────────────── */
.fjo-age-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.fjo-age-box {
  background: var(--fjo-surface);
  border-radius: var(--fjo-radius-lg);
  padding: 2.5rem 2rem;
  max-width: 460px;
  width: 100%;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
.fjo-age-icon {
  margin-bottom: 1rem;
}
.fjo-age-icon svg {
  width: 72px;
  height: 72px;
}
.fjo-age-title {
  font-family: var(--fjo-font-display);
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
  color: var(--fjo-indigo);
}
.fjo-age-desc {
  font-size: 0.9rem;
  color: var(--fjo-text-light);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}
.fjo-age-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}
.fjo-age-disclaimer {
  font-size: 0.7rem;
  color: var(--fjo-text-light);
  line-height: 1.5;
}
.fjo-age-disclaimer a {
  color: var(--fjo-coral);
}

/* ── Cookie Banner ───────────────────────────────────────── */
.fjo-cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 8000;
  background: var(--fjo-surface);
  border-top: 2px solid var(--fjo-border);
  padding: 1.25rem 1.5rem;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.08);
  animation: fjo-slideUp 0.4s ease;
}
.fjo-cookie-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.fjo-cookie-text {
  font-size: 0.85rem;
  color: var(--fjo-text-light);
  flex: 1;
  min-width: 240px;
}
.fjo-cookie-text a {
  color: var(--fjo-coral);
  text-decoration: underline;
}
.fjo-cookie-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* ── Footer ──────────────────────────────────────────────── */
.fjo-footer {
  background: var(--fjo-bg-dark);
  color: var(--fjo-text-white);
  padding: 4rem 0 0;
}
.fjo-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.fjo-footer-brand {
  font-family: var(--fjo-font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, var(--fjo-coral), var(--fjo-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.fjo-footer-desc {
  font-size: 0.85rem;
  color: rgba(245,232,255,0.6);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.fjo-footer-images {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}
.fjo-footer-images a {
  display: inline-block;
  transition: opacity var(--fjo-transition);
}
.fjo-footer-images a:hover {
  opacity: 0.8;
}
.fjo-footer-images img {
  height: 32px;
  width: auto;
}
.fjo-footer-col h4 {
  font-family: var(--fjo-font);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--fjo-text-white);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1rem;
}
.fjo-footer-col ul li {
  margin-bottom: 0.5rem;
}
.fjo-footer-col ul li a {
  font-size: 0.85rem;
  color: rgba(245,232,255,0.6);
  transition: color var(--fjo-transition);
}
.fjo-footer-col ul li a:hover {
  color: var(--fjo-coral);
}
.fjo-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.fjo-footer-bottom p {
  font-size: 0.8rem;
  color: rgba(245,232,255,0.4);
  margin: 0;
}
.fjo-footer-bottom-links {
  display: flex;
  gap: 1.25rem;
}
.fjo-footer-bottom-links a {
  font-size: 0.8rem;
  color: rgba(245,232,255,0.4);
  transition: color var(--fjo-transition);
}
.fjo-footer-bottom-links a:hover {
  color: var(--fjo-coral);
}
.fjo-footer-disclaimer {
  background: rgba(0,0,0,0.2);
  padding: 1.25rem 0;
}
.fjo-footer-disclaimer p {
  font-size: 0.72rem;
  color: rgba(245,232,255,0.35);
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.7;
}
.fjo-footer-disclaimer a {
  color: var(--fjo-turquoise);
}

/* ── Page Hero (inner pages) ─────────────────────────────── */
.fjo-page-hero {
  padding: 7rem 0 3rem;
  background: linear-gradient(135deg, #FFF0E6 0%, #FFE8D6 50%, #E8F8F5 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.fjo-page-hero h1 {
  position: relative;
  z-index: 1;
}
.fjo-page-hero p {
  position: relative;
  z-index: 1;
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0.75rem auto 0;
  color: var(--fjo-text-light);
}

/* ── Legal / Content Pages ───────────────────────────────── */
.fjo-content {
  padding: 3rem 0 5rem;
}
.fjo-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}
.fjo-content h3 {
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}
.fjo-content p {
  margin-bottom: 1rem;
  line-height: 1.8;
}
.fjo-content ul,
.fjo-content ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}
.fjo-content li {
  margin-bottom: 0.4rem;
  color: var(--fjo-text-light);
  line-height: 1.7;
}
.fjo-content ul li { list-style: disc; }
.fjo-content ol li { list-style: decimal; }
.fjo-content a { color: var(--fjo-coral); text-decoration: underline; }

/* ── Thank You ───────────────────────────────────────────── */
.fjo-thankyou {
  text-align: center;
  padding: 5rem 1.5rem;
}
.fjo-thankyou-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
}

/* ── Game Page Specific ──────────────────────────────────── */
.fjo-game-page {
  padding: 7rem 0 4rem;
}
.fjo-game-wrapper {
  max-width: 640px;
  margin: 0 auto;
}

/* ── Game listing page ───────────────────────────────────── */
.fjo-games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

/* ── Section CTA ─────────────────────────────────────────── */
.fjo-cta-section {
  background: linear-gradient(135deg, var(--fjo-coral), var(--fjo-indigo));
  padding: 4rem 0;
  text-align: center;
  color: #fff;
}
.fjo-cta-section h2 {
  color: #fff;
  margin-bottom: 0.75rem;
}
.fjo-cta-section p {
  color: rgba(255,255,255,0.8);
  max-width: 560px;
  margin: 0 auto 1.75rem;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .fjo-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .fjo-hero {
    min-height: auto;
    padding: 6rem 0 3rem;
  }
  .fjo-hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .fjo-hero-desc { max-width: 100%; }
  .fjo-hero-showcase { order: -1; }
  .fjo-hero-cards { max-width: 100%; }
  
  .fjo-nav-group {
    display: none;
    position: fixed;
    top: 62px;
    left: 0;
    right: 0;
    background: var(--fjo-surface);
    flex-direction: column;
    padding: 1rem;
    box-shadow: var(--fjo-shadow-lg);
    border-bottom: 2px solid var(--fjo-border);
  }
  .fjo-nav-group.fjo-open {
    display: flex;
  }
  .fjo-nav-group a {
    width: 100%;
    padding: 0.75rem 1rem;
  }
  .fjo-nav-toggle { display: flex; }
  .fjo-nav-right .fjo-btn { display: none; }
  
  .fjo-footer-grid {
    grid-template-columns: 1fr;
  }
  .fjo-footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .fjo-game-cell {
    width: 52px;
    height: 52px;
    font-size: 1.4rem;
  }
  .fjo-card-grid {
    grid-template-columns: 1fr;
  }
  .fjo-games-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .fjo-hero-actions { flex-direction: column; }
  .fjo-hero-actions .fjo-btn { width: 100%; justify-content: center; }
  .fjo-age-box { padding: 1.5rem; }
  .fjo-cookie-inner { flex-direction: column; text-align: center; }
  .fjo-game-cell { width: 44px; height: 44px; font-size: 1.1rem; }
}
