
/* midas55official.com -- structure after hacksawgaming.com, palette from midas55.com */
@font-face{font-family:Anton;src:url(/assets/fonts/anton.woff2) format('woff2');
           font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:Figtree;src:url(/assets/fonts/figtree.woff2) format('woff2');
           font-weight:300 900;font-style:normal;font-display:swap}

:root{
  --ink:#0d0d0d; --ink2:#171817; --ink3:#202120;
  --gold:#ffd426; --gold-soft:#feec96;
  --text:#ececec; --muted:#9a9a98; --line:rgba(255,255,255,.13);
  --wrap:1180px; --r:4px;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--ink);color:var(--text);
     font:400 17px/1.65 Figtree,system-ui,-apple-system,"Segoe UI",sans-serif;
     -webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
a{color:var(--gold);text-underline-offset:3px}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 20px}

/* ---- display type: the Hacksaw signature ---- */
h1,h2,h3,.disp{font-family:Anton,Impact,"Arial Narrow Bold",sans-serif;
  font-weight:400;text-transform:uppercase;letter-spacing:.01em;line-height:.95;margin:0}
h1{font-size:clamp(2.6rem,7vw,5rem)}
h2{font-size:clamp(2rem,4.6vw,3.3rem);margin:0 0 .5em}
h3{font-size:clamp(1.25rem,2.2vw,1.6rem);margin:0 0 .4em}
p{margin:0 0 1.1em}
.lede{font-size:clamp(1.05rem,1.8vw,1.25rem);color:#d6d6d4;max-width:62ch}
.muted{color:var(--muted)}
section{padding:clamp(48px,7vw,86px) 0}
.rule{height:1px;background:var(--line);border:0;margin:0}

/* ---- header ---- */
.hdr{position:sticky;top:0;z-index:60;background:#000;border-bottom:1px solid var(--line);
     overflow-x:clip}
.hdr__in{display:flex;align-items:center;gap:28px;height:68px;max-width:var(--wrap);
         margin:0 auto;padding:0 20px}
/* The logo is the supplied brand artwork, not type. Height drives it and width
   follows the intrinsic ratio, so the one asset serves every breakpoint.
   flex-shrink:0 stops the nav squeezing it on narrow screens. */
.logo{display:flex;align-items:center;text-decoration:none;flex-shrink:0}
.logo img{display:block;height:42px;width:auto}
.nav{display:flex;gap:22px;margin-left:auto;align-items:center}
.hdr__cta{margin-left:22px}
.nav a{color:#fff;text-decoration:none;font-weight:600;font-size:14px;
       text-transform:uppercase;letter-spacing:.06em}
.nav a:hover,.nav a[aria-current=page]{color:var(--gold)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5em;
     background:var(--gold);color:#101010;font-weight:800;font-size:14px;
     text-transform:uppercase;letter-spacing:.06em;text-decoration:none;
     padding:12px 20px;border:0;border-radius:var(--r);cursor:pointer}
.btn:hover{background:var(--gold-soft)}
.btn--ghost{background:transparent;color:var(--gold);box-shadow:inset 0 0 0 2px var(--gold)}
.btn--ghost:hover{background:rgba(255,212,38,.12)}
.btn--lg{padding:16px 30px;font-size:16px}
.hdr .btn{padding:10px 16px}
/* Below 860px the links used to be display:none, which left phone visitors
   with no navigation at all except the CTA and the footer. They now sit in a
   second row that scrolls sideways -- no JS, no hamburger, nothing to break. */
@media(max-width:860px){
  .hdr__in{flex-wrap:wrap;height:auto;padding:12px 20px 0;gap:12px}
  .logo img{height:34px}
  .hdr__cta{margin-left:auto;padding:9px 14px;font-size:12px;white-space:nowrap}
  /* min-width:0 is load-bearing: a flex item defaults to min-width:auto, so it
     refuses to shrink below its content and overflow-x:auto never engages --
     the whole PAGE scrolls sideways instead of the strip. */
  .nav{order:3;width:100%;min-width:0;max-width:100%;margin:12px -20px 0;gap:0;
       overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;
       border-top:1px solid var(--line)}
  .nav::-webkit-scrollbar{display:none}
  .nav a{flex:0 0 auto;padding:13px 15px;font-size:13px}
  .nav a:first-child{padding-left:20px}
  .nav a:last-child{padding-right:20px}
}

.hero{position:relative;background:#000;border-bottom:1px solid var(--line);overflow:hidden}
.hero__art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.5}
/* Game splash art has the game's own logo baked in, which fights the H1.
   A small blur keeps the colour and mood and loses the competing lettering.
   The home hero uses a clean background plate and opts out. */
.hero__art--blur{filter:blur(7px);transform:scale(1.04)}
/* The art is busy and the headline has to win. A flat opacity was not enough:
   game logos read straight through the display type. This scrim is dark and
   near-opaque behind the text column, clearing toward the right. */
.hero::after{content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(100deg,rgba(13,13,13,.97) 0%,rgba(13,13,13,.93) 34%,
             rgba(13,13,13,.62) 62%,rgba(13,13,13,.42) 100%)}
.hero__in{position:relative;z-index:2;max-width:var(--wrap);margin:0 auto;
  padding:clamp(56px,9vw,110px) 20px}
.hero h1{max-width:16ch;text-shadow:0 2px 24px rgba(0,0,0,.85)}
.hero .lede{margin-top:18px;text-shadow:0 1px 12px rgba(0,0,0,.8)}
.hero__cta{display:flex;gap:12px;flex-wrap:wrap;margin-top:26px}

/* ---- band hero, for the inner pages ----
   The home and game heroes put art to the RIGHT of a narrow text column. These
   pages have a headline that runs nearly the full width, so there is no empty
   side to fill: the art sits behind everything and the scrim has to be even
   top-to-bottom rather than a side gradient. Shorter, too -- these pages lead
   with a table or a list, and a full-height hero just pushes it off screen. */
.hero--band{padding:0}
.hero--band .hero__in{padding:clamp(38px,5.5vw,66px) 20px}
.hero--band .hero__art{opacity:.78}
.hero--band::after{background:linear-gradient(180deg,rgba(13,13,13,.78) 0%,
                   rgba(13,13,13,.62) 45%,rgba(13,13,13,.90) 100%)}
.hero--band h1{max-width:none}
.hero--band .lede{max-width:62ch}

/* ---- stat band (hacksaw's +350 / +3,000 / +40) ---- */
.stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
       border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.stat{padding:30px 22px;text-align:center;border-left:1px solid var(--line)}
.stat:first-child{border-left:0}
.stat__n{font-family:Anton,sans-serif;font-size:clamp(2rem,4vw,2.9rem);color:var(--gold);line-height:1}
.stat__l{display:block;margin-top:8px;font-size:12px;font-weight:700;letter-spacing:.1em;
         text-transform:uppercase;color:var(--muted)}

/* ---- game cards: full-bleed art, the card IS the artwork ---- */
.cards{display:grid;gap:18px;grid-template-columns:repeat(auto-fill,minmax(310px,1fr));
       list-style:none;padding:0;margin:0}
.card{position:relative;display:block;overflow:hidden;border-radius:var(--r);
      background:var(--ink2);text-decoration:none;color:#fff;
      border:1px solid var(--line);transition:transform .18s ease,border-color .18s ease}
.card:hover{transform:translateY(-3px);border-color:var(--gold)}
.card img{aspect-ratio:1200/608;object-fit:cover;width:100%}
.card__bar{position:absolute;left:0;right:0;bottom:0;display:flex;align-items:flex-end;
           justify-content:space-between;gap:12px;padding:34px 14px 12px;
           background:linear-gradient(to top,rgba(0,0,0,.92),rgba(0,0,0,.55) 55%,transparent)}
.card__n{font-weight:800;font-size:16px;line-height:1.2}
.card__m{display:block;font-size:12px;color:var(--gold-soft);font-weight:600;margin-top:2px}

/* volatility meter, after hacksaw's own five-mark scale */
.vol{display:flex;gap:3px;align-items:flex-end;flex:0 0 auto}
.vol i{width:5px;height:14px;background:rgba(255,255,255,.28);display:block;border-radius:1px}
.vol i.on{background:var(--gold);height:18px}

/* ---- spec table ---- */
.spec{width:100%;border-collapse:collapse;margin:0 0 1.4em}
.spec th,.spec td{text-align:left;padding:13px 14px;border-bottom:1px solid var(--line);
                  font-size:15px;vertical-align:top}
.spec th{width:38%;color:var(--muted);font-weight:600;text-transform:uppercase;
         letter-spacing:.06em;font-size:12px}
.spec td{font-weight:600}
.spec tr:last-child th,.spec tr:last-child td{border-bottom:0}

/* ---- demo panel ---- */
.demo{position:relative;background:#000;border:1px solid var(--line);border-radius:var(--r);
      overflow:hidden;aspect-ratio:16/10;transition:border-color .2s ease}
/* FLEX, not grid. With display:grid + place-items:center the icon and the
   label become two separate grid ROWS, each centred inside its own band, so
   they drift apart and neither ends up in the middle of the panel. */
.demo__poster{position:absolute;inset:0;width:100%;height:100%;border:0;padding:0;
              background:#000;cursor:pointer;display:flex;flex-direction:column;
              align-items:center;justify-content:center;gap:16px}
.demo__art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.46;
           transition:opacity .25s ease,transform .4s ease}
.demo__play{position:relative;z-index:2;transition:transform .2s ease;
            filter:drop-shadow(0 8px 22px rgba(0,0,0,.65))}
.demo__label{position:relative;z-index:2;color:#fff;font-weight:800;text-transform:uppercase;
             letter-spacing:.06em;font-size:15px;background:rgba(0,0,0,.6);
             padding:9px 18px;border-radius:999px;transition:background .2s ease,color .2s ease}
/* Without a hover state the panel reads as a flat screenshot and nobody
   clicks it. The art lifts, the button grows, the label goes gold. */
.demo__poster:hover .demo__art,.demo__poster:focus-visible .demo__art{opacity:.66;transform:scale(1.04)}
.demo__poster:hover .demo__play,.demo__poster:focus-visible .demo__play{transform:scale(1.1)}
.demo__poster:hover .demo__label,.demo__poster:focus-visible .demo__label{
  background:var(--gold);color:#101010}
.demo__poster:focus-visible{outline:3px solid var(--gold);outline-offset:-3px}
.demo:has(.demo__poster:hover){border-color:var(--gold)}
.demo__frame{width:100%;height:100%;border:0;display:block}
.demo.is-live{aspect-ratio:16/10}
.demo__fine{font-size:13px;color:var(--muted);margin:10px 0 0}

/* ---- callout + faq ---- */
.note{border-left:3px solid var(--gold);background:var(--ink2);padding:18px 20px;
      border-radius:0 var(--r) var(--r) 0;margin:0 0 1.4em}
.note p:last-child{margin:0}
.faq{border-top:1px solid var(--line)}
.faq details{border-bottom:1px solid var(--line)}
.faq summary{cursor:pointer;padding:18px 0;font-weight:700;font-size:17px;list-style:none}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";float:right;color:var(--gold);font-weight:400;font-size:22px;line-height:1}
.faq details[open] summary::after{content:"\2212"}
.faq details > p{margin:0 0 18px;color:#d2d2d0}

/* ---- cta band ---- */
.band{background:var(--ink2);border-top:1px solid var(--line);border-bottom:1px solid var(--line);
      text-align:center}
.band .btn{margin-top:18px}

/* ---- footer ---- */
.ftr{background:#000;border-top:1px solid var(--line);padding:46px 0 34px;
     font-size:14px;color:var(--muted)}
.ftr a{color:#cfcfcd;text-decoration:none}
.ftr a:hover{color:var(--gold)}
.ftr__cols{display:grid;gap:26px;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));
           margin-bottom:28px}
.ftr__h{font-weight:800;color:#fff;text-transform:uppercase;letter-spacing:.08em;
        font-size:12px;margin:0 0 10px}
.ftr ul{list-style:none;margin:0;padding:0;display:grid;gap:7px}
.ftr__legal{border-top:1px solid var(--line);padding-top:20px;font-size:13px;line-height:1.7}
.eighteen{display:inline-grid;place-items:center;width:30px;height:30px;border-radius:50%;
          border:2px solid var(--muted);font-weight:800;font-size:12px;color:var(--muted);
          margin-right:10px;vertical-align:middle}
.skip{position:absolute;left:-9999px}
.skip:focus{left:8px;top:8px;z-index:99;background:var(--gold);color:#000;padding:10px 14px}
/* ---- phone layout ----------------------------------------------------
   This block MUST stay at the end of the stylesheet. The header's own
   @media block sits near the top, above .hero/.stats, so overrides written
   there lose the cascade to the base rules that follow and silently do
   nothing -- which is exactly what happened on the first attempt. */
@media(max-width:860px){
  /* The hero carried 104px of padding above AND below the text on a phone
     (48 on .hero + 56 on .hero__in), leaving a dead band under the buttons
     taller than the buttons themselves. */
  .hero{padding:20px 0}
  .hero__in{padding:26px 20px 30px}

  /* Both CTAs on one row. flex:1 1 0 + min-width:0 makes them share the width
     evenly instead of sizing to their text -- without min-width:0 a flex item
     refuses to shrink below its content and they wrap again. A long label
     ("Play for real at MIDAS55") then wraps to two lines instead of
     overflowing, and align-items:stretch keeps both buttons the same height. */
  .hero__cta{flex-wrap:nowrap;gap:10px;margin-top:22px;align-items:stretch}
  .hero__cta .btn{flex:1 1 0;min-width:0;padding:13px 6px;font-size:11.5px;
                  letter-spacing:.03em;text-align:center;line-height:1.25;
                  display:flex;align-items:center;justify-content:center}

  /* auto-fit with minmax(180px,1fr) only ever fits TWO columns on a phone, so
     the third figure dropped onto its own row. Pin it to three. */
  .stats{grid-template-columns:repeat(3,1fr)}
  .stat{padding:18px 7px}
  .stat__n{font-size:1.45rem}
  .stat__l{font-size:9.5px;letter-spacing:.05em;margin-top:6px}
}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
