:root {
  --red: #ce3a3d;
  --red-dark: #9e2028;
  --cream: #fff8ef;
  --beige: #f4eee7;
  --violet: #d8c5ff;
  --ink: #161313;
  --footer-red: #ff5a60;
  --footer-text: #f7dad3;
  --review-text: #5a2b2d;
  --small-text: #7e3134;
  --paper-dark: #3a2430;
  --rubik: "Rubik", sans-serif;
  --mono: "Space Mono", monospace;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--rubik);
  background: var(--beige);
  color: var(--red);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

.page {
  max-width: 1236px;
  margin: 0 auto;
  padding: 18px 18px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
}

.nav {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 15px 19px;
  border: 1px solid rgba(206, 58, 61, 0.22);
  border-radius: 999px;
  background: rgba(244, 238, 231, 0.72);
  -webkit-backdrop-filter: blur(9px);
  backdrop-filter: blur(9px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand__mark {
  width: 26px;
  height: 26px;
  flex: none;
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 8px 4px 10px;
  border-radius: 13px;
  background: var(--red);
  box-shadow: inset 0 -5px 0 rgba(0, 0, 0, 0.12);
}

.brand__mark span {
  width: 18px;
  height: 8px;
  background: var(--beige);
  border-radius: 20px 20px 3px 3px;
}

.brand__name {
  font-weight: 900;
  font-size: 18px;
  letter-spacing: 1.08px;
  color: var(--red);
  white-space: nowrap;
}

.nav__links {
  display: flex;
  gap: 30px;
}

.nav__links a {
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 1.44px;
  text-transform: uppercase;
  color: var(--red);
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.nav__links a:hover {
  opacity: 0.6;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 178px;
  padding: 16px 58.7px;
  border: 1px solid var(--red);
  border-radius: 999px;
  background: var(--red);
  color: var(--cream);
  font-weight: 900;
  font-size: 13px;
  text-align: center;
  white-space: nowrap;
  filter: drop-shadow(0 18px 20px rgba(206, 58, 61, 0.25));
  transition: transform 0.2s ease, background 0.2s ease;
}

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

.hero {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 0 49px;
  border-bottom: 1px solid rgba(206, 58, 61, 0.35);
  overflow: hidden;
}

.hero__deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.deco-pill {
  position: absolute;
  width: 14px;
  height: 18px;
  background: var(--violet);
  opacity: 0.8;
  border-radius: 0 0 16px 0;
  border-top-left-radius: 16px;
}

.deco-pill--1 { left: 10%; top: 120px; }
.deco-pill--2 { left: 82%; top: 520px; }
.deco-pill--3 { left: 48%; top: 170px; }
.deco-pill--4 { left: 68%; top: 880px; }

.deco-blob {
  position: absolute;
  background: #fff;
  opacity: 0.86;
  border-radius: 999px;
}

.deco-blob span {
  position: absolute;
  background: #fff;
  border-radius: 999px;
}

.deco-blob--1 {
  left: 8%;
  top: 315px;
  width: 160px;
  height: 55px;
}

.deco-blob--1 span {
  width: 85px;
  height: 85px;
  bottom: 18px;
  left: 25px;
}

.deco-blob--2 {
  left: 80.17%;
  top: 200px;
  width: 130px;
  height: 44px;
}

.deco-blob--2 span {
  width: 70px;
  height: 70px;
  bottom: 16px;
  left: 34px;
}

.deco-stamp {
  position: absolute;
  top: 236px;
  right: 4%;
  width: 96px;
  height: 96px;
  border: 4px solid var(--red);
  border-radius: 28px;
  opacity: 0.28;
  transform: rotate(14.42deg) skewX(0.82deg);
}

.deco-stamp i {
  position: absolute;
  background: var(--red);
  border-radius: 10px;
}

.deco-stamp i:first-child {
  width: 72px;
  height: 14px;
  left: 12px;
  top: 35px;
}

.deco-stamp i:last-child {
  width: 14px;
  height: 70px;
  left: 43px;
  top: 12px;
}

.deco-kanji {
  position: absolute;
  left: 4%;
  bottom: 280px;
  font-weight: 900;
  font-size: 88px;
  letter-spacing: 3.52px;
  color: rgba(206, 58, 61, 0.28);
  writing-mode: vertical-rl;
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  gap: 40px;
  align-items: stretch;
}

.hero__text {
  width: 655px;
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 19.5px;
  padding-bottom: 16px;
}

.eyebrow {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 2.16px;
  text-transform: uppercase;
  color: var(--red);
}

.hero__title {
  padding-top: 14.5px;
}

.hero__title p {
  font-weight: 900;
  font-size: 168px;
  line-height: 131px;
  letter-spacing: -13.44px;
  text-transform: uppercase;
  color: var(--red);
}

.hero__lead {
  width: 390px;
  font-weight: 800;
  font-size: 17px;
  line-height: 24.65px;
  text-transform: uppercase;
  color: var(--red);
}

.hero__cta {
  padding-top: 8.5px;
}

.hero__art {
  flex: 1 0 0;
  min-width: 0;
  height: 620px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero__art img {
  width: auto;
  height: 100%;
  max-width: 100%;
}

.game-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  gap: 40px;
  align-items: center;
}

.game-hero__text {
  width: 655px;
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 19.5px;
  padding-bottom: 16px;
}

.game-hero__title {
  font-weight: 900;
  font-size: 168px;
  line-height: 131px;
  letter-spacing: -13.44px;
  text-transform: uppercase;
  color: var(--red);
}

.game-hero__desc {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.game-hero__desc p {
  flex: 1 0 0;
  min-width: 0;
  font-weight: 800;
  font-size: 17px;
  line-height: 24.65px;
  text-transform: uppercase;
  color: var(--red);
}

.game-hero__art {
  flex: 1 0 0;
  min-width: 0;
  aspect-ratio: 150 / 152.66;
  border-radius: 32px;
  overflow: hidden;
}

.game-hero__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.policy {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 80px;
  padding-bottom: 24px;
}

.policy__title {
  font-weight: 900;
  font-size: 168px;
  line-height: 131px;
  letter-spacing: -13.44px;
  text-transform: uppercase;
  color: var(--red);
}

.policy__body {
  display: flex;
  flex-direction: column;
}

.policy__body p {
  font-weight: 800;
  font-size: 17px;
  line-height: 24.65px;
  text-transform: uppercase;
  color: var(--red);
}

.policy__body a {
  color: var(--red);
  text-decoration: underline;
  text-underline-position: from-font;
}

.about {
  width: 100%;
  padding: 92px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.about__inner {
  width: 100%;
  display: flex;
  gap: 166px;
  align-items: flex-start;
}

.about__label {
  width: 93px;
  height: 412px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about__label span {
  transform: rotate(90deg);
  white-space: nowrap;
  font-weight: 900;
  font-size: 122px;
  line-height: 0.76;
  letter-spacing: -8.54px;
  color: var(--red);
}

.about__content {
  flex: 1 0 0;
  min-width: 0;
  padding-top: 14.7px;
  display: flex;
  flex-direction: column;
  gap: 38px;
}

.about__text {
  font-weight: 900;
  font-size: 16px;
  line-height: 24.8px;
  text-transform: uppercase;
  color: var(--red);
}

.about__cards {
  display: flex;
  gap: 24px;
  align-items: stretch;
}

.about-card {
  flex: 1 0 0;
  min-width: 0;
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(206, 58, 61, 0.24);
  border-radius: 24px;
  background: var(--cream);
  box-shadow: 0 28px 70px rgba(105, 35, 38, 0.16);
}

.about-card img {
  width: 100%;
  height: 238px;
  object-fit: cover;
}

.reviews {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.reviews__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  text-transform: uppercase;
  color: var(--red);
}

.reviews__head .eyebrow {
  white-space: nowrap;
}

.reviews__title {
  font-weight: 700;
  font-size: 48px;
  color: var(--red);
}

.reviews__grid {
  display: flex;
  gap: 24px;
  align-items: stretch;
}

.review {
  flex: 1 0 0;
  min-width: 0;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 33px;
  border: 1px solid rgba(206, 58, 61, 0.26);
  border-radius: 28px;
  background: rgba(255, 248, 239, 0.45);
}

.review__quote {
  font-family: var(--mono);
  font-size: 12px;
  line-height: 18.6px;
  text-transform: uppercase;
  color: var(--review-text);
}

.review__author {
  font-weight: 700;
  font-size: 13px;
  color: var(--red);
}

.features {
  width: 100%;
  padding: 93px 0 92px;
  border-top: 1px solid rgba(206, 58, 61, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.features__inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.features__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  text-transform: uppercase;
  color: var(--red);
}

.features__head .eyebrow {
  white-space: nowrap;
}

.features__head p {
  width: 582px;
  font-weight: 900;
  font-size: 16px;
  line-height: 24.8px;
  color: var(--red);
}

.features__grid {
  display: flex;
  gap: 24px;
  align-items: stretch;
}

.feature {
  position: relative;
  flex: 1 0 0;
  min-width: 0;
  min-height: 330px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 13px;
  padding: 22px;
  overflow: hidden;
  border-radius: 26px;
  box-shadow: 0 28px 70px rgba(105, 35, 38, 0.16);
}

.feature__icon {
  position: absolute;
  top: 22px;
  left: 20px;
  width: 140px;
  height: 140px;
}

.feature__title {
  font-weight: 700;
  font-size: 20px;
  line-height: 20px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.feature__text {
  font-family: var(--mono);
  font-size: 11px;
  line-height: 15.95px;
  text-transform: uppercase;
}

.feature--red {
  background: var(--red);
  color: var(--cream);
}

.feature--red .feature__title,
.feature--red .feature__text {
  color: var(--cream);
}

.feature--violet {
  background: var(--violet);
}

.feature--violet .feature__title,
.feature--violet .feature__text {
  color: var(--paper-dark);
}

.feature--cream {
  background: var(--cream);
  border: 1px solid rgba(206, 58, 61, 0.26);
}

.feature--cream .feature__title,
.feature--cream .feature__text {
  color: var(--red);
}

.games {
  width: 100%;
  padding: 130px 0 92px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.games__inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.games__title {
  font-weight: 700;
  font-size: 108px;
  line-height: 84.24px;
  letter-spacing: -8.64px;
  text-transform: uppercase;
  color: var(--red);
}

.games__grid {
  display: flex;
  gap: 12px;
  align-items: stretch;
}

.game {
  flex: 1 0 0;
  min-width: 0;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 17px 17px 33px;
  overflow: hidden;
  border: 1px solid rgba(206, 58, 61, 0.2);
  border-radius: 26px;
  background: var(--cream);
  box-shadow: 0 18px 40px rgba(105, 35, 38, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.game:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 50px rgba(105, 35, 38, 0.18);
}

.game__media {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  overflow: hidden;
}

.game__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game--first .game__media {
  aspect-ratio: auto;
  height: 152.66px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(134.5deg, #fff 0%, var(--violet) 100%);
}

.game--first .game__media img {
  object-fit: contain;
}

.game__name {
  font-weight: 700;
  font-size: 15px;
  line-height: 15px;
  text-transform: uppercase;
  color: var(--red);
}

.game__desc {
  font-family: var(--mono);
  font-size: 10px;
  line-height: 13px;
  text-transform: uppercase;
  color: var(--small-text);
}

.footer {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 24px 30px;
  border-radius: 40px 40px 0 0;
  background: var(--ink);
}

.footer__top {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.footer__brand {
  flex: 1 0 0;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 26px;
}

.footer__brand .brand__name {
  color: var(--footer-red);
}

.footer__col {
  flex: 1 0 0;
  min-width: 0;
  padding: 12px 0;
}

.footer__col p {
  font-family: var(--mono);
  font-size: 12px;
  line-height: 19.2px;
  color: var(--footer-text);
}

.footer__social {
  display: flex;
  align-items: center;
  gap: 15px;
}

.footer__social a {
  display: block;
  width: 40px;
  height: 40px;
  transition: transform 0.2s ease;
}

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

.footer__social img {
  width: 40px;
  height: 40px;
}

.footer__bottom {
  width: 100%;
  margin-top: 25px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.footer__copy {
  font-family: var(--mono);
  font-size: 12px;
  line-height: 19.2px;
  color: var(--footer-text);
  white-space: nowrap;
}

.footer__policy {
  display: flex;
  gap: 36px;
}

.footer__policy a {
  font-family: var(--mono);
  font-size: 12px;
  line-height: 19.2px;
  color: var(--footer-text);
  white-space: nowrap;
  transition: color 0.2s ease;
}

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

/* ===== Cookie consent banner ===== */
.cookie {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  margin: 0 auto;
  max-width: 1200px;
  padding: 42px 52px 46px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  border: 1px solid rgba(206, 58, 61, 0.18);
  border-radius: 30px;
  background: var(--beige);
  box-shadow: 0 30px 90px rgba(105, 35, 38, 0.28);
  transform: translateY(160%);
  opacity: 0;
  transition: transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.5s ease;
}

.cookie.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.cookie.is-hiding {
  transform: translateY(160%);
  opacity: 0;
}

.cookie__title {
  font-weight: 900;
  font-size: 40px;
  line-height: 1;
  letter-spacing: -1.2px;
  text-transform: uppercase;
  color: var(--red);
}

.cookie__text {
  max-width: 1080px;
  font-weight: 800;
  font-size: 15px;
  line-height: 1.55;
  text-transform: uppercase;
  color: var(--red);
}

.cookie__accept {
  width: 100%;
  padding: 18px 24px;
  border: 1px solid var(--red);
  border-radius: 999px;
  background: var(--red);
  color: var(--cream);
  font-family: var(--rubik);
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 0.5px;
  cursor: pointer;
  filter: drop-shadow(0 18px 24px rgba(206, 58, 61, 0.28));
  transition: transform 0.2s ease, background 0.2s ease;
}

.cookie__accept:hover {
  transform: translateY(-2px);
  background: #b73033;
}

.cookie__accept:focus-visible {
  outline: 3px solid rgba(206, 58, 61, 0.4);
  outline-offset: 3px;
}

/* ===== Scroll reveal + motion ===== */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity, transform;
}

.reveal.in-view {
  opacity: 1;
  transform: none;
}

.game__media img {
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.game:hover .game__media img {
  transform: scale(1.06);
}

.game-hero__art img,
.about-card img {
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.game-hero__art:hover img,
.about-card:hover img {
  transform: scale(1.05);
}

.hero__art img {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero__art img {
    animation: none;
  }
}

@media (max-width: 600px) {
  .cookie {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 30px 26px 32px;
    gap: 18px;
    border-radius: 26px;
  }

  .cookie__title {
    font-size: 30px;
  }

  .cookie__text {
    font-size: 14px;
  }
}

@media (max-width: 1080px) {
  .hero__title p {
    font-size: 128px;
    line-height: 104px;
    letter-spacing: -8px;
  }

  .hero__text {
    width: 520px;
  }

  .games__title {
    font-size: 84px;
    line-height: 70px;
    letter-spacing: -6px;
  }

  .about__inner {
    gap: 80px;
  }
}

@media (max-width: 860px) {
  .page {
    gap: 60px;
  }

  .nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    border-radius: 28px;
  }

  .hero__inner {
    flex-direction: column;
    gap: 40px;
  }

  .hero__text {
    width: 100%;
  }

  .hero__title p {
    font-size: clamp(54px, 26vw, 104px);
    line-height: 1;
    letter-spacing: -0.08em;
  }

  .hero__lead {
    width: 100%;
    white-space: normal;
  }

  .hero__art {
    width: 100%;
    height: auto;
    justify-content: flex-start;
  }

  .hero__art img {
    width: 100%;
    max-width: 410px;
    height: auto;
  }

  .deco-stamp,
  .deco-pill,
  .deco-blob {
    display: none;
  }

  .game-hero__inner {
    flex-direction: column;
    gap: 40px;
    align-items: stretch;
  }

  .game-hero__text {
    width: 100%;
  }

  .game-hero__title {
    font-size: clamp(54px, 26vw, 104px);
    line-height: 1;
    letter-spacing: -0.08em;
  }

  .game-hero__desc {
    flex-direction: column;
  }

  .game-hero__art {
    flex: none;
    width: 100%;
  }

  .policy {
    gap: 32px;
  }

  .policy__title {
    font-size: clamp(48px, 22vw, 104px);
    line-height: 1.04;
    letter-spacing: -0.06em;
  }

  .about__inner {
    flex-direction: column;
    gap: 24px;
  }

  .about__content {
    padding-top: 0;
    width: 100%;
  }

  .about__text {
    white-space: normal;
  }

  .about__cards {
    flex-direction: column;
  }

  .reviews__grid {
    flex-direction: column;
  }

  .features__head {
    flex-direction: column;
    gap: 12px;
  }

  .features__head p {
    width: 100%;
  }

  .features__grid {
    flex-direction: column;
  }

  .games__title {
    font-size: clamp(56px, 22vw, 108px);
    line-height: 1;
    letter-spacing: -0.07em;
  }

  .games__grid {
    flex-direction: column;
    gap: 24px;
  }

  .game--first .game__media {
    aspect-ratio: auto;
    height: 290px;
  }

  .footer {
    padding: 60px 18px 30px;
    border-radius: 40px 40px 0 0;
  }

  .footer__top {
    flex-direction: column;
    gap: 0;
  }

  .footer__brand,
  .footer__col {
    flex: none;
    width: 100%;
  }

  .footer__bottom {
    align-items: flex-start;
  }

  .footer__copy {
    white-space: normal;
  }

  .footer__policy {
    flex-direction: column;
    gap: 4px;
  }
}

@media (max-width: 460px) {
  .about__label span {
    font-size: 88px;
    letter-spacing: -5px;
  }

  .reviews__title {
    font-size: 38px;
  }
}
