@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;600;700&display=swap');

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

html {
  overflow-x: hidden;
}

body {
  font-family: 'Oswald', sans-serif;
  background: linear-gradient(180deg, #05051f 0%, #101052 55.288%, #05051f 100%);
  color: #fff;
  min-height: 100vh;
  overflow-x: hidden;
}

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

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

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  width: 30px;
  height: 30px;
}

.logo span {
  font-weight: 700;
  font-size: 24px;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-weight: 400;
  font-size: 14px;
}

.nav a {
  white-space: nowrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, #e63950 0%, #ff9d2e 100%);
  border-radius: 60px;
  padding: 22px 50px;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  text-transform: uppercase;
  white-space: nowrap;
  height: 65px;
  max-width: 200px;
}

.gradient-title {
  font-weight: 700;
  text-transform: uppercase;
  background: linear-gradient(90deg, #e63950 0%, #ff9d2e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  padding-top: 6px;
}

.hero-content {
  width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-title {
  font-size: 90px;
  line-height: normal;
}

.hero-columns {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-left-text {
  font-weight: 400;
  font-size: 14px;
  line-height: normal;
  width: 360px;
}

.hero-right {
  width: 449px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  justify-content: center;
}

.hero-right-text {
  font-weight: 400;
  font-size: 14px;
  line-height: normal;
}

.hero-banner {
  width: 100%;
  height: 320px;
  overflow: hidden;
}

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

.section-mood {
  display: flex;
  gap: 30px;
  align-items: center;
  max-width: 1200px;
  margin: 44px auto 0;
}

.mood-left {
  width: 478px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.mood-image {
  width: 100%;
  height: 437px;
  border-radius: 40px;
  overflow: hidden;
}

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

.mood-character {
  width: 140px;
  height: 140px;
  position: relative;
  overflow: hidden;
}

.mood-character img {
  position: absolute;
  width: 137.06%;
  height: 136.36%;
  top: -18.18%;
  left: -18.27%;
  max-width: none;
}

.mood-right {
  width: 692px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.mood-title {
  font-size: 80px;
  line-height: normal;
}

.mood-description {
  font-weight: 400;
  font-size: 14px;
  line-height: normal;
}

.mood-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mood-card {
  border: 1px solid #fff;
  border-radius: 22px;
  padding: 20px;
  overflow: hidden;
}

.mood-card h3 {
  font-weight: 700;
  font-size: 30px;
  line-height: normal;
  margin-bottom: 0;
}

.mood-card p {
  font-weight: 400;
  font-size: 14px;
  line-height: normal;
}

.section-play {
  max-width: 1200px;
  margin: 44px auto 0;
}

.play-content {
  width: 1200px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.play-title {
  font-size: 80px;
  line-height: normal;
}

.play-images {
  display: flex;
  gap: 20px;
}

.play-img {
  width: 590px;
  height: 300px;
  border-radius: 34px;
  overflow: hidden;
}

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

.play-text {
  font-weight: 400;
  font-size: 14px;
  line-height: normal;
}

.play-text p {
  margin-bottom: 0;
}

.play-text p + p {
  margin-top: 0;
}

.play-text .spacer {
  height: 14px;
}

.section-arcade {
  margin-top: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.arcade-inner {
  width: 1060px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.arcade-title {
  font-size: 80px;
  line-height: normal;
  text-align: center;
  white-space: nowrap;
}

.arcade-text-wrap {
  width: 839px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.arcade-text {
  font-weight: 400;
  font-size: 14px;
  line-height: normal;
  text-align: center;
}

.arcade-text p + p {
  margin-top: 0;
}

.arcade-games {
  width: 1060px;
  display: flex;
  gap: 20px;
  align-items: center;
}

.arcade-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

a.game-thumb-sm,
a.game-thumb-lg {
  display: block;
}

.arcade-col .game-thumb-sm {
  width: 160px;
  height: 160px;
  border-radius: 26px;
  overflow: hidden;
}

.arcade-col .game-thumb-sm img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-thumb-lg {
  width: 340px;
  height: 340px;
  border-radius: 26px;
  overflow: hidden;
}

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

.section-clear {
  display: flex;
  gap: 30px;
  align-items: center;
  max-width: 1200px;
  margin: 44px auto 0;
}

.clear-left {
  width: 692px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.clear-title {
  font-size: 80px;
  line-height: normal;
}

.clear-text {
  font-weight: 400;
  font-size: 14px;
  line-height: normal;
}

.clear-text .spacer {
  height: 14px;
}

.clear-right {
  width: 478px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.clear-image {
  width: 100%;
  height: 437px;
  border-radius: 40px;
  overflow: hidden;
}

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

.section-contact {
  margin-top: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.contact-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.contact-title {
  font-size: 80px;
  line-height: normal;
  text-align: center;
  white-space: nowrap;
}

.contact-text-wrap {
  width: 839px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.contact-text {
  font-weight: 400;
  font-size: 14px;
  line-height: normal;
  text-align: center;
}

.contact-text .spacer {
  height: 14px;
}

.contact-text .contact-info {
  font-weight: 600;
}

.footer {
  max-width: 1200px;
  margin: 44px auto 0;
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-weight: 400;
  font-size: 14px;
}

.footer-nav a {
  white-space: nowrap;
}

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

.footer-social a {
  width: 28px;
  height: 28px;
  display: block;
}

.footer-social img {
  width: 100%;
  height: 100%;
}

.footer-copy {
  font-weight: 400;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
}

.policy-content {
  max-width: 1098px;
  margin: 0 auto;
  padding-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.policy-title {
  font-size: 80px;
  line-height: normal;
}

.policy-text {
  font-weight: 400;
  font-size: 14px;
  line-height: normal;
}

.policy-text p {
  margin-bottom: 0;
}

.policy-text .spacer {
  height: 14px;
}

.game-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  max-width: 1130px;
  margin: 0 auto;
  padding-top: 6px;
}

.game-hero-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  text-align: center;
  width: 100%;
}

.game-hero-title {
  font-size: 80px;
  line-height: normal;
}

.game-hero-text {
  font-weight: 400;
  font-size: 14px;
  line-height: normal;
  text-align: center;
}

.game-hero-icon {
  width: 230px;
  height: 230px;
  border-radius: 26px;
  overflow: hidden;
}

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

.game-detail {
  max-width: 1200px;
  margin: 44px auto 0;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.game-detail-title {
  font-size: 80px;
  line-height: normal;
}

.game-detail-img {
  width: 590px;
  height: 300px;
  border-radius: 34px;
  overflow: hidden;
}

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

.game-detail-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

.game-detail-text {
  font-weight: 400;
  font-size: 14px;
  line-height: normal;
}

@media (max-width: 768px) {
  .header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    max-width: 330px;
  }

  .nav {
    gap: 20px;
  }

  .hero {
    padding-top: 6px;
  }

  .hero-content {
    width: 100%;
    max-width: 330px;
  }

  .hero-title {
    font-size: 38px;
  }

  .hero-columns {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .hero-left-text {
    width: 100%;
  }

  .hero-right {
    width: 100%;
  }

  .hero-banner {
    width: 100vw;
    max-width: 100vw;
  }

  .section-mood {
    flex-direction: column;
    margin: 30px auto 0;
    max-width: 330px;
  }

  .mood-left {
    width: 100%;
  }

  .mood-image {
    height: 320px;
  }

  .mood-right {
    width: 100%;
  }

  .mood-title {
    font-size: 34px;
  }

  .section-play {
    margin: 30px auto 0;
    max-width: 330px;
  }

  .play-content {
    width: 100%;
  }

  .play-title {
    font-size: 34px;
  }

  .play-images {
    flex-direction: column;
  }

  .play-img {
    width: 100%;
    height: 168px;
  }

  .section-arcade {
    margin: 30px auto 0;
    max-width: 330px;
  }

  .arcade-inner {
    width: 100%;
  }

  .arcade-title {
    font-size: 34px;
    white-space: normal;
  }

  .arcade-text-wrap {
    width: 100%;
  }

  .arcade-games {
    width: 100%;
    flex-direction: column;
    align-items: center;
  }

  .arcade-col {
    flex-direction: row;
  }

  .arcade-col .game-thumb-sm {
    width: 155px;
    height: 155px;
  }

  .game-thumb-lg {
    width: 330px;
    height: 330px;
  }

  .section-clear {
    flex-direction: column;
    margin: 30px auto 0;
    max-width: 330px;
  }

  .clear-left {
    width: 100%;
  }

  .clear-title {
    font-size: 34px;
  }

  .clear-right {
    width: 100%;
  }

  .clear-image {
    height: 320px;
  }

  .section-contact {
    margin: 30px auto 0;
    max-width: 330px;
  }

  .contact-title {
    font-size: 34px;
    white-space: normal;
  }

  .contact-text-wrap {
    width: 100%;
  }

  .footer {
    margin: 30px auto 0;
    max-width: 330px;
  }

  .footer-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .policy-content {
    max-width: 330px;
  }

  .policy-title {
    font-size: 34px;
  }

  .game-hero {
    max-width: 330px;
  }

  .game-hero-title {
    font-size: 34px;
  }

  .game-detail {
    max-width: 330px;
    margin: 30px auto 0;
  }

  .game-detail-title {
    font-size: 34px;
  }

  .game-detail-img {
    width: 100%;
    height: 234px;
  }
}

/* ===========================================================
   Hover effects
   =========================================================== */

.btn {
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  background-size: 150% 150%;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(230, 57, 80, 0.45);
  filter: brightness(1.05);
}

.btn:active {
  transform: translateY(-1px) scale(0.99);
}

.nav a,
.footer-nav a {
  position: relative;
  transition: color 0.25s ease;
}

.nav a::after,
.footer-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #e63950 0%, #ff9d2e 100%);
  transition: width 0.25s ease;
}

.nav a:hover,
.footer-nav a:hover {
  color: #ff9d2e;
}

.nav a:hover::after,
.footer-nav a:hover::after {
  width: 100%;
}

.logo {
  transition: opacity 0.25s ease;
}

.logo:hover {
  opacity: 0.85;
}

.logo img {
  transition: transform 0.4s ease;
}

.logo:hover img {
  transform: rotate(-8deg) scale(1.08);
}

.mood-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mood-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35);
}

/* Image thumbnails zoom inside their rounded frames */
a.game-thumb-sm,
a.game-thumb-lg,
.game-thumb-lg,
.arcade-col .game-thumb-sm {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

a.game-thumb-sm:hover,
a.game-thumb-lg:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.4);
}

.game-thumb-lg img,
.arcade-col .game-thumb-sm img,
.mood-image img,
.clear-image img,
.game-hero-icon img,
.game-detail-img img {
  transition: transform 0.45s ease;
}

a.game-thumb-sm:hover img,
a.game-thumb-lg:hover img,
.mood-image:hover img,
.clear-image:hover img,
.game-hero-icon:hover img,
.game-detail-img:hover img {
  transform: scale(1.06);
}

.footer-social a {
  transition: transform 0.25s ease, filter 0.25s ease;
}

.footer-social a:hover {
  transform: translateY(-3px) scale(1.1);
  filter: drop-shadow(0 6px 12px rgba(230, 57, 80, 0.5));
}

/* ===========================================================
   Animations
   =========================================================== */

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

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

@keyframes cookieIcon {
  0%,
  100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(-10deg);
  }
  75% {
    transform: rotate(10deg);
  }
}

/* Hero entrance, staggered */
.hero-title,
.hero-columns,
.hero-banner {
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
}

.hero-title {
  animation-delay: 0.1s;
}

.hero-columns {
  animation-delay: 0.3s;
}

.hero-banner {
  animation-delay: 0.5s;
}

/* Gentle floating character */
.mood-character {
  animation: floatY 5s ease-in-out infinite;
}

/* Scroll reveal (class added by JS so content stays visible without JS) */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .hero-title,
  .hero-columns,
  .hero-banner,
  .mood-character,
  .reveal {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ===========================================================
   Cookie consent banner
   =========================================================== */

.cookie-banner {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 9999;
  width: calc(100% - 40px);
  max-width: 530px;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

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

.cookie-card {
  background: linear-gradient(#0a0a24, #0a0a24) padding-box,
    linear-gradient(135deg, #e63950 0%, #ff9d2e 100%) border-box;
  border: 2px solid transparent;
  border-radius: 28px;
  padding: 30px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
}

.cookie-icon {
  margin-bottom: 18px;
}

.cookie-icon svg {
  width: 40px;
  height: 40px;
  animation: cookieIcon 4s ease-in-out infinite;
  transform-origin: center;
}

.cookie-title {
  font-weight: 700;
  font-size: 26px;
  text-transform: none;
  margin-bottom: 16px;
}

.cookie-text {
  font-weight: 400;
  font-size: 14px;
  line-height: 1.45;
  color: #fff;
  margin-bottom: 12px;
}

.cookie-text:last-of-type {
  margin-bottom: 24px;
}

.cookie-btn {
  display: block;
  width: 100%;
  border: none;
  border-radius: 60px;
  padding: 18px;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  color: #fff;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease,
    background 0.25s ease;
}

.cookie-accept {
  background: linear-gradient(90deg, #e63950 0%, #ff9d2e 100%);
  margin-bottom: 14px;
}

.cookie-accept:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(230, 57, 80, 0.45);
  filter: brightness(1.05);
}

.cookie-manage {
  background: transparent;
  border: 2px solid #fff;
}

.cookie-manage:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 768px) {
  .cookie-banner {
    left: 50%;
    transform: translate(-50%, 40px);
    bottom: 16px;
    max-width: 360px;
  }

  .cookie-banner--visible {
    transform: translate(-50%, 0);
  }

  .cookie-card {
    padding: 24px;
    border-radius: 24px;
  }

  .cookie-title {
    font-size: 22px;
  }
}
