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

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

:root {
  --grad: linear-gradient(169deg, #a7b6f5 12.6%, #cebee9 47.3%, #f7bfda 89.3%);
  --pink: #f774e4;
  --card-pink: #f7bfda;
  --card-blue: #a7b6f5;
  --dark: #2a2a2a;
  --white: #fff;
  --font-head: 'MuseoModerno', sans-serif;
  --font-body: 'Poppins', sans-serif;
}

html {
  scroll-behavior: smooth;
  background: #f7bfda;
}

body {
  font-family: var(--font-body);
  color: var(--dark);
  background: #fff;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 60px;
  position: relative;
  z-index: 10;
  background: transparent;
}

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

.header-logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.header-logo span {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 40px;
  color: #fff;
  white-space: nowrap;
  line-height: 1;
}

.header-nav {
  background: rgba(255,255,255,0.2);
  border-radius: 100px;
  padding: 10px 40px;
  display: flex;
  gap: 40px;
}

.header-nav a {
  font-family: var(--font-body);
  font-size: 18px;
  color: #fff;
  white-space: nowrap;
  position: relative;
}

.header-nav a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: rgba(255,255,255,0.8);
  border-radius: 2px;
  transition: width 0.25s ease;
}
.header-nav a:hover::after { width: 100%; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.burger span {
  display: block;
  width: 30px;
  height: 3px;
  background: rgba(255,255,255,0.4);
  border-radius: 47px;
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--grad);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  font-family: var(--font-body);
  font-size: 24px;
  color: #fff;
}

.mobile-menu-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 32px;
  color: #fff;
  line-height: 1;
}

.hero {
  background: var(--grad);
  border-radius: 0 0 80px 80px;
  position: relative;
  height: 747px;
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
    isolation: isolate;
}

.hero-watermark {
  position: absolute;
  top: 160px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 140px;
  text-transform: uppercase;
  white-space: nowrap;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), rgba(202,202,202,0.5));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  pointer-events: none;
  line-height: 1;
}

@keyframes float {
  0%, 100% { transform: translateX(calc(-50% + 17.5px)) translateY(0); }
  50%       { transform: translateX(calc(-50% + 17.5px)) translateY(-18px); }
}

.hero-character {
  position: absolute;
  width: 707px;
  height: 852px;
  top: 136px;
  left: 50%;
  transform: translateX(calc(-50% + 17.5px));
  object-fit: contain;
  pointer-events: none;
  z-index: 1;
  animation: float 5s ease-in-out infinite;
}

.hero-content {
  position: absolute;
  left: 60px;
  top: 343px;
  width: 346px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.hero-content p {
  font-size: 16px;
  color: #fffafa;
  line-height: 1.5;
}

.hero-cta {
  display: flex;
  align-items: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  background: var(--pink);
  color: #fff;
  font-family: var(--font-body);
  font-size: 18px;
  padding: 14px 35px;
  border-radius: 100px;
  white-space: nowrap;
  transition: opacity .2s, transform .2s;
}
.btn-primary:hover { opacity: .85; transform: scale(1.04); }

.hero-cta-arrow {
  width: 55px;
  height: 55px;
  flex-shrink: 0;
}

.hero-thumbs {
  position: absolute;
  top: 378px;
  left: 843px;
}

.hero-thumbs-inner {
  position: relative;
  width: 431px;
  height: 259px;
}

.hero-thumbs-inner .thumb {
  position: absolute;
  width: 117px;
  height: 117px;
  border-radius: 10px;
  object-fit: cover;
}

.thumb-1 { left: 0;      top: 0; }
.thumb-2 { left: 32px;   top: 147px; }
.thumb-3 { left: 141px;  top: 0; }
.thumb-4 { left: 173px;  top: 147px; }
.thumb-5 { left: 282px;  top: 0; }
.thumb-6 { left: 314px;  top: 147px; }

.section {
  background: #fff;
  padding: 70px 60px;
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  display: flex;
  gap: 45px;
  align-items: flex-start;
  margin-bottom: 40px;
}

.section-title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 60px;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--dark);
  flex-shrink: 0;
  width: 518px;
}

.section-desc {
  flex: 1;
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark);
  min-width: 0;
}

.about-cards {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.about-card {
  border-radius: 20px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.about-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

.about-card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  pointer-events: none;
}

.card-tall {
  width: 360px;
  height: 521px;
  flex-shrink: 0;
}

.card-wide {
  flex: 1;
  min-width: 0;
  height: 323px;
  position: relative;
}

.card-wide-overlay {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: linear-gradient(to bottom, rgba(206,187,233,0) 0%, #cebbe9 100%);
  pointer-events: none;
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: 200px;
}

.card-tag {
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-size: 14px;
  padding: 6px 10px;
  border-radius: 100px;
  white-space: nowrap;
}

.card-avatar {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.card-bottom {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.card-bottom-dark { color: var(--dark); }
.card-bottom-white { color: #fff; }

.card-name {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.1;
}

.card-text {
  font-size: 16px;
  line-height: 1.5;
}

.advertise-card {
  position: relative;
  border-radius: 20px;
  height: 400px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 20px;
}

.advertise-card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  pointer-events: none;
}

.advertise-text {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--dark);
}

.advertise-title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.1;
}

.advertise-desc {
  font-size: 16px;
  line-height: 1.5;
}

.special-section {
  padding: 70px 60px;
  background: #fff;
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
}

.special-header {
  text-align: center;
  margin-bottom: 60px;
}

.special-header .section-title {
  width: 100%;
  margin-bottom: 20px;
  font-size: 60px;
}

.special-header .section-desc {
  text-align: center;
}

.special-grid {
  position: relative;
  width: 1080px;
  height: 469px;
  margin: 0 auto;
}

.special-center-img {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  width: 342px;
  height: 469px;
  object-fit: contain;
  pointer-events: none;
}

.feature-card {
  position: absolute;
  border-radius: 20px;
  padding: 10px;
  width: 278px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

.feature-card.pink { background: var(--card-pink); }
.feature-card.blue { background: var(--card-blue); }

.feature-card-dot {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.feature-card-title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.1;
}

.feature-card-text {
  font-size: 16px;
  line-height: 1.5;
}

.feat-1 { top: 8px;   left: 0; }
.feat-2 { top: 8px;   right: 0; }
.feat-3 { top: 253px; left: 62px; }
.feat-4 { top: 253px; right: 62px; }

.site-footer {
  background: var(--grad);
  border-radius: 80px 80px 0 0;
    padding: 40px max(60px, calc((100% - 1080px) / 2)) 30px;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

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

.footer-logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.footer-logo span {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 40px;
  color: #fff;
  white-space: nowrap;
  line-height: 1;
}

.footer-contact {
  font-size: 16px;
  color: #fff;
  line-height: 1.6;
  max-width: 620px;
}

.footer-divider {
  width: 100%;
  height: 1px;
  margin-bottom: 24px;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.8) 50%, transparent);
}

.footer-divider img {
  display: none;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.footer-socials img {
  width: 40px;
  height: 40px;
}

.footer-links {
  display: flex;
  gap: 40px;
  align-items: center;
  padding: 6px 35px;
}

.footer-links a {
  font-size: 18px;
  color: #fff;
  white-space: nowrap;
}

.footer-copy {
  font-size: 14px;
  color: #fff;
  white-space: nowrap;
}

@media (max-width: 768px) {

    .site-header {
    padding: 14px 20px;
  }

  .header-logo span { font-size: 28px; }
  .header-logo img { width: 40px; height: 40px; }
  .header-nav { display: none; }
  .burger { display: flex; }

    .hero {
    border-radius: 0 0 40px 40px;
    height: auto;
    padding: 0 0 40px;
    display: flex;
    flex-direction: column;
    max-width: 100%;
  }

  .hero-watermark {
    font-size: 80px;
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 100%;
    text-align: center;
    margin-top: 10px;
    line-height: 1;
    padding: 0 20px;
    white-space: normal;
    word-break: break-all;
  }

  .hero-character {
    position: relative;
    width: 229px;
    height: 275px;
    top: auto;
    left: auto;
    transform: none;
    margin: -120px auto 20px;
    display: block;
    z-index: 2;
  }

  .hero-content {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    gap: 20px;
    align-items: flex-start;
    padding: 0 20px;
  }

  .hero-thumbs {
    position: relative;
    left: auto;
    top: auto;
    margin-top: 20px;
    width: 100%;
    overflow: hidden;
    padding: 0 20px;
  }

  .hero-thumbs-inner {
    width: 390px;
    height: 239px;
  }

  .hero-thumbs-inner .thumb {
    width: 106px;
    height: 106px;
    border-radius: 9px;
  }

  .thumb-1 { left: 0;       top: 0; }
  .thumb-2 { left: 29px;    top: 133px; }
  .thumb-3 { left: 128px;   top: 0; }
  .thumb-4 { left: 157px;   top: 133px; }
  .thumb-5 { left: 256px;   top: 0; }
  .thumb-6 { left: 284px;   top: 133px; }

    .section,
  .special-section {
    padding: 40px 20px;
    max-width: 100%;
  }

  .section-header {
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
  }

  .section-title {
    font-size: 30px;
    width: 100%;
  }

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

  .card-tall {
    width: 100%;
    height: auto;
    min-height: 320px;
    flex-shrink: 1;
  }

  .card-wide {
    width: 100%;
    height: 323px;
    flex: none;
  }

    .advertise-card {
    flex-direction: column;
    align-items: flex-start;
    height: auto;
    gap: 50px;
  }

    .special-section {
    padding: 40px 20px;
  }

  .special-header {
    margin-bottom: 20px;
    text-align: left;
  }

  .special-header .section-title {
    font-size: 30px;
    text-align: center;
  }

  .special-header .section-desc {
    text-align: left;
  }

  .special-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    height: auto;
    position: static;
  }

  .feature-card {
    position: static;
    width: 100%;
  }

  .special-center-img {
    position: static;
    transform: none;
    width: 222px;
    height: 305px;
    margin: 0 auto;
  }

    .site-footer {
    border-radius: 40px 40px 0 0;
    padding: 40px 20px;
  }

  .footer-top {
    flex-direction: column;
    gap: 10px;
    align-items: center;
    margin-bottom: 0;
  }

  .footer-logo {
    justify-content: center;
  }

  .footer-logo span { font-size: 28px; }

  .footer-contact {
    text-align: center;
    max-width: 100%;
    font-size: 16px;
  }

  .footer-divider { margin: 20px 0; }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }

  .footer-links {
    flex-direction: column;
    gap: 10px;
    padding: 6px 0;
    text-align: center;
  }

  .footer-copy { text-align: center; }
}

.page-header {
  background: var(--grad);
  border-radius: 0 0 80px 80px;
  }

.page-header .site-header {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 60px;
}

@media (max-width: 768px) {
  .page-header {
    border-radius: 0 0 40px 40px;
  }
  .page-header .site-header {
    padding: 14px 20px;
  }
}

.catalog-layout {
  display: flex;
  gap: 145px;
  align-items: center;
}

.catalog-features {
  width: 440px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.catalog-feature-card {
  border-radius: 20px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: #fff;
}

.catalog-feature-card.pink { background: var(--card-pink); }
.catalog-feature-card.blue { background: var(--card-blue); }

.catalog-feature-card img {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.catalog-feature-card-title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.1;
}

.catalog-feature-card-text {
  font-size: 16px;
  line-height: 1.5;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(3, 165px);
  grid-template-rows: repeat(2, 165px);
  grid-auto-flow: column;
  gap: 0;
  flex-shrink: 0;
}

.game-grid-item {
  display: block;
  width: 165px;
  height: 165px;
  border-radius: 50%;
  overflow: hidden;
  transition: transform .2s, opacity .2s;
}

.game-grid-item:hover {
  transform: scale(1.05);
  opacity: .9;
}

.game-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

@media (max-width: 768px) {
  .catalog-layout {
    flex-direction: column;
    gap: 20px;
  }

  .catalog-features {
    width: 100%;
  }

    .catalog-layout .game-grid { order: -1; }

  .game-grid {
    grid-template-columns: repeat(3, 130px);
    grid-template-rows: repeat(2, 130px);
    grid-auto-flow: column;
  }

  .game-grid-item {
    width: 130px;
    height: 130px;
  }
}

@media (max-width: 768px) {
  .hero-watermark{
    word-break: break-all;
  }
}

.policy-section {
  background: #fff;
  max-width: 1200px;
  margin: 0 auto;
  padding: 70px 60px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.policy-title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 60px;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--dark);
}

.policy-body {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--dark);
}

.policy-body p {
  line-height: 1.5;
  margin-bottom: 10px;
}

.policy-body p:last-child {
  margin-bottom: 0;
}

.policy-body ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 10px;
}

.policy-body li {
  line-height: 1.5;
}

@media (max-width: 768px) {
  .policy-section {
    padding: 40px 20px;
  }

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

.game-section {
  background: #fff;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px;
}

.game-layout {
  display: flex;
  gap: 20px;
  align-items: center;
}

.game-desc-card {
  flex: 1;
  border-radius: 20px;
  padding: 20px;
  font-size: 16px;
  color: #fff;
  line-height: 1.6;
}

.game-desc-card.blue { background: var(--card-blue); }
.game-desc-card.pink { background: var(--card-pink); }

.game-center {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.game-title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 60px;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--dark);
  text-align: center;
}

.game-circle {
  width: 165px;
  height: 165px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.game-play-cta {
  display: flex;
  align-items: center;
}

.btn-play {
  display: inline-flex;
  align-items: center;
  background: var(--pink);
  color: #fff;
  font-family: var(--font-body);
  font-size: 24px;
  padding: 19px 80px;
  border-radius: 136px;
  white-space: nowrap;
  transition: opacity .2s;
}

.btn-play:hover { opacity: .85; }

.btn-play-arrow {
  width: 75px;
  height: 75px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .game-section {
    padding: 40px 20px;
  }

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

  .game-desc-card {
    width: 100%;
  }

  .game-title {
    font-size: 30px;
  }
}
/* Scroll fade-in */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(40px);
  width: calc(100% - 48px);
  max-width: 960px;
  background: #fff;
  border-radius: 24px;
  padding: 32px 40px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 24px;
  opacity: 0;
  transition: opacity 0.45s ease, transform 0.45s ease;
}

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

.cookie-banner.hidden {
  display: none;
}

.cookie-banner-text {
  flex: 1;
}

.cookie-banner-title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 36px;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 12px;
}

.cookie-banner-desc {
  font-size: 15px;
  color: #333;
  line-height: 1.6;
}

.cookie-banner-desc p + p {
  margin-top: 8px;
}

.cookie-banner-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
}

.cookie-banner-actions .btn-primary {
  display: inline-flex;
  justify-content: center;
  min-width: 160px;
}

@media (max-width: 768px) {
  .cookie-banner {
    bottom: 16px;
    padding: 24px 20px;
    width: calc(100% - 32px);
    border-radius: 20px;
    gap: 16px;
  }

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

  .cookie-banner-actions .btn-primary {
    flex: 1;
  }
}
