@import url("https://fonts.googleapis.com/css2?family=Anton&family=Bebas+Neue&family=IBM+Plex+Sans:wght@400;500;700&family=Inter:wght@400;600;800;900&family=Manrope:wght@400;700;800&family=Oswald:wght@500;700&family=Plus+Jakarta+Sans:wght@400;700;800&family=Roboto+Slab:wght@600;800&family=Sora:wght@400;700;800&display=swap");

:root {
  --ink: #111318;
  --muted: #67717d;
  --paper: #eef2ec;
  --line: rgba(17, 19, 24, 0.12);
  --green: #0e7a4d;
  --blue: #2457e6;
  --red: #e6493f;
  --gold: #f2c94c;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, system-ui, sans-serif;
}

button,
select {
  font: inherit;
}

a {
  color: inherit;
}

.lab-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 20;
  width: 250px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  background: #101318;
  color: #fff;
}

.lab-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
}

.lab-logo span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  font-weight: 900;
}

.lab-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.lab-nav a,
.back-link {
  min-height: 36px;
  padding: 9px 10px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  color: #dce5df;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.settings-block {
  display: grid;
  gap: 12px;
  margin-top: auto;
  padding: 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.settings-block label {
  display: grid;
  gap: 6px;
}

.settings-block span {
  color: #b7c3bd;
  font-size: 12px;
  font-weight: 800;
}

.settings-block select {
  width: 100%;
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 0 10px;
  background: #fff;
  color: #111;
}

.back-link {
  display: grid;
  place-items: center;
  background: #fff;
  color: #101318;
}

.lab-main {
  margin-left: 250px;
  padding: 34px;
}

.lab-hero {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: clamp(24px, 5vw, 56px);
  border-radius: 8px;
  background:
    linear-gradient(120deg, rgba(14, 122, 77, 0.9), rgba(36, 87, 230, 0.72)),
    url("https://images.unsplash.com/photo-1431324155629-1a6deb1dec8d?auto=format&fit=crop&w=1800&q=80");
  background-position: center;
  background-size: cover;
  color: #fff;
}

.lab-hero p,
.lab-hero h1,
.lab-hero span,
.concept-meta p,
.concept-meta h2,
.concept-meta span {
  margin: 0;
}

.lab-hero p,
.concept-meta p {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.lab-hero h1 {
  max-width: 920px;
  margin-top: 8px;
  font-family: Oswald, Inter, sans-serif;
  font-size: clamp(44px, 8vw, 96px);
  line-height: 0.95;
  letter-spacing: 0;
}

.lab-hero span {
  max-width: 760px;
  margin-top: 16px;
  color: #eef6ef;
  font-size: 17px;
  line-height: 1.5;
}

.concept {
  display: grid;
  grid-template-columns: minmax(220px, 0.24fr) minmax(0, 0.76fr);
  gap: 22px;
  align-items: stretch;
  margin-top: 30px;
}

.concept-meta {
  padding: 18px 0;
}

.concept-meta h2 {
  margin-top: 8px;
  font-size: 30px;
  line-height: 1.05;
  letter-spacing: 0;
}

.concept-meta span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.45;
}

.mock {
  min-height: 410px;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: 0 22px 50px rgba(17, 19, 24, 0.12);
}

.mock-side {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 132px;
  padding: 16px;
}

.mock-side button,
.mini-controls span,
.mock-side > span,
.drawer-chip span {
  min-height: 30px;
  border: 0;
  border-radius: 8px;
  padding: 7px 9px;
  font-size: 12px;
  font-weight: 900;
  text-align: left;
}

.mini-controls {
  display: grid;
  gap: 7px;
  margin-top: auto;
}

team-flag {
  display: inline-block;
  width: 48px;
  height: 34px;
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #e8ece6;
  background-position: center;
  background-size: cover;
  flex: 0 0 auto;
}

.mock-topline,
.scoreboard-row,
.pro-grid,
.light-row,
.dark-card,
.news-match,
.mini-match {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pro-shell {
  display: grid;
  grid-template-columns: 154px 1fr;
  background: #f7faf4;
  font-family: Inter, sans-serif;
}

.pro-shell .mock-side {
  background: #111318;
  color: #fff;
}

.pro-shell .mock-side button,
.pro-shell .mini-controls span {
  background: rgba(255, 255, 255, 0.09);
  color: #dce6df;
}

.mock-content {
  display: grid;
  align-content: center;
  gap: 18px;
  padding: clamp(22px, 5vw, 46px);
}

.mock-topline {
  justify-content: space-between;
}

.mock-topline p,
.mock-topline h3 {
  margin: 0;
}

.mock-topline h3 {
  font-size: 38px;
}

.mock-topline strong {
  padding: 12px 16px;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  font-size: 24px;
}

.scoreboard-row {
  min-height: 86px;
  padding: 16px;
  border-radius: 8px;
  background: #fff;
  font-size: 24px;
}

.scoreboard-row .match-time {
  margin: 0 auto;
  padding: 9px 13px;
  border-radius: 8px;
  background: #111318;
  color: #fff;
  font-size: 18px;
}

.pro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.pro-grid div {
  padding: 14px;
  border-radius: 8px;
  background: #eaf0e6;
}

.pro-grid span,
.dark-card span,
.market-copy,
.light-header span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.pro-grid strong {
  display: block;
  margin-top: 5px;
}

.broadcast-shell {
  display: grid;
  grid-template-columns: 122px 1fr;
  background:
    linear-gradient(120deg, rgba(6, 18, 32, 0.84), rgba(229, 57, 53, 0.46)),
    url("https://images.unsplash.com/photo-1517927033932-b3d18e61fb3a?auto=format&fit=crop&w=1400&q=80");
  background-position: center;
  background-size: cover;
  color: #fff;
  font-family: Manrope, sans-serif;
}

.broadcast-side {
  background: rgba(0, 0, 0, 0.5);
}

.broadcast-side span {
  background: rgba(255, 255, 255, 0.14);
}

.broadcast-stage {
  display: grid;
  align-content: center;
  gap: 22px;
  padding: clamp(24px, 5vw, 52px);
}

.broadcast-stage p {
  margin: 0;
  color: #ffe08a;
  font-weight: 900;
}

.versus {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: center;
}

.versus div {
  min-height: 150px;
  display: grid;
  place-items: center;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.13);
}

.versus strong {
  font-family: Bebas Neue, Manrope, sans-serif;
  font-size: 46px;
}

.versus > span {
  font-family: Bebas Neue, sans-serif;
  font-size: 58px;
}

.broadcast-strip {
  display: flex;
  gap: 12px;
  padding: 13px;
  border-radius: 8px;
  background: #fff;
  color: #111;
  font-weight: 900;
}

.dark-shell {
  display: grid;
  grid-template-columns: 148px 1fr;
  background: #07090d;
  color: #eef3f0;
  font-family: Sora, sans-serif;
}

.dark-side {
  background: #0f151a;
}

.dark-side button,
.dark-side span {
  background: #172027;
  color: #dce6df;
}

.dark-main {
  display: grid;
  align-content: center;
  gap: 18px;
  padding: clamp(22px, 5vw, 48px);
}

.dark-main h3 {
  margin: 0;
  color: #f4f7f2;
  font-size: 42px;
}

.dark-card {
  min-height: 102px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: #111820;
}

.dark-card .match-time {
  margin: 0 auto;
  color: #f2c94c;
  font-size: 24px;
  font-weight: 900;
}

.dark-odds {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border-radius: 8px;
  background: #111820;
}

.dark-odds i,
.fan-bar i {
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #0bbf7d, #f2c94c);
}

.light-shell {
  display: grid;
  grid-template-columns: 138px 1fr;
  background: #fbfcf8;
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
}

.light-side {
  background: #edf3ea;
  color: #173328;
}

.light-side span {
  background: #fff;
}

.light-board {
  display: grid;
  align-content: center;
  gap: 10px;
  padding: clamp(22px, 5vw, 48px);
}

.light-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
}

.light-header h3 {
  margin: 0;
  font-size: 38px;
}

.light-row {
  min-height: 72px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.light-row .match-time {
  margin: 0 auto;
  font-weight: 900;
}

.fan-shell {
  display: grid;
  grid-template-columns: 132px 1fr;
  background:
    linear-gradient(135deg, rgba(255, 218, 60, 0.9), rgba(230, 73, 63, 0.78)),
    url("https://images.unsplash.com/photo-1508098682722-e99c43a406b2?auto=format&fit=crop&w=1400&q=80");
  background-position: center;
  background-size: cover;
  color: #111;
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
}

.fan-side {
  background: rgba(255, 255, 255, 0.72);
}

.fan-side span {
  background: #111;
  color: #fff;
}

.fan-match {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 14px;
  align-content: center;
  align-items: center;
  padding: clamp(20px, 5vw, 46px);
}

.fan-team {
  min-height: 180px;
  display: grid;
  place-items: center;
  gap: 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  font-family: Anton, Inter, sans-serif;
  font-size: 46px;
}

.fan-vs {
  display: grid;
  gap: 8px;
  place-items: center;
  color: #fff;
  font-family: Anton, sans-serif;
  font-size: 44px;
}

.fan-vs .match-time {
  color: #111;
  font-family: Inter, sans-serif;
  font-size: 14px;
}

.fan-bar {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.85);
  font-weight: 900;
}

.tactical-shell {
  display: grid;
  grid-template-columns: 132px 1fr;
  background: #0f6b45;
  font-family: "IBM Plex Sans", Inter, sans-serif;
}

.tactical-side {
  background: #0b3b29;
  color: #fff;
}

.tactical-side span {
  background: rgba(255, 255, 255, 0.13);
}

.pitch-board {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 18px;
  margin: 22px;
  padding: 24px;
  border: 2px solid rgba(255, 255, 255, 0.74);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.18) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.18) 1px, transparent 1px);
  background-size: 58px 58px;
  color: #fff;
}

.pitch-line {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.22);
}

.pitch-zone {
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.player-dot {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: #0b3b29;
  font-weight: 900;
}

.news-shell {
  display: grid;
  grid-template-columns: 132px 1fr;
  background: #f4f2ed;
  font-family: Inter, sans-serif;
}

.news-side {
  background: #24211d;
  color: #fff;
}

.news-side span {
  background: rgba(255, 255, 255, 0.12);
}

.news-front {
  display: grid;
  align-content: center;
  gap: 16px;
  padding: clamp(22px, 5vw, 52px);
}

.news-front p,
.news-front h3 {
  margin: 0;
}

.news-front p {
  color: var(--red);
  font-weight: 900;
  text-transform: uppercase;
}

.news-front h3 {
  max-width: 720px;
  font-family: "Roboto Slab", serif;
  font-size: clamp(34px, 6vw, 68px);
  line-height: 1.02;
}

.news-match {
  width: fit-content;
  padding: 12px;
  border-radius: 8px;
  background: #fff;
  font-weight: 900;
}

.mobile-shell {
  display: grid;
  place-items: center;
  background: #dbe7f7;
  font-family: Manrope, Inter, sans-serif;
}

.phone {
  width: min(330px, 92%);
  min-height: 370px;
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 9px solid #111;
  border-radius: 28px;
  background: #f8faf6;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.phone header,
.phone nav,
.drawer-chip,
.phone-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.phone header button {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #111;
  color: #fff;
}

.drawer-chip,
.phone-card {
  padding: 10px;
  border-radius: 8px;
  background: #fff;
}

.drawer-chip span {
  background: #eef2ec;
}

.phone-card.live {
  background: #111;
  color: #fff;
}

.phone nav {
  margin-top: auto;
  padding: 10px;
  border-radius: 8px;
  background: #111;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.analytics-shell {
  display: grid;
  grid-template-columns: 132px 1fr;
  background: #0c1017;
  color: #edf3f7;
  font-family: Sora, Inter, sans-serif;
}

.analytics-side {
  background: #151b24;
}

.analytics-side span {
  background: rgba(255, 255, 255, 0.12);
}

.analytics-table {
  display: grid;
  align-content: center;
  gap: 10px;
  padding: clamp(22px, 5vw, 48px);
}

.ticker-row {
  display: grid;
  grid-template-columns: 54px 1fr auto auto;
  gap: 12px;
  align-items: center;
  padding: 13px;
  border-radius: 8px;
  background: #151b24;
}

.ticker-row span {
  color: #f2c94c;
  font-weight: 900;
}

.ticker-row i {
  color: #5ee0a1;
  font-style: normal;
}

.mini-match {
  margin-top: 12px;
  padding: 14px;
  border-radius: 8px;
  background: #edf3f7;
  color: #111;
}

.mini-match b {
  margin: 0 auto;
}

.map-shell {
  display: grid;
  grid-template-columns: 132px 1fr;
  background: #f8f3e6;
  font-family: Oswald, Inter, sans-serif;
}

.map-side {
  background: #1d3d5c;
  color: #fff;
}

.map-side span {
  background: rgba(255, 255, 255, 0.14);
}

.map-board {
  position: relative;
  margin: 22px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 22% 40%, rgba(36, 87, 230, 0.28), transparent 18%),
    radial-gradient(circle at 62% 34%, rgba(230, 73, 63, 0.28), transparent 16%),
    radial-gradient(circle at 42% 72%, rgba(14, 122, 77, 0.24), transparent 17%),
    #fbfaf5;
  overflow: hidden;
}

.city {
  position: absolute;
  padding: 7px 9px;
  border-radius: 999px;
  background: #1d3d5c;
  color: #fff;
  font-size: 12px;
}

.city.one {
  top: 64px;
  left: 80px;
}

.city.two {
  top: 132px;
  right: 120px;
}

.city.three {
  bottom: 92px;
  left: 180px;
}

.map-card {
  position: absolute;
  right: 28px;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.14);
}

@media (max-width: 1080px) {
  .lab-sidebar {
    position: static;
    width: auto;
  }

  .lab-main {
    margin-left: 0;
    padding: 18px;
  }

  .concept {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .lab-nav {
    display: flex;
    overflow-x: auto;
  }

  .concept {
    margin-top: 26px;
  }

  .mock {
    min-height: 520px;
  }

  .pro-shell,
  .broadcast-shell,
  .dark-shell,
  .light-shell,
  .fan-shell,
  .tactical-shell,
  .news-shell,
  .analytics-shell,
  .map-shell {
    grid-template-columns: 1fr;
  }

  .mock-side {
    min-height: auto;
    flex-direction: row;
    align-items: center;
    overflow-x: auto;
  }

  .mini-controls {
    display: flex;
    margin-top: 0;
    margin-left: auto;
  }

  .scoreboard-row,
  .versus,
  .fan-match {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .pro-grid {
    grid-template-columns: 1fr;
  }

  .fan-bar {
    grid-column: auto;
  }
}
