@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@600;700;800&family=Nunito:wght@400;600;700;800;900&display=swap');

:root {
  --ink: #17131d;
  --muted: #655d73;
  --paper: #fffafc;
  --white: #fff;
  --pink: #f90087;
  --pink-dark: #9d005c;
  --purple: #4b003c;
  --yellow: #ffc21c;
  --line: #eadfea;
  --radius: 24px;
  --shadow: 0 24px 70px rgba(90, 0, 66, .14);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Nunito, sans-serif; line-height: 1.55; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 10px 16px; background: var(--yellow); border-radius: 12px; font-weight: 900; }
.skip-link:focus { top: 16px; }

.site-header { position: absolute; inset: 0 0 auto; z-index: 20; color: white; }
.site-header.is-solid { position: relative; background: linear-gradient(110deg, #590039, #d50079); }
.nav-wrap { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 800 28px/1 'Baloo 2', sans-serif; letter-spacing: -.04em; }
.brand img { width: 44px; height: 44px; object-fit: contain; filter: drop-shadow(0 5px 8px rgba(0,0,0,.18)); }
.site-nav { display: flex; align-items: center; gap: 36px; }
.site-nav a { position: relative; text-decoration: none; font-weight: 800; }
.site-nav a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: -7px; height: 3px; border-radius: 3px; background: var(--yellow); transition: right .22s ease; }
.site-nav a:hover::after, .site-nav a[aria-current='page']::after { right: 0; }
.menu-button { display: none; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.4); color: white; background: rgba(255,255,255,.1); border-radius: 14px; font-size: 24px; }

.hero { min-height: 600px; color: white; display: grid; align-items: center; position: relative; overflow: hidden; background: #71004d url('../images/back.jpg') center center / cover no-repeat; }
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(45,0,35,.44), rgba(65,0,45,.08) 52%, rgba(42,0,32,.18)); }
.hero::after { content: ''; position: absolute; inset: auto 0 0; height: 80px; background: linear-gradient(transparent, rgba(33,0,27,.42)); }
.hero > .sparkles { display: none; }
.sparkles { position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(circle, #fff 0 2px, transparent 3px), radial-gradient(circle, #ffca18 0 4px, transparent 5px); background-size: 170px 130px, 260px 210px; opacity: .72; }
.hero-grid { position: relative; z-index: 2; padding-top: 78px; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 42px; }
.eyebrow { margin: 0 0 4px; color: var(--pink); font-weight: 900; letter-spacing: .22em; text-transform: uppercase; font-size: .84rem; }
.hero .eyebrow { color: #ffd7ef; }
h1, h2, h3 { font-family: 'Baloo 2', sans-serif; line-height: 1.02; margin: 0; }
h1 { font-size: clamp(4rem, 7vw, 6.8rem); letter-spacing: -.055em; }
.hero h2 { font-size: clamp(1.65rem, 2.3vw, 2.35rem); }
.hero-copy > p:not(.eyebrow) { max-width: 600px; margin: 14px 0 25px; font-size: clamp(1.02rem, 1.6vw, 1.25rem); color: #f4dce9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border: 0; border-radius: 17px; text-decoration: none; font: 900 1rem/1 Nunito, sans-serif; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-3px); }
.ui-icon { display: inline-block; flex: 0 0 auto; width: 24px; height: 24px; background: currentColor; mask: var(--icon) center / contain no-repeat; -webkit-mask: var(--icon) center / contain no-repeat; }
.ui-icon.game { --icon: url('../images/icons/ico_game.png'); }
.ui-icon.flash { --icon: url('../images/icons/ico_flash.png'); }
.ui-icon.heart { --icon: url('../images/icons/ico_hearth.png'); }
.ui-icon.people { --icon: url('../images/icons/ico_people.png'); }
.ui-icon.mail { --icon: url('../images/icons/ico_mail.png'); }
.ui-icon.star-icon { --icon: url('../images/icons/ico_star.png'); }
.button-primary .ui-icon { color: #29262d; }
.button-outline .ui-icon { color: white; }
.button-primary { color: #251800; background: linear-gradient(135deg, #ffe05e, #ffb800); box-shadow: 0 12px 30px rgba(255,184,0,.3); }
.button-outline { color: white; background: rgba(255,255,255,.08); border: 2px solid rgba(255,255,255,.82); }
.button-pink { color: white; background: linear-gradient(135deg, #ff229d, #d40073); box-shadow: 0 13px 28px rgba(213,0,116,.22); }
.hero-values { display: flex; gap: 24px; margin-top: 28px; font-weight: 800; }
.hero-values span { display: inline-flex; gap: 8px; align-items: center; }
.hero-art { position: relative; display: grid; place-items: center; min-height: 420px; }
.hero-art::before { content: ''; position: absolute; width: 95%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.18), transparent 65%); }
.hero-art img { position: relative; z-index: 1; width: min(86%, 410px); max-height: 440px; object-fit: contain; filter: drop-shadow(0 30px 26px rgba(20,0,18,.32)); animation: float 4.5s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-12px) rotate(1deg); } }

.section { padding: 84px 0; }
.section-white { background: white; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 28px; }
.section-heading h2 { font-size: clamp(2.35rem, 5vw, 4rem); letter-spacing: -.04em; }
.section-heading p { margin: 0 0 10px; color: var(--muted); max-width: 470px; font-size: 1.08rem; }
.text-link { color: var(--pink); font-weight: 900; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.game-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.game-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: 0 10px 34px rgba(54,12,48,.06); transition: transform .25s ease, box-shadow .25s ease; }
.game-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.game-card > a { display: block; text-decoration: none; }
.game-cover { position: relative; aspect-ratio: 16/9; overflow: hidden; display: block; background: #251224; isolation: isolate; }
.game-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.game-card:hover .game-cover img { transform: scale(1.035); }
.game-cover.pixel { background: linear-gradient(135deg, #41d8ff, #36a6ef 55%, #70e39c); }
.game-cover.bunny { background: linear-gradient(135deg, #98e76e, #53c786 45%, #42b7ef); }
.game-cover.star { background: radial-gradient(circle at 75% 72%, #ee3d99 0 8%, transparent 9%), linear-gradient(135deg, #09165d, #32208b 55%, #7a20b7); }
.cover-icon { position: relative; z-index: 1; font-size: clamp(4rem, 8vw, 7rem); filter: drop-shadow(0 12px 10px rgba(0,0,0,.2)); transform: rotate(-5deg); }
.cover-title { position: absolute; z-index: 2; top: 16px; right: 18px; max-width: 53%; text-align: right; font: 900 clamp(1.25rem, 2.7vw, 2.15rem)/.87 'Baloo 2', sans-serif; text-shadow: 0 4px 0 rgba(0,0,0,.22); }
.game-body { padding: 20px 20px 23px; }
.game-body h3 { font-size: 1.65rem; }
.game-body p { margin: 7px 0 0; color: var(--muted); }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tag { border-radius: 999px; padding: 6px 11px; background: #fff0f8; color: #9e005b; font-size: .78rem; font-weight: 900; }

.story-grid { display: grid; grid-template-columns: 270px 1fr .8fr; gap: 45px; align-items: center; }
.story-fox { filter: drop-shadow(0 20px 22px rgba(195,0,110,.16)); }
.story-copy h2 { font-size: clamp(2.4rem, 4vw, 3.8rem); }
.story-copy p { color: var(--muted); font-size: 1.07rem; }
.value-list { display: grid; gap: 17px; }
.value { display: grid; grid-template-columns: 54px 1fr; gap: 14px; align-items: center; }
.value-icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, #ffe277, #ffbd18); color: #302b35; }
.value-icon .ui-icon { width: 27px; height: 27px; }
.value-icon.game-color { color: #aa075f; }
.value:nth-child(2) .value-icon { background: linear-gradient(135deg, #ffb6df, #ff38a4); }
.value strong, .value span { display: block; }
.value span { color: var(--muted); font-size: .9rem; }

.cta { padding: 0 0 90px; }
.cta-box { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; padding: 44px; color: white; border-radius: 32px; background: linear-gradient(120deg, #6a0048, #ed0085); box-shadow: var(--shadow); }
.cta-box::after { content: '✦'; position: absolute; right: 30%; top: -30px; color: rgba(255,255,255,.15); font-size: 160px; }
.cta h2 { font-size: clamp(2.2rem, 4vw, 3.5rem); }
.cta p { margin: 6px 0 0; color: #f9dbe9; }

.site-footer { position: relative; overflow: hidden; color: #e8dfe8; background: #151018; padding: 58px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1.4fr .9fr; gap: 40px; align-items: start; }
.site-footer .brand { color: white; }
.footer-tagline { margin: 8px 0; color: #a99faa; }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px 24px; padding-top: 10px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--yellow); }
.footer-contact { padding-top: 10px; }
.footer-contact a { color: white; font-weight: 800; }
.copyright { margin-top: 38px; color: #8f858f; font-size: .86rem; }

.game-hero { position: relative; overflow: hidden; padding: 88px 0 70px; color: white; background: linear-gradient(125deg, #4b003b, #dc007b); }
.game-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.breadcrumbs { margin: 0 0 20px; color: #f3c9df; font-weight: 800; font-size: .9rem; }
.breadcrumbs a { color: white; text-underline-offset: 3px; }
.game-hero h1 { font-size: clamp(3.5rem, 7vw, 6.6rem); }
.game-hero p { max-width: 600px; font-size: 1.18rem; color: #f8ddeb; }
.hero-poster { width: 100%; aspect-ratio: 16/9; object-fit: cover; transform: rotate(2deg); border: 8px solid rgba(255,255,255,.93); border-radius: 30px; box-shadow: 0 30px 65px rgba(31,0,24,.32); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: -30px auto 0; position: relative; z-index: 3; }
.fact { padding: 20px; border-radius: 18px; background: white; box-shadow: 0 13px 35px rgba(80,0,58,.11); }
.fact span { display: block; color: var(--muted); font-size: .78rem; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; }
.fact strong { font-size: 1.07rem; }
.details-grid { display: grid; grid-template-columns: 1fr .68fr; gap: 60px; align-items: start; }
.details-grid h2, .gallery h2 { font-size: clamp(2.3rem, 4vw, 3.6rem); }
.details-grid p { color: var(--muted); font-size: 1.07rem; }
.feature-list { list-style: none; padding: 0; display: grid; gap: 13px; }
.feature-list li { position: relative; padding-left: 34px; font-weight: 800; }
.feature-list li::before { content: '✦'; position: absolute; left: 0; color: var(--pink); }
.play-panel { padding: 28px; border: 1px solid var(--line); border-radius: 24px; background: white; box-shadow: var(--shadow); }
.play-panel h3 { font-size: 1.9rem; }
.play-panel .button { width: 100%; margin-top: 12px; }
.play-panel small { display: block; margin-top: 15px; color: var(--muted); text-align: center; }
.gallery { padding-top: 0; }
.screenshots { display: grid; grid-template-columns: 1.25fr .75fr .75fr; gap: 16px; margin-top: 24px; }
.shot { min-height: 260px; border-radius: 22px; overflow: hidden; position: relative; background: #291326; box-shadow: 0 14px 35px rgba(40,0,32,.1); }
.shot img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; }
.shot.pixel-a { background: linear-gradient(145deg,#4ccfff,#70e494); }
.shot.pixel-b { background: linear-gradient(145deg,#ff78bd,#975cff); }
.shot.pixel-c { background: linear-gradient(145deg,#ffcf43,#ff794d); }
.shot.bunny-a { background: linear-gradient(145deg,#71d96f,#32b8ee); }
.shot.bunny-b { background: linear-gradient(145deg,#ffc54b,#ff8855); }
.shot.bunny-c { background: linear-gradient(145deg,#8168ed,#49c4cc); }
.shot.star-a { background: radial-gradient(circle at 68% 60%,#e83d9c 0 12%,transparent 13%),linear-gradient(145deg,#080d52,#512097); }
.shot.star-b { background: linear-gradient(145deg,#13258c,#00b5ef); }
.shot.star-c { background: linear-gradient(145deg,#74219a,#e5348f); }

.legal-page { padding: 75px 0 100px; }
.legal-card { max-width: 840px; padding: clamp(25px, 5vw, 58px); margin: auto; border: 1px solid var(--line); border-radius: 28px; background: white; box-shadow: var(--shadow); }
.legal-card h1 { font-size: clamp(3rem, 7vw, 5rem); }
.legal-card h2 { margin-top: 34px; font-size: 1.8rem; }
.legal-card p, .legal-card li { color: var(--muted); }
.legal-card a { color: var(--pink-dark); font-weight: 800; }

dialog { max-width: 440px; border: 0; border-radius: 24px; padding: 30px; color: var(--ink); box-shadow: 0 30px 100px rgba(0,0,0,.34); }
dialog::backdrop { background: rgba(28,0,22,.72); backdrop-filter: blur(5px); }
dialog h2 { font-size: 2.2rem; }
dialog p { color: var(--muted); }
dialog .button { width: 100%; }

@media (max-width: 900px) {
  .hero { min-height: auto; }
  .hero-grid, .game-hero-grid { grid-template-columns: 1fr; }
  .hero-grid { padding: 140px 0 110px; text-align: center; }
  .hero-copy > p:not(.eyebrow) { margin-inline: auto; }
  .hero-actions, .hero-values { justify-content: center; }
  .hero-art { min-height: 390px; }
  .hero-art img { max-height: 410px; }
  .game-grid { grid-template-columns: 1fr 1fr; }
  .story-grid { grid-template-columns: 220px 1fr; }
  .value-list { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-contact { grid-column: 1 / -1; }
  .screenshots { grid-template-columns: 1fr 1fr; }
  .shot:first-child { grid-column: 1 / -1; }
}

@media (max-width: 660px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .nav-wrap { min-height: 72px; }
  .brand { font-size: 24px; }
  .brand img { width: 38px; height: 38px; }
  .menu-button { display: grid; place-items: center; }
  .site-nav { position: absolute; left: 14px; right: 14px; top: 68px; display: none; padding: 18px; flex-direction: column; gap: 16px; border: 1px solid rgba(255,255,255,.25); border-radius: 18px; background: rgba(40,0,31,.95); box-shadow: 0 20px 50px rgba(0,0,0,.3); backdrop-filter: blur(14px); }
  .site-nav.is-open { display: flex; }
  .hero-grid { padding-top: 120px; }
  h1 { font-size: clamp(3.4rem, 18vw, 5rem); }
  .hero h2 { font-size: 1.45rem; }
  .hero-art { min-height: 300px; }
  .hero-art img { width: 100%; max-height: 330px; }
  .hero-values { gap: 12px; font-size: .88rem; }
  .section { padding: 60px 0; }
  .section-heading { display: block; }
  .game-grid, .story-grid, .value-list, .details-grid, .footer-grid, .facts, .screenshots { grid-template-columns: 1fr; }
  .story-fox { max-width: 220px; margin: auto; }
  .value-list, .footer-contact, .shot:first-child { grid-column: auto; }
  .cta { padding-bottom: 60px; }
  .cta-box { grid-template-columns: 1fr; padding: 30px 24px; }
  .cta-box .button { width: 100%; }
  .game-hero { padding-top: 60px; }
  .game-hero h1 { font-size: clamp(3.2rem, 17vw, 4.8rem); }
  .facts { margin-top: -22px; }
  .shot { min-height: 220px; }
}

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