    .games-section,
    .feedback-section,
    .site-footer {
      content-visibility: auto;
      contain-intrinsic-size: 900px;
    }
    .games-section {
      position: relative;
      padding: 1.25rem 1.5rem 1.5rem;
      max-width: 1200px;
      margin: 0 auto;
      width: 100%;
      overflow-x: clip;
    }
    .games-section::before {
      content: "";
      position: absolute;
      inset: 10% -40px -15%;
      background: linear-gradient(180deg, rgba(156, 139, 255, 0.2) 0%, rgba(110, 247, 216, 0.16) 65%, rgba(255, 138, 214, 0.18) 100%);
      filter: blur(80px);
      opacity: 0.75;
      z-index: -1;
    }
    .featured-games-wrap {
      display: grid;
      gap: 1rem;
      max-width: 960px;
      margin: 0 auto;
      justify-items: center;
    }
    .featured-games-wrap .games-group-heading {
      justify-content: center;
      text-align: center;
    }
    .featured-games-carousel {
      display: grid;
      grid-template-columns: 3.25rem minmax(0, 420px) 3.25rem;
      align-items: center;
      justify-content: center;
      gap: 1rem;
      width: min(100%, 560px);
    }
    .featured-game-nav {
      width: 3.25rem;
      height: 3.25rem;
      border: 1px solid rgba(255, 225, 118, 0.48);
      border-radius: 999px;
      display: inline-grid;
      place-items: center;
      background: rgba(18, 15, 48, 0.72);
      color: var(--text-primary);
      box-shadow: 0 14px 26px rgba(9, 6, 30, 0.42);
      cursor: pointer;
      backdrop-filter: blur(16px);
      transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
    }
    .featured-game-nav:hover {
      transform: translateY(-2px) scale(1.04);
      border-color: rgba(110, 247, 216, 0.72);
      background: rgba(40, 33, 96, 0.84);
      box-shadow: 0 18px 30px rgba(9, 6, 30, 0.5);
    }
    .featured-game-nav:active {
      transform: translateY(0) scale(0.98);
    }
    .featured-game-nav:focus-visible {
      outline: 3px solid rgba(255, 209, 255, 0.85);
      outline-offset: 3px;
    }
    .featured-game-nav span {
      display: block;
      font-family: "Baloo 2", "Quicksand", sans-serif;
      font-size: 2.2rem;
      font-weight: 700;
      line-height: 0.8;
      transform: translateY(-1px);
    }
    .games-group-heading {
      display: flex;
      align-items: end;
      justify-content: space-between;
      gap: 1rem;
      flex-wrap: wrap;
    }
    .games-group-heading h3 {
      margin: 0;
      font-size: clamp(1.45rem, 4vw, 2rem);
      font-weight: 700;
    }
    .games-group-heading p {
      margin: 0;
      max-width: 34rem;
      color: var(--text-muted);
      line-height: 1.55;
      font-size: 0.96rem;
    }
    .featured-game-card {
      max-width: 420px;
      width: 100%;
      aspect-ratio: 1 / 1;
      margin: 0 auto;
      text-align: center;
      justify-items: center;
      align-content: space-between;
    }
    .featured-game-card.has-background {
      overflow: hidden;
      background: rgba(10, 8, 30, 0.58);
    }
    .featured-game-card.has-background::before,
    .featured-game-card.has-background::after {
      content: "";
      position: absolute;
      inset: 0;
      border-radius: inherit;
      pointer-events: none;
    }
    .featured-game-card.has-background::before {
      z-index: 0;
      background-image: var(--featured-game-bg);
      background-position: center;
      background-size: cover;
      transform: scale(1.01);
    }
    .featured-game-card.has-background::after {
      z-index: 0;
      background:
        radial-gradient(circle at 50% 22%, rgba(255, 255, 255, 0.16), transparent 34%),
        linear-gradient(180deg, rgba(7, 5, 24, 0.38) 0%, rgba(7, 5, 24, 0.7) 58%, rgba(7, 5, 24, 0.86) 100%);
    }
    .featured-game-card.has-background > * {
      position: relative;
      z-index: 1;
    }
    .featured-game-card .card-top {
      display: contents;
    }
    .featured-game-card .card-icon {
      position: absolute;
      top: 1.9rem;
      left: 1.9rem;
      z-index: 2;
      pointer-events: none;
    }
    .game-card.featured-game-card h3 {
      position: absolute;
      top: 50%;
      left: 50%;
      z-index: 2;
      width: calc(100% - 3.8rem);
      font-size: clamp(2rem, 4.6vw, 2.6rem);
      line-height: 1.05;
      text-shadow: 0 3px 12px rgba(0, 0, 0, 0.88), 0 1px 3px rgba(0, 0, 0, 0.95);
      transform: translate(-50%, -50%);
      pointer-events: none;
    }
    .featured-game-card .play-btn {
      position: absolute;
      left: 50%;
      bottom: 1.9rem;
      z-index: 2;
      transform: translateX(-50%);
    }
    .featured-game-card .play-btn:hover {
      transform: translateX(-50%) translateY(-3px) scale(1.02);
    }
    .featured-game-card .play-btn:active {
      transform: translateX(-50%) translateY(-1px) scale(0.99);
    }
    .game-card {
      position: relative;
      background: var(--card-bg);
      border: 1px solid var(--card-border);
      border-radius: 24px;
      padding: 1.9rem;
      display: grid;
      grid-template-rows: auto 1fr auto;
      gap: 1.1rem;
      text-decoration: none;
      backdrop-filter: blur(var(--glass-blur));
      box-shadow: var(--shadow-soft);
      transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease, background 0.28s ease;
      isolation: isolate;
    }
    .game-card:hover {
      transform: translateY(-4px) scale(1.01);
      box-shadow: 0 24px 44px rgba(6, 4, 20, 0.56);
      border-color: rgba(255, 225, 118, 0.7);
      background: linear-gradient(160deg, rgba(255, 255, 255, 0.05) 0%, rgba(156, 139, 255, 0.08) 100%), var(--card-bg);
    }
    article.game-card:hover {
      transform: none;
    }
    .card-top {
      display: flex;
      align-items: center;
      gap: 1.1rem;
    }
    .card-icon {
      flex-shrink: 0;
      width: 58px;
      height: 58px;
      border-radius: 20px;
      position: relative;
      overflow: hidden;
      background: radial-gradient(circle at 50% 50%, rgba(255, 225, 118, 0.85) 0%, rgba(255, 174, 244, 0.62) 55%, transparent 80%);
      box-shadow: 0 12px 24px rgba(7, 5, 26, 0.35);
    }
    .card-icon::before {
      content: "?";
      position: absolute;
      inset: 0;
      display: grid;
      place-items: center;
      color: rgba(255, 255, 255, 0.95);
      font-size: 2rem;
      font-weight: 800;
      line-height: 1;
      opacity: 0.92;
      text-shadow: 0 2px 10px rgba(8, 6, 24, 0.45);
    }
    .card-icon::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, rgba(255, 255, 255, 0.5) 0%, transparent 70%);
      mix-blend-mode: screen;
    }
    .card-icon-tomorrow {
      background-color: #151228;
      background-image: url("assets/tomorrow/tomorrow-icon.png");
      background-image: url("assets/tomorrow/tomorrow-icon.webp");
      background-position: center;
      background-repeat: no-repeat;
      background-size: cover;
    }
    .card-icon-tomorrow::before,
    .card-icon-tomorrow::after {
      content: none;
    }
    .card-icon-less-is-more {
      background-color: #151228;
      background-image: url("assets/lessismore/less-is-more-icon.png");
      background-image: url("assets/lessismore/less-is-more-icon.webp");
      background-position: center;
      background-repeat: no-repeat;
      background-size: cover;
    }
    .card-icon-less-is-more::before,
    .card-icon-less-is-more::after {
      content: none;
    }
    .card-icon-spacewalker {
      background-color: #151228;
      background-image: url("assets/spacewalker/spacewalker-icon.png");
      background-image: url("assets/spacewalker/spacewalker-icon.webp");
      background-position: center;
      background-repeat: no-repeat;
      background-size: cover;
    }
    .card-icon-spacewalker::before,
    .card-icon-spacewalker::after {
      content: none;
    }
    .card-icon-horizonquest {
      background-color: #151228;
      background-image: url("assets/horizonquest/horizonquest-icon.png");
      background-position: center;
      background-repeat: no-repeat;
      background-size: cover;
    }
    .card-icon-horizonquest::before,
    .card-icon-horizonquest::after {
      content: none;
    }
    .card-icon-labyrinth {
      background-color: #151228;
      background-image: url("assets/Game2.png");
      background-position: center;
      background-repeat: no-repeat;
      background-size: cover;
    }
    .card-icon-labyrinth::before,
    .card-icon-labyrinth::after {
      content: none;
    }
    .card-icon-foxhound {
      background-color: #151228;
      background-image: url("assets/foxhound/Board2.png");
      background-position: center;
      background-repeat: no-repeat;
      background-size: cover;
    }
    .card-icon-foxhound::before,
    .card-icon-foxhound::after {
      content: none;
    }
    .card-icon-fractured {
      background-color: #151228;
      background-image: url("assets/video/labyrinth-bg.v1-poster.jpg");
      background-position: center;
      background-repeat: no-repeat;
      background-size: cover;
    }
    .card-icon-fractured::before,
    .card-icon-fractured::after {
      content: none;
    }
    .card-icon-math-relay {
      background:
        radial-gradient(circle at 30% 30%, rgba(255, 225, 118, 0.95), rgba(255, 225, 118, 0) 45%),
        linear-gradient(135deg, rgba(102, 160, 255, 0.95), rgba(156, 139, 255, 0.85));
    }
    .card-icon-math-relay::before {
      content: "∑";
      font-size: 2.2rem;
    }
    .card-icon-card-matcher {
      background-color: #151228;
      background-image: url("assets/cardmatcher/Cardback.png");
      background-position: center;
      background-repeat: no-repeat;
      background-size: cover;
    }
    .card-icon-card-matcher::before,
    .card-icon-card-matcher::after {
      content: none;
    }
    .card-icon-higher-lower {
      background:
        radial-gradient(circle at 35% 20%, rgba(255, 255, 255, 0.15), rgba(255,255,255,0) 50%),
        linear-gradient(140deg, rgba(255, 225, 118, 0.9), rgba(156, 139, 255, 0.9));
    }
    .card-icon-higher-lower::before {
      content: "↑↓";
      font-size: 1.6rem;
      letter-spacing: -0.05em;
    }
    .card-icon-alchemy {
      background-color: #151228;
      background-image: url("assets/alchemical-assistant/alchemy-logo.png");
      background-position: center;
      background-repeat: no-repeat;
      background-size: cover;
    }
    .card-icon-alchemy::before,
    .card-icon-alchemy::after {
      content: none;
    }
    .card-icon-ghostnote {
      background-color: #151228;
      background-image: url("assets/ghostnote/icon.png");
      background-position: center;
      background-repeat: no-repeat;
      background-size: cover;
    }
    .card-icon-ghostnote::before,
    .card-icon-ghostnote::after {
      content: none;
    }
    .card-icon-pine-creepers {
      background-color: #151228;
      background-image: url("assets/pinecreepers/Forest.png");
      background-position: center;
      background-repeat: no-repeat;
      background-size: cover;
    }
    .card-icon-pine-creepers::before,
    .card-icon-pine-creepers::after {
      content: none;
    }
    .game-card h3 {
      margin: 0;
      font-size: 1.45rem;
      font-weight: 700;
      letter-spacing: 0.01em;
      overflow-wrap: anywhere;
    }
    .game-card p {
      margin: 0;
      font-size: 1rem;
      color: var(--text-muted);
      line-height: 1.55;
    }
    .game-card .play-btn {
      justify-self: start;
      align-self: start;
      min-height: 3rem;
      min-width: 5.9rem;
      padding: 0 1.3rem;
      font-size: 0.95rem;
      line-height: 1;
      white-space: nowrap;
    }
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.4rem;
      padding: 0.65rem 1.45rem;
      border-radius: 999px;
      background: linear-gradient(120deg, var(--primary) 0%, var(--primary-pop) 45%, var(--accent) 100%);
      color: #231431;
      text-decoration: none;
      font-weight: 600;
      border: none;
      box-shadow: 0 14px 26px rgba(9, 6, 30, 0.5);
      cursor: pointer;
      position: relative;
      overflow: hidden;
      transition: transform 0.25s ease, box-shadow 0.25s ease;
    }
    .hero-btn {
      width: 100%;
      justify-content: center;
      gap: 0.65rem;
      font-size: 1.05rem;
      padding: 0.95rem 1.4rem;
      border-radius: 999px;
      letter-spacing: 0.01em;
      box-shadow: 0 18px 32px rgba(7, 5, 26, 0.4);
    }
    .btn::after {
      display: none;
    }
    .btn:hover {
      transform: translateY(-3px) scale(1.02);
      box-shadow: 0 18px 32px rgba(9, 6, 30, 0.55);
    }
    .btn:active {
      transform: translateY(-1px) scale(0.99);
    }
    .btn:focus-visible {
      outline: 3px solid rgba(255, 209, 255, 0.85);
      outline-offset: 3px;
    }
    .btn-ghost {
      background: rgba(156, 139, 255, 0.18);
      color: var(--text-primary);
      border: 2px dashed rgba(255, 225, 118, 0.55);
      box-shadow: none;
    }
    .btn-ghost::after {
      display: none;
    }
    .btn-ghost:hover {
      transform: translateY(-3px);
      background: rgba(255, 225, 118, 0.22);
    }
    .btn-secondary {
      background: linear-gradient(135deg, rgba(156, 139, 255, 0.95) 0%, rgba(110, 247, 216, 0.92) 100%);
      color: #071221;
    }
    .btn-games {
      background: linear-gradient(135deg, rgba(255, 225, 118, 0.9) 0%, rgba(255, 209, 255, 0.9) 50%, rgba(182, 247, 255, 0.9) 100%);
      color: #1a0f25;
      border: 1px solid rgba(255, 225, 118, 0.7);
      text-shadow: 0 1px 0 rgba(255, 255, 255, 0.55);
    }
    .btn-shop {
      background: linear-gradient(135deg, rgba(182, 247, 255, 0.95) 0%, rgba(110, 247, 216, 0.92) 50%, rgba(255, 225, 118, 0.92) 100%);
      color: #0d1726;
      border: 1px solid rgba(110, 247, 216, 0.6);
      text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
      box-shadow: 0 18px 32px rgba(4, 18, 26, 0.45);
    }
    [data-theme="light"] .hero {
      background: #f7f8ff;
      color: #0d0a18;
    }
    [data-theme="light"] .btn-games,
    [data-theme="light"] .btn-shop {
      box-shadow: 0 12px 24px rgba(12, 16, 28, 0.18);
    }
    .site-footer {
      padding: 2rem 1.5rem 3rem;
      font-size: 0.9rem;
      color: var(--text-muted);
      display: grid;
      gap: 1rem;
      justify-items: center;
      text-align: center;
    }
    .site-footer .footer-line {
      display: block;
      max-width: 420px;
      color: var(--text-muted);
    }
    .site-footer .footer-line a {
      color: var(--text-primary);
      text-decoration: underline;
    }
    .site-footer small {
      font-size: 0.85rem;
      letter-spacing: 0.04em;
    }
    .site-footer .footer-meta-line {
      display: block;
      line-height: 1.4;
    }
    .site-footer .footer-meta-line-spaced {
      margin-bottom: 0.5rem;
    }
    .feedback-section {
      width: min(840px, 94vw);
      margin: clamp(2rem, 5vw, 3rem) auto 2.5rem;
      padding: 1.6rem;
      border-radius: 22px;
      background: rgba(18, 15, 48, 0.58);
      border: 1px solid rgba(156, 139, 255, 0.42);
      box-shadow: var(--shadow-soft);
      backdrop-filter: blur(var(--glass-blur));
    }
    .feedback-section h2 {
      margin: 0 0 0.25rem;
      font-size: clamp(1.5rem, 4vw, 2rem);
    }
    .feedback-section p {
      margin: 0 0 1rem;
      color: var(--text-muted);
      line-height: 1.45;
    }
    .feedback-form {
      display: grid;
      gap: 1rem;
    }
    .feedback-form label {
      font-size: 0.94rem;
      font-weight: 600;
      letter-spacing: 0.01em;
    }
    .feedback-form input[type="email"],
    .feedback-form textarea {
      width: 100%;
      border: 1px solid rgba(156, 139, 255, 0.55);
      border-radius: 12px;
      background: rgba(7, 8, 25, 0.52);
      color: var(--text-primary);
      padding: 0.78rem 0.82rem;
      font: inherit;
    }
    .feedback-form textarea {
      min-height: 120px;
      resize: vertical;
    }
    .feedback-form input[type="email"]:focus-visible,
    .feedback-form textarea:focus-visible {
      outline: 2px solid rgba(255, 209, 255, 0.82);
      outline-offset: 2px;
      border-color: rgba(255, 209, 255, 0.85);
    }
    .feedback-form .feedback-row {
      display: grid;
      gap: 0.8rem;
      grid-template-columns: 1fr;
    }
    .feedback-actions {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      flex-wrap: wrap;
    }
    .feedback-status {
      min-height: 1.2rem;
      font-size: 0.92rem;
      color: var(--text-muted);
    }
    .feedback-status[data-tone="error"] {
      color: #ffc1cf;
    }
    .feedback-status[data-tone="ok"] {
      color: #b9ffd6;
    }
    .feedback-status[data-tone="warn"] {
      color: #ffe0a8;
    }
    .feedback-hp {
      position: absolute;
      width: 1px;
      height: 1px;
      overflow: hidden;
      clip: rect(0 0 0 0);
      clip-path: inset(50%);
      white-space: nowrap;
    }
    @media (min-width: 700px) {
      .feedback-form .feedback-row {
        grid-template-columns: 1fr 1fr;
      }
    }
    @media (min-width: 864px) {
      .hero {
        padding-top: clamp(6rem, 18vh, 10rem);
      }
    }
    @media (max-width: 520px) {
      .top-nav-inner {
        width: min(360px, 92vw);
        gap: 0.45rem;
      }
      .top-nav-link {
        font-size: 0.78rem;
        padding: 0.46rem 0.66rem;
      }
      .hero {
        padding: 3.5rem 1rem 1.25rem;
      }
      .hero h1 {
        font-size: clamp(2.45rem, 18vw, 3.35rem);
      }
      .games-section {
        padding: 1rem 1rem 1rem;
      }
      .featured-games-wrap {
        width: 100%;
        max-width: 370px;
      }
      .featured-games-carousel {
        display: block;
        position: relative;
        width: 100%;
      }
      .featured-game-nav {
        position: absolute;
        top: 50%;
        z-index: 2;
        width: 2.65rem;
        height: 2.65rem;
        transform: translateY(-50%);
      }
      .featured-game-nav:hover {
        transform: translateY(-50%) scale(1.04);
      }
      .featured-game-nav:active {
        transform: translateY(-50%) scale(0.98);
      }
      .featured-game-nav:first-child {
        left: -0.35rem;
      }
      .featured-game-nav:last-child {
        right: -0.35rem;
      }
      .featured-game-nav span {
        font-size: 1.85rem;
      }
      .games-group-heading {
        align-items: start;
        justify-content: center;
        text-align: center;
      }
      .game-card {
        padding: 1.35rem;
        border-radius: 18px;
      }
      .featured-game-card .card-icon {
        top: 1.35rem;
        left: 1.35rem;
      }
      .featured-game-card .play-btn {
        bottom: 1.35rem;
      }
      .card-top {
        gap: 0.85rem;
      }
      .card-icon {
        width: 52px;
        height: 52px;
        border-radius: 16px;
      }
      .game-card h3 {
        font-size: 1.28rem;
      }
      .game-card p {
        font-size: 0.96rem;
      }
      .game-card .play-btn {
        min-width: 0;
        width: 100%;
      }
      .featured-game-card .play-btn {
        min-width: max-content;
        width: auto;
        max-width: calc(100% - 2.7rem);
      }
      .feedback-section {
        padding: 1.2rem;
      }
      .feedback-actions {
        align-items: stretch;
      }
      .feedback-actions .btn {
        width: 100%;
      }
      .floating-shapes span {
        display: none;
      }
    }
    @media (prefers-reduced-motion: reduce) {
      .bg-video {
        display: none;
      }
      .bg-scrim {
        background: #050510;
      }
      .floating-shapes {
        display: none;
      }
      .btn,
      .featured-game-nav,
      .game-card {
        transition: none;
      }
    }
