/* ========================================================
   PREMIUM PLAYROOM HEADER STYLES
   ======================================================== */
header.header, .header {
  background: #ffffff !important;
  border-bottom: 1px solid #e2e8f0 !important;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.05) !important;
  height: 72px !important;
  max-width: 100% !important;
  padding: 0 36px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 24px !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 100 !important;
}

.brand {
  display: flex !important;
  align-items: center !important;
  text-decoration: none !important;
  flex-shrink: 0 !important;
}

.brand-logo-img {
  height: 40px !important;
  width: auto !important;
  display: block !important;
  object-fit: contain !important;
  transition: transform 0.15s ease !important;
}
.brand:hover .brand-logo-img {
  transform: scale(1.03) !important;
}

header nav, .header nav {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 0 !important;
  height: auto !important;
}

.nav-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 8px 14px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #475569 !important;
  background: transparent !important;
  border: 1px solid transparent !important;
  border-radius: 999px !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  height: auto !important;
}
.nav-link:hover {
  color: #0284c7 !important;
  background: #f0f9ff !important;
  border-color: #e0f2fe !important;
}
.nav-link.active {
  color: #0284c7 !important;
  background: #e0f2fe !important;
  border-color: #bae6fd !important;
}
.nav-link.active::after {
  display: none !important;
}

#fav-count {
  font-size: 11px !important;
  font-weight: 700 !important;
  background: #e0f2fe !important;
  color: #0284c7 !important;
  padding: 2px 7px !important;
  border-radius: 999px !important;
  margin-left: 2px !important;
}

/* Header Search Form */
.header-search {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin-left: auto !important;
  max-width: 440px !important;
  flex: 1 !important;
  justify-content: flex-end !important;
}

.header-search .search {
  display: flex !important;
  align-items: center !important;
  background: #f8fafc !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 999px !important;
  padding: 0 16px !important;
  height: 42px !important;
  width: 100% !important;
  max-width: 330px !important;
  transition: all 0.15s ease !important;
}
.header-search .search:focus-within {
  background: #ffffff !important;
  border-color: #0284c7 !important;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15) !important;
}
.header-search .search span[aria-hidden="true"] {
  color: #94a3b8 !important;
  font-size: 16px !important;
  margin-right: 8px !important;
}
.header-search input#search {
  border: none !important;
  outline: none !important;
  background: transparent !important;
  font-size: 13px !important;
  color: #0f172a !important;
  width: 100% !important;
  padding: 0 !important;
}
.header-search input#search::placeholder {
  color: #94a3b8 !important;
}

.header-search button[type="submit"] {
  background: linear-gradient(135deg, #0284c7, #2563eb) !important;
  color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  padding: 0 20px !important;
  height: 42px !important;
  border-radius: 999px !important;
  border: none !important;
  cursor: pointer !important;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.25) !important;
  transition: all 0.15s ease !important;
  white-space: nowrap !important;
}
.header-search button[type="submit"]:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.4) !important;
}

/* Sound Button in Header */
.header .icon-button#sound {
  width: 42px !important;
  height: 42px !important;
  border-radius: 999px !important;
  background: #f8fafc !important;
  border: 1.5px solid #e2e8f0 !important;
  color: #475569 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 17px !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  flex-shrink: 0 !important;
}
.header .icon-button#sound:hover {
  background: #f0f9ff !important;
  border-color: #bae6fd !important;
  color: #0284c7 !important;
  transform: scale(1.05) !important;
}

@media (max-width: 900px) {
  header.header, .header {
    padding: 0 18px !important;
    gap: 14px !important;
  }
  .header-search .search {
    max-width: 200px !important;
  }
}
@media (max-width: 680px) {
  header.header, .header {
    height: 64px !important;
    padding: 0 12px !important;
    gap: 10px !important;
  }
  .brand-logo-img {
    height: 32px !important;
  }
  .nav-link .collection-label {
    display: none !important;
  }
  .header-search button[type="submit"] {
    display: none !important;
  }
  .header-search .search {
    max-width: 140px !important;
    height: 36px !important;
  }
}

/* ========================================================
   PLAYROOM 4-COLUMN FOOTER & BLOG STYLES
   ======================================================== */
.brand-logo-img {
  height: 40px;
  width: auto;
  display: block;
  object-fit: contain;
}

footer.footer, footer {
  background: #f4f6fa !important;
  border-top: 1px solid #e2e8f0 !important;
  margin-top: 50px !important;
  max-width: 100% !important;
  padding: 0 !important;
  display: block !important;
  clear: both;
}
.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 38px 24px 28px;
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.1fr 1fr;
  gap: 28px;
  align-items: start;
}
.footer-about {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-about .brand {
  display: inline-block;
  padding: 0;
  margin: 0;
}
.footer-about p {
  font-size: 12px;
  line-height: 1.7;
  color: #64748b !important;
  max-width: 320px;
  margin: 0;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col h3 {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a !important;
  margin: 0 0 4px;
  letter-spacing: -0.2px;
}
.footer-col a {
  font-size: 12px;
  color: #64748b !important;
  text-decoration: none;
  transition: color 0.15s ease;
}
.footer-col a:hover {
  color: #0070f3 !important;
}
.footer-bottom {
  border-top: 1px solid #e2e8f0;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  color: #94a3b8;
  font-size: 11px;
  max-width: 1400px;
  margin: 0 auto;
  text-align: left;
}
.footer-disclosure {
  margin: 0;
  color: #94a3b8;
  font-size: 11px;
}

@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}
@media (max-width: 560px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 28px 18px 20px;
  }
}

/* ========================================================
   BLOG DIRECTORY & ARTICLE STYLES
   ======================================================== */
.blog-wrap {
  max-width: 1400px;
  margin: 0 auto;
  padding: 30px 24px 60px;
}
.blog-header {
  margin-bottom: 35px;
}
.blog-header h1 {
  font: 700 clamp(32px, 4.5vw, 48px) var(--display, 'Space Grotesk', sans-serif);
  letter-spacing: -1.5px;
  margin: 10px 0 12px;
}
.blog-lead {
  font-size: 15px;
  color: #64748b;
  max-width: 720px;
  line-height: 1.6;
}
.guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
  gap: 24px !important;
  margin: 25px 0 50px !important;
}
.guide-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  text-decoration: none !important;
  color: #0f172a !important;
  display: flex !important;
  flex-direction: column !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease !important;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04) !important;
}
.guide-card:hover {
  transform: translateY(-4px) !important;
  border-color: #cbd5e1 !important;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08) !important;
}
.guide-card img {
  width: 100% !important;
  aspect-ratio: 16 / 10 !important;
  object-fit: cover !important;
  display: block !important;
  background: #0f172a !important;
}
.guide-card-content {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.guide-card small {
  font-size: 11px;
  font-weight: 700;
  color: #0070f3;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.guide-card h2 {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 8px;
  color: #0f172a;
}
.guide-card p {
  font-size: 13px;
  line-height: 1.55;
  color: #64748b;
  margin: 0;
}

/* Article view */
.article-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 30px 20px 80px;
}
.detail-kicker {
  font-size: 12px;
  font-weight: 700;
  color: #0070f3;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.article-container h1 {
  font: 700 clamp(28px, 4vw, 42px) var(--display, 'Space Grotesk', sans-serif);
  letter-spacing: -1.2px;
  margin: 0 0 20px;
  color: #0f172a;
}
.article-hero {
  width: 100%;
  aspect-ratio: 16 / 10;
  max-height: 460px;
  object-fit: cover;
  border-radius: 16px;
  margin: 10px 0 28px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}
.article-body-text {
  font-size: 15px;
  line-height: 1.8;
  color: #334155;
}
.article-body-text h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 36px 0 14px;
  color: #0f172a;
  letter-spacing: -0.4px;
}
.article-body-text p {
  margin: 0 0 16px;
}
.article-body-text ul {
  padding-left: 20px;
  margin: 0 0 20px;
}
.article-body-text li {
  margin-bottom: 8px;
}
.blog-cta-box {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  padding: 24px;
  margin: 35px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.blog-cta-box h3 {
  font-size: 19px;
  margin: 0 0 6px;
  color: #0f172a;
}
.blog-cta-box p {
  font-size: 13px;
  color: #64748b;
  margin: 0;
}
.faq-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 12px;
}
.faq-box h4 {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 8px;
}
.faq-box p {
  font-size: 13px;
  color: #64748b;
  margin: 0;
  line-height: 1.6;
}

/* ========================================================
   PREMIUM ADSENSE-APPROVAL GAME DETAILS PAGE UI
   ======================================================== */
body.game-page {
  background: #f8fafc !important;
}

.play-page {
  max-width: 1440px !important;
  margin: 0 auto !important;
  padding: 18px 24px 60px !important;
}

/* Breadcrumbs Bar */
.play-breadcrumb-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
  font-size: 13px;
}
.play-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}
.play-breadcrumb .crumb-home,
.play-breadcrumb .crumb-category {
  color: #64748b;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease;
}
.play-breadcrumb .crumb-home:hover,
.play-breadcrumb .crumb-category:hover {
  color: #0284c7;
}
.play-breadcrumb .crumb-sep {
  color: #cbd5e1;
  margin: 0 6px;
}
.play-breadcrumb .crumb-current {
  color: #0f172a;
  font-weight: 700;
}
.play-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #e0f2fe;
  color: #0369a1;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid #bae6fd;
}
.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #0284c7;
  box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.25);
  display: inline-block;
}

/* 2-Column Main Layout */
.play-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 340px !important;
  gap: 32px !important;
  align-items: start !important;
}

/* Direct Embed Player Stage (Immediately Loads Game on Page Open) */
#player.inline-player {
  background: #0f131d !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  box-shadow: 0 20px 45px -10px rgba(10, 15, 28, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  margin-bottom: 24px !important;
  position: relative !important;
}
#game-stage,
#game-stage.imported-stage {
  display: block !important;
  height: min(74vh, 780px) !important;
  min-height: 540px !important;
  width: 100% !important;
  background: #0a0d16 !important;
  position: relative !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  border-radius: 18px 18px 0 0 !important;
}
iframe.imported-frame {
  display: block !important;
  border: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  background: #0a0d16 !important;
}
#player:fullscreen,
#player:-webkit-full-screen {
  border-radius: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: #000000 !important;
}
#player:fullscreen #game-stage,
#player:-webkit-full-screen #game-stage {
  height: calc(100vh - 56px) !important;
  min-height: 0 !important;
  border-radius: 0 !important;
}
#player:fullscreen .imported-frame,
#player:-webkit-full-screen .imported-frame {
  height: calc(100vh - 56px) !important;
  min-height: 0 !important;
}
.game-toolbar {
  background: #171c28 !important;
  padding: 12px 20px !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
}
#game-status {
  color: #8fa0b5 !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
}
.status-dot-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.3);
  display: inline-block;
}
.toolbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.toolbar-btn {
  background: #252d3d !important;
  color: #f1f5f9 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 8px !important;
  padding: 7px 14px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  transition: all 0.15s ease !important;
}
.toolbar-btn:hover {
  background: #333d52 !important;
  color: #ffffff !important;
}
.tb-icon {
  background: #252d3d !important;
  color: #f1f5f9 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 8px !important;
  width: 34px !important;
  height: 34px !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 15px !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
}
.tb-icon:hover {
  background: #333d52 !important;
  color: #ffffff !important;
}

/* Premium Game Meta Bar Card */
.game-meta-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
}
.meta-card-main {
  display: flex;
  gap: 20px;
  align-items: center;
}
.meta-avatar-wrap {
  position: relative;
  width: 84px;
  height: 84px;
  flex-shrink: 0;
}
.meta-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
  border: 2px solid #e2e8f0;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
}
.meta-online-badge {
  position: absolute;
  bottom: -4px;
  right: -4px;
  background: #10b981;
  color: #ffffff;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 6px;
  border: 2px solid #ffffff;
  letter-spacing: 0.5px;
}
.meta-info {
  flex: 1;
  min-width: 0;
}
.meta-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}
.meta-game-title {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.6px;
  margin: 0;
}
.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #f0fdf4;
  color: #166534;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid #bbf7d0;
}
.category-pill-tag {
  background: #f1f5f9;
  color: #475569;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.15s ease;
}
.category-pill-tag:hover {
  background: #e2e8f0;
  color: #0f172a;
}
.meta-game-tagline {
  font-size: 13px;
  color: #64748b;
  line-height: 1.6;
  margin: 0 0 10px;
}
.meta-ratings-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 10px;
  border-top: 1px solid #f1f5f9;
}
.stars-display {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 14px;
  color: #f59e0b;
}
.rating-score {
  color: #0f172a;
  font-size: 14px;
  margin-left: 6px;
}
.rating-count {
  color: #64748b;
  font-size: 12px;
}
.meta-user-rate {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #64748b;
}
.rate-star-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: #cbd5e1;
  font-size: 15px;
  padding: 0 2px;
  transition: color 0.15s, transform 0.15s;
}
.rate-star-btn:hover {
  color: #f59e0b;
  transform: scale(1.25);
}
.meta-features-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
}
.meta-feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #475569;
  background: #f8fafc;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid #f1f5f9;
}
@media (max-width: 640px) {
  .meta-features-bar {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Google AdSense Placement Containers */
.ad-placement-wrap {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px;
  margin: 24px 0;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
  text-align: center;
}
.ad-slot-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  padding: 0 4px;
}
.ad-badge {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: #94a3b8;
  text-transform: uppercase;
}
.ad-network-label {
  font-size: 11px;
  color: #94a3b8;
}
.ad-slot-frame {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1.5px dashed #cbd5e1;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}
.slot-728x90 {
  width: 100%;
  max-width: 728px;
  height: 90px;
}
.slot-300x250 {
  width: 300px;
  height: 250px;
}
.slot-300x600 {
  width: 300px;
  height: 600px;
}
.adsense-banner-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px;
}
.adsense-logo-row {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.3px;
  display: inline-flex;
  align-items: center;
  gap: 1px;
}
.ads-g-blue { color: #4285F4; }
.ads-g-red { color: #EA4335; }
.ads-g-yellow { color: #FBBC05; }
.ads-g-green { color: #34A853; }
.adsense-brand-text {
  color: #5f6368;
  font-weight: 600;
  margin-left: 4px;
}
.adsense-slot-info {
  font-size: 11px;
  color: #94a3b8;
  margin: 0;
}

/* Editorial Cards */
.editorial-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 28px;
  margin-bottom: 24px;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
}
.card-section-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
}
.header-icon-pill {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #e0f2fe;
  color: #0284c7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.card-section-header h2 {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.4px;
  margin: 0 0 4px;
}
.card-section-header .header-sub {
  font-size: 12px;
  color: #64748b;
  margin: 0;
}

/* Controls Grid & Visual Keycaps */
.controls-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}
.control-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  text-align: center;
}
.key-cluster {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-height: 58px;
  justify-content: center;
}
.key-subrow {
  display: flex;
  gap: 4px;
}
.keycap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  color: #1e293b;
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
  border: 1px solid #cbd5e1;
  border-bottom: 3px solid #94a3b8;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
  text-align: center;
  user-select: none;
}
.keycap.wide {
  min-width: 75px;
}
.touch-icon-box {
  font-size: 26px;
}
.control-label strong {
  display: block;
  font-size: 13px;
  color: #0f172a;
  margin-bottom: 2px;
}
.control-label span {
  font-size: 11px;
  color: #64748b;
}
.controls-description-box {
  background: #f1f5f9;
  border-left: 4px solid #0284c7;
  padding: 14px 18px;
  border-radius: 0 10px 10px 0;
  margin-bottom: 18px;
  font-size: 13px;
  color: #334155;
  line-height: 1.6;
}
.controls-description-box p {
  margin: 0;
}

/* Pro Tips Callout Box */
.pro-tip-callout {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 1px solid #fde68a;
  border-radius: 14px;
  padding: 18px 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.tip-bulb-icon {
  font-size: 24px;
  flex-shrink: 0;
}
.tip-title {
  font-size: 14px;
  font-weight: 700;
  color: #92400e;
  margin: 0 0 4px;
}
.tip-text {
  font-size: 13px;
  color: #78350f;
  margin: 0;
  line-height: 1.6;
}

/* FreeWebGames Content inside Editorial Card */
.freewebgames-content h2 {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  margin: 26px 0 12px;
  letter-spacing: -0.3px;
  padding-bottom: 6px;
  border-bottom: 2px solid #f1f5f9;
}
.freewebgames-content h2:first-child {
  margin-top: 0;
}
.freewebgames-content h3 {
  font-size: 15px;
  font-weight: 700;
  color: #1e293b;
  margin: 20px 0 8px;
}
.freewebgames-content p {
  font-size: 14px;
  line-height: 1.8;
  color: #334155;
  margin-bottom: 14px;
}
.freewebgames-content ul, .freewebgames-content ol {
  padding-left: 20px;
  margin: 0 0 16px;
}
.freewebgames-content li {
  font-size: 14px;
  line-height: 1.7;
  color: #334155;
  margin-bottom: 8px;
}
.freewebgames-content strong, .freewebgames-content b {
  color: #0f172a;
}

/* Specifications Table */
.specs-table-container {
  overflow-x: auto;
}
.specs-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  font-size: 13px;
}
.specs-table th {
  background: #f8fafc;
  padding: 12px 16px;
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  color: #475569;
  border-bottom: 1px solid #e2e8f0;
  border-right: 1px solid #e2e8f0;
  width: 20%;
}
.specs-table td {
  background: #ffffff;
  padding: 12px 16px;
  color: #334155;
  border-bottom: 1px solid #e2e8f0;
  border-right: 1px solid #e2e8f0;
  width: 30%;
}
.specs-table tr:last-child th,
.specs-table tr:last-child td {
  border-bottom: none;
}
.specs-table tr td:last-child {
  border-right: none;
}
@media (max-width: 600px) {
  .specs-table th, .specs-table td {
    display: block;
    width: 100%;
    border-right: none;
  }
}

/* FAQ Accordions */
.faq-accordion-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-accordion-item {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
  transition: border-color 0.15s ease;
}
.faq-accordion-item[open] {
  border-color: #0284c7;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.08);
}
.faq-summary {
  padding: 16px 20px;
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  user-select: none;
  background: #ffffff;
}
.faq-summary::-webkit-details-marker {
  display: none;
}
.faq-chevron {
  font-size: 14px;
  color: #64748b;
  transition: transform 0.2s ease;
}
.faq-accordion-item[open] .faq-chevron {
  transform: rotate(180deg);
  color: #0284c7;
}
.faq-answer {
  padding: 0 20px 18px;
  font-size: 13px;
  color: #475569;
  line-height: 1.7;
  border-top: 1px solid #f1f5f9;
  padding-top: 12px;
}
.faq-answer p {
  margin: 0;
}

/* Sidebar Widgets */
.sidebar-widget {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 20px;
  margin-bottom: 24px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}
.sidebar-widget .widget-title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: #0f172a;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.rail-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.rail-heading-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #0f172a;
}
.rail-view-all {
  font-size: 11px;
  color: #0284c7;
  text-decoration: none;
  font-weight: 600;
}
.rail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 12px !important;
}
.rail-all {
  display: block;
  text-align: center;
  margin-top: 14px;
  padding: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  color: #0f172a;
  text-decoration: none;
  transition: all 0.15s ease;
}
.rail-all:hover {
  background: #0284c7;
  color: #ffffff;
  border-color: #0284c7;
}

/* Game Tags */
.game-tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.game-tag-pill {
  display: inline-block;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  color: #0284c7;
  background: #e0f2fe;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid #bae6fd;
  transition: all 0.15s ease;
}
.game-tag-pill:hover {
  background: #0284c7;
  color: #ffffff;
}

/* Categories Cloud */
.category-pills-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  color: #334155;
  background: #f1f5f9;
  padding: 5px 10px;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.15s ease;
}
.cat-pill:hover {
  background: #0284c7;
  color: #ffffff;
  transform: translateY(-1px);
}

/* Sticky Ad */
.sticky-ad {
  position: sticky;
  top: 20px;
}

/* Mobile & Tablet Responsiveness */
@media (max-width: 1024px) {
  .play-layout {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .slot-728x90 {
    height: 70px;
  }
}
@media (max-width: 600px) {
  .play-page {
    padding: 14px 16px 40px !important;
  }
  #game-stage {
    min-height: 380px !important;
  }
  .launch-screen {
    min-height: 380px !important;
  }
  .meta-card-main {
    flex-direction: column;
    text-align: center;
  }
  .meta-title-row {
    justify-content: center;
  }
  .meta-ratings-row {
    justify-content: center;
  }
  .controls-grid {
    grid-template-columns: 1fr;
  }
  .slot-728x90 {
    max-width: 320px;
    height: 50px;
  }
}

/* ========================================================
   ALL-GAMES ANIMATED SHOWCASE & HERO
   ======================================================== */
.all-games-view {
  background: #f8fafc !important;
}

.all-games-hero {
  position: relative;
  overflow: hidden;
  padding: 56px 24px 38px;
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
  border-bottom: 1px solid #e2e8f0;
  text-align: center;
}

.hero-glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.4;
  z-index: 1;
}
.orb-1 {
  width: 440px;
  height: 440px;
  background: radial-gradient(circle, #38bdf8 0%, rgba(2, 132, 199, 0) 70%);
  top: -100px;
  left: 12%;
  animation: floatOrb1 9s ease-in-out infinite alternate;
}
.orb-2 {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, #a78bfa 0%, rgba(139, 92, 246, 0) 70%);
  top: -60px;
  right: 14%;
  animation: floatOrb2 11s ease-in-out infinite alternate;
}

@keyframes floatOrb1 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(35px, 25px) scale(1.12); }
}
@keyframes floatOrb2 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-40px, 35px) scale(1.08); }
}

.all-games-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(2, 132, 199, 0.08);
  border: 1px solid rgba(2, 132, 199, 0.2);
  color: #0284c7;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.pulse-beacon {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0284c7;
  box-shadow: 0 0 0 0 rgba(2, 132, 199, 0.7);
  animation: beaconPulse 2s infinite;
}

@keyframes beaconPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(2, 132, 199, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(2, 132, 199, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(2, 132, 199, 0); }
}

.all-games-title {
  font-family: var(--display, 'Space Grotesk', sans-serif);
  font-size: clamp(38px, 5.2vw, 58px);
  font-weight: 800;
  letter-spacing: -1.6px;
  color: #0f172a;
  margin: 0 0 14px;
  line-height: 1.12;
}

.shimmer-text {
  background: linear-gradient(135deg, #0284c7 0%, #6366f1 35%, #ec4899 65%, #0284c7 100%);
  background-size: 250% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textShimmer 6s linear infinite;
}

@keyframes textShimmer {
  0% { background-position: 0% 50%; }
  100% { background-position: 250% 50%; }
}

.all-games-subtitle {
  font-size: 15px;
  line-height: 1.7;
  color: #64748b;
  max-width: 680px;
  margin: 0 auto 30px;
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 740px;
  margin: 0 auto;
}

.hero-stat-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.hero-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(2, 132, 199, 0.12);
  border-color: #bae6fd;
}
.stat-number {
  font-family: var(--display, 'Space Grotesk', sans-serif);
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.5px;
}
.stat-label {
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

@media (max-width: 640px) {
  .hero-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .all-games-hero {
    padding: 36px 16px 24px;
  }
}

/* Category Filter Bar */
.all-games-browse {
  margin: 32px auto 20px;
  max-width: 1440px;
  padding: 0 24px;
}

.all-games-browse .categories {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.all-games-browse .chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
}
.all-games-browse .chip:hover {
  border-color: #0284c7;
  color: #0284c7;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(2, 132, 199, 0.15);
}
.all-games-browse .chip.active {
  background: linear-gradient(135deg, #0284c7, #2563eb);
  color: #ffffff;
  border-color: #0284c7;
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.35);
  transform: translateY(-1px);
}

/* Animated Card Grid */
.animated-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)) !important;
  gap: 22px 18px !important;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
}

.animated-grid .game-card {
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
  will-change: transform;
}
.animated-grid .game-card:hover {
  transform: translateY(-8px) scale(1.02);
}

.animated-grid .game-card .art-wrap {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
  transition: box-shadow 0.25s ease;
}
.animated-grid .game-card:hover .art-wrap {
  box-shadow: 0 16px 36px -6px rgba(2, 132, 199, 0.35);
}

.animated-grid .game-card .play-overlay {
  transition: transform 0.2s ease, background 0.2s ease;
}
.animated-grid .game-card:hover .play-overlay {
  transform: scale(1.15);
  background: rgba(2, 132, 199, 0.95);
  box-shadow: 0 0 20px rgba(2, 132, 199, 0.6);
}

/* Load More Wrap */
.load-more-wrap {
  display: flex;
  justify-content: center;
  margin: 40px auto 20px;
}

.animated-load-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border: 2px solid #0284c7;
  color: #0284c7;
  padding: 13px 36px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.12);
}
.animated-load-more:hover {
  background: #0284c7;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.3);
}

.bounce-arrow {
  display: inline-block;
  animation: bounceDown 1.8s infinite;
}

@keyframes bounceDown {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(5px); }
  60% { transform: translateY(2px); }
}

/* ==========================================================================
   Cookie & Privacy Notice Banner (Google AdSense & GDPR/CCPA Compliance)
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  width: calc(100% - 40px);
  max-width: 980px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(2, 132, 199, 0.25);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15), 0 4px 12px rgba(2, 132, 199, 0.08);
  border-radius: 18px;
  padding: 16px 24px;
  z-index: 99999;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  opacity: 0;
  pointer-events: none;
}
.cookie-banner.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.cookie-text {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  flex: 1;
  min-width: 280px;
}
.cookie-icon {
  font-size: 28px;
  line-height: 1;
  flex-shrink: 0;
}
.cookie-text strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
  font-family: inherit;
}
.cookie-text p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #475569;
}
.cookie-text a {
  color: #0284c7;
  font-weight: 600;
  text-decoration: underline;
}
.cookie-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.cookie-btn {
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}
@media (max-width: 640px) {
  .cookie-banner {
    bottom: 12px;
    width: calc(100% - 24px);
    padding: 14px 16px;
    border-radius: 14px;
  }
  .cookie-content {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .cookie-actions {
    justify-content: stretch;
  }
  .cookie-btn {
    flex: 1;
    text-align: center;
  }
}

/* ==========================================================================
   MASTER FULL-WEBSITE RESPONSIVE ARCHITECTURE (MOBILE, TABLET, DESKTOP)
   ========================================================================== */

/* Universal Responsive Box Sizing & Fluid Container */
*, *::before, *::after {
  box-sizing: border-box;
}
html, body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
  width: 100% !important;
}

/* 1. DESKTOP LARGE & ULTRA-WIDE (min-width: 1280px) */
@media (min-width: 1280px) {
  .game-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 18px !important;
  }
  .footer-inner {
    grid-template-columns: 1.8fr 1fr 1fr 1.1fr 1fr !important;
    gap: 28px !important;
  }
}

/* 2. STANDARD DESKTOP & LAPTOP (1025px to 1279px) */
@media (min-width: 1025px) and (max-width: 1279px) {
  .game-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 16px !important;
  }
  .footer-inner {
    grid-template-columns: 1.6fr 1fr 1fr 1.1fr 1fr !important;
    gap: 20px !important;
  }
  .play-layout {
    grid-template-columns: minmax(0, 1fr) 300px !important;
    gap: 24px !important;
  }
}

/* 3. TABLET LANDSCAPE & PORTRAIT (768px to 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
  .game-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }
  header.header, .header {
    padding: 0 20px !important;
    height: 68px !important;
    gap: 14px !important;
  }
  .header-search {
    max-width: 280px !important;
  }
  .play-page {
    padding: 18px 20px !important;
  }
  .play-layout {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .play-sidebar {
    width: 100% !important;
    margin-top: 10px !important;
  }
  .rail-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 12px !important;
  }
  .hero-stats-row {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 12px !important;
  }
  .footer-inner {
    grid-template-columns: 1.5fr 1fr 1fr !important;
    gap: 24px !important;
  }
  .footer-about {
    grid-column: 1 / -1 !important;
  }
}

/* 4. MOBILE SMARTPHONES (< 768px) */
@media (max-width: 767px) {
  /* Mobile Header */
  header.header, .header {
    height: auto !important;
    min-height: 60px !important;
    padding: 10px 14px !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    justify-content: space-between !important;
  }
  .header .brand {
    flex-shrink: 0;
  }
  .brand-logo-img {
    height: 32px !important;
  }
  .header nav {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
  }
  .nav-link {
    padding: 6px 10px !important;
    font-size: 12px !important;
  }
  .nav-link .collection-label {
    display: none !important;
  }
  .icon-button#sound {
    width: 36px !important;
    height: 36px !important;
    font-size: 14px !important;
    flex-shrink: 0 !important;
  }
  .header-search {
    order: 4 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 4px 0 0 !important;
    flex: none !important;
    display: flex !important;
    gap: 8px !important;
  }
  .header-search .search {
    flex: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 38px !important;
  }
  .header-search button[type="submit"] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 16px !important;
    height: 38px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    flex-shrink: 0 !important;
  }

  /* Swipable Category Bar */
  .browse-bar {
    padding: 10px 0 !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    margin: 0 -14px 10px !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
  .browse-bar::-webkit-scrollbar {
    display: none !important;
  }
  .categories {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    width: max-content !important;
  }
  .chip {
    padding: 8px 14px !important;
    font-size: 12px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }

  /* Section Top Titles */
  .section-top {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 4px !important;
    margin-bottom: 12px !important;
  }
  .section-top h2 {
    font-size: 20px !important;
  }
  .count-label {
    font-size: 12px !important;
  }

  /* 2-Column Mobile Game Grid */
  .game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }
  .card-bottom {
    padding: 8px 10px !important;
  }
  .card-bottom h3 {
    font-size: 13px !important;
  }
  .card-bottom p {
    font-size: 11px !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* All Games Page Hero */
  .all-games-hero {
    padding: 32px 14px 24px !important;
  }
  .all-games-title {
    font-size: 28px !important;
    line-height: 1.2 !important;
  }
  .all-games-subtitle {
    font-size: 13px !important;
    margin-bottom: 20px !important;
  }
  .hero-pill-badge {
    font-size: 10px !important;
    padding: 4px 10px !important;
  }
  .hero-stats-row {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  .hero-stat-card {
    padding: 12px 10px !important;
  }
  .stat-number {
    font-size: 20px !important;
  }
  .stat-label {
    font-size: 10px !important;
  }

  /* Play Page (Game Details) Responsive */
  .play-page {
    padding: 8px 10px 24px !important;
  }
  .play-breadcrumb-bar {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 6px !important;
    padding: 8px 0 !important;
  }
  .play-breadcrumb {
    font-size: 12px !important;
    flex-wrap: wrap !important;
  }
  .play-badge-pill {
    font-size: 10px !important;
    padding: 3px 8px !important;
  }

  .play-layout {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }
  .play-main {
    min-width: 0 !important;
    width: 100% !important;
  }
  .play-sidebar {
    width: 100% !important;
    margin-top: 10px !important;
  }
  .rail-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  /* Game Stage & Player Toolbar */
  #player.inline-player {
    border-radius: 12px !important;
  }
  #game-stage,
  #game-stage.imported-stage {
    width: 100% !important;
    height: clamp(380px, 60vh, 520px) !important;
    min-height: 380px !important;
    max-height: 60vh !important;
    aspect-ratio: auto !important;
    border-radius: 12px 12px 0 0 !important;
    overflow: hidden !important;
    position: relative !important;
  }
  iframe.imported-frame {
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    max-height: 100% !important;
    border: 0 !important;
    display: block !important;
  }
  .game-toolbar {
    padding: 10px 12px !important;
    gap: 8px !important;
    border-radius: 0 0 12px 12px !important;
  }
  #game-status {
    font-size: 11px !important;
    width: 100% !important;
    line-height: 1.4 !important;
  }
  .toolbar-actions {
    width: 100% !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
  }
  .toolbar-btn.restart-btn {
    padding: 6px 12px !important;
    font-size: 12px !important;
  }
  .toolbar-actions .icon-button.tb-icon {
    width: 34px !important;
    height: 34px !important;
    font-size: 14px !important;
  }

  /* Game Meta Card */
  .game-meta-card {
    padding: 14px !important;
    border-radius: 12px !important;
  }
  .meta-card-main {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
  }
  .meta-avatar-img {
    width: 56px !important;
    height: 56px !important;
  }
  .meta-title-row {
    flex-wrap: wrap !important;
    gap: 6px !important;
  }
  .meta-title-row h1 {
    font-size: 22px !important;
  }
  .meta-game-tagline {
    font-size: 12px !important;
  }
  .meta-ratings-row {
    flex-wrap: wrap !important;
    gap: 8px !important;
  }
  .meta-features-bar {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
    padding-top: 12px !important;
  }
  .meta-feature-item {
    font-size: 11px !important;
  }

  /* Controls Grid */
  .controls-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
  .control-box {
    padding: 12px !important;
  }

  /* Editorial & Specs */
  .editorial-card {
    padding: 16px 14px !important;
    border-radius: 12px !important;
    margin-bottom: 16px !important;
  }
  .card-section-header h2 {
    font-size: 17px !important;
  }
  .card-section-header .header-sub {
    font-size: 12px !important;
  }

  /* Specs Table Mobile Responsive Stacking */
  .specs-table {
    font-size: 12px !important;
  }
  .specs-table tr {
    display: flex !important;
    flex-wrap: wrap !important;
    border-bottom: 1px solid #e2e8f0 !important;
    padding: 6px 0 !important;
  }
  .specs-table th {
    width: 35% !important;
    border: none !important;
    padding: 4px 6px !important;
    background: transparent !important;
  }
  .specs-table td {
    width: 65% !important;
    border: none !important;
    padding: 4px 6px !important;
  }

  /* AdSense Slots Mobile Adaptability */
  .ad-placement-wrap {
    padding: 10px 8px !important;
    margin: 16px 0 !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }
  .ad-slot-frame.slot-728x90 {
    width: 100% !important;
    height: auto !important;
    min-height: 56px !important;
    padding: 8px 4px !important;
  }
  .ad-slot-frame.slot-300x250,
  .ad-slot-frame.slot-300x600 {
    width: 100% !important;
    max-width: 300px !important;
    margin: 0 auto !important;
  }
  .adsense-logo-row {
    font-size: 15px !important;
  }
  .adsense-slot-info {
    font-size: 10px !important;
  }

  /* Content Pages (About, Contact, Privacy, etc.) */
  .content-page {
    padding: 24px 14px !important;
  }
  .content-page h1 {
    font-size: 26px !important;
  }
  .content-page h2 {
    font-size: 20px !important;
  }
  .contact-cards-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  /* Footer Mobile */
  .footer-inner {
    grid-template-columns: 1fr 1fr !important;
    gap: 20px !important;
    padding: 28px 16px 20px !important;
  }
  .footer-about {
    grid-column: 1 / -1 !important;
  }
  .footer-about p {
    max-width: 100% !important;
  }
  .footer-bottom {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 8px !important;
    padding: 14px 16px !important;
  }
  .footer-disclosure {
    text-align: center !important;
  }
}

/* 5. EXTRA SMALL MOBILE PHONES (< 420px) */
@media (max-width: 420px) {
  header.header, .header {
    padding: 8px 10px !important;
  }
  .brand-logo-img {
    height: 28px !important;
  }
  .game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }
  .card-bottom h3 {
    font-size: 12px !important;
  }
  .footer-inner {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }
  .footer-col {
    gap: 6px !important;
  }
}

/* ==========================================================================
   CROSS-BROWSER COMPATIBILITY ARCHITECTURE
   (Chrome, Safari iOS/macOS, Firefox, Edge, Opera, Samsung Internet)
   ========================================================================== */

/* Universal Text Size & Tap Highlights */
html {
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

a, button, input, [role="button"], .chip, .game-card {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

/* Safari & iOS Safe Area Insets (iPhone notch & Dynamic Island) */
header.header, .header {
  padding-left: max(18px, env(safe-area-inset-left)) !important;
  padding-right: max(18px, env(safe-area-inset-right)) !important;
  padding-top: env(safe-area-inset-top) !important;
}

.cookie-banner {
  bottom: max(16px, env(safe-area-inset-bottom)) !important;
}

.footer-inner {
  padding-left: max(24px, env(safe-area-inset-left)) !important;
  padding-right: max(24px, env(safe-area-inset-right)) !important;
}

.footer-bottom {
  padding-bottom: max(16px, env(safe-area-inset-bottom)) !important;
}

/* Fullscreen Multi-Engine Compatibility */
#player:fullscreen,
#player:-webkit-full-screen,
#player:-moz-full-screen,
#player:-ms-fullscreen {
  border-radius: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  background: #000000 !important;
}

#player:fullscreen #game-stage,
#player:-webkit-full-screen #game-stage,
#player:-moz-full-screen #game-stage,
#player:-ms-fullscreen #game-stage {
  height: calc(100vh - 56px) !important;
  height: calc(100dvh - 56px) !important;
  min-height: 0 !important;
  border-radius: 0 !important;
}

#player:fullscreen .imported-frame,
#player:-webkit-full-screen .imported-frame,
#player:-moz-full-screen .imported-frame,
#player:-ms-fullscreen .imported-frame {
  height: calc(100vh - 56px) !important;
  height: calc(100dvh - 56px) !important;
  min-height: 0 !important;
}

/* Safari WebKit Backdrop Filter Fallback */
.cookie-banner, .hero-stat-card {
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

/* Firefox Custom Scrollbar support */
* {
  scrollbar-color: rgba(148, 163, 184, 0.5) transparent;
}
.browse-bar {
  scrollbar-width: none !important;
}
