/* Главная и «Как играть» */
body { background: radial-gradient(ellipse at 70% 0%, #7b2ff7 0%, #2a0b4a 55%, #1a0b2e 100%); background-attachment: fixed; overflow-x: hidden; }
.wrap { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.nav { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; gap: 16px; }
.nav .logo { font-size: 34px; text-decoration: none; }
.nav nav { display: flex; gap: 22px; font-weight: 700; }
.nav nav a { color: #fff; text-decoration: none; opacity: .85; }
.nav nav a:hover { opacity: 1; color: var(--yellow); }

.hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 30px; align-items: center; min-height: calc(100vh - 90px); padding: 10px 0 40px; }
.hero h1 { font-family: var(--head); font-weight: 900; font-size: clamp(40px, 6.2vw, 82px); line-height: 1; margin: 0 0 18px; --stroke: 9px; text-shadow: 0 8px 0 var(--ink); }
.hero h1 em { font-style: normal; color: var(--yellow); }
.hero .sub { font-size: clamp(17px, 1.7vw, 22px); line-height: 1.45; color: var(--muted); margin: 0 0 28px; max-width: 600px; }
.actions { position: relative; z-index: 3; display: grid; gap: 16px; max-width: 560px; }
.actions .btn { font-size: 22px; padding: 20px 26px; }
.codebox { display: flex; gap: 10px; padding: 14px; align-items: center; }
.codebox label { font-weight: 700; color: var(--ink); white-space: nowrap; font-size: 17px; }
.codebox input { flex: 1; min-width: 0; background: #fff; font: 900 30px var(--head); letter-spacing: .3em; text-align: center; padding: 8px 0 8px .3em; border: 4px solid var(--ink); border-radius: 14px; color: var(--ink); outline: none; }
.codebox .btn { padding: 12px 18px; font-size: 18px; }
.phone-first { display: none; flex-direction: column; gap: 10px; padding: 18px; }
.phone-first h2 { margin: 0; font-family: var(--head); font-weight: 900; font-size: 22px; color: var(--ink); }
.phone-first p { margin: 0; font-size: 15px; line-height: 1.4; color: #3b2a55; }
.phone-first input { width: 100%; background: #fff; font: 900 40px var(--head); letter-spacing: .3em; text-align: center; padding: 10px 0 10px .3em; border: 4px solid var(--ink); border-radius: 14px; color: var(--ink); outline: none; }
.phone-first .btn { width: 100%; font-size: 20px; }
body.is-phone .actions .codebox { display: none; }
.hint { font-size: 15px; color: var(--muted); margin: 4px 0 0; }
.hostpic { position: relative; z-index: 1; text-align: center; padding-top: 70px; }
.hostpic img { width: min(100%, 400px); animation: bob 3.4s ease-in-out infinite; filter: drop-shadow(0 20px 0 rgba(10,0,30,.45)); }
.hostpic .say { position: absolute; top: 0; left: 0; z-index: 2; max-width: 270px; padding: 14px 18px; font-weight: 700; font-size: 18px; line-height: 1.3; transform: rotate(-4deg); animation: popIn .6s .6s both; }

section { padding: 60px 0; }
.h2 { font-family: var(--head); font-weight: 900; font-size: clamp(30px, 4vw, 50px); margin: 0 0 30px; --stroke: 7px; text-shadow: 0 6px 0 var(--ink); }
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step3 { padding: 26px; position: relative; }
.step3:nth-child(1) { transform: rotate(-1.5deg); } .step3:nth-child(2) { transform: rotate(1deg); } .step3:nth-child(3) { transform: rotate(-.5deg); }
.step3 .n { position: absolute; top: -22px; left: 20px; width: 54px; height: 54px; border-radius: 50%; background: var(--pink); color: #fff; font-family: var(--head); font-weight: 900; font-size: 26px; display: grid; place-items: center; border: 4px solid var(--ink); }
.step3 .ic { font-size: 54px; margin: 8px 0 6px; }
.step3 h3 { font-family: var(--head); font-weight: 900; font-size: 22px; margin: 0 0 8px; }
.step3 p { margin: 0; font-size: 17px; line-height: 1.45; color: #3b2a55; }
.grid6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.gcard { overflow: hidden; padding: 0; position: relative; display: flex; flex-direction: column; text-decoration: none; color: var(--ink); transition: transform .15s; }
a.gcard:hover { transform: translateY(-6px) rotate(-1deg); }
.gcard .gplay { margin-top: 12px; font-size: 16px; padding: 12px 18px; }
body.is-phone .gcard .gplay { display: none; }
.gcard img { width: 100%; aspect-ratio: 3/2; object-fit: cover; display: block; border-bottom: 5px solid var(--ink); }
.gcard .in { padding: 18px 20px 22px; }
.gcard h3 { font-family: var(--head); font-weight: 900; font-size: 24px; margin: 0 0 6px; }
.gcard p { margin: 0 0 10px; font-size: 16px; line-height: 1.4; color: #3b2a55; }
.gcard .meta { font-size: 14px; font-weight: 700; color: #6b5a83; }
.gcard .badge { position: absolute; top: 14px; right: 14px; font-family: var(--head); font-weight: 900; font-size: 14px; padding: 6px 12px; border-radius: 12px; border: 3px solid var(--ink); background: var(--green); color: var(--ink); }
.gcard.soon .badge { background: var(--ink); color: var(--yellow); border-color: var(--yellow); }
.gcard.soon img { filter: saturate(.6); }
.levels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.lvl { padding: 24px; }
.lvl b { font-family: var(--head); font-size: 26px; display: block; margin-bottom: 8px; }
.lvl p { margin: 0; font-size: 16px; line-height: 1.45; color: #3b2a55; }
.faq { display: grid; gap: 14px; }
.faq details { padding: 18px 22px; }
.faq summary { font-weight: 700; font-size: 19px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 14px; }
.faq summary::after { content: '+'; font-family: var(--head); font-weight: 900; font-size: 24px; color: var(--pink); }
.faq details[open] summary::after { content: '−'; }
.faq p, .faq li { font-size: 17px; line-height: 1.5; color: #3b2a55; }
.faq p { margin: 12px 0 0; }
.cta { text-align: center; padding: 70px 0 90px; }
.cta .btn { font-size: 24px; padding: 22px 34px; }
footer { position: relative; z-index: 1; padding: 30px 0 40px; color: var(--muted); font-size: 14px; text-align: center; }
footer a { color: var(--muted); }

/* как играть */
.guide { display: grid; gap: 26px; }
.gstep { display: grid; grid-template-columns: 90px 1fr; gap: 22px; padding: 24px; align-items: start; }
.gstep .n { width: 76px; height: 76px; border-radius: 50%; background: var(--yellow); border: 5px solid var(--ink); font-family: var(--head); font-weight: 900; font-size: 34px; display: grid; place-items: center; color: var(--ink); }
.gstep h3 { font-family: var(--head); font-weight: 900; font-size: 24px; margin: 4px 0 10px; }
.gstep p, .gstep li { font-size: 17px; line-height: 1.55; color: #3b2a55; margin: 0 0 8px; }
.gstep ul { margin: 0; padding-left: 20px; }
.page-h1 { font-family: var(--head); font-weight: 900; font-size: clamp(34px, 5vw, 64px); margin: 20px 0 14px; --stroke: 8px; text-shadow: 0 7px 0 var(--ink); }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 0; }
  .hostpic { order: -1; padding-top: 0; display: flex; align-items: center; justify-content: center; gap: 8px; } .hostpic img { width: 140px; } .hostpic .say { position: static; max-width: 190px; font-size: 15px; }
  .hero h1 { font-size: 34px; }
  .phone-first { display: flex !important; order: -1; margin-bottom: 18px; }
  .hero > div:first-child { display: flex; flex-direction: column; }
  .hero .sub { font-size: 16px; }
  .steps3, .grid6, .levels { grid-template-columns: 1fr; gap: 30px; }
  .nav nav { display: none; }
  .gstep { grid-template-columns: 1fr; } .gstep .n { width: 60px; height: 60px; font-size: 26px; }
  section { padding: 40px 0; }
  .actions .btn { font-size: 18px; padding: 18px; }
  body.is-phone .tvbtn-first { order: 2; }
}

/* статьи */
.crumbs { font-size: 14px; color: var(--muted); margin-top: 6px; } .crumbs a { color: var(--muted); }
.article { max-width: 880px; }
.article h2 { font-family: var(--head); font-weight: 900; font-size: clamp(24px, 3vw, 34px); margin: 44px 0 16px; -webkit-text-stroke: 6px var(--ink); paint-order: stroke fill; }
.article p, .article li { font-size: 18px; line-height: 1.6; color: #eae0ff; }
.lead-big { font-size: clamp(18px, 2vw, 22px) !important; line-height: 1.5; color: var(--muted) !important; }
.art-img { width: 100%; height: auto; border-radius: 22px; border: 5px solid var(--ink); box-shadow: 0 9px 0 var(--ink); margin: 18px 0 6px; }
.tbl { padding: 6px; overflow-x: auto; }
.tbl table { width: 100%; border-collapse: collapse; min-width: 520px; }
.tbl th, .tbl td { padding: 12px 14px; text-align: left; border-bottom: 2px solid #eadcff; font-size: 16px; color: var(--ink); }
.tbl th { font-family: var(--head); font-size: 15px; }
.tbl tr:last-child td { border-bottom: 0; }
.pairs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.pair { padding: 18px 20px; }
.pair b { font-family: var(--head); font-size: 20px; color: var(--ink); }
.pair span { display: inline-block; margin-left: 8px; font-size: 13px; font-weight: 700; background: var(--yellow); color: var(--ink); padding: 3px 8px; border-radius: 8px; border: 2px solid var(--ink); }
.pair p { color: #3b2a55 !important; font-size: 16px !important; margin: 8px 0 0; }
.checks, .nums { padding-left: 22px; } .checks li, .nums li { margin-bottom: 10px; }
.more { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.morecard { display: block; overflow: hidden; text-decoration: none; color: var(--ink); }
.morecard img { width: 100%; display: block; border-bottom: 4px solid var(--ink); }
.morecard b { display: block; padding: 12px 14px; font-family: var(--head); font-size: 16px; }
@media (max-width: 860px) { .pairs, .more { grid-template-columns: 1fr; } }
