/* allrightlogin.pl — первый экран ayh- (шаблон candycas.com/pl, общий у сайтов Allright), контент ayc- */
: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; }
}


/* ---------- контент: центрированные секции с надзаголовком ---------- */
.ayc-main { padding: 52px 20px 0; }
.ayc-lead { max-width: 820px; margin: 0 auto 18px; font-size: 19px; line-height: 1.65; color: var(--t2); text-align: center; }
.ayc-sec { max-width: 1000px; margin: 0 auto; padding: 46px 0; border-bottom: 1px dashed var(--plate); }
.ayc-sec:last-child { border-bottom: 0; }
.ayc-kick { display: block; margin-bottom: 8px; font: 700 13px/1 Roboto, sans-serif; letter-spacing: 2px; text-transform: uppercase; color: var(--g); text-align: center; }
.ayc-sec h2 { max-width: 820px; margin: 0 auto 22px; font: 900 30px/1.2 Roboto, sans-serif; text-align: center; color: #fff; }
.ayc-txt { max-width: 820px; margin: 0 auto; }
.ayc-txt p { margin: 0 0 14px; color: #e8e7ee; }
.ayc-txt strong { color: #fff; }
.ayc-steps { list-style: none; counter-reset: n; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; max-width: 1000px; margin: 8px auto 20px; padding: 0; }
.ayc-steps li { counter-increment: n; padding: 18px 16px; border-top: 3px solid var(--y); border-radius: 0 0 14px 14px; background: var(--card); font-size: 15px; line-height: 1.45; }
.ayc-steps li::before { content: counter(n); display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-bottom: 12px; border-radius: 12px; background: var(--y); color: var(--bg); font: 900 20px/1 Roboto, sans-serif; }
.ayc-list { list-style: none; max-width: 820px; margin: 0 auto 16px; padding: 0; }
.ayc-list li { position: relative; padding: 8px 0 8px 28px; }
.ayc-list li::before { content: ""; position: absolute; left: 0; top: 15px; width: 12px; height: 12px; border-radius: 3px; background: var(--y); transform: rotate(45deg); }
.ayc-wide { max-width: 1000px; margin: 8px auto 22px; }
.ayc-wide img { width: 100%; aspect-ratio: 3 / 1; object-fit: cover; border-radius: 24px; }
.ayc-split { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 40px; align-items: center; max-width: 1000px; margin: 0 auto; }
.ayc-split .ayc-txt { max-width: none; margin: 0; }
.ayc-round { margin: 0; padding: 14px; border-radius: 50%; background: conic-gradient(from 200deg, var(--y), var(--g), var(--y)); }
.ayc-round img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 6px solid var(--bg); }
.ayc-go { margin: 8px 0 0; text-align: center; }
.ayc-go a { display: inline-flex; align-items: center; height: 50px; padding: 0 36px; border-radius: 12px; background: linear-gradient(90deg, var(--g), #2ddc95); color: #fff; font: 900 16px/1 Roboto, sans-serif; text-transform: uppercase; text-decoration: none; box-shadow: 0 8px 22px rgba(0, 190, 117, .3); }
.ayc-faq { max-width: 820px; margin: 0 auto; }
.ayc-q { margin-bottom: 10px; padding: 18px 22px; border-radius: 14px; background: var(--card); }
.ayc-q:nth-child(even) { background: var(--grey); }
.ayc-q h3 { display: flex; justify-content: space-between; gap: 16px; margin: 0 0 8px; font: 700 17px/1.35 Roboto, sans-serif; }
.ayc-q h3::after { content: "+"; flex: none; width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--y); color: var(--y); font: 700 18px/22px Roboto, sans-serif; text-align: center; }
.ayc-q p { margin: 0; color: var(--t2); }
.ayc-band { margin-top: 40px; padding: 34px 20px; background: linear-gradient(90deg, #f5bf34, #ffd25e); color: var(--bg); text-align: center; }
.ayc-band b { display: block; margin-bottom: 14px; font: 900 24px/1.25 Roboto, sans-serif; text-transform: uppercase; }
.ayc-band a { display: inline-flex; align-items: center; height: 46px; padding: 0 32px; border-radius: 25px; background: var(--bg); color: #fff; font: 900 15px/1 Roboto, sans-serif; text-transform: uppercase; text-decoration: none; }
.ayc-foot { padding: 38px 20px 26px; background: #020202; color: var(--t3); font-size: 14px; }
.ayc-fin { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: 1fr 2fr; gap: 30px; align-items: start; }
.ayc-fin nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 20px; }
.ayc-fin nav a { color: var(--t2); text-decoration: none; }
.ayc-fin nav a:hover { color: var(--y); }
.ayc-fin p { margin: 12px 0 0; }
.ayc-rg { max-width: 1000px; margin: 26px auto 0; padding-top: 20px; border-top: 1px solid var(--grey); display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.ayc-rg span { margin-left: auto; }
.ayc-doc { max-width: 820px; margin: 0 auto; padding: 46px 20px 0; }
.ayc-doc h1 { margin: 0 0 18px; font: 900 34px/1.2 Roboto, sans-serif; text-align: center; }
.ayc-doc h2 { margin: 28px 0 10px; font: 700 21px/1.3 Roboto, sans-serif; color: var(--y); }
.ayc-doc p, .ayc-doc li { color: #e8e7ee; }
.ayc-doc a { color: var(--y); }

@media (max-width: 900px) {
  .ayc-main { padding: 30px 16px 0; }
  .ayc-lead { font-size: 17px; text-align: left; }
  .ayc-sec { padding: 32px 0; }
  .ayc-sec h2 { font-size: 23px; }
  .ayc-split { grid-template-columns: 1fr; gap: 20px; }
  .ayc-round { width: 240px; margin: 0 auto; }
  .ayc-wide img { aspect-ratio: 16 / 9; border-radius: 16px; }
  .ayc-steps { grid-template-columns: 1fr; }
  .ayc-go a { width: 100%; justify-content: center; }
  .ayc-band b { font-size: 19px; }
  .ayc-fin { grid-template-columns: 1fr; }
  .ayc-fin nav { grid-template-columns: 1fr 1fr; }
  .ayc-rg span { margin-left: 0; width: 100%; }
  .ayc-doc { padding: 28px 16px 0; }
  .ayc-doc h1 { font-size: 26px; }
}

/* 19.10.2026: длинный H1 одностраничника (Allright Casino Aplikacja / Logowanie) — мельче на десктопе */
@media (min-width: 1025px) { .ayh-h1 { font-size: 58px; } }
