/* TapToLearn — game page styles (used by games/<id>/index.html, generated by build.js) */

  .product-hero {
    padding: 56px 0 24px;
    position: relative;
  }
  .product-hero-inner {
    display: grid;
    grid-template-columns: minmax(320px, 1fr) minmax(0, 1.6fr);
    gap: 48px;
    align-items: start;
  }
  @media (max-width: 900px) {
    .product-hero-inner { grid-template-columns: 1fr; gap: 28px; }
  }

  .product-card-left {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    box-shadow: var(--shadow-sm);
    position: sticky; top: 96px;
  }
  @media (max-width: 900px) { .product-card-left { position: static; } }

  .product-icon-wrap {
    width: 144px; height: 144px;
    border-radius: 32px;
    box-shadow: 0 10px 30px rgba(20,20,20,0.14), 0 2px 6px rgba(20,20,20,0.08);
    margin-bottom: 20px;
    overflow: hidden;
    background: #fff;
  }
  .product-icon-wrap img { width: 100%; height: 100%; object-fit: cover; }

  .product-tagline {
    color: var(--green-dark);
    font-weight: 700; font-size: 14px;
    text-transform: uppercase; letter-spacing: 0.08em;
    margin-bottom: 6px;
  }
  .product-card-left h1 {
    font-size: 2.1rem; line-height: 1.1; margin-bottom: 8px;
  }
  .product-card-left .badge {
    display: inline-block;
    background: var(--yellow);
    color: #5a4500;
    font-weight: 800; font-size: 12px;
    padding: 6px 12px; border-radius: 999px;
    margin-bottom: 22px;
    text-transform: uppercase; letter-spacing: 0.06em;
  }

  .features-block { margin-top: 26px; }
  .features-block h4 {
    font-family: var(--font-body); font-size: 12px; text-transform: uppercase;
    letter-spacing: 0.1em; color: var(--muted);
    margin: 0 0 12px; font-weight: 800;
  }
  .features-list {
    list-style: none; padding: 0; margin: 0;
    display: grid; gap: 10px;
  }
  .features-list li {
    display: flex; align-items: flex-start; gap: 10px;
    font-size: 15px; font-weight: 600; color: var(--charcoal);
  }
  .features-list li::before {
    content: ''; flex: 0 0 8px; width: 8px; height: 8px;
    background: var(--green); border-radius: 50%;
    margin-top: 9px;
  }

  /* Carousel - phone style screenshots */
  .pd-carousel-wrap { background: transparent; }
  .screenshot-stage {
    background: linear-gradient(180deg, #f7f7f4 0%, #ececea 100%);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 28px;
    overflow: hidden;
  }
  .screenshot-stage .carousel {
    background: transparent;
    border-radius: var(--radius);
  }
  .screenshot-stage .carousel-slide {
    display: flex; align-items: center; justify-content: center;
    min-height: 380px;
    padding: 6px 12px;
  }
  .screenshot-stage .carousel-slide img {
    max-height: 380px; max-width: 100%; width: auto; height: auto;
    border-radius: 14px;
    box-shadow: 0 14px 36px rgba(20,20,20,0.22), 0 2px 6px rgba(20,20,20,0.10);
  }
  @media (max-width: 640px) {
    .screenshot-stage { padding: 18px; }
    .screenshot-stage .carousel-slide { min-height: 230px; }
    .screenshot-stage .carousel-slide img { max-height: 230px; }
  }

  /* Placeholder when no screenshots */
  .no-screens {
    display: flex; align-items: center; justify-content: center; flex-direction: column;
    min-height: 380px;
    background: repeating-linear-gradient(45deg, #f0f0ec 0 12px, #e9e9e5 12px 24px);
    border-radius: var(--radius);
    color: var(--muted); font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 13px; padding: 32px; text-align: center;
  }
  .no-screens img { width: 96px; height: 96px; border-radius: 22px; margin-bottom: 18px; box-shadow: var(--shadow); }

  /* Description block */
  .desc-block {
    padding: 56px 0 24px;
  }
  .desc-block .container { max-width: 820px; }
  .desc-block h2 {
    border-bottom: 2px solid var(--green);
    padding-bottom: 12px;
    display: inline-block;
  }
  .desc-block p { font-size: 1.07rem; color: #3a3a3a; }

  /* Other apps strip */
  .other-apps {
    background: var(--gray-1);
    padding: 56px 0;
  }
  .other-apps h3 { text-align: center; margin-bottom: 28px; }
  .other-apps .strip {
    display: flex; gap: 18px; overflow-x: auto; padding: 8px 4px 14px;
    justify-content: center; flex-wrap: wrap;
  }
  .other-apps .strip a {
    text-align: center; text-decoration: none; color: var(--charcoal);
    transition: transform .2s;
  }
  .other-apps .strip a:hover { transform: translateY(-4px); }
  .other-apps .strip img {
    width: 80px; height: 80px; border-radius: 18px;
    box-shadow: var(--shadow);
    margin-bottom: 8px;
  }
  .other-apps .strip span { display: block; font-size: 12px; font-weight: 700; max-width: 90px; }

  .meta-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 14px; align-items: center; }
  .meta-row .grades { font-size: 13px; font-weight: 700; color: var(--muted); }
  .product-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 18px 0 6px; }
  .product-stats div { background: var(--gray-1); border-radius: 12px; padding: 12px 10px; text-align: center; }
  .product-stats b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; color: var(--charcoal); line-height: 1.1; }
  .product-stats span { font-size: 11.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
  .platforms { font-size: 13px; color: var(--muted); font-weight: 700; margin-top: 12px; }
  .platforms b { color: var(--charcoal); }

  /* Portrait (web) screenshots stage */
  .screenshot-stage.web .carousel-slide { min-height: 520px; }
  .screenshot-stage.web .carousel-slide img { max-height: 520px; border-radius: 22px; border: 5px solid #1d1d1d; }
  @media (max-width: 640px) {
    .screenshot-stage.web .carousel-slide { min-height: 360px; }
    .screenshot-stage.web .carousel-slide img { max-height: 360px; }
  }

  /* What kids learn */
  .learn-block { background: var(--gray-1); padding: 56px 0; }
  .learn-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
  @media (max-width: 840px) { .learn-grid { grid-template-columns: 1fr; } }
  .skill-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
  .skill-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; }
  .skill-list li::before { content: '✓'; flex: 0 0 24px; width: 24px; height: 24px; border-radius: 50%; background: var(--green); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 900; }
  .play-cta { background: var(--charcoal); color: #fff; border-radius: var(--radius-lg); padding: 32px; }
  .play-cta h3 { color: #fff; margin-bottom: 8px; }
  .play-cta p { color: #cfcfca; margin-bottom: 18px; font-size: 15px; }
  .play-cta .pf { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 13px; font-weight: 700; color: #cfcfca; margin-top: 16px; }
  .play-cta .pf span::before { content: '✓'; color: var(--yellow); margin-right: 6px; }

  .breadcrumbs {
    padding: 18px 0 0;
    font-size: 14px;
    color: var(--muted);
  }
  .breadcrumbs a { color: var(--muted); font-weight: 600; }
  .breadcrumbs a:hover { color: var(--green); }
  .breadcrumbs .sep { margin: 0 8px; opacity: 0.5; }

  /* Facts + FAQ */
  .fact-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin: 28px 0 0; padding: 0; }
  .fact-list div { background: var(--gray-1); border-radius: 12px; padding: 12px 14px; }
  .fact-list dt { font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
  .fact-list dd { margin: 4px 0 0; font-weight: 700; font-size: 15px; }
  .faq-block { padding: 24px 0 56px; }
  .faq-block .container { max-width: 820px; }
  .faq-block h2 { margin-bottom: 16px; }
  details { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 14px 18px; margin-bottom: 10px; }
  details summary { cursor: pointer; font-weight: 800; font-family: var(--font-body); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
  details summary::after { content: '+'; color: var(--green); font-weight: 900; }
  details[open] summary::after { content: '–'; }
  details p { margin: 10px 0 0; color: #444; }

  /* Trailer */
  .trailer-block { padding: 48px 0 0; }
  .trailer-block .container { max-width: 960px; }
  .trailer-block h2 { border-bottom: 2px solid var(--green); padding-bottom: 12px; display: inline-block; }
  .trailer-frame { border-radius: var(--radius-lg); overflow: hidden; background: #000; border: 1px solid var(--border); box-shadow: var(--shadow); aspect-ratio: 960 / 544; }
  .trailer-frame video { display: block; width: 100%; height: 100%; object-fit: contain; background: #000; }

  /* How to play / inside */
  .howto-block { padding: 56px 0 8px; }
  .howto-steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
  .howto-steps li { counter-increment: s; display: flex; gap: 14px; background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; font-weight: 600; }
  .howto-steps li::before { content: counter(s); flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%; background: var(--charcoal); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 600; font-size: 14px; }
  .inside-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
  .inside-list li { background: var(--gray-1); border-radius: 12px; padding: 12px 14px; color: #333; font-size: 15px; }
