html,body{margin:0;padding:0;min-height:100%}
.v51-page{margin:0;min-height:100vh;background:#071321;color:#f7f9ff;font-family:Segoe UI,Arial,sans-serif;overflow-x:hidden}
.v51-page *{box-sizing:border-box}.v51-page a{text-decoration:none}.v51-shell{width:min(1420px,calc(100% - 64px));margin:0 auto}
.v51-header{position:sticky;top:0;z-index:80;background:rgba(7,18,32,.97);border-bottom:1px solid #203956;backdrop-filter:blur(14px)}
.v51-header .v51-shell{min-height:76px;display:flex;align-items:center;justify-content:space-between}
.v51-brand{display:flex;gap:5px;color:#fff;font-size:24px;font-weight:900}.v51-brand b{color:#7ea4ff}
.v51-nav{display:flex;align-items:center;gap:10px}.v51-nav a{min-height:48px;display:flex;align-items:center;padding:0 22px;color:#eef3ff;font-weight:700}
.v51-nav a.active{color:#82a8ff;position:relative}.v51-nav a.active:after{content:"";position:absolute;left:28%;right:28%;bottom:2px;height:3px;background:#7ea4ff;border-radius:5px}
.v51-create-top{border:1px solid #668ed2;border-radius:8px;background:#0e2039}
.v51-hero{position:relative;min-height:590px;overflow:hidden;background:radial-gradient(circle at 48% 34%,rgba(66,116,195,.28),transparent 30%),linear-gradient(110deg,#07111f,#0a1a31 56%,#091728)}
.v51-grid{position:absolute;inset:0;opacity:.13;background-image:linear-gradient(rgba(94,141,203,.18) 1px,transparent 1px),linear-gradient(90deg,rgba(94,141,203,.18) 1px,transparent 1px);background-size:72px 72px}
.v51-player{position:absolute;z-index:2;top:24px;bottom:0;left:38%;width:31%;background:url("/static/assets/matchsimple_reference_player.png") center 46%/contain no-repeat;filter:saturate(.93) contrast(1.05);pointer-events:none}
.v51-content{position:relative;z-index:4;width:min(1420px,calc(100% - 64px));margin:0 auto;display:grid;grid-template-columns:57% 43%;gap:28px;padding-top:48px}
.v51-copy{position:relative;z-index:6;padding-right:120px}
.v51-kicker{margin:0 0 20px;color:#7ca3ff;font:800 11px ui-monospace,Consolas,monospace;letter-spacing:.30em}
.v51-copy h1{margin:0;font-size:clamp(46px,3.55vw,64px);line-height:1.04;letter-spacing:-.045em;font-weight:900}
.v51-title-line{display:block;white-space:nowrap}.v51-copy h1 em{font-style:normal;color:#7ea4ff}
.v51-lead{max-width:650px;margin:22px 0 20px;color:#d0daea;font-size:17px;line-height:1.48}
.v51-stats{display:grid;grid-template-columns:1fr 1fr;gap:16px;max-width:620px}.v51-stat{min-height:94px;display:flex;align-items:center;gap:18px;padding:15px 20px;border:1px solid #385887;border-radius:12px;background:linear-gradient(180deg,rgba(20,39,67,.92),rgba(14,29,51,.96));box-shadow:inset 0 1px rgba(255,255,255,.03),0 12px 30px rgba(0,0,0,.15)}
.v51-stat-icon{width:58px;height:58px;display:grid;place-items:center;border-radius:11px;background:#172e50;color:#7ea4ff;font-size:30px}.v51-stat strong{display:block;font-size:35px;line-height:1}.v51-stat small{display:block;margin-top:6px;color:#d0d9e9;font-size:15px}
.v51-actions{display:grid;grid-template-columns:1.1fr .8fr;gap:14px;max-width:620px;margin-top:18px}.v51-primary,.v51-secondary{min-height:58px;display:flex;align-items:center;justify-content:center;border-radius:10px;font-size:18px;font-weight:900}
.v51-primary{color:#07111f;background:linear-gradient(135deg,#8aaeff,#718ff5);box-shadow:0 12px 30px rgba(75,117,214,.22)}.v51-primary b{margin-left:12px;font-size:24px}.v51-secondary{color:#fff;border:1px solid #4b6d9f;background:#0c1c31}
.v51-benefits{display:flex;gap:28px;flex-wrap:wrap;margin-top:24px;color:#d2dceb;font-size:14px}
.v51-results{position:relative;z-index:8;min-height:520px;border:1px solid #2e4c74;border-radius:13px;padding:20px;background:radial-gradient(circle at 86% 4%,rgba(74,119,190,.11),transparent 30%),linear-gradient(180deg,rgba(13,29,52,.96),rgba(9,23,42,.98));box-shadow:0 20px 60px rgba(0,0,0,.22)}
.v51-results-head{display:flex;justify-content:space-between;gap:18px;margin-bottom:17px}.v51-results-head h2{margin:0;font-size:25px}.v51-results-head p{margin:5px 0 0;color:#9eb0c9;font-size:13px}.v51-view{color:#7ea4ff;font-size:13px;font-weight:700}
.v51-results-list{display:grid;gap:10px}.v51-result{min-height:74px;display:grid;grid-template-columns:28px 1fr 48px;gap:12px;align-items:center;padding:10px 13px;border:1px solid #294361;border-radius:10px;background:linear-gradient(180deg,#102039,#0d1b30)}.v51-result[hidden]{display:none!important}
.v51-check{width:22px;height:22px;display:grid;place-items:center;border-radius:50%;background:#58c875;color:#06120a;font-size:12px;font-weight:900}.v51-result-body{min-width:0}.v51-meta{display:flex;justify-content:space-between;color:#91a5bf;font-size:10px}
.v51-match{display:grid;grid-template-columns:1fr 24px 1fr;align-items:center;gap:8px;margin-top:4px}.v51-team{display:flex;align-items:center;gap:8px;min-width:0}.v51-team span{flex:0 0 29px;width:29px;height:29px;display:grid;place-items:center;border-radius:50%;border:1px solid #77a5e4;background:#17345a;color:#b7ceff;font-size:10px;font-weight:900}.v51-team b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px}.v51-vs{color:#7f91aa;font-size:10px}.v51-pick{margin-top:4px;color:#9bacbf;font-size:10px}.v51-pick b{color:#7ea4ff}.v51-pick em{margin-left:8px;color:#b8c6da;font-style:normal}.v51-win{padding:7px 6px;border-radius:7px;background:#174530;border:1px solid #2f7255;color:#6edb94;text-align:center;font-size:10px;font-weight:900}
.v51-empty{min-height:360px;display:grid;place-content:center;text-align:center;color:#a8b7ca}.v51-empty>span{width:44px;height:44px;display:grid;place-items:center;margin:0 auto 12px;border-radius:50%;background:#174530;color:#6edb94;font-size:20px}.v51-empty h3{margin:0 0 8px;color:#f1f4fb}.v51-empty p{max-width:340px;margin:0}
.v51-dots{display:flex;justify-content:center;gap:7px;margin-top:12px}.v51-dot{width:8px;height:8px;padding:0;border:0;border-radius:50%;background:#40536b}.v51-dot.active{background:#7ea4ff;box-shadow:0 0 10px rgba(126,164,255,.45)}.v51-note{margin:7px 0 0;color:#6f8198;font-size:8px;text-align:right}
.v51-feature-zone{border-top:1px solid #203955;background:#071321;padding:22px 0 34px}.v51-features{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.v51-feature{min-height:160px;display:grid;grid-template-columns:58px 1fr;gap:16px;padding:18px;border:1px solid #2d496f;border-radius:12px;background:radial-gradient(circle at 15% 20%,rgba(73,112,179,.10),transparent 34%),linear-gradient(180deg,#102039,#0c192d)}
.v51-feature>span{width:56px;height:56px;display:grid;place-items:center;border:1px solid #365b8e;border-radius:10px;background:#142b4a;color:#7ea4ff;font-size:28px}.v51-feature h3{margin:6px 0 8px;font-size:16px}.v51-feature p{margin:0;color:#aebed2;font-size:13px;line-height:1.5}
@media(max-width:1180px){.v51-shell,.v51-content{width:min(1120px,calc(100% - 36px))}.v51-copy{padding-right:55px}.v51-player{left:40%;width:27%;opacity:.8}.v51-features{grid-template-columns:repeat(2,1fr)}}
@media(max-width:900px){.v51-content{grid-template-columns:1fr}.v51-copy{padding-right:0}.v51-title-line{white-space:normal}.v51-player{position:relative;left:auto;top:auto;width:100%;height:390px;margin-top:20px;background-position:center}.v51-results{margin-top:20px}.v51-content{display:block}}
@media(max-width:680px){.v51-shell,.v51-content{width:calc(100% - 22px)}.v51-header .v51-shell{min-height:68px}.v51-brand{font-size:18px}.v51-nav{gap:3px}.v51-nav a[href="#home"],.v51-nav a[href="#results"]{display:none}.v51-nav a{padding:0 9px;font-size:12px}.v51-create-top{min-width:125px}.v51-copy h1{font-size:clamp(42px,13vw,58px)}.v51-stats,.v51-actions{grid-template-columns:1fr}.v51-benefits{gap:12px}.v51-features{grid-template-columns:1fr}}


/* ==========================================================
   v5.2 exact approved-screen proportions
   Targets the 1672x941 reference composition.
   ========================================================== */
.v51-page{
  background:
    radial-gradient(circle at 50% 20%,rgba(48,103,177,.30),transparent 28%),
    radial-gradient(circle at 8% 63%,rgba(37,76,126,.20),transparent 30%),
    linear-gradient(112deg,#06111e 0%,#0a1b31 56%,#071524 100%);
}
.v51-header{
  height:70px;
}
.v51-header .v51-shell{
  min-height:70px;
  width:min(1540px,calc(100% - 118px));
}
.v51-brand{
  font-size:25px;
  letter-spacing:-.035em;
}
.v51-nav a{
  min-height:52px;
  padding:0 26px;
  font-size:15px;
}
.v51-create-top{
  min-width:210px;
  justify-content:center;
  border-radius:9px;
  background:linear-gradient(135deg,#85b7ff,#6b9df7);
  color:#06111e!important;
}

.v51-hero{
  min-height:645px;
}
.v51-content{
  width:min(1550px,calc(100% - 118px));
  grid-template-columns:65% 35%;
  gap:34px;
  padding-top:50px;
}
.v51-copy{
  padding-right:360px;
}
.v51-kicker{
  margin-bottom:18px;
  font-size:12px;
  letter-spacing:.32em;
}
.v51-copy h1{
  max-width:760px;
  font-size:clamp(54px,4.28vw,72px);
  line-height:1.03;
}
.v51-title-line{
  display:block;
  white-space:nowrap;
}
.v51-lead{
  max-width:690px;
  margin-top:21px;
  font-size:18px;
  line-height:1.46;
}
.v51-stats{
  max-width:650px;
  gap:17px;
}
.v51-stat{
  min-height:95px;
  border-radius:12px;
}
.v51-actions{
  max-width:650px;
  margin-top:17px;
}
.v51-primary,.v51-secondary{
  min-height:58px;
  font-size:18px;
}
.v51-benefits{
  margin-top:20px;
  gap:29px;
  font-size:14px;
}

/* exact central player placement: behind the copy, never affecting layout */
.v51-player{
  position:absolute;
  z-index:3;
  left:36.5%;
  top:18px;
  width:34%;
  height:610px;
  opacity:1;
  background-position:center 44%;
  background-size:contain;
}

/* right panel aligned with hero top and bottom */
.v51-results{
  min-height:535px;
  margin-top:0;
  border-radius:14px;
  padding:21px 20px 17px;
}
.v51-results-head h2{
  font-size:26px;
}
.v51-results-head p{
  font-size:13px;
}
.v51-result{
  min-height:77px;
}

/* lower cards begin immediately after the hero like the reference */
.v51-feature-zone{
  padding-top:22px;
  padding-bottom:42px;
}
.v51-features{
  width:min(1550px,calc(100% - 118px));
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}
.v51-feature{
  min-height:162px;
  border-radius:11px;
  padding:18px;
}
.v51-feature h3{
  font-size:17px;
}
.v51-feature p{
  font-size:13px;
  line-height:1.45;
}

/* laptop widths */
@media(max-width:1400px){
  .v51-header .v51-shell,
  .v51-content,
  .v51-features{
    width:min(1200px,calc(100% - 44px));
  }
  .v51-content{
    grid-template-columns:62% 38%;
  }
  .v51-copy{
    padding-right:245px;
  }
  .v51-player{
    left:36%;
    width:31%;
  }
  .v51-copy h1{
    font-size:clamp(49px,4.25vw,65px);
  }
}
@media(max-width:1050px){
  .v51-content{
    display:block;
  }
  .v51-copy{
    padding-right:0;
  }
  .v51-title-line{
    white-space:normal;
  }
  .v51-player{
    position:relative;
    left:auto;
    top:auto;
    width:100%;
    height:430px;
    margin:16px 0 0;
  }
  .v51-results{
    margin-top:22px;
  }
  .v51-features{
    grid-template-columns:repeat(2,1fr);
  }
}
@media(max-width:700px){
  .v51-header .v51-shell,
  .v51-content,
  .v51-features{
    width:calc(100% - 22px);
  }
  .v51-copy h1{
    font-size:clamp(42px,13vw,58px);
  }
  .v51-stats,.v51-actions{
    grid-template-columns:1fr;
  }
  .v51-features{
    grid-template-columns:1fr;
  }
}


/* ==========================================================
   v5.3 AUTO-FIT RESPONSIVE
   Keeps the approved desktop composition while automatically
   fitting large PC, laptop, tablet and mobile screens.
   ========================================================== */

:root{
  --v53-page-max:1550px;
  --v53-gutter:clamp(14px,3.6vw,59px);
}

/* Never allow horizontal overflow */
html,body{
  width:100%;
  max-width:100%;
  overflow-x:hidden;
}
.v51-page{
  width:100%;
  min-width:0;
}
.v51-header .v51-shell,
.v51-content,
.v51-features{
  width:min(var(--v53-page-max),calc(100% - (var(--v53-gutter) * 2)));
}

/* Desktop scales fluidly instead of relying on one fixed screenshot width */
.v51-header .v51-shell{
  gap:clamp(18px,3vw,50px);
}
.v51-brand{
  flex:0 0 auto;
}
.v51-nav{
  min-width:0;
  flex-wrap:nowrap;
}
.v51-nav a{
  padding-left:clamp(12px,1.55vw,26px);
  padding-right:clamp(12px,1.55vw,26px);
}
.v51-create-top{
  min-width:clamp(150px,13vw,210px);
}

.v51-content{
  grid-template-columns:minmax(0,65fr) minmax(360px,35fr);
  gap:clamp(20px,2.3vw,34px);
}
.v51-copy{
  min-width:0;
  padding-right:clamp(210px,22vw,360px);
}
.v51-copy h1{
  font-size:clamp(48px,4.28vw,72px);
}
.v51-title-line{
  max-width:100%;
}
.v51-lead,
.v51-stats,
.v51-actions,
.v51-benefits{
  max-width:min(100%,690px);
}
.v51-player{
  left:clamp(35%,36.5vw,38%);
  width:clamp(420px,34vw,560px);
  max-width:40vw;
}
.v51-results{
  width:100%;
  min-width:0;
}
.v51-result{
  min-width:0;
}
.v51-result-body,
.v51-team{
  min-width:0;
}

.v51-features{
  grid-template-columns:repeat(4,minmax(0,1fr));
}
.v51-feature{
  min-width:0;
}

/* Large desktops */
@media(min-width:1800px){
  :root{--v53-page-max:1600px}
  .v51-copy h1{font-size:72px}
  .v51-player{
    width:560px;
    max-width:560px;
    left:36.5%;
  }
}

/* Standard PC / laptop */
@media(max-width:1450px){
  :root{--v53-gutter:clamp(18px,2.4vw,38px)}
  .v51-content{
    grid-template-columns:minmax(0,61fr) minmax(390px,39fr);
  }
  .v51-copy{
    padding-right:clamp(180px,17vw,245px);
  }
  .v51-player{
    left:35.5%;
    width:clamp(370px,31vw,470px);
    max-width:34vw;
  }
}

/* Small laptop / landscape tablet */
@media(max-width:1180px){
  .v51-header .v51-shell{
    min-height:66px;
  }
  .v51-brand{
    font-size:20px;
  }
  .v51-nav{
    gap:2px;
  }
  .v51-nav a{
    font-size:13px;
    padding-left:11px;
    padding-right:11px;
  }
  .v51-create-top{
    min-width:145px;
  }

  .v51-content{
    grid-template-columns:minmax(0,58fr) minmax(350px,42fr);
    padding-top:38px;
  }
  .v51-copy{
    padding-right:125px;
  }
  .v51-copy h1{
    font-size:clamp(44px,4.6vw,58px);
  }
  .v51-player{
    left:34%;
    width:340px;
    max-width:30vw;
    opacity:.84;
  }
  .v51-results{
    padding:16px;
  }
  .v51-results-head h2{
    font-size:22px;
  }
  .v51-result{
    grid-template-columns:24px minmax(0,1fr) 43px;
    padding:9px 10px;
  }
  .v51-features{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

/* Tablet and mobile: stack cleanly, keep same visual language */
@media(max-width:900px){
  :root{--v53-gutter:16px}

  .v51-header{
    position:relative;
  }
  .v51-header .v51-shell{
    min-height:64px;
    width:calc(100% - 24px);
  }
  .v51-brand{
    font-size:18px;
  }
  .v51-nav a[href="#home"],
  .v51-nav a[href="#results"]{
    display:none;
  }
  .v51-nav a{
    padding-left:8px;
    padding-right:8px;
    font-size:12px;
  }
  .v51-create-top{
    min-width:122px;
  }

  .v51-hero{
    min-height:auto;
  }
  .v51-content{
    display:flex;
    flex-direction:column;
    width:calc(100% - 28px);
    padding-top:28px;
    gap:18px;
  }
  .v51-copy{
    order:1;
    padding-right:0;
  }
  .v51-title-line{
    white-space:normal;
  }
  .v51-copy h1{
    max-width:100%;
    font-size:clamp(40px,8vw,56px);
  }
  .v51-lead{
    max-width:720px;
  }
  .v51-stats{
    max-width:720px;
  }
  .v51-actions{
    max-width:720px;
  }

  .v51-player{
    order:2;
    position:relative;
    left:auto;
    top:auto;
    width:100%;
    max-width:none;
    height:clamp(300px,55vw,430px);
    margin:0;
    background-position:center 40%;
    opacity:1;
  }
  .v51-results{
    order:3;
    margin-top:0;
    min-height:auto;
  }
  .v51-empty{
    min-height:260px;
  }
  .v51-features{
    width:calc(100% - 28px);
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

/* Phones */
@media(max-width:620px){
  .v51-header .v51-shell{
    width:calc(100% - 18px);
  }
  .v51-brand{
    font-size:16px;
  }
    .v51-create-top{
    min-width:116px;
    padding-left:8px!important;
    padding-right:8px!important;
    font-size:11px!important;
  }

  .v51-content{
    width:calc(100% - 20px);
    padding-top:20px;
  }
  .v51-kicker{
    font-size:9px;
    letter-spacing:.21em;
  }
  .v51-copy h1{
    font-size:clamp(36px,11vw,48px);
    line-height:1.05;
  }
  .v51-lead{
    font-size:15px;
    line-height:1.48;
  }
  .v51-stats{
    grid-template-columns:1fr 1fr;
    gap:9px;
  }
  .v51-stat{
    min-height:78px;
    gap:10px;
    padding:11px;
  }
  .v51-stat-icon{
    width:44px;
    height:44px;
    font-size:23px;
  }
  .v51-stat strong{
    font-size:27px;
  }
  .v51-stat small{
    font-size:12px;
  }
  .v51-actions{
    grid-template-columns:1fr;
    gap:9px;
  }
  .v51-primary,.v51-secondary{
    min-height:52px;
    font-size:16px;
  }
  .v51-benefits{
    display:grid;
    grid-template-columns:1fr;
    gap:6px;
    font-size:12px;
  }

  .v51-player{
    height:330px;
    background-size:contain;
  }

  .v51-results{
    padding:14px 11px;
  }
  .v51-results-head{
    align-items:flex-start;
  }
  .v51-results-head h2{
    font-size:20px;
  }
  .v51-view{
    font-size:10px;
  }
  .v51-result{
    grid-template-columns:22px minmax(0,1fr) 40px;
    gap:8px;
    min-height:70px;
  }
  .v51-match{
    grid-template-columns:minmax(0,1fr) 18px minmax(0,1fr);
    gap:5px;
  }
  .v51-team span{
    flex-basis:24px;
    width:24px;
    height:24px;
  }
  .v51-team b{
    font-size:10px;
  }
  .v51-pick{
    font-size:9px;
  }

  .v51-features{
    width:calc(100% - 20px);
    grid-template-columns:1fr;
    gap:10px;
  }
  .v51-feature{
    min-height:auto;
    padding:15px;
  }
}

/* Very small phones */
@media(max-width:390px){
  .v51-brand b{
    display:none;
  }
    .v51-create-top{
    min-width:108px;
  }
  .v51-stats{
    grid-template-columns:1fr;
  }
  .v51-player{
    height:290px;
  }
}
