:root {
  --color-hero: #000a36;
  --color-text: #27343d;
  --color-muted: #5f6f78;
  --color-light: #efefef;
  --color-teal: #4ecbbb;
  --color-title: #35b8ac;
  --color-footer: #24313a;
  --shadow-soft: 0 10px 24px rgba(7, 23, 34, 0.2);
}

@font-face {
  font-family: "BitobitCustom";
  src:
    url("../fonts/bitobit-main.woff2") format("woff2"),
    url("../fonts/bitobit-main.woff") format("woff"),
    url("../fonts/bitobit-main.ttf") format("truetype"),
    url("../fonts/Conthrax-SemiBold.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "BitobitCustom", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--color-text);
  background: #d8d8d8;
  line-height: 1.5;
  overflow-x: hidden;
}

.site-wrap {
  margin: 0 auto;
  background: #fff;
}

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

.topbar {
  background: #fff;
  border-bottom: 1px solid #e8edf0;
}

.topbar-inner {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
}

.brand-logo {
  max-height: 80px;
  width: auto;
}

.topbar-social {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.social-link {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid #d4dde2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.social-link:hover,
.social-link:focus-visible {
  transform: translateY(-1px);
  border-color: #aab8c2;
}

.social-link i {
  font-size: 0.84rem;
  color: #44535c;
  line-height: 1;
}

.hero-video {
  position: relative;
  background-color: #000;
  margin-bottom: 18px;
}

.hero-video .container {
  position: relative;
  z-index: 1;
}

.hero-video::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -18px;
  height: 18px;
  background-color: white;
  background-image: url("../img/stripe.png");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: auto 100%;
  pointer-events: none;
}

.video-frame {
}

.video-shell {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
}

.hero-player {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-title {
  margin: 0;
  font-size: clamp(1.12rem, 2.2vw, 1.55rem);
  line-height: 1.15;
  text-transform: lowercase;
  letter-spacing: 0.02em;
  color: var(--color-title);
}

.section-text {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.92rem;
}

.game-intro {
  position: relative;
  overflow: hidden;
  background: #fff;
}

.game-intro::before,
.game-intro::after {
  content: "";
  position: absolute;
  width: 96px;
  height: 96px;
  background-repeat: no-repeat;
  background-size: 88px 88px;
  background-position: center;
  pointer-events: none;
  z-index: 0;
}

.game-intro::before {
  top: 0;
  left: 0;
  background-image: url("../img/sun.png");
}

.game-intro::after {
  right: 12px;
  bottom: 12px;
  background-image: url("../img/moon.png");
}

.game-intro .container {
  position: relative;
  z-index: 1;
}

.game-intro-text-col {
  min-height: 100%;
}

.by-bitobit {
  width: min(300px, 58%);
  margin: 0.5rem auto 0;
  margin-top: -40px;
}

.hero-returns {
  background: white;
  background-image: url("../img/bg-tiki.png");
  background-size: cover;
}

.return-content {
  margin-left: 200px;
}

.character-figure {
  text-align: right;
}

.character-figure img {
  max-height: 330px;
  object-fit: contain;
  margin-left: auto;
}

.renewed-stages {
  background: #fff;
  overflow: hidden;
}


.renewed-bosses {
  position: relative;
  min-height: 400px;
  background: var(--color-teal);
  background-image: url("../img/bg-bosses.png");
  background-size: cover;
  background-position: right top;
  background-repeat: no-repeat;
  overflow: hidden;
}

.renewed-bosses::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 400px;
  width: 100%;

  z-index: 0;
}

.renewed-bosses .bosses-strip {
  margin-top: 40px;
  max-height: 140px;
  text-align: center;
  max-width: 180px;
  display: flex;
  justify-content: center;
}

.renewed-bosses .boss-text {
  margin-left: 300px;
  margin-top: -100px;
}

.boss-main img {
  max-height: 300px;
  object-fit: contain;
}

.brand-new {
  background: #f8f8f8;
}

.cta-section {
  background: #f5f7f7;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  max-width: 320px;
  width: 100%;
  padding: 0.7rem 1.1rem;
  border-radius: 5px;
  text-decoration: none;
  text-transform: lowercase;
  letter-spacing: 0.02em;
  color: #fff;
  background: linear-gradient(0deg, #2d6c66, #2f8c80);
  box-shadow: 0 6px 14px rgba(26, 53, 67, 0.2);
}

.cta-button:hover,
.cta-button:focus-visible {
  color: #fff;
  filter: brightness(1.04);
}

.site-footer {
  position: relative;
  background: var(--color-footer);
}

.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -18px;
  height: 18px;
  background-color: white;
  background-image: url("../img/stripe.png");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: auto 100%;
  pointer-events: none;
}

.footer-title {
  margin: 0 0 0.25rem;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: #b7c6cf;
  text-transform: uppercase;
}

.footer-text {
  color: #e3edf4;
  font-size: 0.84rem;
}


@media (min-width: 992px) {
  .game-intro .section-text {
    max-width: 92%;
  }
}

@media (max-width: 991.98px) {
  .return-content {
    margin-left: 0;
  }

  .brand-new .ms-5.ps-4 {
    margin-left: 0 !important;
    padding-left: 0 !important;
  }

  .renewed-stages .w-75,
  .renewed-bosses .w-75 {
    width: 100% !important;
  }

  .renewed-bosses .section-title,
  .renewed-bosses .section-text {
    text-align: left;
  }

  .boss-main img {
    margin: 0 auto;
  }

  .renewed-bosses .col-12 > .d-flex {
    justify-content: flex-start !important;
  }

  .renewed-bosses .boss-text {
    width: 100%;
    margin-left: initial;
    margin-top: 40px;
    padding: 0;
  }

  .renewed-bosses .boss-text .section-text {
    width: 100% !important;
  }
}

@media (max-width: 767.98px) {
  .topbar-inner {
    flex-direction: column;
    gap: 0.6rem;
    padding: 0.25rem 0;
  }

  .topbar-social {
    position: static;
    transform: none;
  }
}

@media (max-width: 575.98px) {
  .game-intro::before,
  .game-intro::after {
    width: 64px;
    height: 64px;
    background-size: 56px 56px;
  }

  .brand-logo {
    max-height: 40px;
  }

  .cta-button {
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
