:root {
  --bg: #151c26;
  --bg-soft: #1b2430;
  --bg-deep: #10161e;

  --panel: rgba(34, 46, 61, 0.94);
  --panel-soft: rgba(28, 38, 51, 0.92);

  --text: #f5f7fb;
  --muted: #b7c0cc;

  --line: rgba(255, 255, 255, 0.12);

  --gold: #e3b35c;
  --gold-2: #ffd58c;

  --blue: #5baaff;

  --shadow:
    0 16px 45px rgba(0, 0, 0, 0.16);

  --max: 1180px;
  --header-height: 78px;
}


/* =========================================================
   RESET / GLOBAL
========================================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;

  font-family:
    Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  color: var(--text);

  background:
    radial-gradient(
      circle at 72% -8%,
      rgba(72, 128, 188, 0.20),
      transparent 34%
    ),
    linear-gradient(
      180deg,
      #1a2330 0%,
      #161e29 46%,
      #131a23 100%
    );

  line-height: 1.5;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;

  min-height: var(--header-height);

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 24px;

  padding:
    10px
    max(24px, calc((100vw - var(--max)) / 2));

  background:
    rgba(21, 28, 38, 0.90);

  border-bottom:
    1px solid var(--line);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;

  gap: 12px;

  min-width: 0;

  font-weight: 700;
}

.brand-logo {
  width: 52px;
  height: 52px;

  flex-shrink: 0;

  object-fit: cover;

  border-radius: 13px;

  box-shadow:
    0 0 0 1px rgba(227, 179, 92, 0.16),
    0 6px 16px rgba(0, 0, 0, 0.15);

  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.brand:hover .brand-logo {
  transform: translateY(-1px);

  box-shadow:
    0 0 0 1px rgba(227, 179, 92, 0.28),
    0 8px 18px rgba(0, 0, 0, 0.18);
}

.brand-text {
  font-size: 14px;

  letter-spacing: 0.03em;

  white-space: nowrap;
}

nav {
  display: flex;
  align-items: center;

  gap: 26px;

  font-size: 14px;

  color: #d3dae3;
}

nav a {
  position: relative;

  padding: 6px 0;

  transition:
    color 0.18s ease,
    opacity 0.18s ease;
}

nav a:hover {
  color: #ffffff;
}

nav a::after {
  content: "";

  position: absolute;

  left: 0;
  right: 0;
  bottom: 0;

  height: 1px;

  background: var(--gold-2);

  transform: scaleX(0);
  transform-origin: center;

  transition: transform 0.18s ease;
}

nav a:hover::after {
  transform: scaleX(1);
}


/* =========================================================
   HERO
========================================================= */

.hero {
  position: relative;

  min-height:
    calc(100vh - var(--header-height));

  display: flex;
  align-items: center;

  overflow: hidden;

  border-bottom:
    1px solid var(--line);
}

.hero-bg {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;

  opacity: 0.92;

  transform: scale(1.01);
}

.hero-overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      90deg,
      rgba(18, 25, 35, 0.86) 0%,
      rgba(18, 25, 35, 0.68) 38%,
      rgba(18, 25, 35, 0.22) 72%,
      rgba(18, 25, 35, 0.30) 100%
    );
}

.hero-content {
  position: relative;
  z-index: 2;

  width:
    min(
      var(--max),
      calc(100% - 48px)
    );

  margin: 0 auto;

  padding:
    clamp(80px, 10vw, 130px)
    0;
}

.eyebrow,
.section-kicker {
  margin: 0;

  color: var(--gold-2);

  font-size: 12px;

  letter-spacing: 0.22em;

  font-weight: 800;
}

h1 {
  max-width: 790px;

  margin:
    16px
    0
    24px;

  font-size:
    clamp(
      54px,
      7vw,
      92px
    );

  line-height: 0.98;

  letter-spacing: -0.055em;
}

.hero-copy {
  max-width: 660px;

  margin: 0;

  color: #d7dee7;

  line-height: 1.8;

  font-size: 17px;
}

.hero-actions {
  margin-top: 34px;

  display: flex;

  gap: 14px;

  flex-wrap: wrap;
}


/* =========================================================
   BUTTONS
========================================================= */

.btn {
  display: inline-flex;

  justify-content: center;
  align-items: center;

  min-height: 50px;

  padding:
    0
    22px;

  border-radius: 10px;

  font-weight: 700;

  font-size: 14px;

  transition:
    transform 0.18s ease,
    filter 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease;
}

.btn-primary {
  color: #111;

  background:
    linear-gradient(
      135deg,
      var(--gold-2),
      var(--gold)
    );

  box-shadow:
    0 10px 30px
    rgba(227, 179, 92, 0.18);
}

.btn-primary:hover {
  transform: translateY(-1px);

  filter: brightness(1.05);
}

.btn-secondary {
  border:
    1px solid
    rgba(255, 255, 255, 0.20);

  background:
    rgba(31, 42, 56, 0.72);
}

.btn-secondary:hover {
  transform: translateY(-1px);

  background:
    rgba(43, 56, 73, 0.90);

  border-color:
    rgba(255, 255, 255, 0.28);
}


/* =========================================================
   GENERAL SECTIONS
========================================================= */

.section {
  width:
    min(
      var(--max),
      calc(100% - 48px)
    );

  margin: 0 auto;

  padding:
    clamp(84px, 8vw, 112px)
    0;
}

.intro {
  display: grid;

  grid-template-columns:
    0.9fr
    1.1fr;

  gap:
    clamp(
      48px,
      7vw,
      88px
    );

  align-items: start;
}

h2 {
  margin:
    12px
    0
    16px;

  font-size:
    clamp(
      36px,
      4vw,
      56px
    );

  line-height: 1.08;

  letter-spacing: -0.04em;
}

.section p {
  color: var(--muted);

  line-height: 1.8;
}

.intro > p {
  margin-top: 28px;

  font-size: 17px;
}

.section-heading {
  margin-bottom: 38px;
}

.section-heading > p:last-child {
  margin-top: 0;
}


/* =========================================================
   CARDS
========================================================= */

.cards {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 20px;
}

.card {
  min-height: 330px;

  padding: 30px;

  position: relative;

  overflow: hidden;

  border:
    1px solid
    var(--line);

  border-radius: 20px;

  background:
    linear-gradient(
      145deg,
      rgba(39, 52, 69, 0.97),
      rgba(29, 39, 53, 0.94)
    );

  box-shadow: var(--shadow);

  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.card:hover {
  transform: translateY(-3px);

  border-color:
    rgba(255, 255, 255, 0.18);

  box-shadow:
    0 20px 48px
    rgba(0, 0, 0, 0.20);
}

.card::after {
  content: "";

  position: absolute;

  width: 190px;
  height: 190px;

  right: -100px;
  bottom: -100px;

  background:
    radial-gradient(
      circle,
      rgba(78, 165, 255, 0.18),
      transparent 66%
    );

  pointer-events: none;
}

.featured-card {
  border-color:
    rgba(227, 179, 92, 0.42);
}

.card-badge {
  display: inline-flex;

  padding:
    7px
    10px;

  border:
    1px solid
    rgba(227, 179, 92, 0.38);

  border-radius: 999px;

  color: var(--gold-2);

  font-size: 10px;

  font-weight: 800;

  letter-spacing: 0.12em;

  background:
    rgba(227, 179, 92, 0.07);
}

.card-icon {
  margin-top: 32px;

  font-size: 36px;

  color: var(--gold-2);
}

.card h3 {
  margin:
    18px
    0
    10px;

  font-size: 22px;
}

.card p {
  margin-bottom: 0;

  font-size: 14px;
}

.card-link {
  display: inline-block;

  margin-top: 18px;

  color: var(--gold-2);

  font-weight: 700;

  font-size: 13px;
}

.card-link.muted {
  color: #d0d6df;
}


/* =========================================================
   SPLIT / GAMES
========================================================= */

.split {
  display: grid;

  grid-template-columns:
    1.05fr
    0.95fr;

  gap: 20px;
}

.panel {
  min-height: 430px;

  padding: 44px;

  position: relative;

  overflow: hidden;

  border:
    1px solid
    var(--line);

  border-radius: 22px;

  background:
    linear-gradient(
      145deg,
      #222e3d,
      #1b2532
    );

  box-shadow: var(--shadow);
}

.panel-visual {
  display: flex;

  flex-direction: column;

  justify-content: flex-end;

  background:
    linear-gradient(
      145deg,
      #1d2a39,
      #29394d
    );
}

.panel-visual p {
  margin: 0;

  color: var(--gold-2);

  letter-spacing: 0.28em;

  font-size: 11px;

  font-weight: 800;
}

.panel-visual h2 {
  max-width: 500px;

  position: relative;
  z-index: 2;
}

.grid-glow {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      rgba(255, 255, 255, 0.045)
      1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.045)
      1px,
      transparent 1px
    );

  background-size:
    42px
    42px;

  mask-image:
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.78),
      transparent
    );

  -webkit-mask-image:
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.78),
      transparent
    );
}

.panel-copy {
  display: flex;

  flex-direction: column;

  justify-content: center;
}


/* =========================================================
   SUPPORT
========================================================= */

.support {
  display: flex;

  justify-content: space-between;

  align-items: center;

  gap: 48px;

  border-top:
    1px solid
    var(--line);
}

.support > div {
  max-width: 720px;
}

.support .btn {
  flex-shrink: 0;
}


/* =========================================================
   FOOTER
========================================================= */

footer {
  width:
    min(
      var(--max),
      calc(100% - 48px)
    );

  margin: 0 auto;

  padding:
    34px
    0
    48px;

  display: flex;

  justify-content: space-between;

  align-items: center;

  gap: 20px;

  border-top:
    1px solid
    var(--line);

  color: #aeb7c5;

  font-size: 13px;
}

footer p {
  margin: 0;
}

footer a {
  transition: color 0.18s ease;
}

footer a:hover {
  color: #ffffff;
}


/* =========================================================
   LARGE DESKTOP
========================================================= */

@media (min-width: 1440px) {

  :root {
    --max: 1240px;
  }

  .hero-content {
    padding:
      130px
      0;
  }

  .card {
    min-height: 350px;
  }

}


/* =========================================================
   LAPTOP / SMALL DESKTOP
========================================================= */

@media (max-width: 1100px) {

  .site-header {
    padding-left: 24px;
    padding-right: 24px;
  }

  nav {
    gap: 20px;
  }

  .cards {
    gap: 16px;
  }

  .panel {
    padding: 36px;
  }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 850px) {

  :root {
    --header-height: 72px;
  }

  html {
    scroll-padding-top: 82px;
  }

  .site-header {
    min-height: var(--header-height);

    padding:
      9px
      20px;
  }

  nav {
    display: none;
  }

  .brand {
    gap: 10px;
  }

  .brand-logo {
    width: 48px;
    height: 48px;

    border-radius: 12px;
  }

  .brand-text {
    font-size: 12px;
  }

  .hero {
    min-height: 620px;
  }

  .hero-bg {
    object-position: 58% center;
  }

  .hero-overlay {
    background:
      linear-gradient(
        90deg,
        rgba(17, 24, 34, 0.88) 0%,
        rgba(17, 24, 34, 0.74) 48%,
        rgba(17, 24, 34, 0.46) 100%
      );
  }

  .hero-content {
    width:
      min(
        100% - 40px,
        760px
      );

    padding:
      78px
      0
      88px;
  }

  h1 {
    font-size:
      clamp(
        46px,
        9.5vw,
        64px
      );

    max-width: 680px;
  }

  .hero-copy {
    max-width: 590px;
  }

  .intro,
  .split {
    grid-template-columns: 1fr;

    gap: 30px;
  }

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

  .section {
    width:
      min(
        100% - 40px,
        760px
      );

    padding:
      74px
      0;
  }

  .card {
    min-height: auto;
  }

  .panel {
    min-height: 360px;
  }

  .support {
    align-items: flex-start;

    flex-direction: column;

    gap: 28px;
  }

  .support .btn {
    width: 100%;
  }

  footer {
    width:
      min(
        100% - 40px,
        760px
      );
  }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 520px) {

  :root {
    --header-height: 68px;
  }

  body {
    background:
      radial-gradient(
        circle at 70% -10%,
        rgba(70, 125, 185, 0.16),
        transparent 34%
      ),
      linear-gradient(
        180deg,
        #19222d 0%,
        #151c26 50%,
        #131a23 100%
      );
  }

  .site-header {
    min-height: var(--header-height);

    padding:
      8px
      16px;

    background:
      rgba(21, 28, 38, 0.95);
  }

  .brand {
    gap: 10px;
  }

  .brand-logo {
    width: 46px;
    height: 46px;

    border-radius: 11px;

    box-shadow:
      0 0 0 1px rgba(227, 179, 92, 0.14),
      0 4px 12px rgba(0, 0, 0, 0.13);
  }

  .brand-text {
    font-size: 11.5px;

    letter-spacing: 0.02em;
  }

  .hero {
    min-height: 610px;
  }

  .hero-bg {
    opacity: 0.90;

    object-position: 61% center;

    transform: scale(1.04);
  }

  .hero-overlay {
    background:
      linear-gradient(
        90deg,
        rgba(16, 23, 33, 0.93) 0%,
        rgba(16, 23, 33, 0.82) 46%,
        rgba(16, 23, 33, 0.58) 100%
      );
  }

  .hero-content {
    width:
      calc(100% - 32px);

    padding:
      58px
      0
      72px;
  }

  .eyebrow,
  .section-kicker {
    font-size: 11px;

    letter-spacing: 0.19em;
  }

  h1 {
    margin:
      14px
      0
      28px;

    max-width: 100%;

    font-size:
      clamp(
        38px,
        10.8vw,
        48px
      );

    line-height: 1.03;

    letter-spacing: -0.045em;
  }

  .hero-copy {
    max-width: 100%;

    margin-top: 0;

    padding-right: 6px;

    font-size: 15px;

    line-height: 1.72;

    color: #dde3ea;

    text-shadow:
      0 1px 12px
      rgba(0, 0, 0, 0.40);
  }

  .hero-actions {
    margin-top: 30px;

    gap: 12px;
  }

  .hero-actions .btn {
    width: 100%;

    min-height: 52px;
  }

  .section {
    width:
      calc(100% - 32px);

    padding:
      66px
      0;
  }

  h2 {
    font-size:
      clamp(
        34px,
        9.5vw,
        46px
      );
  }

  .intro {
    gap: 20px;
  }

  .intro > p {
    margin-top: 0;

    font-size: 16px;
  }

  .section-heading {
    margin-bottom: 28px;
  }

  .cards {
    gap: 16px;
  }

  .card {
    padding: 24px;

    border-radius: 18px;
  }

  .card-icon {
    margin-top: 28px;
  }

  .card h3 {
    font-size: 21px;
  }

  .panel {
    min-height: 330px;

    padding: 26px;

    border-radius: 18px;
  }

  .support {
    gap: 24px;
  }

  .support .btn {
    min-height: 54px;

    text-align: center;

    word-break: break-word;
  }

  footer {
    width:
      calc(100% - 32px);

    padding:
      30px
      0
      44px;

    flex-direction: column;

    align-items: flex-start;
  }

}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 380px) {

  .brand-text {
    font-size: 10.5px;
  }

  .brand-logo {
    width: 42px;
    height: 42px;
  }

  h1 {
    font-size: 36px;
  }

  .hero-content {
    width:
      calc(100% - 28px);
  }

  .section,
  footer {
    width:
      calc(100% - 28px);
  }

}
