:root {
  --bg: #0b0b0d;
  --surface: #151518;
  --surface-2: #1d1d21;
  --text: #f7f7f8;
  --muted: #a5a5ad;
  --line: rgba(255, 255, 255, .1);
  --accent: #f64788;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 80% 10%, rgba(246, 71, 136, .12), transparent 24rem),
    var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, sans-serif;
  line-height: 1.6;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
  padding: 22px 0;
  background: rgba(11, 11, 13, .82);
  backdrop-filter: blur(18px);
}

.brand {
  font-weight: 800;
  letter-spacing: -.03em;
}

.nav {
  display: flex;
  gap: 28px;
}

.nav a,
.footer a {
  color: var(--muted);
  transition: color .2s ease;
}

.nav a:hover,
.footer a:hover {
  color: var(--text);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--text);
}

.section,
.footer {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
}

.section {
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
}

.hero {
  min-height: 78vh;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: 64px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .15em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 800px;
  margin-bottom: 24px;
  font-size: clamp(3.2rem, 8vw, 7rem);
  line-height: .95;
  letter-spacing: -.065em;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.1rem, 5vw, 4rem);
  line-height: 1.04;
  letter-spacing: -.05em;
}

.hero-text,
.section-note,
.about-intro>p,
.game-card p {
  color: var(--muted);
}

.hero-text {
  max-width: 620px;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 700;
  transition: transform .2s ease, background .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.btn-secondary {
  background: rgba(255, 255, 255, .03);
}

.hero-visual {
  position: relative;
  min-height: 480px;
}

.visual-card {
  position: absolute;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .08), transparent),
    var(--surface);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .35);
}

.visual-card-large {
  inset: 10px 44px 90px 0;
  border-radius: 36px;
  transform: rotate(-4deg);
}

.hero-main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.visual-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(11, 11, 13, .62),
      rgba(11, 11, 13, .02) 65%);
}

.visual-badge {
  position: absolute;
  left: 28px;
  bottom: 22px;
  color: var(--accent);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 800;
  line-height: .9;
  letter-spacing: -.08em;
}

.visual-card-small {
  right: 0;
  bottom: 24px;
  width: 48%;
  height: 42%;
  padding: 28px;
  border-radius: 28px;
  background: var(--surface-2);
  transform: rotate(5deg);
}

.visual-logo {
  width: min(72%, 170px);
  max-height: 72%;
  object-fit: contain;
}

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

.row-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.about-intro {
  max-width: 620px;
}

.about-profile {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-bottom: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
}

.about-profile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.about-intro>p {
  max-width: 620px;
  margin-bottom: 0;
  font-size: 1.18rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.stat {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
}

.stat strong,
.stat span {
  display: block;
}

.stat span {
  margin-top: 8px;
  color: var(--muted);
  font-size: .85rem;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.game-card {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 32px;

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

  overflow: hidden;

  background:
    linear-gradient(to top,
      rgba(11, 11, 13, .96) 0%,
      rgba(11, 11, 13, .70) 25%,
      rgba(11, 11, 13, .25) 60%,
      rgba(11, 11, 13, .08) 100%),
    var(--card-image, linear-gradient(145deg, #24242b, #101012));

  background-size: cover;
  background-position: center;

  /* Mencegah image/gradient terlihat di bawah border */
  background-clip: padding-box;

  transition:
    transform .25s ease,
    border-color .25s ease;
}

.game-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, .24);
}

.game-tag {
  width: fit-content;
  margin-bottom: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(246, 71, 136, .14);
  color: #ff79ab;
  font-size: .72rem;
  font-weight: 700;
}

.game-card h3 {
  margin-bottom: 9px;
  font-size: 1.8rem;
  letter-spacing: -.035em;
}

.game-card p {
  max-width: 520px;
  margin-bottom: 20px;
}

.game-link {
  font-weight: 700;
}

.contact-section {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
}

.contact-section h2 {
  max-width: 720px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 0 54px;
  color: var(--muted);
}

.footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 20px;
}

@media (max-width: 820px) {
  .site-header {
    padding: 16px 0;
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #121215;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 14px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 80px;
  }

  .hero-visual {
    min-height: 340px;
  }

  .about-grid,
  .game-grid {
    grid-template-columns: 1fr;
  }

  .about-grid {
    gap: 32px;
  }

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

  .row-heading,
  .contact-section,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }
}
/* =========================================================
   WHITE / RED THEME OVERRIDES
   Keeps the original layout, sizing and interactions intact.
   ========================================================= */

:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #fff3f3;
  --text: #241416;
  --muted: #786a6d;
  --line: rgba(183, 28, 42, .16);
  --accent: #d92332;
}

body {
  background:
    radial-gradient(circle at 80% 10%, rgba(217, 35, 50, .10), transparent 24rem),
    linear-gradient(180deg, #ffffff 0%, #fffafa 100%);
}

.site-header {
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 1px 0 rgba(183, 28, 42, .05);
}

.nav a:hover,
.footer a:hover {
  color: var(--accent);
}

.btn-secondary {
  background: rgba(217, 35, 50, .045);
  border-color: rgba(217, 35, 50, .18);
}

.btn-secondary:hover {
  background: rgba(217, 35, 50, .085);
}

.visual-card {
  background:
    linear-gradient(145deg, rgba(217, 35, 50, .06), transparent),
    var(--surface);
  box-shadow: 0 24px 80px rgba(104, 20, 29, .14);
}

.visual-card-small {
  background: var(--surface-2);
}

.stat {
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(104, 20, 29, .035);
}

.game-card {
  color: #ffffff;
}

.game-card p {
  color: rgba(255, 255, 255, .78);
}

.game-card:hover {
  border-color: rgba(217, 35, 50, .72);
}

.game-tag {
  background: var(--accent);
  color: #ffffff;
}

.game-link {
  color: #ffffff;
}

@media (max-width: 820px) {
  .nav {
    background: #ffffff;
    box-shadow: 0 18px 50px rgba(104, 20, 29, .12);
  }
}
