/* financemass.xyz — supplementary styles
   Tailwind handles utility classes; this file is for what Tailwind cannot easily express.
   Kept intentionally short for Core Web Vitals. */

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

/* ---------- typography polish for review/blog content ---------- */
.prose-game {
  line-height: 1.75;
}
.prose-game p { margin: 0 0 1.1rem; }
.prose-game h2 { font-size: 1.35rem; font-weight: 700; margin: 2rem 0 .8rem; letter-spacing: -0.01em; }
.prose-game h3 { font-size: 1.1rem; font-weight: 600; margin: 1.4rem 0 .5rem; }
.prose-game ul, .prose-game ol { margin: 0 0 1.1rem; padding-left: 1.4rem; }
.prose-game li { margin-bottom: .35rem; }
.prose-game a { color: #0284c7; text-decoration: underline; text-underline-offset: 3px; }
.dark .prose-game a { color: #38bdf8; }

/* ---------- AdSense slot styling ---------- */
.ad-slot {
  display: block;
  width: 100%;
  min-height: 90px;
  margin: 1.5rem 0;
  text-align: center;
  background: rgba(0,0,0,0.02);
  border: 1px dashed rgba(0,0,0,0.08);
  border-radius: 8px;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.35);
  padding: 8px;
  display: grid;
  place-items: center;
}
.dark .ad-slot {
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.35);
}

/* ---------- 150px ad-safety margin around game player ---------- */
.game-player-frame {
  margin-top: 150px;     /* AdSense safety margin from element above */
  margin-bottom: 150px;  /* AdSense safety margin from element below */
}
@media (max-width: 768px) {
  .game-player-frame {
    margin-top: 100px;
    margin-bottom: 100px;
  }
}

/* ---------- aspect-ratio container for game iframe ---------- */
.aspect-game {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 default */
  background: #0f172a;
  border-radius: 12px;
  overflow: hidden;
}
.aspect-game > iframe,
.aspect-game > .game-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Loading / play overlay */
.game-overlay {
  display: grid;
  place-items: center;
  color: white;
  cursor: pointer;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(2, 6, 23, 0.98));
}

/* Fullscreen button */
.fs-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;
  background: rgba(15, 23, 42, 0.7);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: .8rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  backdrop-filter: blur(4px);
  transition: background 0.15s ease;
}
.fs-btn:hover { background: rgba(15, 23, 42, 0.9); }
