:root {
  --background: #050505;
  --background-soft: #0b0b0d;
  --panel: rgba(17, 17, 20, 0.9);
  --panel-light: rgba(27, 27, 31, 0.9);

  --gold: #e0a52b;
  --gold-light: #f4c256;
  --gold-dark: #8e6017;

  --text: #f4f4f4;
  --text-soft: #b5b5b5;
  --border: rgba(255, 255, 255, 0.12);

  --page-width: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;

  background:
    radial-gradient(
      circle at 50% 15%,
      rgba(224, 165, 43, 0.1),
      transparent 32%
    ),
    linear-gradient(
      180deg,
      #030303 0%,
      #080808 50%,
      #030303 100%
    );

  color: var(--text);

  font-family:
    Arial,
    Helvetica,
    sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

/* Header */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;

  width: 100%;
  height: 78px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0 5%;

  background: rgba(3, 3, 3, 0.88);
  border-bottom: 1px solid var(--border);

  backdrop-filter: blur(15px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;

  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.brand-logo {
  width: 44px;
  height: 44px;

  display: grid;
  place-items: center;

  color: #101010;

  font-size: 16px;
  font-weight: 900;

  background:
    linear-gradient(
      135deg,
      var(--gold-light),
      var(--gold-dark)
    );

  border-radius: 8px;
}

.desktop-nav {
  display: flex;
  gap: 42px;
}

.desktop-nav a {
  position: relative;

  padding: 28px 0;

  color: var(--text-soft);

  font-size: 13px;
  font-weight: 700;

  letter-spacing: 2px;
  text-transform: uppercase;

  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.desktop-nav a:hover,
.desktop-nav a.active {
  color: var(--gold-light);
}

.desktop-nav a::after {
  content: "";

  position: absolute;
  left: 0;
  bottom: 19px;

  width: 100%;
  height: 2px;

  background: var(--gold);

  transform: scaleX(0);
  transform-origin: center;

  transition: transform 0.25s ease;
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
  transform: scaleX(1);
}

.menu-button {
  display: none;

  color: var(--text);

  font-size: 26px;

  background: transparent;
  border: 0;

  cursor: pointer;
}

.mobile-nav {
  display: none;
}

/* Hero */

.hero {
  position: relative;

  min-height: 720px;

  display: grid;
  place-items: center;

  padding: 140px 24px 90px;

  overflow: hidden;
}

.hero::before {
  content: "";

  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      rgba(0, 0, 0, 0.45),
      rgba(0, 0, 0, 0.92)
    ),
    url("images/hero-background.jpg");

  background-size: cover;
  background-position: center;

  opacity: 0.48;
}

.hero-glow {
  position: absolute;
  top: 45%;
  left: 50%;

  width: 700px;
  height: 260px;

  background: rgba(224, 165, 43, 0.13);

  border-radius: 50%;

  filter: blur(100px);

  transform: translate(-50%, -50%);
}

.hero-content {
  position: relative;
  z-index: 2;

  max-width: 1000px;

  text-align: center;
}

.hero-label,
.section-label,
.section-heading p {
  margin: 0 0 14px;

  color: var(--gold-light);

  font-size: 13px;
  font-weight: 700;

  letter-spacing: 4px;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;

  font-size: clamp(64px, 10vw, 145px);
  line-height: 0.9;

  letter-spacing: 7px;
  text-transform: uppercase;

  text-shadow:
    0 0 35px rgba(255, 255, 255, 0.12);
}

.hero-subtitle {
  margin: 30px 0;

  color: var(--gold-light);

  font-size: clamp(18px, 2.5vw, 28px);
  font-weight: 600;

  letter-spacing: 4px;
  text-transform: uppercase;
}

.primary-button,
.game-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 54px;

  padding: 0 28px;

  color: #111;

  font-size: 14px;
  font-weight: 800;

  letter-spacing: 1.5px;
  text-transform: uppercase;

  background:
    linear-gradient(
      135deg,
      var(--gold-light),
      var(--gold-dark)
    );

  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;

  box-shadow:
    0 10px 35px rgba(224, 165, 43, 0.16);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    filter 0.25s ease;
}

.primary-button:hover,
.game-button:hover {
  transform: translateY(-3px);

  box-shadow:
    0 15px 40px rgba(224, 165, 43, 0.28);

  filter: brightness(1.1);
}

/* Games */

.games-section {
  max-width: var(--page-width);

  margin: 0 auto;

  padding: 95px 24px;
}

.section-heading {
  margin-bottom: 38px;

  text-align: center;
}

.section-heading h2,
.about-content h2,
.contact-section h2 {
  margin: 0;

  font-size: clamp(34px, 5vw, 56px);

  letter-spacing: 2px;
  text-transform: uppercase;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);

  gap: 28px;
}

.game-card {
  position: relative;

  min-height: 500px;

  display: flex;
  align-items: flex-end;

  overflow: hidden;

  background-color: #101012;
  background-size: cover;
  background-position: center;

  border: 1px solid var(--border);
  border-radius: 12px;

  box-shadow:
    0 25px 70px rgba(0, 0, 0, 0.45);

  transition:
    transform 0.3s ease,
    border-color 0.3s ease;
}

.game-card:hover {
  transform: translateY(-7px);

  border-color: rgba(224, 165, 43, 0.5);
}

.basketball-card {
  background-image:
    linear-gradient(
      rgba(0, 0, 0, 0.1),
      rgba(0, 0, 0, 0.85)
    ),
    url("images/basketball-game.jpg");
}

.utopia-card {
  background-image:
    linear-gradient(
      rgba(0, 0, 0, 0.1),
      rgba(0, 0, 0, 0.85)
    ),
    url("images/utopia-game.jpg");
}

.game-card-overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      180deg,
      transparent 10%,
      rgba(0, 0, 0, 0.18) 35%,
      rgba(0, 0, 0, 0.96) 100%
    );
}

.game-card-content {
  position: relative;
  z-index: 2;

  width: 100%;

  padding: 36px;
}

.game-status {
  display: inline-block;

  margin-bottom: 14px;

  color: var(--gold-light);

  font-size: 12px;
  font-weight: 800;

  letter-spacing: 2px;
  text-transform: uppercase;
}

.game-card h3 {
  margin: 0 0 16px;

  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.02;

  text-transform: uppercase;
}

.game-card p {
  max-width: 530px;

  margin: 0 0 26px;

  color: #d0d0d0;

  font-size: 17px;
  line-height: 1.65;
}

.disabled-button {
  color: var(--text);

  background: rgba(5, 5, 5, 0.68);

  border-color: rgba(224, 165, 43, 0.5);

  pointer-events: none;
}

/* About */

.about-section {
  max-width: var(--page-width);

  display: grid;
  grid-template-columns: 230px 1fr;

  gap: 60px;

  margin: 0 auto 95px;

  padding: 55px;

  background:
    linear-gradient(
      135deg,
      rgba(25, 25, 28, 0.88),
      rgba(10, 10, 12, 0.92)
    );

  border: 1px solid var(--border);
  border-radius: 12px;

  box-shadow:
    0 25px 70px rgba(0, 0, 0, 0.3);
}

.about-logo {
  min-height: 230px;

  display: grid;
  place-items: center;

  color: #141414;

  font-size: 72px;
  font-weight: 900;

  background:
    linear-gradient(
      135deg,
      var(--gold-light),
      var(--gold-dark)
    );

  border-radius: 10px;

  clip-path:
    polygon(
      50% 0%,
      92% 14%,
      92% 72%,
      50% 100%,
      8% 72%,
      8% 14%
    );
}

.about-content > p:not(.section-label) {
  color: var(--text-soft);

  font-size: 17px;
  line-height: 1.7;
}

.studio-values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);

  gap: 18px;

  margin-top: 30px;
}

.value-card {
  padding: 22px;

  background: rgba(255, 255, 255, 0.025);

  border: 1px solid var(--border);
  border-radius: 8px;
}

.value-card h3 {
  margin: 0 0 8px;

  color: var(--gold-light);

  font-size: 15px;

  letter-spacing: 1px;
  text-transform: uppercase;
}

.value-card p {
  margin: 0;

  color: var(--text-soft);

  line-height: 1.55;
}

/* Contact */

.contact-section {
  padding: 100px 24px;

  text-align: center;

  background:
    radial-gradient(
      circle,
      rgba(224, 165, 43, 0.09),
      transparent 55%
    );

  border-top: 1px solid var(--border);
}

.contact-section > p:not(.section-label) {
  max-width: 650px;

  margin: 20px auto 30px;

  color: var(--text-soft);

  font-size: 17px;
  line-height: 1.65;
}

/* Footer */

.site-footer {
  padding: 30px 20px;

  color: #777;

  text-align: center;

  background: #020202;

  border-top: 1px solid var(--border);
}

/* Mobile */

@media (max-width: 850px) {
  .desktop-nav {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .mobile-nav {
    position: fixed;
    top: 78px;
    left: 0;
    z-index: 999;

    width: 100%;

    flex-direction: column;

    padding: 16px 5% 24px;

    background: rgba(3, 3, 3, 0.97);
    border-bottom: 1px solid var(--border);

    backdrop-filter: blur(15px);
  }

  .mobile-nav.open {
    display: flex;
  }

  .mobile-nav a {
    padding: 16px 4px;

    color: var(--text-soft);

    font-size: 14px;
    font-weight: 700;

    letter-spacing: 2px;
    text-transform: uppercase;

    border-bottom: 1px solid var(--border);
  }

  .game-grid {
    grid-template-columns: 1fr;
  }

  .about-section {
    grid-template-columns: 1fr;

    margin-left: 18px;
    margin-right: 18px;

    padding: 30px;
  }

  .about-logo {
    min-height: 180px;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 0 20px;
  }

  .brand span {
    font-size: 13px;
  }

  .hero {
    min-height: 640px;

    padding-top: 130px;
  }

  .hero h1 {
    font-size: clamp(54px, 17vw, 78px);

    letter-spacing: 2px;
  }

  .hero-subtitle {
    font-size: 16px;

    letter-spacing: 2px;
    line-height: 1.5;
  }

  .games-section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .game-card {
    min-height: 470px;
  }

  .game-card-content {
    padding: 26px;
  }

  .studio-values {
    grid-template-columns: 1fr;
  }
}