:root {
  --paper: #f7f6f2;
  --surface: #ffffff;
  --ink: #161616;
  --muted: #676763;
  --line: #dddcd6;
  --violet: #6b4eff;
  --gold: #ffc857;
  --coral: #ff6b6b;
  --shadow: 0 24px 70px rgb(25 22 15 / 10%);
  font-family: Inter, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  scroll-behavior: smooth;
}

* { box-sizing: border-box; }
body { margin: 0; overflow-x: hidden; background: var(--paper); }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--ink); color: white; border-radius: 8px; }
.skip-link:focus { top: 12px; }

.site-header {
  width: min(1240px, calc(100% - 40px));
  height: 88px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  position: relative;
  z-index: 20;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; width: max-content; }
.brand img { width: 42px; height: 42px; }
.brand span { display: flex; align-items: baseline; gap: 7px; }
.brand strong { font-size: 20px; font-weight: 900; letter-spacing: -.04em; }
.brand small { color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .03em; }
.site-header nav { display: flex; gap: 34px; }
.site-header nav a { text-decoration: none; font-size: 14px; font-weight: 700; color: #4f4f4c; }
.site-header nav a:hover { color: var(--violet); }
.language-button { justify-self: end; border: 1px solid var(--line); background: rgb(255 255 255 / 55%); border-radius: 999px; padding: 8px 13px; font-weight: 800; cursor: pointer; }
.language-button:hover { border-color: var(--ink); }

.hero {
  width: min(1240px, calc(100% - 40px));
  min-height: 690px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr);
  align-items: center;
  gap: 70px;
  padding: 30px 0 75px;
}
.hero-copy { position: relative; z-index: 2; }
.eyebrow, .kicker { font-size: 12px; line-height: 1.4; letter-spacing: .14em; font-weight: 800; text-transform: uppercase; color: var(--muted); }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 23px; }
.spark { width: 8px; height: 8px; background: var(--gold); transform: rotate(45deg); box-shadow: 8px -8px 0 -2px var(--coral); }
.hero h1 { margin: 0; font-size: clamp(62px, 7vw, 104px); line-height: .98; letter-spacing: -.075em; font-weight: 900; white-space: pre-line; }
.hero h1 em { color: var(--violet); font-style: normal; white-space: nowrap; }
.hero-lead { max-width: 610px; margin: 30px 0; font-size: 19px; line-height: 1.75; color: var(--muted); }
.hero-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.button { display: inline-flex; min-height: 48px; padding: 0 22px; align-items: center; justify-content: center; border-radius: 14px; border: 0; font-weight: 800; text-decoration: none; transition: transform .2s, box-shadow .2s, opacity .2s; cursor: pointer; }
.button:hover:not(.is-disabled) { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--violet); box-shadow: 0 12px 30px rgb(107 78 255 / 25%); }
.button-dark { color: #fff; background: var(--ink); }
.button-quiet { color: var(--ink); background: transparent; }
.is-disabled { opacity: .48; pointer-events: none; }
.trust-list { display: flex; gap: 21px; flex-wrap: wrap; padding: 0; margin: 30px 0 0; list-style: none; color: var(--muted); font-size: 12px; font-weight: 600; }
.trust-list li { display: flex; gap: 6px; align-items: center; }
.trust-list li span:first-child { display: grid; place-items: center; width: 17px; height: 17px; color: var(--violet); background: rgb(107 78 255 / 10%); border-radius: 99px; font-size: 10px; }

.hero-visual { min-height: 610px; position: relative; display: grid; place-items: center; }
.phone { position: relative; z-index: 3; width: 292px; height: 590px; padding: 9px; border: 4px solid #20201f; border-radius: 48px; background: #20201f; box-shadow: 0 35px 80px rgb(32 27 18 / 24%), inset 0 0 0 1px #777; transform: rotate(2.4deg); overflow: hidden; }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: center top; border-radius: 36px; }
.phone-speaker { position: absolute; z-index: 2; width: 84px; height: 21px; border-radius: 0 0 15px 15px; top: 8px; left: 50%; transform: translateX(-50%); background: #20201f; }
.orbit { position: absolute; border: 1px solid var(--line); border-radius: 50%; }
.orbit-one { width: 520px; height: 520px; }
.orbit-two { width: 390px; height: 620px; transform: rotate(38deg); }
.hero-visual::before { content: ""; position: absolute; width: 390px; height: 390px; border-radius: 50%; background: var(--gold); opacity: .22; filter: blur(1px); }
.floating-card { position: absolute; z-index: 5; display: flex; align-items: center; gap: 9px; padding: 13px 16px; background: rgb(255 255 255 / 88%); border: 1px solid rgb(255 255 255 / 80%); box-shadow: var(--shadow); backdrop-filter: blur(12px); border-radius: 17px; font-size: 13px; font-weight: 700; }
.floating-card b { font-size: 25px; color: var(--coral); }
.card-left { left: 5px; bottom: 120px; transform: rotate(-5deg); }
.card-right { right: -5px; top: 130px; transform: rotate(5deg); }
.three-dots { display: flex; gap: 3px; }
.three-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--violet); }
.three-dots i:nth-child(2) { background: var(--gold); }
.three-dots i:nth-child(3) { background: var(--coral); }

.ticker { overflow: hidden; padding: 19px 0; border-block: 1px solid var(--line); background: rgb(255 255 255 / 45%); white-space: nowrap; text-align: center; font-size: 14px; font-weight: 800; letter-spacing: .06em; }
.ticker span { color: var(--violet); margin: 0 28px; }
.section { width: min(1240px, calc(100% - 40px)); margin: 0 auto; padding: 120px 0; }
.section-heading { display: grid; grid-template-columns: 1.35fr .65fr; gap: 70px; align-items: end; margin-bottom: 50px; }
.kicker { color: var(--violet); margin: 0 0 14px; }
.section h2, .market-section h2 { margin: 0; font-size: clamp(38px, 4.5vw, 66px); line-height: 1.08; letter-spacing: -.055em; font-weight: 900; }
.section-heading > p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.75; }
.game-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.game-card { min-height: 260px; padding: 21px; border-radius: 25px; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; }
.game-card:nth-child(1), .game-card:nth-child(2), .game-card:nth-child(3) { grid-column: span 2; }
.game-card:nth-child(4), .game-card:nth-child(5) { grid-column: span 3; }
.game-card:nth-child(6), .game-card:nth-child(7), .game-card:nth-child(8) { grid-column: span 2; }
.game-card:nth-child(9), .game-card:nth-child(10) { grid-column: span 3; }
.game-card h3 { font-size: 23px; margin: 20px 0 6px; }
.game-card p { margin: 0; opacity: .72; line-height: 1.5; }
.game-number { position: absolute; right: 20px; top: 18px; font-size: 12px; font-weight: 800; opacity: .5; }
.game-icon { font-size: 48px; line-height: 1; }
.game-card.violet { background: var(--violet); color: white; }
.game-card.gold { background: var(--gold); }
.game-card.coral { background: var(--coral); color: #241010; }
.game-card.ink { background: var(--ink); color: white; }
.game-card.paper { background: white; border: 1px solid var(--line); }

.market-section { background: #181817; color: #fff; }
.market-inner { width: min(1240px, calc(100% - 40px)); margin: 0 auto; padding: 120px 0; display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; align-items: center; }
.market-copy > p:not(.kicker) { color: #aaa9a4; line-height: 1.8; font-size: 17px; max-width: 560px; }
.steps { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 20px; }
.steps li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.steps li > span { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid #484844; border-radius: 50%; color: var(--gold); font-size: 12px; font-weight: 800; }
.steps div { display: grid; gap: 4px; }
.steps b { font-size: 15px; }
.steps small { color: #92928e; line-height: 1.5; }
.market-panel { border: 1px solid #393936; border-radius: 28px; padding: 15px; background: #222220; transform: rotate(1deg); }
.panel-header { display: flex; justify-content: space-between; align-items: center; padding: 13px 10px 20px; font-weight: 800; }
.panel-header i { width: 9px; height: 9px; border-radius: 50%; background: var(--coral); box-shadow: -15px 0 var(--gold), -30px 0 var(--violet); }
.scheme-list { display: grid; gap: 9px; }
.scheme-row { display: grid; grid-template-columns: 46px minmax(0, 1fr); align-items: center; gap: 12px; min-height: 78px; padding: 12px; border-radius: 17px; background: #2e2e2b; }
.scheme-row .scheme-symbol { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 13px; background: rgb(107 78 255 / 17%); color: #a999ff; font-size: 20px; }
.scheme-row:nth-child(2) .scheme-symbol { color: var(--gold); background: rgb(255 200 87 / 15%); }
.scheme-row:nth-child(3) .scheme-symbol { color: var(--coral); background: rgb(255 107 107 / 15%); }
.scheme-info { min-width: 0; display: grid; gap: 5px; }
.scheme-info b, .scheme-info small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scheme-info small { color: #92928e; }
.market-caption { margin: 14px 12px 0; color: #aaa9a4; font-size: 13px; line-height: 1.6; }
.market-link { display: inline-flex; align-items: center; min-height: 44px; margin: 10px 12px 6px; color: var(--gold); font-size: 14px; font-weight: 800; text-decoration: none; }
.market-link:hover, .market-link:focus-visible { text-decoration: underline; }

.membership { padding-block: 90px; }
.membership-card { padding: 58px; display: grid; grid-template-columns: 1fr auto; gap: 70px; align-items: center; border-radius: 34px; background: var(--gold); position: relative; overflow: hidden; }
.membership-card::after { content: "✦"; position: absolute; right: 33%; bottom: -75px; color: rgb(255 255 255 / 42%); font-size: 190px; line-height: 1; }
.membership-card .kicker { color: #6d4d09; }
.membership-card h2 { max-width: 780px; }
.membership-card p:not(.kicker) { max-width: 730px; color: #5d4a22; line-height: 1.65; }
.price-mark { min-width: 190px; display: grid; text-align: center; position: relative; z-index: 2; }
.price-mark span { font-size: 13px; font-weight: 800; }
.price-mark strong { font-size: 76px; line-height: 1; letter-spacing: -.08em; }
.price-mark small { font-weight: 700; }

.download { padding-top: 75px; }
.download-heading { max-width: 720px; margin-bottom: 42px; }
.download-heading > p:last-child { color: var(--muted); line-height: 1.75; }
.download-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.channel-card { min-height: 340px; padding: 35px; border-radius: 28px; display: flex; flex-direction: column; align-items: flex-start; }
.play-channel { background: white; border: 1px solid var(--line); }
.apk-channel { background: #ece8ff; }
.channel-label { font-size: 11px; letter-spacing: .14em; font-weight: 800; color: var(--muted); }
.channel-icon { margin: 30px 0 10px; font-size: 40px; font-weight: 900; }
.channel-card h3 { margin: 0; font-size: 29px; }
.channel-card p { color: var(--muted); line-height: 1.6; flex: 1; max-width: 480px; }
.channel-card small { display: block; margin-top: 12px; color: var(--muted); }
.download-warning { color: var(--muted); text-align: center; font-size: 12px; margin-top: 20px; }

.faq { padding-top: 50px; }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
details { border-top: 1px solid var(--line); padding: 21px 4px; }
summary { cursor: pointer; list-style: none; font-size: 17px; font-weight: 800; display: flex; justify-content: space-between; gap: 20px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--violet); }
details[open] summary::after { content: "−"; }
details p { color: var(--muted); line-height: 1.7; }

footer { width: min(1240px, calc(100% - 40px)); margin: 0 auto; padding: 55px 0 35px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; gap: 25px; align-items: center; }
.footer-brand { display: flex; gap: 12px; align-items: center; }
.footer-brand div { display: grid; }
.footer-brand strong { font-weight: 900; }
.footer-brand span, footer > p { color: var(--muted); font-size: 12px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a { font-size: 13px; font-weight: 700; text-decoration: none; }
footer > p { grid-column: 1 / -1; }

.legal-page { width: min(820px, calc(100% - 40px)); min-height: calc(100vh - 200px); margin: 30px auto 100px; }
.legal-page h1 { font-size: clamp(40px, 7vw, 68px); letter-spacing: -.05em; }
.legal-page h2 { margin-top: 42px; }
.legal-page p, .legal-page li { line-height: 1.8; color: #4f4f4c; }
.legal-meta { padding: 15px 18px; background: white; border: 1px solid var(--line); border-radius: 14px; }
.form-card { padding: 28px; background: white; border: 1px solid var(--line); border-radius: 24px; display: grid; gap: 18px; }
.form-field { display: grid; gap: 7px; }
.form-field label { font-weight: 800; font-size: 13px; }
.form-field input, .form-field textarea, .form-field select { width: 100%; padding: 13px; border: 1px solid #c9c8c2; border-radius: 11px; background: #fafafa; }
.form-field textarea { min-height: 150px; resize: vertical; }
.form-status { min-height: 24px; font-size: 13px; font-weight: 700; }

.admin-body { background: #efeee9; }
.admin-header { width: min(1440px, calc(100% - 40px)); height: 76px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.admin-main { width: min(1440px, calc(100% - 40px)); margin: 30px auto 100px; }
.admin-login { width: min(560px, 100%); margin: 8vh auto; }
.admin-login h1, .admin-title h1 { margin: 0 0 16px; font-size: clamp(42px, 6vw, 70px); letter-spacing: -.06em; }
.admin-login > p:not(.kicker) { color: var(--muted); line-height: 1.7; }
.admin-title { display: flex; align-items: end; justify-content: space-between; margin-bottom: 28px; }
.stats-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-bottom: 22px; }
.stat-card { display: grid; gap: 7px; padding: 22px; background: white; border: 1px solid var(--line); border-radius: 18px; }
.stat-card strong { font-size: 34px; }
.stat-card span { color: var(--muted); font-size: 12px; font-weight: 700; }
.admin-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(320px, .7fr); gap: 18px; align-items: start; }
.admin-sidebar { display: grid; gap: 18px; }
.admin-panel { background: white; border: 1px solid var(--line); border-radius: 22px; padding: 22px; }
.admin-panel h2 { margin: 0 0 18px; font-size: 19px; }
.panel-title { display: flex; justify-content: space-between; align-items: center; }
.panel-title span { display: grid; place-items: center; min-width: 30px; height: 30px; border-radius: 99px; background: #ece8ff; color: var(--violet); font-weight: 900; }
.review-list { display: grid; gap: 12px; }
.review-card { border: 1px solid var(--line); border-radius: 17px; padding: 18px; }
.review-head h3 { margin: 0 0 5px; }
.review-head small { color: var(--muted); }
.review-card > p { color: var(--muted); line-height: 1.6; }
.review-tags { display: flex; gap: 7px; flex-wrap: wrap; }
.review-tags span { padding: 5px 9px; background: #efeee9; border-radius: 99px; font-size: 11px; font-weight: 700; }
.review-card details { margin-top: 12px; padding: 12px 0; }
.review-card summary { font-size: 13px; }
.review-card pre { max-height: 270px; padding: 14px; overflow: auto; border-radius: 10px; background: #1e1e1d; color: #efefeb; font-size: 11px; white-space: pre-wrap; }
.review-actions { display: flex; justify-content: flex-end; gap: 8px; }
.review-actions .button { min-height: 40px; }
.compact-form { display: grid; gap: 13px; }
.compact-form label { display: grid; gap: 5px; color: var(--muted); font-size: 12px; font-weight: 700; }
.compact-form input { padding: 11px; border: 1px solid #c9c8c2; border-radius: 9px; }
.compact-form output { white-space: pre-wrap; color: var(--violet); font-size: 12px; font-weight: 800; overflow-wrap: anywhere; }
.support-list details { padding: 14px 0; }
.support-list summary { font-size: 13px; }
.support-list p, .support-list a { color: var(--muted); font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
.admin-empty { color: var(--muted); text-align: center; padding: 35px 0; }
.small-print { margin: 0 0 14px; color: var(--muted); font-size: 12px; line-height: 1.6; }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 55px; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .hero-visual { min-height: 650px; }
  .section-heading, .market-inner { grid-template-columns: 1fr; gap: 40px; }
  .game-grid { grid-template-columns: 1fr 1fr; }
  .game-card:nth-child(n) { grid-column: span 1; }
  .game-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .membership-card { grid-template-columns: 1fr; padding: 40px; }
  .price-mark { text-align: left; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .admin-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .site-header, .hero, .section, .market-inner, footer { width: calc(100% - 28px); }
  .site-header { height: 66px; }
  .brand img { width: 36px; height: 36px; }
  .brand strong { font-size: 18px; }
  .brand small { display: none; }
  .language-button { min-width: 48px; min-height: 40px; }

  .hero { min-height: 0; gap: 10px; padding: 42px 0 52px; }
  .hero h1 { font-size: clamp(46px, 14.2vw, 64px); line-height: 1.02; letter-spacing: -.065em; }
  .hero-lead { margin: 24px 0; font-size: 16px; line-height: 1.65; }
  .hero-actions { width: 100%; display: grid; }
  .hero-actions .button { width: 100%; }
  .trust-list { display: grid; justify-content: start; width: 100%; gap: 10px; text-align: left; }
  .hero-visual { min-height: 470px; width: 100%; margin: 8px 0 0; transform: none; overflow: hidden; }
  .hero-visual::before { width: 300px; height: 300px; }
  .phone { width: 218px; height: 440px; border-width: 3px; border-radius: 38px; padding: 7px; }
  .phone img { border-radius: 29px; }
  .phone-speaker { top: 6px; width: 66px; height: 17px; }
  .orbit-one { width: 390px; height: 390px; }
  .orbit-two { width: 285px; height: 460px; }
  .floating-card { display: none; }

  .ticker { padding: 15px 18px; overflow: auto; text-align: left; font-size: 12px; scrollbar-width: none; }
  .section, .market-inner { padding-block: 68px; }
  .section-heading { margin-bottom: 28px; gap: 18px; }
  .section h2, .market-section h2 { font-size: clamp(34px, 10.5vw, 48px); }
  .section-heading > p, .market-copy > p:not(.kicker) { font-size: 15px; }
  .game-grid, .download-grid, .faq-grid { grid-template-columns: 1fr; gap: 10px; }
  .game-card:nth-child(n) { grid-column: auto; min-height: 170px; padding: 19px; }
  .game-icon { font-size: 38px; }
  .game-card h3 { margin-top: 14px; font-size: 21px; }

  .market-inner { gap: 34px; }
  .steps { margin-top: 28px; }
  .steps li { grid-template-columns: 34px 1fr; gap: 10px; }
  .market-panel { padding: 10px; transform: none; border-radius: 21px; }
  .scheme-row { grid-template-columns: 40px minmax(0, 1fr); min-height: 70px; gap: 10px; }
  .scheme-row .scheme-symbol { width: 40px; height: 40px; }

  .membership { padding-block: 28px; }
  .membership-card { padding: 30px 22px; gap: 22px; border-radius: 24px; }
  .membership-card::after { display: none; }
  .price-mark { min-width: 0; }
  .price-mark strong { font-size: 60px; }

  .download { padding-top: 58px; }
  .download-heading { margin-bottom: 28px; }
  .channel-card { min-height: 285px; padding: 24px; border-radius: 22px; }
  .channel-card .button { width: 100%; }
  .channel-icon { margin-top: 22px; }
  details { padding: 18px 2px; }
  summary { font-size: 16px; }

  footer { grid-template-columns: 1fr; padding-top: 40px; }
  .footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .legal-page { width: calc(100% - 28px); margin-top: 18px; }
  .legal-page h1 { font-size: 42px; }
  .form-card { padding: 20px; border-radius: 18px; }

  .admin-main, .admin-header { width: calc(100% - 24px); }
  .admin-header .brand small { display: none; }
  .admin-title { align-items: start; }
  .admin-title h1 { font-size: 42px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-card { padding: 16px; }
  .admin-panel { padding: 16px; }
  .review-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .review-actions .button { width: 100%; padding-inline: 10px; }
}

@media (max-width: 370px) {
  .hero h1 { font-size: 43px; }
  .phone { width: 202px; height: 408px; }
  .hero-visual { min-height: 430px; }
  .footer-links { grid-template-columns: 1fr; }
}

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