@font-face {
  font-family: "Cute Dino";
  src: url("../fonts/Cute Dino.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg-sky: #ffb02e;
  --bg-ground: #ffb02e;
  --bg-bar: #4e4e57;
  --text-main: #ffffff;
  --text-muted: #e4f7ff;
  --accent-steam: #1b2838;
  --accent-android: #3ddc84;
  --accent-ios: #000000;
  --radius-lg: 18px;
  --radius-md: 999px;
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.25);
  --font-main: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: var(--font-main);
  color: var(--text-main);
  background: #111;
  display: flex;
  flex-direction: column;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  padding: 0.5rem 1rem;
  background: #000;
  color: #fff;
  z-index: 20;
}

.skip-link:focus {
  left: 0.75rem;
  top: 0.75rem;
}

.top-bar {
  position: relative;
  z-index: 1;
  background: rgba(40, 40, 48, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  padding-inline: 2.5rem;
  padding-block: 0.75rem;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.studio-name {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.top-bar-right {
  display: flex;
  gap: 0.5rem;
}

.icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: #fff;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease,
    box-shadow 0.15s ease;
}

.icon-img {
  width: 18px;
  height: 18px;
  display: block;
  filter: brightness(0) invert(1);
}

.icon-btn:hover,
.icon-btn:focus-visible {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.icon-text {
  font-size: 0.85rem;
  font-weight: 600;
}

.hero-page {
  flex: 1;
  min-height: 0;
  position: relative;
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-video {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero-overlay {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 2.5rem 2.5rem 3rem;
  max-width: 36rem;
  z-index: 1;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6), 0 2px 8px rgba(0, 0, 0, 0.4);
}

.hero-title-row {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  margin-bottom: 0.9rem;
}

.hero-tagline {
  margin: 0;
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: "Cute Dino", var(--font-main);
}

.hero-logo {
  width: 200px;
  height: 200px;
  display: block;
  border-radius: 50%;
}

.hero-heading {
  margin: 0 0 1rem;
  font-size: 1.4rem;
  line-height: 1.35;
  max-width: 30rem;
}

.hero-subtext {
  margin: 0 0 1.75rem;
  max-width: 28rem;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.platform-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.platform-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  border: 3px solid rgba(0, 0, 0, 0.8);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.platform-btn:hover,
.platform-btn:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  background: rgba(0, 0, 0, 0.35);
}

.platform-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.8);
  font-size: 0.8rem;
  border: none;
}

.platform-steam .platform-icon {
  background: var(--accent-steam);
}

.platform-android .platform-icon {
  background: var(--accent-android);
  color: #003814;
}

.platform-ios .platform-icon {
  background: var(--accent-ios);
}

@media (max-width: 900px) {
  .top-bar {
    padding-inline: 1.25rem;
  }

  .hero-overlay {
    padding: 2rem 1.5rem 2.5rem;
  }
}

@media (max-width: 600px) {
  .hero-overlay {
    padding: 1.5rem 1.25rem 2rem;
  }

  .hero-heading {
    font-size: 1.2rem;
  }

  .hero-tagline {
    font-size: 2.2rem;
  }

  .hero-logo {
    width: 140px;
    height: 140px;
  }

  .top-bar-inner {
    gap: 0.75rem;
  }

  .studio-name {
    font-size: 0.85rem;
  }

  .top-bar-right {
    gap: 0.35rem;
  }

  .icon-btn {
    width: 32px;
    height: 32px;
  }
}

