/* allright-casino-polska.com — первый экран ayh- (шаблон candycas.com/pl, общий у сайтов Allright), контент ayk- */
:root { --bg: #1b1928; --card: #161421; --plate: #353149; --grey: #2b263f; --bar: #26233a; --y: #f5bf34; --g: #00be75; --t2: #d2d7db; --t3: #8c8b90; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; padding-top: 82px; background: var(--bg); color: #fff; font: 16px/1.6 Roboto, -apple-system, "Segoe UI", Arial, sans-serif; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

/* ---------- первый экран ---------- */
.ayh-top { position: fixed; z-index: 30; top: 0; left: 0; right: 0; height: 82px; display: flex; align-items: center; padding: 0 30px; background: #020202; }
.ayh-burger { flex: none; width: 40px; height: 40px; margin-right: 37px; border-radius: 6px; background: var(--plate); display: flex; align-items: center; justify-content: center; }
.ayh-burger svg, .ayh-lupa svg, .ayh-search svg { width: 22px; height: 22px; fill: none; stroke: var(--t2); stroke-width: 2.4; stroke-linecap: round; }
.ayh-logo { flex: none; margin-right: 30px; text-decoration: none; font: italic 900 30px/1 Roboto, sans-serif; letter-spacing: -.5px; color: #fff; }
.ayh-logo b { color: var(--y); font-weight: 900; }
.ayh-search { text-decoration: none; width: 237px; height: 40px; display: flex; align-items: center; gap: 12px; padding: 0 12px; border-radius: 8px; background: var(--bg); color: var(--t3); }
.ayh-search svg { stroke: #fff; }
.ayh-sp { flex: 1; }
.ayh-btn { flex: none; height: 36px; display: inline-flex; align-items: center; justify-content: center; padding: 0 16px; border-radius: 25px; font: 900 14px/1 Roboto, sans-serif; text-transform: uppercase; text-decoration: none; color: #fff; white-space: nowrap; }
.ayh-btn--in { min-width: 143px; background: var(--grey); margin-right: 28px; }
.ayh-btn--reg { min-width: 151px; background: var(--g); }
.ayh-lupa { display: none; }

.ayh-hero { position: relative; height: 300px; overflow: hidden; background: #2a0a12; }
.ayh-hero picture, .ayh-hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ayh-tx { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 24px 34px; text-align: center; pointer-events: none; }
.ayh-h1 { margin: 0; font: 900 76px/1 Roboto, sans-serif; text-transform: uppercase; color: #ffd84a; -webkit-text-stroke: 2px #0a8a45; paint-order: stroke fill; text-shadow: 0 3px 0 #0e7a3c, 0 6px 0 #064020, 0 12px 26px rgba(0, 0, 0, .65); }
.ayh-hero--in .ayh-h1 { font-size: 54px; }
.ayh-sub { margin-top: 16px; font: 900 26px/1.2 Roboto, sans-serif; text-transform: uppercase; color: #fff; text-shadow: 0 3px 12px rgba(0, 0, 0, .8); }
.ayh-dots { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 17px; }
.ayh-dots i { width: 10px; height: 10px; border-radius: 50%; background: #fff; }
.ayh-dots i.on { width: 14px; height: 14px; background: var(--y); }
.ayh-facts { display: none; }

.ayh-tabs { height: 72px; display: flex; align-items: stretch; justify-content: space-between; padding: 0 20px; background: var(--bar); }
.ayh-tab { display: flex; align-items: center; gap: 10px; padding: 0 12px; border-bottom: 3px solid transparent; color: var(--t2); text-decoration: none; white-space: nowrap; }
.ayh-tab svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; }
.ayh-tab--on { color: var(--y); font-weight: 700; border-bottom-color: var(--y); }
.ayh-tab--on svg { fill: var(--y); stroke: var(--y); }
.ayh-dost { align-self: center; height: 40px; display: flex; align-items: center; gap: 22px; padding: 0 18px; border-radius: 25px; background: rgba(27, 25, 40, .7); font: 900 12px/1 Roboto, sans-serif; text-transform: uppercase; text-decoration: none; }
.ayh-dost::after, .ayh-dost-m::after { content: ""; width: 7px; height: 7px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: translateY(-3px) rotate(45deg); }
.ayh-dost-m { display: none; }

.ayh-lob { padding: 40px 20px 8px; }
.ayh-lh { display: flex; align-items: center; justify-content: space-between; margin-bottom: 30px; }
.ayh-lt { display: flex; align-items: center; gap: 12px; font: 700 24px/1 Roboto, sans-serif; text-transform: uppercase; }
.ayh-lt svg { width: 24px; height: 26px; fill: none; stroke: var(--y); stroke-width: 2; }
.ayh-all { padding: 11px 16px; border: 1px solid var(--plate); border-radius: 100px; font: 500 14px/1 Roboto, sans-serif; text-transform: uppercase; text-decoration: none; }
.ayh-row { position: relative; }
.ayh-cards { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 16px; }
.ayh-card { display: block; overflow: hidden; border-radius: 12px; background: var(--grey); text-decoration: none; text-align: center; }
.ayh-card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.ayh-card b { display: block; padding: 12px 8px 0; font-weight: 500; font-size: 16px; line-height: 1.2; }
.ayh-card span { display: block; padding: 2px 8px 12px; font-size: 14px; color: var(--t3); }
.ayh-arr { position: absolute; top: 50%; width: 46px; height: 82px; display: flex; align-items: center; justify-content: center; background: rgba(27, 25, 40, .85); text-decoration: none; font-size: 34px; line-height: 1; color: #fff; }
.ayh-arr--l { left: 0; border-radius: 0 41px 41px 0; }
.ayh-arr--r { right: 0; border-radius: 41px 0 0 41px; }

@media (max-width: 900px) {
  body { padding-top: 56px; }
  .ayh-top { height: 56px; padding: 0 10px; gap: 8px; }
  .ayh-burger { width: 36px; height: 36px; margin: 0; }
  .ayh-search, .ayh-sp { display: none; }
  .ayh-btn { height: 36px; padding: 0 10px; font-size: 10px; }
  .ayh-btn--in { min-width: 100px; margin: 0; order: 2; }
  .ayh-logo { order: 3; flex: 1; margin: 0; text-align: center; font-size: 20px; }
  .ayh-btn--reg { min-width: 105px; order: 4; }
  .ayh-lupa { order: 5; display: flex; flex: none; width: 36px; height: 36px; align-items: center; justify-content: center; border-radius: 6px; background: var(--plate); }
  .ayh-hero { height: 210px; }
  .ayh-tx { justify-content: flex-start; padding: 14px 14px 0; }
  .ayh-h1, .ayh-hero--in .ayh-h1 { font-size: 30px; -webkit-text-stroke: 1px #0a8a45; text-shadow: 0 2px 0 #0e7a3c, 0 6px 14px rgba(0, 0, 0, .7); }
  .ayh-sub { margin-top: 6px; font-size: 15px; }
  .ayh-dots { bottom: 12px; gap: 14px; }
  .ayh-facts { display: flex; gap: 10px; overflow-x: auto; padding: 10px; background: #2a0a12; scrollbar-width: none; }
  .ayh-fact { flex: none; min-width: 210px; display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 10px; background: rgba(22, 20, 33, .85); text-decoration: none; line-height: 1.25; text-transform: uppercase; }
  .ayh-fact svg { flex: none; width: 36px; height: 36px; fill: none; stroke: #fff; stroke-width: 1.6; }
  .ayh-fact b { display: block; color: var(--y); font-size: 16px; }
  .ayh-fact span { font-size: 14px; }
  .ayh-tabs { justify-content: flex-start; overflow-x: auto; padding: 0 10px; scrollbar-width: none; }
  .ayh-tab { padding: 0 14px; }
  .ayh-dost { display: none; }
  .ayh-dost-m { display: flex; align-items: center; justify-content: center; gap: 22px; height: 48px; margin: 20px 10px 0; border-radius: 25px; background: var(--grey); font: 900 16px/1 Roboto, sans-serif; text-transform: uppercase; text-decoration: none; }
  .ayh-lob { padding: 24px 10px 4px; }
  .ayh-lh { margin-bottom: 18px; }
  .ayh-lt { font-size: 15px; gap: 8px; white-space: nowrap; }
  .ayh-lt svg { width: 20px; height: 22px; }
  .ayh-all { padding: 9px 12px; font-size: 12px; white-space: nowrap; }
  .ayh-cards { display: flex; overflow-x: auto; gap: 10px; scrollbar-width: none; }
  .ayh-card { flex: none; width: 113px; }
  .ayh-card b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .ayh-card span { font-size: 11px; }
  .ayh-arr--l { display: none; }
  .ayh-arr--r { width: 34px; height: 44px; font-size: 24px; }
}


/* ---------- контент: таймлайн по центру ---------- */
.ayk-wrap { max-width: 1040px; margin: 0 auto; padding: 48px 20px 0; }
.ayk-lead { margin: 0 0 30px; padding: 22px 26px; border-radius: 16px; background: linear-gradient(120deg, #2b263f, #1f1c30); font-size: 18px; color: var(--t2); }
.ayk-line { position: relative; padding-left: 46px; }
.ayk-line::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 0; width: 2px; background: linear-gradient(var(--y), var(--plate) 30%, var(--plate)); }
.ayk-sec { position: relative; display: flow-root; padding: 0 0 44px; }
.ayk-sec::before { content: ""; position: absolute; left: -46px; top: 6px; width: 24px; height: 24px; border: 5px solid var(--bg); border-radius: 50%; background: var(--y); box-shadow: 0 0 0 2px var(--y); box-sizing: border-box; }
.ayk-sec h2 { margin: 0 0 18px; font: 900 26px/1.25 Roboto, sans-serif; }
.ayk-sec h2::after { content: ""; display: block; width: 64px; height: 4px; margin-top: 12px; border-radius: 2px; background: var(--y); }
.ayk-sec p { margin: 0 0 14px; color: #e8e7ee; }
.ayk-sec strong { color: var(--y); font-weight: 700; }
.ayk-ol { list-style: none; counter-reset: n; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 4px 0 18px; padding: 0; }
.ayk-ol li { counter-increment: n; display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 14px; background: var(--grey); line-height: 1.45; }
.ayk-ol li::before { content: counter(n, decimal-leading-zero); flex: none; font: 900 26px/1 Roboto, sans-serif; color: var(--y); }
.ayk-ul { list-style: none; margin: 4px 0 18px; padding: 0; border: 1px solid var(--plate); border-radius: 14px; overflow: hidden; }
.ayk-ul li { padding: 14px 18px; border-top: 1px solid var(--plate); background: var(--card); }
.ayk-ul li:first-child { border-top: 0; }
.ayk-ul li strong { display: block; margin-bottom: 2px; }
.ayk-pic { margin: 6px 0 20px; }
.ayk-pic img { width: 100%; aspect-ratio: 5 / 2; object-fit: cover; border-radius: 16px; border-bottom: 4px solid var(--y); }
.ayk-pic--side { float: left; width: 260px; margin: 4px 28px 14px 0; }
.ayk-pic--side img { aspect-ratio: auto; border-bottom: 0; border: 2px solid var(--plate); }
.ayk-go { margin: 4px 0 0; }
.ayk-btn { display: inline-flex; align-items: center; height: 46px; padding: 0 30px; border-radius: 25px; background: var(--y); color: var(--bg); font: 900 15px/1 Roboto, sans-serif; text-transform: uppercase; text-decoration: none; }
.ayk-faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ayk-q { padding: 18px 20px; border: 1px solid var(--plate); border-radius: 14px; background: var(--card); }
.ayk-q h3 { position: relative; margin: 0 0 8px; padding-left: 34px; font: 700 17px/1.35 Roboto, sans-serif; }
.ayk-q h3::before { content: "?"; position: absolute; left: 0; top: -1px; width: 24px; height: 24px; border-radius: 50%; background: var(--g); color: #fff; font: 900 15px/24px Roboto, sans-serif; text-align: center; }
.ayk-q p { margin: 0; color: var(--t2); }
.ayk-foot { margin-top: 30px; padding: 40px 20px 30px; background: #020202; text-align: center; color: var(--t3); font-size: 14px; }
.ayk-foot .ayh-logo { display: inline-block; margin: 0 0 18px; }
.ayk-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; margin-bottom: 22px; }
.ayk-links a { color: var(--t2); text-decoration: none; }
.ayk-links a:hover { color: var(--y); }
.ayk-rg { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px; margin-bottom: 20px; }
.ayk-foot p { max-width: 720px; margin: 0 auto 8px; }
.ayk-doc { max-width: 860px; margin: 0 auto; padding: 46px 20px 0; }
.ayk-doc h1 { margin: 0 0 18px; font: 900 34px/1.2 Roboto, sans-serif; }
.ayk-doc h1::after { content: ""; display: block; width: 64px; height: 4px; margin-top: 12px; border-radius: 2px; background: var(--y); }
.ayk-doc h2 { margin: 28px 0 10px; font: 700 21px/1.3 Roboto, sans-serif; }
.ayk-doc p, .ayk-doc li { color: #e8e7ee; }
.ayk-doc a { color: var(--y); }

@media (max-width: 900px) {
  .ayk-wrap { padding: 28px 16px 0; }
  .ayk-lead { padding: 16px 18px; font-size: 17px; }
  .ayk-line { padding-left: 30px; }
  .ayk-line::before { left: 7px; }
  .ayk-sec { padding-bottom: 34px; }
  .ayk-sec::before { left: -30px; width: 18px; height: 18px; border-width: 4px; }
  .ayk-sec h2 { font-size: 21px; }
  .ayk-ol, .ayk-faq { grid-template-columns: 1fr; }
  .ayk-pic--side { float: none; width: 100%; max-width: 320px; margin: 4px 0 16px; }
  .ayk-doc { padding: 28px 16px 0; }
  .ayk-doc h1 { font-size: 26px; }
}
