/* gyerekszoba.eu — Legális Magyar Online Kaszinó
   Design system: deep casino green + cream, gold reserved for CTAs only. */

:root {
  --bg: #f7f5ef;
  --surface: #ffffff;
  --ink: #1b2a24;
  --ink-soft: #4a5a52;
  --green: #0b3b2e;
  --green-mid: #11523f;
  --green-soft: #e7efe9;
  --line: #e2ddd0;
  --cta: #d4af37;            /* gold — CTAs only */
  --cta-ink: #231a02;
  --good: #1d7a46;
  --bad: #b3402e;
  --radius: 12px;
  --shadow: 0 2px 10px rgba(16, 42, 32, .08);
  --maxw: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-size: 17px;
}
img { max-width: 100%; height: auto; }
a { color: var(--green-mid); }
h1, h2, h3, h4 { line-height: 1.25; color: var(--green); font-weight: 800; }
h1 { font-size: 2rem; margin: .4em 0; }
h2 { font-size: 1.55rem; margin: 1.8em 0 .6em; }
h3 { font-size: 1.2rem; margin: 1.4em 0 .5em; }
h4 { font-size: 1.05rem; margin: 1.2em 0 .4em; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 18px; }

/* ---------- header ---------- */
.site-header { background: var(--green); color: #fff; position: sticky; top: 0; z-index: 50; box-shadow: var(--shadow); }
.site-header .wrap { display: flex; align-items: center; gap: 18px; min-height: 60px; flex-wrap: wrap; }
.logo { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; font-size: 1.12rem; padding: 8px 0; }
.logo img { width: 34px; height: 34px; }
.logo span em { color: var(--cta); font-style: normal; }
.main-nav { display: flex; gap: 2px; flex-wrap: wrap; margin-left: auto; }
.main-nav a { color: #e8f1ec; text-decoration: none; font-size: .92rem; font-weight: 600; padding: 8px 10px; border-radius: 8px; }
.main-nav a:hover, .main-nav a[aria-current="page"] { background: var(--green-mid); color: #fff; }
.age-chip { background: #fff; color: var(--green); font-weight: 800; font-size: .8rem; border-radius: 999px; padding: 3px 10px; }

/* ---------- hero ---------- */
.hero { background: linear-gradient(135deg, var(--green) 0%, var(--green-mid) 100%); color: #fff; padding: 34px 0 30px; }
.hero h1 { color: #fff; margin: 0 0 10px; font-size: 2.1rem; }
.hero p.lead { font-size: 1.08rem; color: #dcebe2; max-width: 820px; margin: 0 0 14px; }
.hero .meta-line { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; font-size: .9rem; color: #cfe2d7; }
.hero .meta-line .upd { background: rgba(255,255,255,.12); padding: 4px 12px; border-radius: 999px; }
.trust-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.trust-badges span { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); border-radius: 999px; padding: 5px 13px; font-size: .84rem; font-weight: 600; }

/* ---------- breadcrumbs ---------- */
.crumbs { font-size: .84rem; color: var(--ink-soft); padding: 12px 0 0; }
.crumbs a { color: var(--ink-soft); }

/* ---------- toplist table ---------- */
.table-scroll { overflow-x: auto; margin: 22px 0; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--surface); }
table.toplist { width: 100%; border-collapse: collapse; min-width: 900px; font-size: .92rem; }
table.toplist th { background: var(--green); color: #fff; text-align: left; padding: 12px 10px; font-size: .82rem; text-transform: uppercase; letter-spacing: .03em; white-space: nowrap; }
table.toplist td { padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.toplist tr:last-child td { border-bottom: 0; }
table.toplist tr:nth-child(even) td { background: #fbfaf6; }
table.toplist tr.top-pick td { background: #fdf8e7; }
.rank-badge { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--green-soft); color: var(--green); font-weight: 800; }
tr.top-pick .rank-badge { background: var(--cta); color: var(--cta-ink); }
.t-logo { display: flex; align-items: center; gap: 8px; }
.t-logo img { width: 92px; height: 49px; object-fit: contain; border-radius: 8px; background: #fff; border: 1px solid var(--line); padding: 2px; }
.t-brand { font-weight: 700; white-space: nowrap; }
.t-bonus { font-weight: 700; color: var(--green); }
.t-sub { display: block; font-weight: 400; color: var(--ink-soft); font-size: .82rem; }

/* ---------- CTA (gold is reserved for these) ---------- */
.btn-cta { display: inline-block; background: var(--cta); color: var(--cta-ink) !important; font-weight: 800; text-decoration: none; padding: 10px 20px; border-radius: 999px; white-space: nowrap; box-shadow: 0 2px 6px rgba(140, 110, 10, .35); transition: transform .08s ease, box-shadow .08s ease; text-align: center; }
.btn-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 10px rgba(140, 110, 10, .45); }
.btn-cta.big { padding: 13px 30px; font-size: 1.05rem; }
.btn-ghost { display: inline-block; border: 2px solid var(--green-mid); color: var(--green-mid); font-weight: 700; text-decoration: none; padding: 8px 18px; border-radius: 999px; }

/* ---------- content sections ---------- */
main.content { background: var(--surface); margin: 26px auto; border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px clamp(18px, 4vw, 44px) 40px; max-width: var(--maxw); }
main.content > section { scroll-margin-top: 80px; }
.toc { background: var(--green-soft); border-radius: var(--radius); padding: 16px 22px; margin: 20px 0; }
.toc strong { color: var(--green); }
.toc ol { columns: 2; gap: 30px; margin: 8px 0 0; padding-left: 20px; font-size: .92rem; }
.toc a { text-decoration: none; }
@media (max-width: 640px) { .toc ol { columns: 1; } }

/* generic data table */
table.data { width: 100%; border-collapse: collapse; font-size: .92rem; margin: 14px 0; }
table.data th { background: var(--green-soft); color: var(--green); text-align: left; padding: 9px 11px; }
table.data td { padding: 9px 11px; border-bottom: 1px solid var(--line); }
.table-scroll-s { overflow-x: auto; }

/* steps */
ol.steps { counter-reset: step; list-style: none; padding: 0; margin: 16px 0; }
ol.steps > li { counter-increment: step; position: relative; padding: 0 0 18px 56px; }
ol.steps > li::before { content: counter(step); position: absolute; left: 0; top: 2px; width: 38px; height: 38px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; }
ol.steps > li strong:first-child { display: block; color: var(--green); font-size: 1.02rem; }

/* callouts */
.note, .warn, .tip { border-radius: var(--radius); padding: 14px 18px; margin: 16px 0; font-size: .95rem; }
.note { background: var(--green-soft); border-left: 4px solid var(--green-mid); }
.warn { background: #fcefe9; border-left: 4px solid var(--bad); }
.tip  { background: #fdf8e7; border-left: 4px solid var(--cta); }

/* ---------- mini reviews ---------- */
.review { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px clamp(16px, 3vw, 30px); margin: 26px 0; background: #fffefb; }
.review-head { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 8px; }
.review-head img { width: 128px; height: 68px; object-fit: contain; border-radius: 10px; background: #fff; border: 1px solid var(--line); padding: 4px; }
.review-head .rh-main { flex: 1; min-width: 200px; }
.review-head h3 { margin: 0 0 2px; font-size: 1.35rem; }
.review-head .stars { color: var(--cta); letter-spacing: 2px; font-size: 1rem; }
.review-head .score { font-weight: 800; color: var(--green); }
.kv { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; margin: 14px 0; }
.kv div { background: var(--green-soft); border-radius: 10px; padding: 9px 12px; font-size: .86rem; }
.kv div b { display: block; color: var(--green); font-size: .95rem; }
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 14px 0; }
@media (max-width: 640px) { .pros-cons { grid-template-columns: 1fr; } }
.pros, .cons { border-radius: 10px; padding: 14px 18px; font-size: .93rem; }
.pros { background: #ecf6ee; } .cons { background: #fcefe9; }
.pros h4 { color: var(--good); margin: 0 0 6px; } .cons h4 { color: var(--bad); margin: 0 0 6px; }
.pros ul, .cons ul { margin: 0; padding-left: 20px; }
.review .btn-row { text-align: center; margin-top: 16px; }

/* ---------- FAQ ---------- */
.faq details { border: 1px solid var(--line); border-radius: 10px; margin: 10px 0; background: #fffefb; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--green); padding: 14px 18px; list-style: none; position: relative; }
.faq summary::after { content: "+"; position: absolute; right: 18px; font-size: 1.3rem; color: var(--green-mid); }
.faq details[open] summary::after { content: "–"; }
.faq details p, .faq details ul { padding: 0 18px 14px; margin: 0; }

/* ---------- author / E-E-A-T ---------- */
.byline { display: flex; align-items: center; gap: 12px; font-size: .88rem; color: var(--ink-soft); margin: 14px 0 4px; }
.byline .avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--green); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1rem; }
.byline a { font-weight: 700; }
.author-card { display: flex; gap: 18px; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin: 18px 0; background: #fffefb; flex-wrap: wrap; }
.author-card .avatar { width: 72px; height: 72px; border-radius: 50%; background: var(--green); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.5rem; flex: 0 0 72px; }

/* ---------- category cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 18px 0; }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; background: #fffefb; text-decoration: none; color: var(--ink); display: block; }
.card:hover { box-shadow: var(--shadow); }
.card h3 { margin: 0 0 6px; font-size: 1.05rem; }
.card p { margin: 0; font-size: .88rem; color: var(--ink-soft); }

/* ---------- footer ---------- */
.site-footer { background: var(--green); color: #c9dcd2; margin-top: 40px; padding: 34px 0 22px; font-size: .88rem; }
.site-footer a { color: #e8f1ec; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 26px; }
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-grid h4 { color: #fff; margin: 0 0 10px; font-size: .95rem; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid li { margin: 5px 0; }
.rg-bar { border-top: 1px solid rgba(255,255,255,.18); margin-top: 24px; padding-top: 16px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.rg-bar .badge18 { background: var(--bad); color: #fff; font-weight: 800; border-radius: 8px; padding: 4px 10px; }

/* ---------- misc ---------- */
.updated-stamp { font-size: .84rem; color: var(--ink-soft); }
.center { text-align: center; }
.muted { color: var(--ink-soft); }
.small { font-size: .86rem; }
@media (max-width: 640px) {
  h1 { font-size: 1.55rem; } .hero h1 { font-size: 1.6rem; }
  body { font-size: 16px; }
  .main-nav { gap: 0; }
  .main-nav a { padding: 7px 8px; font-size: .85rem; }
}

/* ---------- pick cards (toplist v2) ---------- */
:root { --orange: #d35f2b; --card-green: #22301f; }
.cardlist { display: flex; flex-direction: column; gap: 22px; margin: 26px 0; }
.pick-card { position: relative; background: var(--card-green); color: #f2efe4; border-radius: 10px;
  display: grid; grid-template-columns: 72px 200px minmax(0,1fr) auto auto; align-items: center;
  gap: 22px; padding: 26px 28px 26px 0; min-height: 150px; box-shadow: var(--shadow); }
.rank-ribbon { align-self: stretch; display: flex; align-items: center; justify-content: center;
  background: var(--orange); color: #fff; font-size: 2rem; font-weight: 800; width: 72px;
  clip-path: polygon(0 0, 72% 0, 100% 50%, 72% 100%, 0 100%); border-radius: 10px 0 0 10px; }
.logo-tile { background: #fff; border: 6px solid #efe9d8; border-radius: 4px; padding: 10px;
  display: flex; align-items: center; justify-content: center; }
.logo-tile img { width: 100%; max-width: 160px; height: auto; object-fit: contain; }
.pick-name { font-size: 1.35rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  color: #fff; border-bottom: 1px solid rgba(242,239,228,.35); padding-bottom: 8px; margin: 0 0 12px; }
.bonus-box { display: inline-block; background: #e8c35a; color: #231a02; font-weight: 800;
  font-size: 1.05rem; border-radius: 6px; padding: 10px 14px; margin: 0 0 10px; line-height: 1.35; }
.pick-terms { margin: 0; font-size: .82rem; color: #c8c4b2; }
.pick-score { font-size: 2rem; font-weight: 800; color: var(--orange); white-space: nowrap; }
.pick-score span { font-size: .95rem; color: #c8c4b2; font-weight: 700; }
.btn-bet { display: inline-block; background: var(--orange); color: #fff !important; font-weight: 800;
  letter-spacing: .05em; text-transform: uppercase; text-decoration: none; padding: 14px 26px;
  border-radius: 6px; white-space: nowrap; font-size: .95rem; transition: transform .08s ease; }
.btn-bet:hover { transform: translateY(-1px); background: #e06f3a; }
@media (max-width: 860px) {
  .pick-card { display: block; padding: 0 20px 22px; }
  .rank-ribbon { position: absolute; top: 0; left: 20px; width: 58px; height: 96px; font-size: 1.6rem;
    clip-path: polygon(0 0, 100% 0, 100% 68%, 50% 100%, 0 68%); border-radius: 0; }
  .logo-tile { margin: 18px 0 16px 96px; max-width: 290px; }
  .pick-name { margin-top: 4px; }
  .pick-score { margin: 12px 0 14px; }
  .btn-bet { display: block; text-align: center; }
}
/* mobile sticky #1 pick bar */
.sticky-pick { display: none; }
@media (max-width: 860px) {
  .sticky-pick { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    background: #fdfbf4; border-top: 1px solid var(--line); box-shadow: 0 -3px 12px rgba(16,42,32,.14);
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); align-items: center; gap: 12px;
    justify-content: space-between; }
  .sticky-pick .sp-label { font-size: .85rem; color: var(--ink); line-height: 1.3; }
  .sticky-pick .btn-bet { padding: 11px 20px; font-size: .85rem; }
  body.has-sticky-pick { padding-bottom: 68px; }
}

/* ---------- nav dropdowns ---------- */
.main-nav details.nav-drop { position: relative; }
.main-nav details.nav-drop summary { list-style: none; cursor: pointer; color: #e8f1ec; font-size: .92rem; font-weight: 600; padding: 8px 10px; border-radius: 8px; user-select: none; }
.main-nav details.nav-drop summary::-webkit-details-marker { display: none; }
.main-nav details.nav-drop summary::after { content: " ▾"; font-size: .75em; }
.main-nav details.nav-drop summary:hover, .main-nav details.nav-drop[open] summary { background: var(--green-mid); color: #fff; }
.main-nav details.nav-drop ul { list-style: none; margin: 0; padding: 6px; }
.main-nav details.nav-drop li a { display: block; white-space: nowrap; }
@media (min-width: 861px) {
  .main-nav details.nav-drop ul { position: absolute; top: calc(100% + 4px); left: 0; background: var(--green-mid); border-radius: 10px; box-shadow: 0 6px 18px rgba(10, 30, 22, .35); min-width: 200px; z-index: 60; }
}


/* ---------- hamburger (mobile nav) ---------- */
.nav-toggle { display: none; }
.hamburger { display: none; }
@media (max-width: 860px) {
  .site-header .wrap { gap: 10px; }
  .age-chip { order: 2; margin-left: auto; }
  .hamburger { display: flex; order: 3; flex-direction: column; justify-content: center; gap: 5px;
    cursor: pointer; padding: 12px 8px; -webkit-tap-highlight-color: transparent; }
  .hamburger span { display: block; width: 24px; height: 3px; background: #fff; border-radius: 2px;
    transition: transform .2s ease, opacity .2s ease; }
  .nav-toggle:checked + .hamburger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle:checked + .hamburger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked + .hamburger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .main-nav { display: none; order: 10; flex-basis: 100%; flex-direction: column; gap: 0;
    margin: 0; padding: 4px 0 14px; }
  .nav-toggle:checked ~ .main-nav { display: flex; }
  .main-nav > a, .main-nav details.nav-drop summary { display: block; width: 100%;
    padding: 13px 10px; font-size: 1rem; border-radius: 0;
    border-top: 1px solid rgba(255,255,255,.1); }
  .main-nav details.nav-drop { position: static; }
  .main-nav details.nav-drop ul { position: static; background: transparent; box-shadow: none;
    border-radius: 0; min-width: 0; padding: 0 0 4px 18px; }
  .main-nav details.nav-drop li a { display: block; padding: 11px 10px; font-size: .96rem;
    border-top: 1px solid rgba(255,255,255,.05); }
}

/* breadcrumbs inside the hero */
.hero .crumbs { padding: 0 0 12px; color: #b9d2c5; }
.hero .crumbs a { color: #b9d2c5; text-decoration: none; }
.hero .crumbs a:hover { color: #fff; text-decoration: underline; }

/* ---------- hero v2 (selling) ---------- */
.hero-grid { display: grid; grid-template-columns: minmax(0,1fr) 310px; gap: 36px; align-items: center; }
.stat-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 4px; }
.stat-chips span { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); border-radius: 999px; padding: 6px 14px; font-size: .86rem; font-weight: 600; color: #e8f1ec; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin: 18px 0 10px; }
.hero .rg-line { font-size: .8rem; color: #a9c4b6; margin: 4px 0 0; }
.hero-pick { background: rgba(255,255,255,.07); border: 1px solid rgba(212,175,55,.55); border-radius: 14px; padding: 20px 20px 18px; text-align: center; box-shadow: 0 8px 24px rgba(5,20,14,.35); }
.hero-pick .hp-label { color: var(--cta); font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 12px; }
.hero-pick .logo-tile { margin: 0 auto 12px; max-width: 220px; }
.hero-pick .hp-name { color: #fff; font-weight: 800; font-size: 1.2rem; letter-spacing: .03em; text-transform: uppercase; margin-bottom: 10px; }
.hero-pick .bonus-box { display: block; font-size: .98rem; }
.hero-pick .btn-bet { display: block; margin-top: 4px; }
.hero-pick .hp-terms { font-size: .74rem; color: #a9c4b6; margin: 10px 0 0; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-pick { max-width: 360px; margin: 0 auto; width: 100%; }
  .hero-ctas .btn-cta { width: 100%; }
}

/* ---------- hero author byline ---------- */
.hero-byline { display: flex; align-items: center; gap: 12px; margin: 16px 0 0; font-size: .9rem; color: #cfe2d7; }
.hb-avatars { display: flex; flex-shrink: 0; }
.hb-avatars img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,.75); }
.hb-avatars img + img { margin-left: -12px; }
.hero-byline a { color: #fff; font-weight: 700; text-decoration: none; }
.hero-byline a:hover { text-decoration: underline; }
.hb-upd { display: block; color: #a9c4b6; font-size: .82rem; margin-top: 2px; }
.avatar-photo { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 3px solid var(--green-soft); flex: 0 0 96px; }

/* ---------- mobile above-the-fold: H1 + byline + toplist H2 + cards ---------- */
@media (max-width: 860px) {
  .hero { padding: 18px 0 16px; }
  .hero h1 { font-size: 1.45rem; margin-bottom: 2px; }
  .hero .crumbs { padding-bottom: 8px; font-size: .8rem; }
  .hero p.lead, .hero .stat-chips, .hero .hero-ctas, .hero .rg-line, .hero-pick { display: none; }
  .hero-grid { gap: 0; }
  .hero-byline { margin-top: 10px; }
  .hb-avatars img { width: 40px; height: 40px; }
  main.content { margin-top: 14px; padding-top: 18px; }
  main.content > section:first-of-type h2:first-of-type,
  main.content > h2#toplista { margin-top: 0; font-size: 1.25rem; }
  .cardlist { margin-top: 14px; gap: 16px; }
}
