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

:root {
  --gradient: linear-gradient(to right, #8649ee 0%, #ce04c4 52.086%, #ed9e00 100%);
  --yellow: #ffd000;
  --yellow-glow: rgba(255, 208, 0, 0.8);
  --text-dark: #292929;
  --text-darker: #141414;
  --text-muted: rgba(41, 41, 41, 0.6);
  --white: #ffffff;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
  overflow-x: hidden;
  background: #fff;
}

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

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.btn-primary {
  display: inline-block;
  font-family: 'Rethink Sans', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--text-darker);
  background: var(--yellow);
  border: 3px solid var(--white);
  border-radius: 60px;
  padding: 18px 50px;
  box-shadow: 0 0 18px 0 var(--yellow-glow);
  line-height: normal;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s;
  max-width: 216px;
  text-align: center;
}
.btn-primary:hover { opacity: 0.9; }

.site-header {
  padding: 20px 0;
  background: #fff;
  position: relative;
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}

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

.logo img { width: 30px; height: 30px; flex-shrink: 0; }

.logo span {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 24px;
  color: var(--text-dark);
  line-height: normal;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.site-nav a {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-dark);
  line-height: normal;
  transition: opacity 0.2s;
}
.site-nav a:hover { opacity: 0.7; }

.hero {
  background: var(--gradient);
  overflow: hidden;
}

.hero-inner {
  display: flex;
  align-items: flex-end;
  gap: 30px;
  min-height: 632px;
}

.hero-content {
  flex: 0 0 auto;
  width: 45%;
  max-width: 538px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 48px 0;
  align-self: center;
}

.hero-content h1 {
  font-size: 64px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.1;
}

.hero-content p {
  font-size: 14px;
  font-weight: 400;
  color: var(--white);
  line-height: 1.6;
}

.hero-image {
  flex: 1;
  align-self: flex-end;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 632px;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
}

.wave-divider {
  line-height: 0;
  overflow: hidden;
  margin-top: -2px;
  height: 100px;
}

.wave-divider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.about {
  padding: 60px 0 0;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-bottom: 30px;
}

.about-content h2 {
  font-size: 50px;
  font-weight: 600;
  line-height: 1.1;
}

.about-content p {
  font-size: 14px;
  color: var(--text-darker);
  line-height: 1.6;
}

.about-images {
  display: flex;
  gap: 21px;
  width: 100%;
  overflow: hidden;
}

.about-img {
  flex: 1;
  height: 255px;
  object-fit: cover;
  min-width: 0;
}

.about-img--1 { border-radius: 0 22px 22px 0; }
.about-img--2 { border-radius: 22px; }
.about-img--3 { border-radius: 22px 0 0 22px; }

.features {
  padding: 60px 0;
}

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

.features h2 {
  font-size: 50px;
  font-weight: 600;
  line-height: 1.1;
  white-space: nowrap;
}

.features-desc {
  font-size: 14px;
  color: var(--text-darker);
  line-height: 1.6;
}

.feature-cards {
  display: flex;
  gap: 20px;
  width: 100%;
}

.feature-card {
  flex: 1;
  border-radius: 26px;
  overflow: hidden;
  height: 324px;
  min-width: 0;
}

.feature-card--gradient {
  background: var(--gradient);
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-card--gradient h3 {
  font-size: 26px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.1;
}

.feature-card--gradient p {
  font-size: 14px;
  color: var(--white);
  line-height: 1.6;
}

.feature-icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
  flex-shrink: 0;
}

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

.games-chronicle {
  padding: 60px 0;
}

.games-chronicle-inner {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.games-chronicle-content {
  flex: 0 0 47%;
  max-width: 570px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.games-chronicle-content h2 {
  font-size: 50px;
  font-weight: 600;
  line-height: 1.1;
}

.games-chronicle-content p {
  font-size: 14px;
  color: var(--text-darker);
  line-height: 1.6;
}

.games-grid {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-content: flex-start;
  min-width: 0;
}

.game-img {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  flex-shrink: 0;
  display: block;
}

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

.game-img .hover-label,
.catalog-card .hover-label {
  position: absolute;
  inset: 0;
  background: var(--gradient);
  opacity: 0;
  transition: opacity 0.25s;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.game-img:hover .hover-label,
.catalog-card:hover .hover-label {
  opacity: 0.92;
}

.hover-label span {
  color: #fff;
  font-family: 'Rethink Sans', sans-serif;
  font-weight: 700;
  font-size: 18px;
  text-align: center;
  line-height: 1.25;
}

.game-img--large {
  width: calc(50% - 10px);
  height: 290px;
}

.game-img--small {
  width: calc(25% - 15px);
  height: 135px;
}

.visual-splendor {
  padding: 60px 0;
}

.visual-splendor .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.visual-splendor h2 {
  font-size: 50px;
  font-weight: 600;
  line-height: 1.1;
  white-space: nowrap;
}

.visual-desc {
  font-size: 14px;
  color: var(--text-darker);
  line-height: 1.6;
  text-align: center;
}

.visual-gallery {
  display: flex;
  gap: 20px;
  width: 100%;
}

.visual-gallery img {
  flex: 1;
  height: 440px;
  border-radius: 26px;
  object-fit: cover;
  min-width: 0;
}

.contact-section {
  background: var(--gradient);
  overflow: hidden;
}

.contact-inner {
  display: flex;
  align-items: flex-end;
  gap: 30px;
  min-height: 632px;
}

.contact-content {
  flex: 0 0 auto;
  width: 55%;
  max-width: 663px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 48px 0;
  align-self: center;
}

.contact-content h2 {
  font-size: 50px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.1;
}

.contact-content p {
  font-size: 14px;
  color: var(--white);
  line-height: 1.6;
}

.contact-detail {
  font-size: 18px !important;
  font-weight: 700;
}

.contact-image {
  flex: 1;
  align-self: flex-end;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 592px;
  overflow: hidden;
}

.contact-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
}

.site-footer {
  padding: 40px 0 30px;
  background: #fff;
  padding-top: 0;
}

.footer-inner {
  display: flex;
  gap: 65px;
  align-items: flex-end;
}

.footer-character {
  flex-shrink: 0;
}

.footer-character img {
  width: 372px;
  height: 338px;
  object-fit: contain;
}

.footer-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.footer-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}

.footer-brand-nav {
  display: flex;
  flex-direction: column;
  gap: 15px;
  flex: 1;
  min-width: 0;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-nav a {
  font-size: 14px;
  color: var(--text-dark);
  line-height: normal;
  transition: opacity 0.2s;
}
.footer-nav a:hover { opacity: 0.7; }

.footer-social {
  display: flex;
  gap: 15px;
  flex-shrink: 0;
}

.social-link { display: flex; }

.social-link img {
  width: 40px;
  height: 40px;
}

.footer-copyright {
  font-size: 14px;
  color: var(--text-muted);
  line-height: normal;
}

.catalog-section {
  padding: 60px 0;
}

.catalog-layout {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.catalog-intro {
  flex: 0 0 44%;
  max-width: 530px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.catalog-intro h1 {
  font-size: 50px;
  font-weight: 600;
  line-height: 1.1;
}

.catalog-intro p {
  font-size: 14px;
  color: var(--text-darker);
  line-height: 1.6;
}

.catalog-grid {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-content: flex-start;
  min-width: 0;
}

.catalog-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  display: block;
  flex-shrink: 0;
}

.catalog-card--large {
  width: calc(50% - 10px);
  height: 290px;
}

.catalog-card--small {
  width: calc(25% - 15px);
  height: 135px;
}

.catalog-card .card-solo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.catalog-card--layered .card-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-page {
  padding: 60px 0;
}

.game-page-top {
  display: flex;
  gap: 60px;
  align-items: flex-start;
  margin-bottom: 60px;
}

.game-page-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.game-page-text h1 {
  font-size: 50px;
  font-weight: 600;
  line-height: 1.1;
}

.game-page-text p {
  font-size: 14px;
  color: var(--text-darker);
  line-height: 1.6;
}

.game-page-cover {
  flex-shrink: 0;
  width: 400px;
  height: 400px;
  border-radius: 20px;
  overflow: hidden;
}

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

.game-page-bottom {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.game-page-bottom h2 {
  font-size: 50px;
  font-weight: 600;
  line-height: 1.1;
}

.game-page-bottom p {
  font-size: 14px;
  color: var(--text-darker);
  line-height: 1.6;
}

.game-page-detail-img {
  display: block;
  width: 100%;
  align-self: stretch;
  height: 400px;
  border-radius: 22px;
  object-fit: cover;
  max-width: 520px;
}

.legal-page {
  padding: 60px 0;
}

.legal-page h1 {
  font-size: 50px;
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 30px;
}

.legal-page h2 {
  font-size: 26px;
  font-weight: 600;
  line-height: 1.2;
  margin-top: 30px;
  margin-bottom: 12px;
}

.legal-page p,
.legal-page li {
  font-size: 14px;
  color: var(--text-darker);
  line-height: 1.6;
  margin-bottom: 12px;
}

.legal-page ul {
  padding-left: 20px;
  margin-bottom: 12px;
}

.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 960px;
  z-index: 9999;
  padding: 3px;
  background: var(--gradient);
  border-radius: 26px;
}

.cookie-banner-inner {
  background: #fff;
  border-radius: 23px;
  padding: 40px 48px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.cookie-banner-icon {
  font-size: 48px;
  line-height: 1;
}

.cookie-banner-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-darker);
  line-height: 1.15;
}

.cookie-banner-text {
  font-size: 14px;
  color: var(--text-darker);
  line-height: 1.6;
  max-width: 740px;
}

.cookie-banner-buttons {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  max-width: 800px;
}

.cookie-btn {
  width: 100%;
  padding: 18px 40px;
  border-radius: 60px;
  font-family: 'Rethink Sans', sans-serif;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  line-height: normal;
  transition: opacity 0.2s;
}

.cookie-btn--accept {
  background: var(--yellow);
  border: 3px solid var(--white);
  color: var(--text-darker);
  box-shadow: 0 0 18px 0 var(--yellow-glow);
}

.cookie-btn--manage {
  background: #fff;
  border: 3px solid var(--text-darker);
  color: var(--text-darker);
}

.cookie-btn:hover { opacity: 0.85; }

@media (max-width: 768px) {

  .container { padding: 0 15px; }

  .header-inner {
    flex-direction: column;
    height: auto;
    gap: 10px;
    padding-bottom: 10px;
    align-items: center;
    align-items: flex-start;
  }

  .site-nav {
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-inner {
    flex-direction: column;
    align-items: stretch;
    min-height: auto;
    gap: 0;
  }

  .hero-content {
    width: 100%;
    max-width: none;
    flex: none;
    padding: 30px 0 24px;
    gap: 15px;
  }

  .hero-content h1 { font-size: 34px; }

  .hero-image {
    flex: none;
    height: 310px;
    align-self: stretch;
  }

  .hero-image img {
    object-fit: cover;
    object-position: top center;
  }

  .about { padding: 40px 0 0; }

  .about-content h2 { font-size: 28px; }

  .about-images {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .about-img {
    width: 100%;
    height: 190px;
    border-radius: 22px !important;
  }

  .features { padding: 40px 0; }

  .features h2 {
    font-size: 28px;
    white-space: normal;
  }

  .feature-cards { flex-direction: column; }

  .feature-card {
    width: 100%;
    height: auto;
    min-height: 274px;
  }

  .feature-card--gradient { padding: 24px 20px; }

  .feature-card--image { height: 324px; }

  .games-chronicle { padding: 40px 0; }

  .games-chronicle-inner { flex-direction: column; }

  .games-chronicle-content {
    flex: none;
    width: 100%;
    max-width: none;
  }

  .games-chronicle-content h2 { font-size: 28px; }

  .game-img--large {
    width: calc(50% - 10px);
    height: 165px;
  }

  .game-img--small {
    width: calc(50% - 10px);
    height: 135px;
  }

  .visual-splendor { padding: 40px 0; }

  .visual-splendor h2 {
    font-size: 28px;
    white-space: normal;
    text-align: center;
  }

  .visual-gallery { flex-direction: column; }

  .visual-gallery img {
    width: 100%;
    height: 375px;
  }

  .contact-inner {
    flex-direction: column;
    align-items: stretch;
    min-height: auto;
    gap: 0;
  }

  .contact-content {
    width: 100%;
    max-width: none;
    flex: none;
    padding: 30px 0 24px;
  }

  .contact-content h2 { font-size: 28px; }

  .contact-image {
    flex: none;
    height: 304px;
    align-self: stretch;
  }

  .footer-inner {
    flex-direction: column;
    gap: 0;
    align-items: flex-start;
  }

  .footer-character {
    display: block;
    width: 100%;
  }

  .footer-character img {
    width: 100%;
    height: auto;
    max-height: 340px;
    object-fit: contain;
    object-position: bottom center;
  }

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

  .footer-social { display: none; }

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

  .game-page { padding: 40px 0; }

  .game-page-top {
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
  }

  .game-page-text h1 { font-size: 28px; }

  .game-page-cover {
    width: 290px;
    height: 290px;
    align-self: center;
  }

  .game-page-bottom h2 { font-size: 28px; }

  .game-page-detail-img { height: 200px; }

  .catalog-section { padding: 40px 0; }

  .catalog-layout {
    flex-direction: column;
  }

  .catalog-intro {
    flex: none;
    width: 100%;
    max-width: none;
  }

  .catalog-intro h1 { font-size: 28px; }

  .catalog-card--large {
    width: calc(50% - 10px);
    height: 165px;
  }

  .catalog-card--small {
    width: calc(50% - 10px);
    height: 135px;
  }

  .legal-page h1 { font-size: 28px; }
  .legal-page h2 { font-size: 20px; }

  .cookie-banner {
    bottom: 10px;
    width: calc(100% - 20px);
  }

  .cookie-banner-inner {
    padding: 28px 20px;
    gap: 16px;
  }

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

@media (max-width: 768px) {
  .site-footer{
    padding-top: 0;
  }
}

.anim {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.anim.visible {
  opacity: 1;
  transform: translateY(0);
}

.btn-primary {
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
  opacity: 1;
  transform: scale(1.05);
  box-shadow: 0 6px 28px 0 var(--yellow-glow);
}

.catalog-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.catalog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

.game-img {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.game-img:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

.feature-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

.social-link {
  transition: transform 0.2s ease, opacity 0.2s;
}

.social-link:hover {
  transform: scale(1.18);
  opacity: 0.85;
}

.logo {
  transition: opacity 0.2s;
}

.logo:hover { opacity: 0.75; }

.site-nav a {
  transition: opacity 0.2s;
}

.site-nav a:hover { opacity: 0.7; }

.footer-nav a {
  transition: opacity 0.2s;
}

.footer-nav a:hover { opacity: 0.7; }