:root {
  font-family: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, sans-serif;
  color: #f9f6ff;
  background: #1c1455;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 9% 22%, #6642c16b, transparent 28%),
    radial-gradient(circle at 88% 9%, #763fbd50, transparent 30%),
    linear-gradient(160deg, #25166a 0%, #19134f 70%, #21145b 100%);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .21;
  background-image: radial-gradient(#b8a8ff 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: linear-gradient(transparent, #000 25%, #000 85%, transparent);
}
a { color: inherit; }
a:focus-visible { outline: 3px solid #fff5aa; outline-offset: 5px; }
.site-shell { position: relative; width: min(100% - 44px, 1120px); margin: auto; }
.site-header { min-height: 91px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid #ffffff30; }
.wordmark { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 1000; letter-spacing: .075em; font-size: .94rem; }
.brand-mark { display: grid; grid-template-columns: repeat(2, 13px); grid-template-rows: repeat(2, 13px); gap: 3px; transform: rotate(-10deg); }
.brand-mark i { border-radius: 4px; background: linear-gradient(145deg, #ffed56, #ff951f); box-shadow: inset 0 2px #fff9, inset 0 -2px #9b381b55; }
.brand-mark i:nth-child(2) { background: linear-gradient(145deg, #ff94a9, #e72c80); }
.brand-mark i:nth-child(3) { background: linear-gradient(145deg, #7de3ff, #2584e3); }
.brand-mark i:nth-child(4) { background: linear-gradient(145deg, #b1f263, #54b730); }
.site-header nav a { min-height: 46px; display: inline-flex; align-items: center; gap: 9px; padding: 8px 17px; border: 1px solid #aa91f275; border-radius: 14px; text-decoration: none; font-size: .91rem; font-weight: 850; background: #ffffff14; }
.site-header nav a:hover { background: #ffffff24; }
.intro { padding: clamp(50px, 8vw, 86px) 0 50px; max-width: 800px; }
.eyebrow { margin: 0 0 20px; color: #cfbbff; letter-spacing: .19em; font-size: .77rem; font-weight: 950; }
.eyebrow-star { color: #ffd439; font-size: 1.05rem; margin-right: 4px; }
h1 { margin: 0; font-size: clamp(3.4rem, 8.7vw, 6.8rem); line-height: .98; letter-spacing: -.07em; font-weight: 1000; }
h1 span { color: #ffcf37; }
.intro > p:last-child { margin: 22px 0 0; max-width: 580px; color: #d9d0f9; line-height: 1.55; font-size: clamp(1rem, 2vw, 1.23rem); font-weight: 650; }
.catalog { padding-bottom: 94px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 17px; }
.section-heading h2 { font-size: 1.45rem; letter-spacing: -.035em; margin: 0; }
.section-heading span { font-size: .72rem; letter-spacing: .16em; font-weight: 900; color: #b9a7ed; }
.game-card { display: grid; grid-template-columns: 1fr 1fr; min-height: 490px; overflow: hidden; border: 2px solid #8867e1; border-radius: 28px; background: linear-gradient(140deg, #4d2fab, #312078 55%, #28196e); box-shadow: 0 20px 48px #100a3d99, inset 0 1px #ffffff61; }
.game-copy { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: clamp(28px, 5vw, 56px); }
.game-tag { display: inline-flex; align-items: center; gap: 8px; width: fit-content; border: 1px solid #d0baff91; border-radius: 999px; padding: 8px 12px; background: #ffffff20; color: #f9edff; letter-spacing: .12em; font-size: .67rem; font-weight: 950; }
.game-tag span { color: #a5f65b; font-size: .86rem; }
.game-number { margin: 0 0 12px; color: #c8b2ff; font-size: .74rem; font-weight: 950; letter-spacing: .18em; }
h3 { margin: 0; font-size: clamp(3.4rem, 5.5vw, 5.7rem); line-height: 1.02; letter-spacing: -.075em; }
.game-hook { margin: 11px 0 11px; font-size: clamp(1.19rem, 2.1vw, 1.55rem); font-weight: 900; color: #ffdc5a; }
.game-description { max-width: 440px; margin: 0; font-size: 1rem; line-height: 1.57; color: #e5dcff; font-weight: 600; }
.game-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; }
.play-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 22px; min-height: 56px; padding: 0 22px; border-radius: 15px; color: #4c3100; background: linear-gradient(#ffe666, #ffb92c); box-shadow: inset 0 3px #fff9, inset 0 -4px #c56c175c, 0 5px 0 #1b124f; text-decoration: none; font-weight: 950; white-space: nowrap; }
.play-link:hover { filter: brightness(1.07); transform: translateY(-2px); }
.play-link:active { transform: translateY(2px); box-shadow: inset 0 2px #fff9, 0 2px 0 #1b124f; }
.game-detail { font-size: .77rem; color: #cebdf8; font-weight: 750; }
.game-visual { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; min-width: 0; padding: 27px; background: radial-gradient(circle at 50% 48%, #5e3dc4 0, #3d2794 43%, #271a73 86%); border-left: 1px solid #a68aeb55; }
.game-visual::before { content: ""; position: absolute; inset: 0; opacity: .22; pointer-events: none; background: repeating-linear-gradient(60deg, transparent 0 58px, #a478f6 59px, transparent 60px), repeating-linear-gradient(-60deg, transparent 0 58px, #a478f6 59px, transparent 60px); }
.visual-top, .visual-bottom { position: relative; width: min(100%, 352px); display: flex; align-items: center; justify-content: space-between; font-weight: 950; letter-spacing: .13em; font-size: .69rem; color: #e7dcff; }
.visual-label { border-radius: 9px; padding: 8px 12px; background: #140c58a8; border: 1px solid #a68af595; }
.visual-sparkle { color: #ffd941; font-size: 1.55rem; text-shadow: 0 0 15px #ffdc66; }
.visual-bottom span:last-child { color: #ffd941; font-size: 1.55rem; }
.preview-board { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-template-rows: repeat(6, minmax(0, 1fr)); gap: 4px; width: min(100%, 352px); aspect-ratio: 1; padding: 6px; border: 3px solid #9d7df3; border-radius: 19px; background: #130a53; box-shadow: 0 9px 0 #140a45, 0 18px 24px #130a4b99; }
.preview-cell { position: relative; min-width: 0; min-height: 0; border-radius: 9px; background: #30216d; }
.preview-cell:not(.target) { border: 1px solid #ffffff45; background-image: radial-gradient(circle at 82% 26%, #ffffff77 0 2%, transparent 4%), radial-gradient(circle at 75% 78%, #ffffff30 0 12%, transparent 15%), linear-gradient(160deg, color-mix(in srgb, var(--color) 65%, white), var(--color) 46%, var(--shade)); box-shadow: inset 0 3px #ffffff91, inset 0 -5px #41144633, 0 2px 4px #10074477; }
.preview-cell:not(.target)::before { content: ""; position: absolute; top: 13%; left: 13%; width: 36%; height: 16%; border-radius: 75% 35% 80% 35%; background: #fff; transform: rotate(-28deg); }
.preview-cell.target { display: grid; place-items: center; background: #fff0a0; color: #714501; box-shadow: inset 0 0 0 3px #ffca2f, 0 0 16px #ffe85c94; font-size: clamp(.9rem, 2.5vw, 1.35rem); font-weight: 1000; }
.c0 { --color: #a6ee34; --shade: #55b629; }.c1 { --color: #ff9745; --shade: #f43b39; }.c2 { --color: #ff698a; --shade: #be195f; }.c3 { --color: #f879e8; --shade: #ba2abb; }.c4 { --color: #5bddff; --shade: #187dcf; }.c5 { --color: #56e7a2; --shade: #119e7f; }.c6 { --color: #ffe235; --shade: #ff871c; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0 32px; border-top: 1px solid #ffffff30; color: #b9a7ed; font-size: .75rem; font-weight: 800; letter-spacing: .08em; }
@media (max-width: 850px) { .game-card { grid-template-columns: 1fr; }.game-copy { min-height: 385px; }.game-visual { border-left: 0; border-top: 1px solid #a68aeb55; padding: 34px 25px 40px; } }
@media (max-width: 560px) { .site-shell { width: min(100% - 30px, 1120px); }.site-header { min-height: 76px; }.wordmark { font-size: .72rem; gap: 9px; }.brand-mark { grid-template-columns: repeat(2, 11px); grid-template-rows: repeat(2, 11px); }.intro { padding: 55px 0 48px; }.intro > p:last-child { margin-top: 17px; }.catalog { padding-bottom: 64px; }.game-card { border-radius: 22px; }.game-copy { min-height: 390px; padding: 28px 24px 34px; }.game-actions { gap: 16px; }.game-visual { padding: 25px 20px 35px; }.preview-board { max-width: 310px; }.site-footer { flex-direction: column; align-items: start; gap: 8px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; }.play-link { transition: none; } }
