/* ===========================
   ABZ Middle School Learning
   Global Stylesheet (Modern/Youthful)
   =========================== */

/* RESET / BASE */
*,
*::before,
*::after {
  box-sizing: border-box;
}

:root{
  --bg: #0b0f1c;
  --bg-2: #0f1630;
  --glass: rgba(255,255,255,0.08);
  --panel: rgba(255,255,255,0.06);
  --stroke: rgba(255,255,255,0.10);

  --txt: #eef1ff;
  --muted: #b8bee6;

  --brand: #7b7cff;
  --brand-2: #00e4ff;
  --accent: #ff74dc;
  --lime: #7df59a;
  --warn: #ffd166;

  --shadow: 0 18px 40px rgba(0,0,0,.35);
  --radius: 16px;
}

html, body { height: 100%; }

body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial;
  color: var(--txt);
  background:
    radial-gradient(1200px 700px at 20% -10%, #1b2255 0%, transparent 60%),
    radial-gradient(900px 600px at 120% 10%, #102a48 0%, transparent 55%),
    var(--bg);
  line-height: 1.6;
}

img{ max-width:100%; height:auto; display:block; }
a{ color: var(--brand-2); text-decoration: none; }
a:hover{ text-decoration: underline; }
.container { width: min(1200px, 92%); margin-inline: auto; }
.section-pad{ padding: 3.2rem 0; }
.muted{ color: var(--muted); }
.small{ font-size:.9rem; }
.hide{ display:none !important; }
.hidden{ display:none !important; }

/* HEADER */
.site-header{
  position: sticky;
  top:0;
  z-index:50;
  backdrop-filter: blur(8px);
  background: linear-gradient(180deg, rgba(10,12,24,.92), rgba(10,12,24,.65));
  border-bottom: 1px solid var(--stroke);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:.8rem 0;
}

.brand{
  display:flex;
  align-items:center;
  gap:.6rem;
  color: var(--txt);
}

.brand-badge{
  display:grid;
  place-items:center;
  width:42px;
  height:42px;
  border-radius:12px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color:#081021;
  font-weight:900;
  letter-spacing:.4px;
}

.brand-text{
  font-weight:800;
  letter-spacing:.2px;
}

.nav ul{
  display:flex;
  gap:1rem;
  list-style:none;
  margin:0;
  padding:0;
  align-items:center;
}

.nav a{
  color: var(--txt);
  padding:.5rem .75rem;
  border-radius:.7rem;
}

.nav a.active{
  background: var(--panel);
}

.btn-small{
  padding:.45rem .8rem;
  font-size:.95rem;
}

.nav-toggle{
  display:none;
  background:transparent;
  border:0;
  cursor:pointer;
}

.nav-toggle-bar{
  display:block;
  width:26px;
  height:2px;
  background: var(--txt);
  margin:.3rem 0;
}

@media (max-width: 860px){
  .nav-toggle{ display:block; }
  .nav{
    position:absolute;
    top:60px;
    right:4%;
    left:4%;
    background:var(--bg-2);
    border:1px solid var(--stroke);
    border-radius:14px;
    display:none;
  }
  .nav.open{ display:block; }
  .nav ul{ flex-direction: column; padding: .6rem; }
}

/* HERO */
.hero{
  padding: 4.6rem 0 2.6rem;
  position:relative;
}

.hero-grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:2.2rem;
  align-items:center;
}

.eyebrow{
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing:.14em;
  font-size:.8rem;
}

.hero h1{
  font-size: clamp(2.2rem, 3.2vw, 3.1rem);
  margin:.2rem 0 .5rem;
}

.text-gradient{
  background: linear-gradient(90deg, var(--brand-2), var(--accent));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  font-size: 3rem !important;
}

.text-flare{
  background: linear-gradient(90deg, #fff, var(--brand-2));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

.lead{
  color: var(--muted);
  font-size:1.05rem;
}

.hero-hint{
  display:block;
  margin-top:.4rem;
}

/* ===== Neon Hero Revamp ===== */
.hero--neon {
  position:relative;
  padding: 5.2rem 0 3.6rem;
  overflow: visible; /* allow dropdown to extend + scroll */
}

.hero--neon .hero-bg {
  position:absolute;
  inset:0;
  pointer-events:none;
  z-index:0;
}

.hero--neon .aurora{
  position:absolute;
  filter: blur(70px);
  opacity:.42;
  transform: translateZ(0);
}

.hero--neon .a1{
  width:70vmax;
  height:70vmax;
  top:-20vmax;
  left:-10vmax;
  background: conic-gradient(
    from 120deg,
    var(--brand) 0%,
    rgba(0,0,0,0) 35%,
    var(--accent) 55%,
    rgba(0,0,0,0) 75%,
    var(--brand-2) 100%
  );
}

.hero--neon .a2{
  width:60vmax;
  height:60vmax;
  bottom:-25vmax;
  right:-10vmax;
  background: radial-gradient(
    closest-side,
    rgba(0,228,255,.35),
    rgba(0,0,0,0)
  );
}

.hero--neon .grain{
  position:absolute;
  inset:-10%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/><feComponentTransfer><feFuncA type='table' tableValues='0 .04'/></feComponentTransfer></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity:.12;
  mix-blend-mode: soft-light;
}

.hero-grid--split{
  grid-template-columns: 1.1fr .9fr;
  gap:2.2rem;
  align-items:center;
  position:relative;
  z-index:1; /* above glow layer */
}

.hero-copy{
  max-width: 520px;
}

@media (max-width:980px){
  .hero-grid--split{
    grid-template-columns:1fr;
    text-align:left;
  }
  .hero-copy{
    max-width:none;
  }
}

.pill-highlight{
  position:relative;
  padding:.1rem .45rem;
  border-radius:10px;
  background:linear-gradient(90deg, rgba(18,15,15,0.8), rgba(43,43,43,0.35));
  color:#ffffff;
}

.hero-title{ position:relative; }

.hero-title .sparkle{
  font-size:1.05em;
  margin-left:.2rem;
  opacity:.85;
}

.lead-strong{
  font-size:1.05rem;
  color:var(--txt);
  opacity:.9;
}

/* Hero visual (right image) */
.hero-visual{
  position:relative;
  height:min(440px, 40vmax);
  display:grid;
  place-items:center;
}

.hero-art{
  width:100%;
  max-width:520px;
  height:auto;
  display:block;
  border-radius:18px;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,.45));
  transform: perspective(1200px) rotateY(-6deg) translateZ(0);
  transition: transform .35s ease, filter .35s ease;
}

.hero-visual:hover .hero-art{
  transform: perspective(1200px) rotateY(-2deg) translateY(-2px);
  filter: drop-shadow(0 40px 70px rgba(0,0,0,.5));
}

/* Scroll cue */
.scroll-cue{
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  bottom:12px;
  background:transparent;
  border:0;
  color:#cfe7ff;
  font-size:1.4rem;
  opacity:.8;
  cursor:pointer;
  animation: nudge 1.8s ease-in-out infinite;
  z-index:1;
}

@keyframes nudge{
  0%,100%{ transform:translate(-50%,0); }
  50%{ transform:translate(-50%,6px); }
}

/* HERO DROPDOWN (search) */
.styled-dropdown {
  position: relative;
  max-width: 640px;
  margin-top: 1rem;
}

.styled-dropdown .input-container{
  display:flex;
  gap:.6rem;
  align-items:center;
}

.styled-dropdown .chosen-value{
  flex:1;
  padding:.9rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,.05);
  color: var(--txt);
}

.hero-search-btn{
  padding:.85rem 1rem;
  border-radius:12px;
  border:0;
  background:linear-gradient(90deg, var(--brand), var(--brand-2));
  color:#081021;
  font-weight:900;
  cursor:pointer;
}

.styled-dropdown .value-list{
  position:absolute;
  top: calc(100% + 8px);
  left:0;
  right:0;
  max-height: 320px;
  overflow-y: auto;
  border: 1px solid var(--stroke);
  border-radius: 12px;
  background: #0d1117;
  box-shadow: 0 12px 28px rgba(0,0,0,.35);
  padding: 6px;
  display: none;
  z-index: 40; /* above hero content */
}

.styled-dropdown .value-list.open{ display:block; }

.styled-dropdown .value-list li{
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  line-height: 1.2;
  color:#c9d1d9;
}

.styled-dropdown .value-list li:hover,
.styled-dropdown .value-list li.active {
  background: #1f2632;
  color:#fff;
}

.styled-dropdown .value-list li.hidden{ display:none; }

#filter-status{ margin-top:.5rem; }

/* Trust strip */
.trust-strip{
  display:flex;
  gap:1rem;
  margin-top:1rem;
  padding:0;
  list-style:none;
  color:var(--muted);
  flex-wrap:wrap;
}

.trust-strip li{
  background:rgba(255,255,255,.06);
  border:1px solid var(--stroke);
  padding:.35rem .6rem;
  border-radius:999px;
}

/* OFFERS */
.offers-head {
  text-align:center;
  margin-bottom: 1.2rem;
}

.section-title{
  font-size:1.8rem;
  margin:0 0 .3rem 0;
}

.offer-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:1rem;
}

.offer-card{
  position:relative;
  background: var(--panel);
  border:1px solid var(--stroke);
  border-radius: 16px;
  padding:1.1rem 1.15rem;
  transition: transform .14s ease, box-shadow .2s ease, border-color .2s ease;
  overflow:hidden;
}

.offer-card:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: rgba(255,255,255,.18);
}

.offer-card--accent{
  background: linear-gradient(180deg, rgba(255,116,220,.14), rgba(255,255,255,.05));
  border-color: rgba(255,116,220,.35);
}

.icon-bubble{
  width:44px;
  height:44px;
  border-radius:14px;
  display:grid;
  place-items:center;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color:#06101e;
  font-size:1.2rem;
  font-weight:900;
  margin-bottom:.6rem;
}

.offer-card h3{
  margin:.1rem 0 .2rem;
  font-size:1.1rem;
}

.offer-card p{
  margin:.2rem 0 .5rem;
  color:var(--muted);
}

.offer-card .tagline{
  font-size:.85rem;
  opacity:.9;
  color:#cfe7ff;
}

@media (max-width: 1100px){
  .offer-grid{ grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 740px){
  .offer-grid{ grid-template-columns: 1fr; }
}

/* CARDS: Resources */
.cards-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

@media (max-width: 1100px){
  .cards-grid{ grid-template-columns: repeat(2, 1fr);}
}

@media (max-width: 740px){
  .cards-grid{ grid-template-columns: 1fr;}
}

.app_card{
  background: var(--panel);
  border: 1px solid var(--stroke);
  border-radius: 18px;
  overflow: hidden;
  transition: transform .12s ease, box-shadow .2s ease, border-color .2s ease;
}

.app_card:hover{
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: rgba(255,255,255,.18);
}

.card_link{
  display:flex;
  flex-direction:column;
  color:inherit;
  text-decoration:none;
  height:100%;
}

.card_media{
  position:relative;
  height: 260px;
  overflow:hidden;
}

.card_media img{
  width:100%;
  height:100%;
  object-fit: cover;
  transform: scale(1.02);
}

.badge{
  position:absolute;
  top:12px;
  left:12px;
  padding:.25rem .55rem;
  border-radius:999px;
  font-size:.78rem;
}

.badge-live{
  background: linear-gradient(90deg, var(--accent), var(--brand-2));
  color:#081021;
}

.card_body{
  padding: 1rem 1.1rem 1.2rem;
  display:flex;
  flex-direction:column;
  gap:.55rem;
}

.card_title{
  margin:0;
  font-size:1.2rem;
  font-weight:800;
}

.card_text{
  margin:0;
  color: var(--muted);
}

.meta-chips{
  display:flex;
  flex-wrap:wrap;
  gap:.4rem;
  margin-top:.2rem;
}

.chip{
  display:inline-block;
  padding:.25rem .55rem;
  border-radius:999px;
  border:1px solid var(--stroke);
  font-size:.78rem;
  color: var(--muted);
}

.chip-green{ color:#bffad1; border-color:#2a6f4f; }
.chip-blue{ color:#cfe7ff; border-color:#2a4d6f; }
.chip-purple{ color:#e0d4ff; border-color:#51407a; }
.chip-yellow{ color:#ffe9b6; border-color:#6b571d; }

@media (max-width:740px){
  .card_media{ height: 180px; }
}

/* FOOTER */
.site-footer{
  margin-top: 3rem;
  border-top:1px solid var(--stroke);
  background: linear-gradient(180deg, rgba(12,16,32,.9), rgba(8,12,24,.96));
}

.footer-grid{
  display:grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap:1.2rem;
  padding: 1.8rem 0;
}

.foot-links{
  list-style:none;
  padding:0;
  margin:0;
}

.foot-links li{ margin:.3rem 0; }

.foot-tag,
.foot-contact{
  color: var(--muted);
}

.badge-inline{
  display:flex;
  align-items:center;
  gap:.6rem;
}

.foot-bottom{
  border-top:1px solid var(--stroke);
  padding:.6rem 0;
  color: var(--muted);
  font-size:.9rem;
}

@media (max-width: 860px){
  .footer-grid{ grid-template-columns: 1fr; }
}

/* ACCESSIBILITY */
.btn:focus,
input:focus {
  outline: 2px solid var(--brand-2);
  outline-offset: 2px;
}

/* Filtering helpers */
.app_item.hide { display:none !important; }

#filter-status .pill{
  display:inline-block;
  padding:2px 8px;
  border-radius:999px;
  background:#1f2632;
  margin:0 4px;
  color:#dbeafe;
  border:1px solid #2b3442;
}

#filter-status .clear-filter{
  margin-left:8px;
  border:0;
  background:#263246;
  color:#e5edff;
  padding:4px 8px;
  border-radius:8px;
  cursor:pointer;
}

/* ===== ABZ game header bar ===== */
.abz-game-header{
  position: sticky;
  top: 0;
  z-index: 40;
  background: radial-gradient(circle at 0% 0%, #22223f 0, #050714 55%);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.abz-header-inner{
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Brand */
.abz-brand{
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: #f9fafb;
}

.abz-brand-mark{
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 20% 0%, #ff74dc 0, transparent 55%),
    radial-gradient(circle at 80% 100%, #00e4ff 0, transparent 55%),
    #111827;
  box-shadow: 0 10px 28px rgba(0,0,0,0.6);
}

.abz-brand-letter{
  font-weight: 800;
  font-size: 1.35rem;
  color: #ffffff;
}

.abz-brand-text-wrap{
  display: flex;
  flex-direction: column;
}

.abz-brand-title{
  font-weight: 800;
  font-size: 1.4rem;
}

.abz-brand-tagline{
  font-size: 0.78rem;
  opacity: 0.75;
}

/* Right side actions */
.abz-header-actions{
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Buttons */
.abz-btn,
.abz-user-btn{
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.abz-btn{
  background: linear-gradient(90deg, #7b7cff, #00e4ff);
  color: #050814;
  box-shadow: 0 10px 24px rgba(0,0,0,0.45);
}

.abz-btn-outline{
  background: transparent;
  color: #e5e7eb;
  border: 1px solid rgba(255,255,255,0.32);
}

.abz-btn-outline:hover{
  background: rgba(255,255,255,0.06);
}

.abz-user-btn{
  background: #ffe922;
  color: #111827;
  border: 0;
  box-shadow: 0 10px 22px rgba(0,0,0,0.45);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.abz-user-caret{
  font-size: 0.75rem;
}

/* Small screens */
@media (max-width: 720px){
  .abz-header-inner{
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
  }

  .abz-header-actions{
    align-self: stretch;
    justify-content: space-between;
    width: 100%;
  }
}

/* ===== Resource directions band (top info block) ===== */
.resource_directions{
  background: #050712;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* supports both rd_inner (older) and rd_center (current HTML) */
.rd_inner,
.resource_directions.centered .rd_center{
  max-width: 960px;
  margin: 0 auto;
  padding: 1.4rem 1.5rem 1.8rem;
  color: #e5e7eb;
}

.rd_label{
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  opacity: 0.65;
  margin: 0 0 0.25rem;
}

.rd_title{
  margin: 0 0 0.4rem;
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

/* rd_text for older pages, rd_blurb for this one */
.rd_text,
.rd_blurb{
  margin: 0;
  max-width: 720px;
  color: #d1d5db;
  line-height: 1.6;
  font-size: 0.98rem;
}

/* ===== Game description hero band (under game) ===== */
.game_description_official{
  background: radial-gradient(circle at 0% 0%, #3b1a85 0, #050712 55%);
  border-bottom: 1px solid rgba(255,255,255,0.18);
  color: #f9fafb;
}

.gd_wrap{
  max-width: 960px;
  margin: 0 auto;
  padding: 2.4rem 1.5rem 2.6rem;
  text-align: center;
}

.gd_head{
  max-width: 760px;
  margin: 0 auto 1.4rem;
}

.gd_title{
  margin: 0 0 0.6rem;
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.gd_lead{
  margin: 0 0 1.2rem;
  font-size: 0.98rem;
  line-height: 1.7;
  color: #d1d5db;
}

/* Little “feature chips” under the text */
.gd_highlights{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.gd_chip{
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  font-size: 0.85rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16);
  color: #e5edff;
}

/* (Panels, cards, etc. are mostly styled in resource_info.css, so we just keep the hero tidy here.) */

@media (max-width: 640px){
  .gd_title{
    font-size: 1.55rem;
  }

  .gd_wrap{
    padding-inline: 1.1rem;
  }
}

/* ===== Game description band (under game) ===== */
.game_description_official{
  background: radial-gradient(circle at 0% 0%, #3b1a85 0, #050712 55%);
  border-bottom: 1px solid rgba(255,255,255,0.18);
  color: #f9fafb;
}

.gd_wrap{
  max-width: 960px;
  margin: 0 auto;
  padding: 2.6rem 1.5rem 3rem;
}

/* Header */
.gd_head{
  max-width: 760px;
  margin: 0 auto 2rem;
  text-align: center;
}

.gd_title{
  margin: 0 0 0.6rem;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.gd_lead{
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: #d1d5db;
}

/* Generic panel wrapper */
.gd_panel{
  margin-top: 2rem;
  padding: 1.5rem 1.6rem;
  border-radius: 18px;
  background: rgba(5, 7, 18, 0.72);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 14px 32px rgba(0,0,0,0.35);
}

.gd_panel + .gd_panel{
  margin-top: 1.4rem;
}

.gd_h3{
  margin: 0 0 0.9rem;
  font-size: 1.15rem;
  font-weight: 700;
}

/* “Why teachers use it” cards */
.gd_cards{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.gd_card{
  padding: 1rem 1.05rem;
  border-radius: 14px;
  background: rgba(19, 21, 40, 0.9);
  border: 1px solid rgba(255,255,255,0.08);
}

.gd_icon{
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
  background: radial-gradient(circle at 20% 0%, #ff74dc 0, transparent 55%),
              radial-gradient(circle at 80% 100%, #00e4ff 0, transparent 55%);
}

.gd_card h4{
  margin: 0 0 0.25rem;
  font-size: 1rem;
}

.gd_card p{
  margin: 0;
  font-size: 0.95rem;
  color: #d5ddff;
}

/* “How it works” steps */
.gd_steps{
  margin: 0.4rem 0 0;
  padding-left: 0;
  list-style: none;
  display: grid;
  gap: 0.8rem;
}

.gd_steps li{
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.97rem;
  color: #e5e7f5;
}

.gd_steps li span{
  width: 28px;
  height: 28px;
  border-radius: 999px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-size: 0.9rem;
  font-weight: 700;
  background: linear-gradient(135deg, #7b7cff, #00e4ff);
  color: #050712;
}

/* Split panel: “Who it’s for / skills” */
.gd_split{
  display: grid;
  gap: 1.6rem;
}

.gd_body{
  margin: 0;
  font-size: 0.97rem;
  color: #e3e7ff;
}

.gd_chips{
  list-style: none;
  margin: 0.3rem 0 0.7rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.gd_chips li{
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.85rem;
  background: rgba(34, 40, 80, 0.95);
  border: 1px solid rgba(142, 168, 255, 0.6);
  color: #e5edff;
}

.gd_note{
  margin: 0;
  font-size: 0.9rem;
}

/* FAQ accordion */
.gd_faq{
  display: grid;
  gap: 0.6rem;
}

.gd_faq details{
  border-radius: 12px;
  background: rgba(15, 19, 40, 0.95);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 0.55rem 0.9rem;
}

.gd_faq summary{
  cursor: pointer;
  list-style: none;
  font-weight: 600;
}

.gd_faq summary::marker,
.gd_faq summary::-webkit-details-marker{
  display: none;
}

.gd_faq summary::after{
  content: "▾";
  float: right;
  opacity: 0.7;
  font-size: 0.8rem;
  margin-left: 0.5rem;
}

.gd_faq details[open] summary::after{
  content: "▴";
}

.gd_faq p{
  margin: 0.4rem 0 0;
  font-size: 0.95rem;
  color: #d9e1ff;
}

/* Center the entire iframe section */
.iframe-center {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 0;
  width: 100%;
}

/* Make iframe behave like a centered, responsive game window */
.rr_iframe {
  width: min(100%, 1100px);
  height: 800px;
  border: 0;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.45);
  background: #000;
}

/* Smaller screens → proportional height */
@media (max-width: 780px) {
  .rr_iframe {
    height: 650px;
  }
}

@media (max-width: 540px) {
  .rr_iframe {
    height: 520px;
  }
}



/* Responsive tweaks */
@media (max-width: 840px){
  .gd_cards{
    grid-template-columns: 1fr;
  }
}

@media (min-width: 780px){
  .gd_split{
    grid-template-columns: 1.1fr 1fr;
  }
}

@media (max-width: 640px){
  .gd_title{
    font-size: 1.6rem;
  }
  .gd_wrap{
    padding-inline: 1.1rem;
  }
}

