/* casino524.buzz — рейтинговый портал «Топ онлайн казино». Палитра: editorial-slate + emerald-рейтинг + gold-звезда */

:root {
  --bg: #0f1216;
  --bg-2: #171b21;
  --bg-3: #1f242c;
  --line: #2b323c;
  --line-2: #3a4350;
  --txt: #eef2f6;
  --txt-d: #9aa6b3;
  --txt-dd: #69748a;
  --acc: #2ecc71;
  --acc-2: #ffc24d;
  --acc-2-d: #e0a52f;
  --hot: #ff6a4d;
  --good: #2ecc71;
  --r: 12px;
  --r-s: 8px;
}

* { box-sizing: border-box }
html { scroll-behavior: smooth }
body {
  margin: 0;
  font: 16px/1.64 "Onest", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, Arial, sans-serif;
  color: var(--txt);
  background:
    radial-gradient(1000px 560px at 90% -12%, rgba(46, 204, 113, .12) 0%, transparent 60%),
    radial-gradient(820px 560px at -8% 56%, rgba(255, 194, 77, .08) 0%, transparent 58%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; height: auto }
a { color: var(--acc); text-decoration: none }
a:hover { text-decoration: underline }

.skip { position: absolute; top: -42px; left: 8px; padding: 8px 12px; background: var(--acc-2); color: #1a1304; border-radius: 6px; z-index: 100; font-weight: 700 }
.skip:focus { top: 8px }

/* ===== TOP BAR ===== */
.bar { display: flex; align-items: center; gap: 16px; padding: 12px 22px; border-bottom: 1px solid var(--line); background: rgba(15, 18, 22, .85); backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 50 }
.logo { display: flex; align-items: center; gap: 11px; color: var(--txt) }
.logo:hover { text-decoration: none }
.logo__svg { width: 32px; height: 32px; flex: none; filter: drop-shadow(0 0 9px rgba(255, 194, 77, .4)) }
.logo__t { font-family: "Frank Ruhl Libre", Georgia, serif; font-weight: 800; line-height: 1; letter-spacing: -.2px }
.logo__sub { display: block; font-size: 10px; color: var(--txt-d); letter-spacing: 1.8px; font-weight: 600; margin-top: 4px; text-transform: uppercase; font-family: "Onest", sans-serif }
.nav { display: flex; gap: 20px; margin-left: auto; flex-wrap: wrap }
.nav a { color: var(--txt-d); font-size: 14px; padding: 4px 0; border-bottom: 1px solid transparent; transition: color .15s, border-color .15s }
.nav a:hover { color: var(--acc); border-bottom-color: var(--acc); text-decoration: none }

/* ===== CTA ===== */
.cta { display: inline-flex; align-items: center; justify-content: center; padding: 11px 20px; border-radius: var(--r-s); font-family: "Onest", system-ui, sans-serif; font-weight: 700; font-size: 14px; border: 1px solid transparent; white-space: nowrap; transition: transform .15s, box-shadow .2s, background .2s; cursor: pointer }
.cta:hover { text-decoration: none; transform: translateY(-1px) }
.cta--small { background: var(--bg-3); color: var(--txt); border-color: var(--line) }
.cta--small:hover { background: var(--bg-2); border-color: var(--acc) }
.cta--big { padding: 15px 28px; font-size: 15px; border-radius: 10px }
.cta--hot { background: linear-gradient(120deg, var(--acc) 0%, var(--acc-2) 100%); color: #0c1410; border: 0; box-shadow: 0 12px 30px -10px rgba(46, 204, 113, .55); font-weight: 800 }
.cta--hot:hover { box-shadow: 0 16px 38px -8px rgba(255, 194, 77, .7) }
.cta--ghost { background: transparent; color: var(--txt); border-color: var(--line-2) }
.cta--ghost:hover { border-color: var(--acc); color: var(--acc) }

/* ===== AGGREGATE STRIP ===== */
.metr { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; padding: 10px 22px; border-bottom: 1px solid var(--line); background: linear-gradient(90deg, rgba(46, 204, 113, .05), rgba(255, 194, 77, .03)); font-size: 13px }
.metr__cell { display: flex; flex-direction: column; gap: 2px; padding: 6px 14px; border-right: 1px solid var(--line); align-items: flex-start }
.metr__cell:last-child { border-right: 0 }
.metr__num { font-family: "Frank Ruhl Libre", Georgia, serif; font-weight: 700; font-size: 16px; color: var(--acc) }
.metr__lbl { font-size: 11px; color: var(--txt-d); letter-spacing: .5px; text-transform: uppercase }

/* ===== HERO ===== */
.hero { display: grid; grid-template-columns: 1.18fr 1fr; gap: 36px; padding: 50px 22px 34px; max-width: 1220px; margin: 0 auto; align-items: center }
.hero__chip { display: inline-block; font-size: 11px; letter-spacing: 1.2px; color: var(--acc); background: rgba(46, 204, 113, .09); border: 1px solid rgba(46, 204, 113, .28); padding: 6px 13px; border-radius: 999px; margin: 0 0 18px; text-transform: uppercase; font-weight: 700 }
h1 { font-family: "Frank Ruhl Libre", Georgia, serif; font-size: clamp(28px, 4.2vw, 46px); line-height: 1.1; margin: 0 0 18px; letter-spacing: -.4px; font-weight: 800 }
.acc { color: var(--acc) }
.hero__sub { color: var(--txt-d); font-size: 16px; margin: 0 0 14px; line-height: 1.68 }
.hero__btns { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0 28px }
.hero__pic { margin: 0 }
.hero__pic-svg { display: block; width: 100%; height: auto; border-radius: var(--r); border: 1px solid var(--line); background: radial-gradient(420px 320px at 30% 28%, rgba(46, 204, 113, .2), transparent 60%), radial-gradient(360px 280px at 76% 80%, rgba(255, 194, 77, .18), transparent 65%), linear-gradient(135deg, #11151a 0%, #181d24 100%); aspect-ratio: 16 / 11; box-shadow: 0 24px 64px -22px rgba(46, 204, 113, .35) }
.hero__pic figcaption { margin-top: 12px; font-size: 12px; color: var(--txt-dd); font-style: italic; text-align: right }

.kpi { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 18px 0 0; border-top: 1px solid var(--line) }
.kpi__item { display: flex; flex-direction: column; gap: 2px }
.kpi__num { font-family: "Frank Ruhl Libre", Georgia, serif; font-size: 25px; font-weight: 800; color: var(--acc) }
.kpi__lbl { font-size: 11px; color: var(--txt-d); text-transform: uppercase; letter-spacing: 1px }

/* ===== SECTIONS ===== */
section { max-width: 1220px; margin: 0 auto; padding: 56px 22px }
section.hero { padding-top: 36px }
.ovrline { display: inline-block; font-size: 11px; letter-spacing: 2.6px; text-transform: uppercase; color: var(--acc-2); font-weight: 700; margin: 0 0 10px }
h2 { font-family: "Frank Ruhl Libre", Georgia, serif; font-size: clamp(23px, 3vw, 34px); line-height: 1.2; margin: 0 0 16px; letter-spacing: -.3px; font-weight: 700 }
h3 { font-family: "Frank Ruhl Libre", Georgia, serif; font-size: clamp(17px, 2vw, 21px); line-height: 1.34; margin: 26px 0 10px; color: var(--acc); font-weight: 700 }
p { margin: 0 0 14px; color: var(--txt) }
.lead { color: var(--txt-d); font-size: 16px; margin-bottom: 24px; max-width: 820px }

/* ===== RATING TOPLIST ===== */
.rate { display: flex; flex-direction: column; gap: 12px; margin: 24px 0 0 }
.rrow { display: grid; grid-template-columns: 54px 1fr auto auto auto; align-items: center; gap: 18px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 20px; transition: border-color .2s, transform .15s, box-shadow .25s }
.rrow:hover { border-color: var(--acc); transform: translateY(-2px); box-shadow: 0 16px 34px -16px rgba(46, 204, 113, .4) }
.rrow--top { border-color: var(--acc-2); background: linear-gradient(120deg, var(--bg-2), rgba(255, 194, 77, .07)) }
.rrow__rank { font-family: "Frank Ruhl Libre", Georgia, serif; font-size: 30px; font-weight: 800; color: var(--txt-dd); text-align: center; line-height: 1 }
.rrow--top .rrow__rank { color: var(--acc-2) }
.rrow__name { font-family: "Frank Ruhl Libre", Georgia, serif; font-weight: 700; font-size: 19px; color: var(--txt); display: flex; align-items: center; gap: 10px; flex-wrap: wrap }
.rrow__tag { font-family: "Onest", sans-serif; font-size: 11px; font-weight: 600; color: var(--acc); background: rgba(46, 204, 113, .1); border: 1px solid rgba(46, 204, 113, .25); border-radius: 999px; padding: 2px 10px; text-transform: lowercase; letter-spacing: .2px }
.rrow__meta { font-size: 13px; color: var(--txt-d); margin-top: 4px; line-height: 1.45 }
.rrow__score { display: flex; flex-direction: column; align-items: center; gap: 1px }
.rrow__num { font-family: "Frank Ruhl Libre", Georgia, serif; font-size: 22px; font-weight: 800; color: var(--acc) }
.rrow__lbl { font-size: 10px; color: var(--txt-dd); text-transform: uppercase; letter-spacing: 1px }
.rrow__bonus { font-size: 13px; color: var(--acc-2); font-weight: 600; text-align: right; max-width: 170px }
.rrow__cta { padding: 11px 22px }

/* ===== CRITERIA (loyalty grid) ===== */
.loy__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 22px }
.lbox { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px; transition: border-color .2s }
.lbox:hover { border-color: var(--acc-2) }
.lbox__h { font-weight: 700; font-size: 18px; margin-bottom: 10px; color: var(--acc-2); font-family: "Frank Ruhl Libre", Georgia, serif }
.lbox p { color: var(--txt-d); font-size: 14px; margin: 0; line-height: 1.6 }

/* ===== CATEGORIES (tour) ===== */
.tour { background: radial-gradient(640px 360px at 50% 50%, rgba(46, 204, 113, .1) 0%, transparent 70%), var(--bg-2); border: 1px solid var(--line); border-radius: var(--r); margin: 32px 22px; max-width: none; text-align: center }
.tour__kpi { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 22px }
.tour__kpi > div { background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 16px; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center }
.tour__kpi span { font-family: "Frank Ruhl Libre", Georgia, serif; font-size: 21px; font-weight: 800; color: var(--acc) }
.tour__kpi .k-b { font-size: 14px; font-weight: 700; color: var(--txt); font-style: normal }
.tour__kpi i { font-size: 12px; color: var(--txt-d); font-style: normal; line-height: 1.4 }

/* ===== PAYMENTS (cashout) ===== */
.pay__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin: 22px 0 22px }
.pbox { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-s); padding: 18px 14px; text-align: center; display: flex; flex-direction: column; gap: 4px }
.pbox__b { font-size: 15px; color: var(--txt); font-weight: 700 }
.pbox i { font-size: 11px; color: var(--txt-d); font-style: normal; text-transform: uppercase; letter-spacing: .8px }
.pay__times { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 8px }
.pay__times > div { background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--r-s); padding: 14px 18px; display: flex; flex-direction: column; gap: 4px }
.pay__times .pt-b { font-family: "Frank Ruhl Libre", Georgia, serif; font-size: 17px; color: var(--acc); font-weight: 700; font-style: normal }
.pay__times span { font-size: 12px; color: var(--txt-d) }

/* ===== HOW (brand) ===== */
.brand h3 { border-left: 3px solid var(--acc); padding-left: 14px; margin-top: 30px }
.brand p { color: var(--txt); line-height: 1.72 }
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line) }
.bdg { padding: 7px 14px; background: var(--bg-2); border: 1px solid var(--acc); border-radius: 999px; font-size: 12px; color: var(--txt); letter-spacing: .3px }

/* ===== REVIEWS ===== */
.rev__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 22px }
.rbox { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px; display: flex; flex-direction: column; gap: 14px }
.rbox__stars { color: var(--acc-2); font-size: 16px; letter-spacing: 4px }
.rbox__stars--four .star-off { color: var(--line-2) }
.rbox__q { font-size: 14px; line-height: 1.62; color: var(--txt); margin: 0 }
.rbox__meta { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--txt-d); border-top: 1px solid var(--line); padding-top: 14px }
.rbox__a { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; background: linear-gradient(135deg, var(--acc), var(--acc-2)); border-radius: 50%; color: #0c1410; font-weight: 800; font-size: 14px; flex: none }

/* ===== FINAL ===== */
.final { text-align: center; padding: 56px 22px; background: radial-gradient(620px 320px at 50% 50%, rgba(46, 204, 113, .14) 0%, transparent 70%), var(--bg-2); border-radius: var(--r); margin: 32px 22px; border: 1px solid var(--line); max-width: none }
.final h2 { margin-bottom: 10px }
.final p { color: var(--txt-d); margin-bottom: 24px }

/* ===== AUTHOR ===== */
.author { background: rgba(23, 27, 33, .5); border: 1px solid var(--line); border-left: 3px solid var(--acc-2); border-radius: var(--r); margin: 32px 22px; max-width: none; padding: 36px 30px }
.author h2 { font-size: clamp(20px, 2.4vw, 26px); margin-bottom: 16px }
.author p { color: var(--txt-d); font-size: 14px; line-height: 1.74; max-width: 940px }

/* ===== FAQ ===== */
.faq h2 { margin-bottom: 22px }
details { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-s); padding: 16px 20px; margin: 0 0 10px; transition: border-color .2s }
details[open] { border-color: var(--acc) }
summary { cursor: pointer; font-weight: 600; list-style: none; position: relative; padding-right: 32px; display: flex; align-items: center; min-height: 24px }
summary::-webkit-details-marker { display: none }
summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; border: 1px solid var(--line); border-radius: 4px; display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--acc); font-size: 16px; transition: transform .25s }
details[open] summary::after { content: "\2013"; border-color: var(--acc) }
details p { margin: 12px 0 0; color: var(--txt-d); font-size: 15px; line-height: 1.66 }

/* ===== FOOTER ===== */
.foot { margin-top: 24px; border-top: 1px solid var(--line); background: rgba(15, 18, 22, .6) }
.foot__top { max-width: 1220px; margin: 0 auto; padding: 42px 22px 26px; display: grid; grid-template-columns: 1.4fr 2fr; gap: 36px }
.foot__brand { font-size: 14px; color: var(--txt-d); line-height: 1.66 }
.foot__logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px }
.foot__logo span { display: flex; flex-direction: column; line-height: 1.1 }
.foot__name { color: var(--txt); font-size: 16px; font-weight: 800; margin-bottom: 2px; font-family: "Frank Ruhl Libre", Georgia, serif }
.foot__legal { font-size: 12px; color: var(--txt-dd); margin: 0; line-height: 1.66 }
.foot__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px }
.foot__col h4 { font-family: "Frank Ruhl Libre", Georgia, serif; font-size: 13px; color: var(--acc-2); font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; margin: 0 0 12px }
.foot__col ul { list-style: none; padding: 0; margin: 0 }
.foot__col li { font-size: 13px; color: var(--txt-d); padding: 4px 0; cursor: default; transition: color .15s }
.foot__col li:hover { color: var(--txt) }
.foot__bottom { border-top: 1px solid var(--line); padding: 16px 22px; max-width: 1220px; margin: 0 auto; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; font-size: 12px; color: var(--txt-dd) }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .pay__grid { grid-template-columns: repeat(3, 1fr) }
  .tour__kpi { grid-template-columns: repeat(2, 1fr) }
  .rev__grid { grid-template-columns: 1fr }
  .foot__top { grid-template-columns: 1fr }
  .metr { grid-template-columns: repeat(3, 1fr) }
  .metr__cell:nth-child(4), .metr__cell:nth-child(5) { border-top: 1px solid var(--line); padding-top: 8px }
  .loy__grid { grid-template-columns: 1fr }
}
@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; gap: 24px; padding-top: 32px }
  .hero__pic { order: -1 }
  .nav { display: none }
  .bar { padding: 11px 14px }
  section { padding: 38px 16px }
  .tour, .final, .author { padding: 36px 18px; margin: 22px 14px }
  .foot__top { padding: 30px 16px 22px; gap: 22px }
  .foot__cols { grid-template-columns: repeat(2, 1fr); gap: 18px }
  .metr { padding: 8px 14px; grid-template-columns: repeat(2, 1fr); font-size: 12px }
  .metr__cell { padding: 4px 10px }
  .pay__times { grid-template-columns: 1fr }
  .kpi { grid-template-columns: repeat(2, 1fr) }
  .rrow { grid-template-columns: 40px 1fr auto; grid-template-areas: "rank name score" "rank meta meta" "bonus bonus cta"; gap: 8px 14px }
  .rrow__rank { grid-area: rank } .rrow__body { grid-area: name } .rrow__score { grid-area: score; align-items: flex-end } .rrow__bonus { grid-area: bonus; text-align: left; max-width: none; align-self: center } .rrow__cta { grid-area: cta; justify-self: end }
}
@media (max-width: 480px) {
  .pay__grid { grid-template-columns: repeat(2, 1fr) }
  .tour__kpi { grid-template-columns: 1fr }
  .foot__cols { grid-template-columns: 1fr }
  .hero__btns { flex-direction: column; align-items: stretch }
  .cta--big { width: 100% }
  .rrow { grid-template-columns: 36px 1fr; grid-template-areas: "rank name" "meta meta" "score bonus" "cta cta" }
  .rrow__cta { width: 100% }
}
