*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-base:       #0e1118;
  --bg-card:       #0e1120;
  --bg-card-hover: #131628;
  --accent:        #2d7fff;
  --accent-dim:    rgba(45, 127, 255, 0.15);
  --accent-glow:   rgba(45, 127, 255, 0.08);
  --text-primary:  #e8e8f0;
  --text-secondary:#b0b0ce;
  --text-muted:    #44445a;
  --border:        rgba(255,255,255,0.06);
  --border-accent: rgba(45,127,255,0.4);

  --font-display: 'IBM Plex Sans Condensed', sans-serif;
  --font-body:    'IBM Plex Sans', sans-serif;
}

body {
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ─── HERO ─────────────────────────────────────────────── */

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 560px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom,
      rgba(8, 8, 13, 0.3) 0%,
      rgba(8, 8, 13, 0.55) 60%,
      rgba(8, 8, 13, 0.92) 100%
    );
  z-index: 1;
}

.hero__overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.14) 2px,
    rgba(0,0,0,0.14) 4px
  );
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  animation: heroFadeIn 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero__eyebrow {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.9;
}

.hero__logo {
  width: clamp(200px, 40vw, 520px);
  height: auto;
  display: block;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 9vw, 7rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  color: #fff;
  text-shadow:
    0 0 60px rgba(45, 127, 255, 0.25),
    0 2px 4px rgba(0,0,0,0.5);
}

.hero__divider {
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.7;
}

.hero__tagline {
  font-size: clamp(0.95rem, 2.5vw, 1.2rem);
  font-weight: 300;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
  max-width: 400px;
  font-style: italic;
}

.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-family: var(--font-display);
  color: rgba(255,255,255,0.75);
  transition: color 0.2s;
}

.hero__scroll:hover { color: #fff; }

.hero__scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0) rotate(45deg); opacity: 0.4; }
  50%       { transform: translateY(5px) rotate(45deg); opacity: 0.9; }
}

/* ─── NAV ───────────────────────────────────────────────── */

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 3rem;
  background: linear-gradient(to bottom, rgba(8,8,13,0.7) 0%, transparent 100%);
}

.nav__logo {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.15em;
  color: #fff;
  text-decoration: none;
}

.nav__links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav__links a {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  transition: color 0.2s;
}

.nav__links a:hover { color: #fff; }

/* ─── GAMES SECTION ─────────────────────────────────────── */

.games {
  padding: 7rem 2rem 8rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  margin-bottom: 4rem;
}

.section-header__label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
  display: block;
}

.section-header__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.75vw, 2.4rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-primary);
  line-height: 1;
}

.games__grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* ─── GAME CARD ─────────────────────────────────────────── */

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 0;
  position: relative;
  overflow: hidden;
  transition: background 0.3s, border-color 0.3s;
  cursor: default;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--accent) 40%,
    var(--accent) 60%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity 0.35s;
}

.card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
}

.card:hover::before {
  opacity: 1;
}

.card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, var(--accent-glow) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.card:hover::after {
  opacity: 1;
}

.card {
  display: flex;
  flex-direction: row;
}

.card__visual {
  flex: 0 0 480px;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #0c0c18 0%, #0a0a14 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.card__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card__visual::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.35;
  transition: opacity 0.3s;
}

.card--fps .card__visual::before {
  background:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 18px,
      rgba(45, 127, 255, 0.12) 18px,
      rgba(45, 127, 255, 0.12) 19px
    );
}

.card--fishing .card__visual::before {
  background:
    radial-gradient(ellipse 80% 50% at 50% 100%, rgba(45, 127, 255, 0.18) 0%, transparent 70%),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 28px,
      rgba(45, 127, 255, 0.07) 28px,
      rgba(45, 127, 255, 0.07) 29px
    );
}

.card--space .card__visual::before {
  background:
    radial-gradient(circle at 30% 40%, rgba(45,127,255,0.15) 0%, transparent 40%),
    radial-gradient(circle at 70% 70%, rgba(45,127,255,0.08) 0%, transparent 30%),
    radial-gradient(circle at 15% 80%, rgba(45,127,255,0.06) 0%, transparent 25%);
}

.card:hover .card__visual::before {
  opacity: 0.55;
}

.card__body {
  flex: 1;
  padding: 2.5rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card__title {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 0.9rem;
  transition: color 0.2s;
}

.card:hover .card__title {
  color: #fff;
}

.card__blurb {
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.65;
}

.card__steam {
  display: inline-block;
  align-self: flex-start;
  margin-top: 1.25rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(45, 127, 255, 0.6);
  text-decoration: none;
  border: 1px solid rgba(45, 127, 255, 0.25);
  padding: 0.5rem 1rem;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.card__steam:hover {
  background: var(--accent-dim);
  color: var(--accent);
  border-color: var(--border-accent);
}

.card__status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.5rem;
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.card__status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--text-muted);
}

.card__status--active .card__status-dot {
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent);
}

.card__status--active {
  color: var(--accent);
  opacity: 0.7;
}

/* ─── FOOTER ────────────────────────────────────────────── */

footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 2rem;
  text-align: center;
}

.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer__logo {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.footer__logo span { color: inherit; }

.footer__copy {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* ─── CONTACT ───────────────────────────────────────────── */

.contact {
  padding: 7rem 2rem 8rem;
  max-width: 1200px;
  margin: 0 auto;
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 640px;
}

.contact__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact__input {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 0.75rem 1rem;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}

.contact__input::placeholder { color: var(--text-muted); }

.contact__input:focus { border-color: var(--border-accent); }

.contact__textarea { resize: vertical; }

.contact__submit {
  align-self: flex-start;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(45, 127, 255, 0.6);
  background: none;
  border: 1px solid rgba(45, 127, 255, 0.25);
  padding: 0.6rem 1.25rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.contact__submit:hover {
  background: var(--accent-dim);
  color: var(--accent);
  border-color: var(--border-accent);
}

/* ─── FOLLOW ─────────────────────────────────────────────── */

.follow {
  padding: 7rem 2rem 8rem;
}

.follow__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.follow__links {
  display: flex;
  gap: 1.5rem;
  margin-top: 0.5rem;
}

.follow__card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--text-primary);
  transition: border-color 0.2s, background 0.2s;
  min-width: 220px;
}

.follow__text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.follow__card:hover {
  border-color: var(--border-accent);
  background: var(--accent-dim);
}

.follow__icon {
  width: 2rem;
  height: 2rem;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.follow__card:hover .follow__icon {
  color: var(--accent);
}

.follow__label {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 0.25rem;
}

.follow__handle {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ─── RESPONSIVE ─────────────────────────────────────────── */

@media (max-width: 900px) {
  nav { padding: 1.25rem 1.5rem; }
  .nav__links { display: none; }

  .card { flex-direction: column; }
  .card__visual { flex: none; width: 100%; aspect-ratio: 16 / 9; }

  .games { padding: 5rem 1.25rem 6rem; }

  .footer__inner { flex-direction: column; gap: 0.75rem; }
}

@media (max-width: 600px) {
  .hero__content { gap: 1rem; }
}
