:root{
      --bg:#05090d;
      --bg2:#071018;
      --panel:#0c141c;
      --panel2:#101a25;
      --line:rgba(255,255,255,.15);
      --line2:rgba(255,255,255,.08);
      --text:#f7f7fb;
      --soft:#c9d0d8;
      --dim:#8c96a1;
      --purple:#7c35d8;
      --purple2:#a367ff;
      --green:#8ed05c;
      --cyan:#43c6e7;
      --radius:12px;
      --max:1500px;
    }

    *{box-sizing:border-box}
    html{scroll-behavior:smooth}
    body{
      margin:0;
      color:var(--text);
      background:
        radial-gradient(circle at 50% 0%, rgba(105,55,180,.18), transparent 34%),
        linear-gradient(180deg,#020407 0%,#071018 58%,#020407 100%);
      font-family:Arial, Helvetica, sans-serif;
    }

    a{color:inherit;text-decoration:none}
    img{max-width:100%;display:block}
    button,input{font:inherit}

    .site{
      min-height:100vh;
      max-width:var(--max);
      margin:0 auto;
      background:linear-gradient(180deg, rgba(6,13,18,.96), rgba(4,8,12,.98));
      border-left:1px solid rgba(255,255,255,.07);
      border-right:1px solid rgba(255,255,255,.07);
      box-shadow:0 0 80px rgba(0,0,0,.55);
    }

    .topbar{
      min-height:76px;
      height:auto;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:24px;
      padding:0 34px;
      border-bottom:1px solid var(--line);
      background:rgba(0,0,0,.5);
      backdrop-filter:blur(10px);
    }

    .brand{
      line-height:.88;
      letter-spacing:.08em;
      font-weight:900;
      font-size:36px;
    }

    .logo-brand{
      display:inline-flex;
      cursor: default;
      align-items:center;
      width:clamp(132px, 14vw, 190px);
      line-height:0;
      overflow:visible;
      flex:0 0 auto;
    }
    .logo-brand img{
      width:100%;
      height:auto;
      display:block;
      object-fit:contain;
    }

    .brand span{
      display:block;
      margin-top:8px;
      font-size:12px;
      letter-spacing:.62em;
      font-weight:700;
    }

    .nav{
      display:flex;
      align-items:center;
      gap:34px;
      font-weight:800;
      font-size:16px;
      text-transform:uppercase;
    }
    .nav a{opacity:.94}
    .nav a.active{color:#d19aff;position:relative}
    .nav a.active::after{
      content:"";
      position:absolute;
      left:0;
      right:0;
      bottom:-18px;
      height:2px;
      background:var(--purple2);
    }

    .store-nav{
      display:flex;
      border:1px solid var(--line);
      border-radius:5px;
      overflow:hidden;
      flex-shrink:0;
    }
    .store-nav a{
      min-height:46px;
      padding:0 18px;
      display:flex;
      align-items:center;
      gap:10px;
      border-left:1px solid var(--line);
      font-weight:900;
      font-size:14px;
      text-transform:uppercase;
      background:rgba(255,255,255,.025);
    }
    .store-nav a:first-child{border-left:0}
    .store-icon{font-size:22px;line-height:1}

    .hero{
      position:relative;
      min-height:520px;
      overflow:hidden;
      border-bottom:1px solid var(--line);
      background:
        linear-gradient(90deg, rgba(0,0,0,.78), rgba(0,0,0,.25) 45%, rgba(0,0,0,.68)),
        radial-gradient(circle at 72% 22%, rgba(255,147,98,.45), transparent 8%),
        linear-gradient(130deg, #111827 0%, #24132d 42%, #4f1f27 58%, #0a1520 100%);
    }

    .hero-bg,
    .hero-bg-video{
      position:absolute;
      inset:0;
      z-index:0;
      width:100%;
      height:100%;
      object-fit:contain;
      object-position:right center;
      opacity:1;
      transition:opacity 280ms ease;
      background:#020407;
    }

    .hero::before{
      content:"";
      position:absolute;
      inset:0;
      background:
        radial-gradient(circle at 15% 78%, rgba(255,255,255,.09) 0 1px, transparent 2px),
        radial-gradient(circle at 74% 50%, rgba(255,255,255,.1) 0 1px, transparent 2px);
      background-size:90px 70px, 120px 90px;
      opacity:.22;
    }
    .hero::after{
      content:"";
      position:absolute;
      inset:0;
      z-index:1;
      pointer-events:none;
      background:
        linear-gradient(90deg, rgba(0,0,0,.72), rgba(0,0,0,.18) 45%, rgba(0,0,0,.32)),
        linear-gradient(180deg, transparent 40%, rgba(0,0,0,.78));
    }


    /* v.18: Remove key-art dimming/decorative overlays so carousel art displays at source brightness. */
    .hero::before,
    .hero::after,
    .castle-art,
    .hero-person{
      display:none;
    }

    .castle-art{
      position:absolute;
      z-index:1;
      right:60px;
      bottom:0;
      width:470px;
      height:270px;
      opacity:.28;
      background:
        linear-gradient(to top, #05070a 0 38px, transparent 38px),
        linear-gradient(to top, #05070a 0 180px, transparent 180px);
      clip-path:polygon(8% 100%,8% 48%,16% 48%,16% 32%,21% 32%,21% 18%,25% 32%,30% 32%,30% 52%,37% 52%,37% 24%,42% 24%,42% 8%,47% 24%,52% 24%,52% 43%,60% 43%,60% 22%,65% 22%,65% 5%,71% 22%,76% 22%,76% 58%,92% 58%,92% 100%);
      filter:drop-shadow(0 0 28px rgba(0,0,0,.9));
    }
    .hero-person{
      position:absolute;
      z-index:1;
      left:88px;
      bottom:64px;
      width:90px;
      height:190px;
      background:rgba(0,0,0,.42);
      clip-path:polygon(45% 0,61% 8%,63% 22%,75% 33%,67% 42%,58% 34%,57% 63%,74% 100%,59% 100%,45% 72%,34% 100%,20% 100%,37% 62%,35% 33%,24% 44%,15% 35%,31% 20%,33% 8%);
      filter:drop-shadow(0 0 10px rgba(0,0,0,.8));
    }

    .hero-counter{
      position:absolute;
      top:26px;
      left:26px;
      z-index:4;
      padding:8px 14px;
      border:1px solid var(--hero-accent-border, rgba(179,103,255,.8));
      border-radius:6px;
      background:var(--hero-accent-bg, rgba(61,21,105,.55));
      font-weight:900;
      font-size:18px;
    }

    .hero-arrow{
      position:absolute;
      top:50%;
      z-index:3;
      transform:translateY(-50%);
      border:0;
      color:#fff;
      background:transparent;
      font-size:58px;
      cursor:pointer;
      opacity:.9;
    }
    .hero-arrow.left{left:26px}
    .hero-arrow.right{right:26px}

    .hero-content{
      position:absolute;
      z-index:3;
      left:clamp(34px, 5vw, 74px);
      bottom:clamp(38px, 6vw, 72px);
      max-width:min(620px, 62vw);
      margin:0;
      padding:0;
      text-align:left;
    }
    .hero h1{
      margin:0 0 12px;
      font-size:58px;
      line-height:.98;
      letter-spacing:.06em;
      text-transform:uppercase;
      text-shadow:0 4px 18px rgba(0,0,0,.7);
    }
    .hero p{
      margin:0 0 24px;
      color:#fff;
      font-size:20px;
    }
    .hero-actions{
      display:flex;
      gap:14px;
      align-items:center;
    }
    .primary,.secondary,.card-button,.bundle-link,.discord-button,.subscribe-button{
      min-height:44px;
      display:inline-flex;
      align-items:center;
      justify-content:center;
      gap:10px;
      padding:0 22px;
      border-radius:5px;
      border:1px solid rgba(255,255,255,.22);
      font-weight:900;
      text-transform:uppercase;
      cursor:pointer;
    }
    .primary,.card-button,.discord-button,.subscribe-button{
      background:linear-gradient(180deg,#7b35dc,#55259f);
      border-color:rgba(178,105,255,.45);
    }
    .hero .primary{
      color:var(--hero-button-text, #fff);
      background:var(--hero-button-bg, linear-gradient(180deg,#7b35dc,#55259f));
      border-color:var(--hero-accent-border, rgba(178,105,255,.45));
    }
    .secondary{
      background:rgba(0,0,0,.35);
    }
    .dots{
      position:absolute;
      left:50%;
      bottom:21px;
      z-index:4;
      transform:translateX(-50%);
      display:flex;
      gap:14px;
    }
    .dot{
      width:11px;
      height:11px;
      border-radius:999px;
      background:rgba(255,255,255,.35);
    }
    .dot.active{
      background:var(--hero-accent, #a25dff);
      box-shadow:0 0 0 2px var(--hero-accent-border, rgba(162,93,255,.6));
    }

    .feature-strip{
      display:grid;
      grid-template-columns:repeat(4,1fr);
      gap:0;
      border-bottom:1px solid var(--line2);
      padding:22px 36px;
    }
    .feature{
      display:grid;
      grid-template-columns:62px 1fr;
      gap:14px;
      align-items:center;
      padding:0 26px;
      border-left:1px solid var(--line);
    }
    .feature:first-child{border-left:0}
    .feature-icon{
      font-size:42px;
      opacity:.86;
      text-align:center;
    }
    .feature strong{
      display:block;
      text-transform:uppercase;
      font-size:16px;
      margin-bottom:3px;
    }
    .feature span{
      color:var(--soft);
      font-size:14px;
    }

    .main{
      padding:28px 34px 28px;
    }
    .section-title{
      display:grid;
      grid-template-columns:1fr auto 1fr;
      align-items:center;
      gap:22px;
      margin:0 0 18px;
      text-align:center;
      text-transform:uppercase;
      letter-spacing:.05em;
      font-size:28px;
    }
    .section-title::before,.section-title::after{
      content:"";
      height:1px;
      background:var(--line);
    }

    .cards{
      display:grid;
      grid-template-columns:1fr 1fr 1fr 1.33fr;
      gap:14px;
    }
    .game-card,.bundle-card{
      border:1px solid var(--line);
      border-radius:7px;
      overflow:hidden;
      background:linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015));
      position:relative;
      min-height:380px;
    }
    .game-card.new::before{
      content:"NEW";
      position:absolute;
      top:0;
      left:0;
      z-index:2;
      padding:8px 13px;
      background:#6f2dc5;
      border-bottom-right-radius:5px;
      font-weight:900;
      font-size:13px;
    }
    .game-card.coming-soon::before,
    .bundle-card.coming-soon::before{
      content:"COMING SOON";
      position:absolute;
      top:0;
      left:0;
      z-index:2;
      padding:8px 13px;
      background:#ff1f1f;
      border-bottom-right-radius:5px;
      font-weight:900;
      font-size:13px;
    }
.game-card.rtdc{border-color:rgba(255,255,255,.28)}
    .game-card.dc{border-color:rgba(142,208,92,.75)}
    .game-card.bdc{border-color:rgba(67,198,231,.75)}
    .bundle-card{border-color:rgba(164,98,255,.68)}

    .card-art-video{
      width:100%;
      height:100%;
      object-fit:contain;
      object-position:center center;
      display:block;
      background:#000;
    }

    .card-art{
      height:190px;
      background:
        linear-gradient(180deg, rgba(255,255,255,.06), transparent),
        linear-gradient(130deg,#162331,#4e2230 58%,#0c1017);
      position:relative;
      overflow:hidden;
    }
    .dc .card-art{
      background:
        linear-gradient(180deg, rgba(255,255,255,.04), transparent),
        repeating-linear-gradient(0deg, transparent 0 34px, rgba(0,0,0,.2) 34px 36px),
        repeating-linear-gradient(90deg, transparent 0 42px, rgba(0,0,0,.22) 42px 44px),
        linear-gradient(130deg,#0a130b,#1b3911 60%,#070b08);
    }
    .bdc .card-art{
      background:
        repeating-linear-gradient(0deg, transparent 0 34px, rgba(255,255,255,.05) 34px 35px),
        linear-gradient(130deg,#06121a,#073447 62%,#03070a);
    }
    .card-art::before{
      content:"";
      position:absolute;
      inset:22px 24px 0;
      background:rgba(0,0,0,.42);
      clip-path:polygon(10% 100%,10% 60%,25% 60%,25% 40%,34% 40%,34% 26%,43% 40%,52% 40%,52% 65%,70% 65%,70% 48%,78% 48%,78% 30%,88% 48%,96% 48%,96% 100%);
      opacity:.75;
    }
    .card-body{
      padding:18px 18px 16px;
      display:flex;
      flex-direction:column;
    }
    .game-card h3,.bundle-card h3{
      margin:0 0 8px;
      font-size:25px;
      line-height:.98;
      text-transform:uppercase;
      letter-spacing:.02em;
    }
    .dc h3{color:var(--green)}
    .bdc h3{color:var(--cyan)}
    .bundle-card h3{color:#b67bff}
    .game-card p,.bundle-card p{
      margin:0 0 16px;
      color:var(--soft);
      line-height:1.45;
      min-height:45px;
    }

    .store-buttons{
      display:grid;
      grid-template-columns:1fr 1fr;
      gap:10px;
      align-items:center;
      width:100%;
      margin:0 0 18px;
    }
    .game-card .store-buttons{
      grid-template-columns:1fr;
      gap:14px;
      width:100%;
      margin:-6px 0 18px;
    }
    .mini-store-button{
      display:inline-flex;
      align-items:center;
      justify-content:center;
      height:44px;
      width:100%;
      min-width:0;
      padding:0;
      border:0;
      border-radius:0;
      background:transparent;
      transition:transform 80ms ease-out, opacity 150ms ease-out;
    }
    .mini-store-button:hover{
      transform:scale(1.04);
      opacity:.9;
    }
    .mini-store-button img{
      max-width:100%;
      max-height:100%;
      width:100%;
      height:auto;
      object-fit:contain;
    }
    .mini-store-button.coming-soon-store:hover,
    .mini-store-button.coming-soon-store:focus-visible{
      border:2px solid #ff1f1f;
      border-radius:5px;
      background:#090909;
      color:#fff;
      font-size:15px;
      font-weight:900;
      letter-spacing:.08em;
      text-align:center;
    }
    .mini-store-button.coming-soon-store:hover img,
    .mini-store-button.coming-soon-store:focus-visible img{
      display:none;
    }
    .mini-store-button.coming-soon-store:hover::after,
    .mini-store-button.coming-soon-store:focus-visible::after{
      content:"COMING SOON";
    }
    .game-card .mini-store-button{
      height:54px;
    }
    .game-card .mini-store-button img{
      width:100%;
      height:52px;
      object-fit:contain;
    }

    .bundle-link{
      flex-direction:column;
      align-items:stretch;
      gap:10px;
      padding:12px;
      height:auto;
    }
    .bundle-link-main{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:10px;
      width:100%;
    }
    .bundle-link-main > span:first-child{
      min-width:0;
    }
    .bundle-store-buttons{
      width:100%;
      margin:0;
      gap:10px;
    }
    .bundle-store-buttons .mini-store-button{
      height:44px;
    }
    .bundle-store-buttons .mini-store-button img{
      width:100%;
      height:42px;
      object-fit:contain;
    }

    .platforms{
      display:flex;
      gap:20px;
      align-items:center;
      margin:0 0 18px;
      font-size:24px;
    }
    .card-button{
      width:100%;
      min-height:40px;
      padding:0 14px;
      margin-top:auto;
    }
    .dc .card-button,.bdc .card-button{
      background:transparent;
    }
    .dc .card-button{border-color:rgba(142,208,92,.8)}
    .bdc .card-button{border-color:rgba(67,198,231,.8)}

    .bundle-art{
      height:190px;
      display:flex;
      align-items:center;
      justify-content:center;
      background:#000;
      overflow:hidden;
    }
    .bundle-art img{
      width:100%;
      height:100%;
      object-fit:contain;
      object-position:center center;
      display:block;
      background:#000;
    }


    .game-card,.bundle-card{
      display:flex;
      flex-direction:column;
    }
    .game-card .card-body,.bundle-card .card-body{
      flex:1;
    }

    .bundle-options{
      display:grid;
      gap:14px;
      margin-top:10px;
      margin-bottom:18px;
    }
    .bundle-card .card-body > p{
      min-height:0;
      margin-bottom:4px;
    }
    .game-card .card-body > p{
      margin-bottom:8px;
    }
    .bundle-link{
      justify-content:space-between;
      min-height:88px;
      padding:12px;
      background:rgba(0,0,0,.22);
      border-radius:5px;
      text-align:left;
    }
    .bundle-link strong{
      display:block;
      font-weight:900;
      text-transform:uppercase;
      letter-spacing:.025em;
    }
    .bundle-card .bundle-link strong{
      color:#b67bff;
    }
    .bundle-link span{color:var(--soft);font-weight:500;text-transform:none}
    .title-year{font-weight:400;}

    /* v.23: Product cards use full-width stacked store badges to visually align with the two bundle rows. */
    .game-card .store-buttons .mini-store-button:first-child{
      margin-bottom:0;
    }

    /* v.24: Standardized product-offering accent colors across headline, border, and Learn More button. */
    .game-card.dc{border-color:rgba(142,208,92,.95);}
    .game-card.bdc{border-color:rgba(67,198,231,.95);}
    .game-card.rtdc{border-color:rgba(246,208,108,.95);}
    .bundle-card{border-color:rgba(164,98,255,.92);}

    .dc h3, .dc h3 a{color:var(--green);}
    .bdc h3, .bdc h3 a{color:var(--cyan);}
    .rtdc h3, .rtdc h3 a{color:#f6d06c;}
    .bundle-card h3, .bundle-card h3 a{color:#b67bff;}

    .dc .card-button{
      color:#071018;
      background:linear-gradient(180deg,#9ee875,#6bb944);
      border-color:rgba(142,208,92,.95);
    }
    .bdc .card-button{
      color:#031018;
      background:linear-gradient(180deg,#62d6f2,#2ea9cf);
      border-color:rgba(67,198,231,.95);
    }
    .rtdc .card-button{
      color:#140b00;
      background:linear-gradient(180deg,#f6d06c,#d4932c);
      border-color:rgba(246,208,108,.95);
    }
    .bundle-card .card-button{
      color:#fff;
      background:linear-gradient(180deg,#a367ff,#6f2dc5);
      border-color:rgba(164,98,255,.95);
    }

    /* v.24: Keep Mac badge position, lower Steam badge to visually align with the Classic Bundle row center. */
    .game-card .store-buttons{
      row-gap:30px;
      margin:-6px 0 18px;
    }
    .game-card .store-buttons .mini-store-button:nth-child(2){
      transform:translateY(8px);
    }
    .game-card .store-buttons .mini-store-button:nth-child(2):hover{
      transform:translateY(8px) scale(1.04);
    }

    /* v.26: RTDC card uses gold theme; bundle package names use purple; badges use bright red. */
    .game-card.rtdc{border-color:rgba(246,208,108,.95);}
    .rtdc h3, .rtdc h3 a{color:#f6d06c;}
    .bundle-card .bundle-link strong{color:#b67bff;}
    .game-card.coming-soon::before,
    .bundle-card.coming-soon::before{background:#ff1f1f;}
    .save{
      margin-left:auto;
      padding:8px 9px;
      border-radius:5px;
      background:linear-gradient(180deg,#7b35dc,#55259f);
      font-size:12px;
      white-space:nowrap;
    }

    .community,.signup{
      margin-top:22px;
      border:1px solid rgba(146,75,241,.55);
      border-radius:7px;
      background:linear-gradient(90deg, rgba(110,45,190,.22), rgba(255,255,255,.02));
      display:grid;
      grid-template-columns:88px 1fr auto;
      gap:16px;
      align-items:center;
      padding:14px 28px;
    }
    .signup{
      border-color:var(--line2);
      grid-template-columns:88px 1fr minmax(260px,330px) auto;
      background:transparent;
      margin-top:10px;
    }
    .cta-icon{
      width:54px;
      height:54px;
      border-radius:999px;
      display:grid;
      place-items:center;
      background:linear-gradient(180deg,#7b35dc,#55259f);
      font-size:30px;
    }
    .community h3,.signup h3{
      margin:0 0 3px;
      text-transform:uppercase;
      letter-spacing:.03em;
      font-size:19px;
    }
    .community p,.signup p{
      margin:0;
      color:var(--soft);
    }

    .discord-icon{
      overflow:hidden;
      background:transparent;
    }
    .discord-icon img{
      width:54px;
      height:54px;
      object-fit:contain;
      display:block;
    }

    .email-input{
      min-height:46px;
      width:100%;
      padding:0 15px;
      color:#fff;
      background:#0b141c;
      border:1px solid var(--line);
      border-radius:5px;
    }

    footer{
      padding:0 34px 28px;
      color:var(--dim);
      text-align:center;
      font-size:14px;
    }
    footer a{
      color:var(--dim);
      text-decoration:underline;
      margin:0 14px;
    }

    @media (max-width:1200px){
      .topbar{height:auto;align-items:flex-start;flex-wrap:wrap;padding:18px 22px}
      .nav{order:3;width:100%;justify-content:center}
      .store-nav{margin-left:auto}
      .hero-content{margin-left:220px}
      .cards{grid-template-columns:repeat(2,1fr)}
    }
    @media (max-width:820px){
      .topbar{display:block;text-align:center}
      .brand{margin-bottom:18px}
      .nav{margin-bottom:16px;gap:18px;flex-wrap:wrap}
      .nav a.active::after{display:none}
      .store-nav{display:grid;grid-template-columns:1fr;margin:0}
      .store-nav a{justify-content:center;border-left:0;border-top:1px solid var(--line)}
      .store-nav a:first-child{border-top:0}
      .hero{min-height:520px}
      .hero-content{
        left:24px;
        right:24px;
        bottom:56px;
        max-width:none;
        padding:0;
        text-align:left;
      }
      .hero h1{font-size:42px}
      .hero-actions{justify-content:flex-start;flex-wrap:wrap}
      .castle-art{right:-80px;opacity:.35}
      .hero-person{left:32px;opacity:.6}
      .feature-strip{grid-template-columns:1fr 1fr;padding:18px}
      .feature{border:0;padding:14px}
      .main{padding:24px 18px}
      .cards{grid-template-columns:1fr}
      .community,.signup{grid-template-columns:1fr;text-align:center;justify-items:center;padding:18px}
      .signup{grid-template-columns:1fr}
      .email-input{max-width:420px}
      footer{padding:0 18px 26px}
    }
    @media (max-width:520px){
      .feature-strip{grid-template-columns:1fr}
      .hero-counter{font-size:15px}
      .hero-arrow{font-size:42px}
      .section-title{font-size:22px}
    }
  

    .card-art.has-video::before{
      display:none;
    }
    .card-art.has-video{
      background:#000;
    }
  


/* v.16 top navigation games dropdown */
.nav{
  align-items:center;
}

.nav-item{
  position:relative;
  display:inline-flex;
  align-items:center;
}

.games-menu-button{
  appearance:none;
  border:0;
  background:transparent;
  color:inherit;
  font:inherit;
  font-weight:800;
  text-transform:uppercase;
  cursor:pointer;
  padding:0;
  opacity:.94;
}

.games-menu-button:hover,
.games-dropdown:focus-within .games-menu-button{
  color:#d19aff;
}

.games-menu{
  position:absolute;
  top:calc(100% + 18px);
  left:0;
  min-width:250px;
  padding:10px;
  border:1px solid var(--line);
  border-radius:10px;
  background:rgba(3,7,11,.94);
  box-shadow:0 18px 60px rgba(0,0,0,.55);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  opacity:0;
  visibility:hidden;
  transform:translateY(-6px);
  transition:opacity 140ms ease, transform 140ms ease, visibility 140ms ease;
  z-index:40;
}

.games-dropdown:hover .games-menu,
.games-dropdown:focus-within .games-menu{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}

.games-menu a{
  display:block;
  padding:12px 12px;
  border-radius:7px;
  color:var(--text);
  white-space:nowrap;
  font-size:14px;
  letter-spacing:.02em;
  opacity:.94;
}

.games-menu a:hover,
.games-menu a:focus{
  background:rgba(255,255,255,.08);
  color:#f6d98f;
  outline:none;
}

@media (max-width:820px){
  .nav{
    align-items:center;
    justify-content:center;
  }

  .games-dropdown{
    width:100%;
    justify-content:center;
  }

  .games-menu{
    left:50%;
    transform:translate(-50%, -6px);
  }

  .games-dropdown:hover .games-menu,
  .games-dropdown:focus-within .games-menu{
    transform:translate(-50%, 0);
  }
}

/* v.29: Mobile-only hero refinements: hidden page bug, left-aligned labels, compact controls, and tighter product-card store badges. Desktop layout remains unchanged except requested subtitle copy. */
.mobile-hero-title,
.mobile-hero-subtitle{
  display:none;
}

@media (max-width:820px) and (orientation:portrait){
  .hero{
    --mobile-title-height:64px;
    --mobile-art-height:clamp(210px, 56.25vw, 330px);
    display:flex;
    flex-direction:column;
    min-height:0;
    overflow:hidden;
    padding:0 0 48px;
    background:#020407;
  }

  .mobile-hero-title{
    order:1;
    display:block;
    height:var(--mobile-title-height);
    padding:22px 14px 8px;
    font-size:clamp(18px, 5vw, 24px);
    line-height:1;
    letter-spacing:.025em;
    font-weight:900;
    text-transform:uppercase;
    text-align:left;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    text-shadow:0 4px 18px rgba(0,0,0,.7);
    position:relative;
    z-index:3;
  }

  .mobile-hero-subtitle{
    order:3;
    display:block;
    padding:10px 18px 0;
    color:#fff;
    font-size:17px;
    line-height:1.22;
    text-align:left;
    position:relative;
    z-index:3;
  }

  .hero-bg,
  .hero-bg-video{
    order:2;
    position:relative;
    inset:auto;
    width:100%;
    height:var(--mobile-art-height);
    aspect-ratio:auto;
    object-fit:contain;
    object-position:center center;
    background:#000;
    z-index:2;
  }

  .hero-bg[hidden],
  .hero-bg-video[hidden]{
    display:none;
  }

  .hero-content{
    position:static;
    display:block;
    order:4;
    height:0;
    margin:0;
    padding:0;
    max-width:none;
  }

  .hero-content h1,
  .hero-content p{
    display:none;
  }

  .hero-actions{
    position:absolute;
    left:14px;
    top:calc(var(--mobile-title-height) + var(--mobile-art-height) - 43px);
    z-index:6;
  }

  .hero .primary{
    min-height:28px;
    padding:0 10px;
    border-radius:5px;
    font-size:12px;
    line-height:1;
    box-shadow:0 4px 16px rgba(0,0,0,.55);
  }

  .hero-counter{
    display:none;
  }

  .hero-arrow{
    top:calc(var(--mobile-title-height) + (var(--mobile-art-height) / 2));
    z-index:6;
  }

  .hero-arrow.left{left:16px;}
  .hero-arrow.right{right:16px;}

  .dots{
    bottom:14px;
  }

  .hero .primary,
  .hero-counter{
    padding:5px 8px;
    min-height:26px;
    font-size:12px;
    line-height:1;
  }

  .section-title{
    display:block;
    text-align:left;
    font-size:22px;
    margin-left:0;
  }

  .section-title::before,
  .section-title::after{
    display:none;
  }

  .cards .title-year{
    display:none;
  }

  .game-card .store-buttons{
    row-gap:8px;
    margin:0 0 12px;
  }

  .game-card .store-buttons .mini-store-button:nth-child(2),
  .game-card .store-buttons .mini-store-button:nth-child(2):hover{
    transform:none;
  }

  .game-card .mini-store-button{
    height:46px;
  }

  .game-card .mini-store-button img{
    height:44px;
  }

}

  
/* v.30 final authoritative main-carousel media positioning */
.footer-links{
  margin-bottom:10px;
}

/* BDC: shift the video right so its visible image begins at the carousel's right edge. */
.hero-bg-video[data-slide="bdc"],
.hero-bg-video.bdc-hero-media,
.hero-bg-video[src*="title_bdc"]{
  left:auto !important;
  right:-42px !important;
  width:calc(100% + 42px) !important;
  max-width:none !important;
  object-fit:contain !important;
  object-position:right center !important;
}

/* RTDC: scale to the full carousel height and align flush right without cropping. */
.hero-bg[data-slide="rtdc"],
.hero-bg.rtdc-hero-media,
.hero-bg[src*="rtdc"],
.hero-bg[src*="RTDC"]{
  left:auto !important;
  right:0 !important;
  width:100% !important;
  height:100% !important;
  max-width:none !important;
  object-fit:contain !important;
  object-position:right center !important;
}

/* Preserve the same media treatment in portrait mobile. */
@media (max-width:820px) and (orientation:portrait){
  .hero-bg-video[data-slide="bdc"],
  .hero-bg-video.bdc-hero-media,
  .hero-bg-video[src*="title_bdc"]{
    right:-24px !important;
    width:calc(100% + 24px) !important;
    object-position:right center !important;
  }

  .hero-bg[data-slide="rtdc"],
  .hero-bg.rtdc-hero-media,
  .hero-bg[src*="rtdc"],
  .hero-bg[src*="RTDC"]{
    right:0 !important;
    width:100% !important;
    height:var(--mobile-art-height) !important;
    object-fit:contain !important;
    object-position:right center !important;
  }
}


/* v.31 authoritative footer layout */
footer{
  padding:0 34px 28px;
  color:var(--dim);
  text-align:center;
  font-size:14px;
}

.footer-links{
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:0;
  margin:0 0 10px;
}

.footer-links a{
  color:var(--dim);
  text-decoration:underline;
  margin:0 14px;
}

.footer-copyright{
  display:block;
  width:100%;
  margin:0;
  color:var(--dim);
  line-height:1.4;
}

@media (max-width:820px){
  footer{
    padding:0 18px 26px;
  }

  .footer-links a{
    margin:0 8px;
  }
}


/* v.32 authoritative mobile top navigation */
@media (max-width:820px){
  .topbar{
    display:block;
    text-align:center;
  }

  .brand{
    margin-bottom:18px;
  }

  .nav{
    width:100%;
    margin:0 0 16px;
    display:flex;
    align-items:center;
    justify-content:center;
    flex-wrap:nowrap;
    gap:clamp(8px, 3vw, 16px);
    font-size:clamp(10px, 3vw, 14px);
    white-space:nowrap;
  }

  .nav-item,
  .nav > a{
    flex:0 0 auto;
    min-width:0;
  }

  .games-dropdown{
    width:auto;
    justify-content:center;
  }

  .games-menu-button{
    white-space:nowrap;
  }
}


/* v.33 authoritative product-card and carousel refinements */

/* Keep the three product-card store rows vertically aligned. */
.game-card .card-body > h3{
  min-height:50px;
}

.game-card .card-body > p{
  min-height:45px;
}

.game-card .store-buttons{
  row-gap:14px;
  margin:0 0 18px;
}

.game-card .store-buttons .mini-store-button:nth-child(2),
.game-card .store-buttons .mini-store-button:nth-child(2):hover{
  transform:none;
}

/* Match each carousel title to its corresponding product accent color. */
.hero h1,
.mobile-hero-title{
  color:var(--hero-accent, #fff);
}

/* RTDC carousel video fills the carousel height and sits flush right. */
.hero-bg-video[data-slide="rtdc"]{
  left:auto !important;
  right:0 !important;
  top:0 !important;
  bottom:0 !important;
  width:100% !important;
  height:100% !important;
  max-width:none !important;
  object-fit:contain !important;
  object-position:right center !important;
  background:#020407 !important;
}

/* Keep the existing BDC positioning separate from RTDC. */
.hero-bg-video[data-slide="bdc"]{
  object-fit:contain !important;
  object-position:right center !important;
}

@media (max-width:820px) and (orientation:portrait){
  .game-card .card-body > h3{
    min-height:0;
  }

  .game-card .card-body > p{
    min-height:0;
  }

  .game-card .store-buttons{
    row-gap:8px;
    margin:0 0 12px;
  }

  .hero-bg-video[data-slide="rtdc"]{
    width:100% !important;
    height:var(--mobile-art-height) !important;
    object-fit:contain !important;
    object-position:right center !important;
  }
}


/* v.34 final carousel video edge alignment */

/*
  Both source videos contain visible side padding. Shift each video element
  slightly beyond the carousel's right edge so the picture area, rather than
  the source-file padding, finishes flush with the carousel window.
*/
.hero-bg-video[data-slide="rtdc"]{
  left:auto !important;
  right:-64px !important;
  width:calc(100% + 64px) !important;
  height:100% !important;
  max-width:none !important;
  object-fit:contain !important;
  object-position:right center !important;
}

.hero-bg-video[data-slide="bdc"]{
  left:auto !important;
  right:-54px !important;
  width:calc(100% + 54px) !important;
  max-width:none !important;
  object-fit:contain !important;
  object-position:right center !important;
}

@media (max-width:820px) and (orientation:portrait){
  .hero-bg-video[data-slide="rtdc"]{
    right:-32px !important;
    width:calc(100% + 32px) !important;
    height:var(--mobile-art-height) !important;
  }

  .hero-bg-video[data-slide="bdc"]{
    right:-30px !important;
    width:calc(100% + 30px) !important;
  }
}


/* v.35 final additional carousel video right shift */

/* Move RTDC another 64px right so the visible 4:3 image reaches the carousel edge. */
.hero-bg-video[data-slide="rtdc"]{
  left:auto !important;
  right:-128px !important;
  width:calc(100% + 128px) !important;
  height:100% !important;
  max-width:none !important;
  object-fit:contain !important;
  object-position:right center !important;
}

/* Move BDC another 21px right, approximately one-third of the RTDC adjustment. */
.hero-bg-video[data-slide="bdc"]{
  left:auto !important;
  right:-75px !important;
  width:calc(100% + 75px) !important;
  max-width:none !important;
  object-fit:contain !important;
  object-position:right center !important;
}

@media (max-width:820px) and (orientation:portrait){
  .hero-bg-video[data-slide="rtdc"]{
    right:-64px !important;
    width:calc(100% + 64px) !important;
    height:var(--mobile-art-height) !important;
  }

  .hero-bg-video[data-slide="bdc"]{
    right:-40px !important;
    width:calc(100% + 40px) !important;
  }
}


/* v.37 clickable product-card artwork */
.card-art-link{
  display:block;
  width:100%;
  color:inherit;
  text-decoration:none;
  cursor:pointer;
}

.card-art-link:focus-visible{
  outline:2px solid #fff;
  outline-offset:-2px;
}

.card-art-link:hover .card-art-video,
.card-art-link:hover .bundle-art img{
  transform:scale(1.01);
}

.card-art-video,
.bundle-art img{
  transition:transform 120ms ease-out;
}


/* v.38 hover refinements and embedded-letterbox cropping */

/* Product videos remain visually stable when hovered. */
.card-art-link:hover .card-art-video{
  transform:none !important;
}

/* Keep the Bundles still image hover effect. */
.card-art-link:hover .bundle-art img{
  transform:scale(1.01);
}

/*
  Crop the embedded side letterboxing from the DC and BDC product-card videos.
  The card-art container already hides overflow, so enlarging the source canvas
  makes the visible picture fill the card rather than the black video padding.
*/
.dc-loop-video,
.bdc-loop-video{
  width:100% !important;
  height:100% !important;
  max-width:none !important;
  object-fit:contain !important;
  object-position:center center !important;
  transform:scale(1.33) !important;
  transform-origin:center center !important;
}

.card-art-link:hover .dc-loop-video,
.card-art-link:hover .bdc-loop-video{
  transform:scale(1.33) !important;
}

/* Scale linked product titles on hover without shifting the card layout. */
.game-card h3 a{
  display:inline-block;
  transform-origin:left center;
  transition:transform 120ms ease-out;
}

.game-card h3 a:hover,
.game-card h3 a:focus-visible{
  transform:scale(1.04);
}

/* Scale all Learn More buttons, including the carousel CTA. */
.card-button,
.hero .primary,
.discord-button,
.subscribe-button{
  transition:transform 120ms ease-out, opacity 150ms ease-out;
}

.card-button:hover,
.card-button:focus-visible,
.hero .primary:hover,
.hero .primary:focus-visible,
.discord-button:hover,
.discord-button:focus-visible,
.subscribe-button:hover,
.subscribe-button:focus-visible{
  transform:scale(1.04);
}

/* Match the community buttons in width and text color. */
.discord-button,
.subscribe-button{
  width:160px;
  min-width:160px;
  color:#fff !important;
}

@media (max-width:820px){
  .discord-button,
  .subscribe-button{
    width:160px;
    min-width:160px;
  }
}


/* v.39 final video crop and button refinements */

/* Pull the DC and BDC product-card videos back about 5% so artwork is not clipped. */
.dc-loop-video,
.bdc-loop-video{
  transform:scale(1.13) !important;
}

.card-art-link:hover .dc-loop-video,
.card-art-link:hover .bdc-loop-video{
  transform:scale(1.13) !important;
}

/* All Learn More buttons use white text. */
.card-button,
.hero .primary{
  color:#fff !important;
}

/* Keep Join Discord on one line and match Subscribe to the same width. */
.discord-button,
.subscribe-button{
  width:180px !important;
  min-width:180px !important;
  white-space:nowrap !important;
  color:#fff !important;
}

@media (max-width:820px){
  .discord-button,
  .subscribe-button{
    width:180px !important;
    min-width:180px !important;
  }
}

/* v.62 canonical header matching the product pages with an inert home-page brand */
.topbar{
  min-height:76px;
  height:auto;
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  flex-wrap:nowrap !important;
  gap:clamp(10px,2vw,24px) !important;
  padding:8px clamp(14px,2.5vw,34px) !important;
  text-align:left !important;
  -webkit-backdrop-filter:blur(10px);
}

.topbar .logo-brand{
  width:clamp(92px,14vw,190px);
  flex:0 1 auto;
  margin:0 !important;
  cursor:default;
}

.topbar .nav{
  order:initial !important;
  width:auto !important;
  display:flex !important;
  align-items:center !important;
  justify-content:flex-end !important;
  flex-wrap:nowrap !important;
  gap:clamp(8px,2.2vw,34px) !important;
  margin:0 !important;
  font-size:clamp(10px,1.6vw,16px) !important;
  white-space:nowrap;
}

.topbar .games-dropdown{
  width:auto !important;
  flex:0 0 auto;
}

@media (max-width:420px){
  .topbar{
    min-height:64px;
    padding:0 10px !important;
    gap:8px !important;
  }

  .topbar .logo-brand{
    width:86px;
  }

  .topbar .nav{
    gap:7px !important;
    font-size:9.5px !important;
  }
}

/* v.42 carousel typography, feature strip, and signup refinements */
.hero h1,
.mobile-hero-title{
  -webkit-text-stroke:2px #000;
  paint-order:stroke fill;
  text-shadow:
    -2px -2px 0 #000,
     2px -2px 0 #000,
    -2px  2px 0 #000,
     2px  2px 0 #000,
     0 3px 12px rgba(0,0,0,.9);
}

.hero-content > p,
.mobile-hero-subtitle{
  -webkit-text-stroke:1px #000;
  paint-order:stroke fill;
  text-shadow:
    -1px -1px 0 #000,
     1px -1px 0 #000,
    -1px  1px 0 #000,
     1px  1px 0 #000,
     0 2px 8px rgba(0,0,0,.9);
}

.feature span{
  display:none !important;
}

.signup{
  border-color:rgba(146,75,241,.55);
  background:linear-gradient(90deg, rgba(110,45,190,.22), rgba(255,255,255,.02));
}

/* v.52: MailerLite form LLG0ER, styled to match the original Ludit controls. */
.signup{
  grid-template-columns:88px minmax(360px,.8fr) minmax(0,1.6fr);
}

.signup .ml-embedded{
  grid-column:3;
  width:100%;
  min-width:0;
}

.signup .ml-form-embedContainer,
.signup .ml-form-align-center,
.signup .ml-form-embedWrapper,
.signup .ml-form-embedBody,
.signup .ml-block-form{
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
  padding:0 !important;
  background:transparent !important;
}

.signup .ml-form-embedContent{
  display:none !important;
}

.signup .ml-block-form{
  display:flex !important;
  align-items:center !important;
  gap:16px !important;
}

.signup .ml-form-formContent,
.signup .ml-form-fieldRow,
.signup .ml-field-group{
  flex:1 1 auto !important;
  width:100% !important;
  margin:0 !important;
}

.signup .ml-embedded input[type="email"]{
  box-sizing:border-box !important;
  min-height:46px !important;
  width:100% !important;
  padding:0 15px !important;
  color:#fff !important;
  background:#0b141c !important;
  border:1px solid var(--line) !important;
  border-radius:5px !important;
  font:inherit !important;
}

.signup .ml-embedded input[type="email"]::placeholder{
  color:#8f9aa6 !important;
}

.signup .ml-form-embedSubmit{
  flex:0 0 180px !important;
  width:180px !important;
  margin:0 !important;
}

.signup .ml-form-embedSubmit button{
  box-sizing:border-box !important;
  min-height:44px !important;
  width:180px !important;
  padding:0 22px !important;
  color:#fff !important;
  background:linear-gradient(180deg,#7b35dc,#55259f) !important;
  border:1px solid rgba(178,105,255,.45) !important;
  border-radius:5px !important;
  font:inherit !important;
  font-weight:900 !important;
  text-transform:uppercase !important;
  white-space:nowrap !important;
  cursor:pointer !important;
  transition:transform 120ms ease-out, opacity 150ms ease-out !important;
}

.signup .ml-form-embedSubmit button:hover,
.signup .ml-form-embedSubmit button:focus-visible{
  transform:scale(1.04);
}

.signup .ml-embedded input[type="email"][aria-invalid="true"]{
  border-color:#ffcf4a !important;
  outline:2px solid rgba(255,207,74,.28) !important;
  outline-offset:1px !important;
}

.signup .ludit-email-error{
  display:none;
  width:100%;
  margin:6px 0 0;
  color:#ffdf79 !important;
  font-size:14px;
  line-height:1.25;
  text-align:left;
}

.signup .ludit-email-error.is-visible{display:block;}

.signup .ml-form-successBody{
  padding:0 !important;
  color:#fff !important;
  background:transparent !important;
}

/* MailerLite assigns dark colors to nested success-message elements. */
.signup .ml-form-successBody,
.signup .ml-form-successBody *,
.signup .ml-form-successContent,
.signup .ml-form-successContent *{
  color:#fff !important;
}

/* Keep the confirmation response neatly contained on the right side. */
.signup .ml-form-successBody,
.signup .ml-form-successContent{
  box-sizing:border-box !important;
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  margin:0 !important;
  text-align:left !important;
  white-space:normal !important;
}

.signup .ml-form-successContent h4{
  margin:0 0 10px !important;
  font-size:28px !important;
  line-height:1.05 !important;
  font-weight:500 !important;
  white-space:normal !important;
}

.signup .ml-form-successContent p{
  width:100% !important;
  max-width:100% !important;
  margin:0 !important;
  font-size:15px !important;
  line-height:1.4 !important;
  white-space:normal !important;
  overflow-wrap:anywhere !important;
  word-break:normal !important;
}

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

  .signup .ml-embedded{
    grid-column:auto;
    width:min(100%,420px);
  }

  .signup .ml-block-form{
    flex-direction:column !important;
  }

  .signup .ml-form-embedSubmit{
    flex:0 0 auto !important;
  }
}

/* v.43 explicit, high-contrast carousel title and subtitle outlines */
#heroTitle,
#mobileHeroTitle{
  -webkit-text-stroke:4px #000 !important;
  paint-order:stroke fill !important;
  text-shadow:
    -4px -4px 0 #000,
     4px -4px 0 #000,
    -4px  4px 0 #000,
     4px  4px 0 #000,
     0 0 6px #000,
     0 4px 14px rgba(0,0,0,.95) !important;
}

#heroText,
#mobileHeroText{
  color:var(--hero-accent, #fff) !important;
  -webkit-text-stroke:2px #000 !important;
  paint-order:stroke fill !important;
  text-shadow:
    -2px -2px 0 #000,
     2px -2px 0 #000,
    -2px  2px 0 #000,
     2px  2px 0 #000,
     0 0 4px #000,
     0 3px 10px rgba(0,0,0,.95) !important;
}

/* v.44 outline the carousel CTA to match its title and subtitle. */
#heroPrimary{
  -webkit-text-stroke:2px #000 !important;
  paint-order:stroke fill !important;
  text-shadow:
    -2px -2px 0 #000,
     2px -2px 0 #000,
    -2px  2px 0 #000,
     2px  2px 0 #000,
     0 2px 8px rgba(0,0,0,.95) !important;
}

/* v.45 reduce feature-strip height without changing icon or text sizes. */
.feature-strip{
  padding:10px 36px;
}

@media (max-width:820px){
  .feature-strip{
    padding:10px 18px;
  }

  .feature{
    padding:8px 14px;
  }
}

/* v.46 further compact and vertically center the feature strip. */
.feature-strip{
  padding:4px 36px;
}

.feature{
  align-items:center;
  padding-top:2px;
  padding-bottom:2px;
}

.feature-icon{
  font-size:36px;
  line-height:1;
  align-self:center;
}

.feature > div:last-child{
  min-height:36px;
  display:flex;
  align-items:center;
}

.feature strong{
  margin-bottom:0;
  line-height:1.05;
}

@media (max-width:820px){
  .feature-strip{
    padding:4px 18px;
  }

  .feature{
    padding:4px 14px;
  }
}

/* v.47 three-item rotating feature strip with smaller shared star icons. */
.feature-strip{
  grid-template-columns:repeat(3,minmax(0,1fr));
}

.feature{
  grid-template-columns:42px minmax(0,1fr);
  gap:10px;
}

.feature-icon{
  font-size:31px;
}

/* v.48 keep icons left while centering each feature label. */
.feature > div:last-child{
  justify-content:center;
  text-align:center;
}

/* v.49 plain white CTA text with a black outline around the button itself. */
#heroPrimary{
  color:#fff !important;
  -webkit-text-stroke:0 transparent !important;
  text-shadow:none !important;
  border-color:#000 !important;
  box-shadow:0 0 0 3px #000;
}

@media (max-width:520px){
  .feature-strip{
    padding:4px 6px;
  }

  .feature{
    grid-template-columns:31px minmax(0,1fr);
    gap:4px;
    padding:3px 4px;
  }

  .feature strong{
    min-width:0;
    font-size:clamp(8px,2.5vw,11px);
    line-height:1.05;
    overflow-wrap:anywhere;
  }
}

/* v.59 mobile carousel media: centered static BDC and RTDC artwork. */
@media (max-width:820px) and (orientation:portrait){
  .hero-bg[data-slide="bdc"],
  .hero-bg[data-slide="rtdc"],
  .hero-bg-video[data-slide="rtdc"]{
    left:0 !important;
    right:0 !important;
    width:100% !important;
    height:var(--mobile-art-height) !important;
    object-fit:contain !important;
    object-position:center center !important;
    transform:none !important;
  }
}

/* v.65 authoritative Dark Castle Saga video-card geometry
   The DC/BDC source movies are 16:9 files with roughly 8% black side padding.
   A ~1.493:1 display window crops that side padding while preserving the full
   vertical picture. RTDC uses the same window for a uniform three-card row.
   object-fit:cover fills the box symmetrically and avoids transform-induced
   edge gaps. */
.game-card.dc .card-art,
.game-card.bdc .card-art,
.game-card.rtdc .card-art{
  height:auto !important;
  aspect-ratio:1.4933333333 / 1 !important;
  overflow:hidden !important;
  background:#000 !important;
}

.game-card.dc .card-art-video,
.game-card.bdc .card-art-video{
  width:100% !important;
  height:100% !important;
  max-width:none !important;
  display:block !important;
  object-fit:cover !important;
  object-position:center center !important;
  transform:none !important;
  transform-origin:center center !important;
}

/* RTDC has no baked-in side letterbox, so preserve the full 16:9 frame.
   The shared 1.493:1 card window stays the same height as DC/BDC, and the
   remaining space is filled with black bars above and below. */
.game-card.rtdc .card-art-video{
  width:100% !important;
  height:100% !important;
  max-width:none !important;
  display:block !important;
  object-fit:contain !important;
  object-position:center center !important;
  background:#000 !important;
  transform:none !important;
  transform-origin:center center !important;
}

.game-card.dc .card-art-link:hover .card-art-video,
.game-card.bdc .card-art-link:hover .card-art-video,
.game-card.rtdc .card-art-link:hover .card-art-video{
  transform:none !important;
}

/* v.67 MOBILE-ONLY Dark Castle Saga video correction.
   Desktop v.65 geometry remains untouched.
   Preserve the source video's natural proportions: use the active-picture
   aspect ratio for the card window and enlarge the encoded 16:9 frame only
   horizontally by natural scaling (height:auto), so the baked side padding
   is cropped without vertically squashing the image. */
@media (max-width:820px) and (orientation:portrait){

  .game-card.dc .card-art,
  .game-card.bdc .card-art{
    position:relative !important;
    width:100% !important;
    height:auto !important;
    aspect-ratio:1.4933333333 / 1 !important;
    overflow:hidden !important;
    background:#000 !important;
  }

  .game-card.dc .card-art-video,
  .game-card.bdc .card-art-video{
    position:absolute !important;
    top:50% !important;
    left:50% !important;
    right:auto !important;
    bottom:auto !important;
    width:119.05% !important;
    height:auto !important;
    max-width:none !important;
    max-height:none !important;
    object-fit:contain !important;
    object-position:center center !important;
    transform:translate(-50%,-50%) !important;
    transform-origin:center center !important;
    background:#000 !important;
  }

  /* RTDC has no embedded side padding: preserve its full 16:9 frame naturally. */
  .game-card.rtdc .card-art{
    position:relative !important;
    width:100% !important;
    height:auto !important;
    aspect-ratio:16 / 9 !important;
    overflow:hidden !important;
    background:#000 !important;
  }

  .game-card.rtdc .card-art-video{
    position:absolute !important;
    inset:0 !important;
    width:100% !important;
    height:100% !important;
    max-width:none !important;
    max-height:none !important;
    object-fit:contain !important;
    object-position:center center !important;
    transform:none !important;
    background:#000 !important;
  }
}



/* v.68 MOBILE-ONLY: prevent native touch/drag repositioning of Saga videos.
   The enclosing card-art link remains interactive because pointer events pass
   through the video to the parent link. Desktop layout/geometry is untouched. */
@media (max-width:820px){
  .game-card .card-art-video{
    pointer-events:none !important;
    touch-action:none !important;
    -webkit-user-drag:none !important;
    user-select:none !important;
    -webkit-user-select:none !important;
  }
}


/* v.69 MOBILE-ONLY: harden Saga artwork against Safari native dragging.
   Desktop rules remain untouched. Vertical page scrolling and link taps remain enabled. */
@media (max-width:820px){

  .game-card .card-art-link{
    -webkit-user-drag:none !important;
    user-select:none !important;
    -webkit-user-select:none !important;
    -webkit-touch-callout:none !important;
    touch-action:pan-y !important;
  }

  .game-card .card-art-video{
    pointer-events:none !important;
    -webkit-user-drag:none !important;
    user-select:none !important;
    -webkit-user-select:none !important;
    -webkit-touch-callout:none !important;
    touch-action:none !important;
  }
}

@media (max-width:820px) and (orientation:portrait){
  /* Same visual crop as v.67/v.68, but no transform on the video layer. */
  .game-card.dc .card-art-video,
  .game-card.bdc .card-art-video{
    top:0 !important;
    left:-9.525% !important;
    right:auto !important;
    bottom:auto !important;
    width:119.05% !important;
    height:auto !important;
    transform:none !important;
  }
}
