/* Casinoly – Greek site. Brand tokens taken from the reference homepage
   (dark charcoal, gold accents, red register button). Replace with the
   official brand values once supplied. */
:root {
  --bg: #121212;
  --bg-2: #1a1a1a;
  --surface: #222222;
  --surface-2: #2b2b2b;
  --line: #3a3a3a;
  --text: #f2f2f2;
  --muted: #b8b8b8;
  --gold: #f2c230;
  --gold-2: #d9a514;
  --red: #c8202f;
  --red-2: #a5161f;
  --radius: 6px;
  --wrap: 1200px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", Arial, sans-serif;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--font); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-underline-offset: 3px; }
a:hover { color: #ffd65a; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(1.9rem, 4.2vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 800; }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--gold); color: #000; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* Draft markers ---------------------------------------------------------- */
.draft-bar { background: #3a2f00; color: #ffe38a; font-size: .85rem; text-align: center; padding: 6px 16px; }
mark.verify { background: rgba(242,194,48,.14); color: #ffe38a; border-bottom: 1px dashed var(--gold); padding: 0 2px; }
.verify-block { border: 1px dashed var(--gold-2); background: rgba(242,194,48,.06); border-radius: var(--radius);
  padding: 14px 16px; margin: 1.2em 0; font-size: .95rem; }
.verify-block__title { color: var(--gold); font-weight: 700; margin-bottom: .4em; }
.verify-block ul { margin: 0; padding-left: 1.2em; color: var(--muted); }

/* Buttons ---------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px;
  border-radius: 3px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; text-decoration: none;
  border: 2px solid transparent; font-size: .9rem; }
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-2); color: #fff; }
.btn--outline, .btn--ghost { border-color: var(--gold); color: var(--gold); background: transparent; }
.btn--outline:hover, .btn--ghost:hover { background: var(--gold); color: #000; }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: .8rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.4em 0 .8em; }

/* Header ----------------------------------------------------------------- */
.site-header { background: #161616; border-bottom: 1px solid #000; position: sticky; top: 0; z-index: 50; }
.header__inner { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.logo { text-decoration: none; flex: none; }
.logo__word { color: #fff; font-weight: 600; letter-spacing: .5em; font-size: 1rem; }
.logo img { display: block; height: 52px; width: auto; }
@media (max-width: 1023px) { .logo img { height: 44px; } }
@media (max-width: 479px) { .logo img { height: 36px; } }
.nav { flex: 1; }
.nav a { color: #fff; text-decoration: none; text-transform: uppercase; font-weight: 800; letter-spacing: .03em; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold); }
.nav__secondary { display: flex; gap: 26px; font-size: .74rem; }
.nav__secondary a { color: var(--muted); }
.nav__primary { display: flex; gap: 32px; font-size: .95rem; margin-top: 6px; }
.header__actions { display: flex; gap: 10px; flex: none; }
.nav-toggle { display: none; }

@media (max-width: 1023px) {
  .header__inner { flex-wrap: wrap; gap: 12px; min-height: 64px; }
  .header__actions { margin-left: auto; order: 1; }
  .header__inner { gap: 8px; }
  .nav { order: 3; flex-basis: 100%; }
  .nav__secondary, .nav__primary { flex-direction: column; gap: 0; margin: 0; }
  .nav a { display: block; padding: 12px 0; border-top: 1px solid var(--line); font-size: .95rem; }
  .nav__secondary a { color: var(--text); }
  .js .nav { display: none; }
  .js .nav.is-open { display: block; padding-bottom: 8px; }
  .js .nav-toggle { display: inline-flex; order: 2; width: 44px; height: 44px; align-items: center; justify-content: center;
    background: none; border: 1px solid var(--line); border-radius: 4px; cursor: pointer; }
  .nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after { display: block; width: 20px; height: 2px; background: #fff; position: relative; }
  .nav-toggle__bar::before, .nav-toggle__bar::after { content: ""; position: absolute; left: 0; }
  .nav-toggle__bar::before { top: -6px; } .nav-toggle__bar::after { top: 6px; }
}
@media (max-width: 479px) {
  .logo__word { letter-spacing: .2em; font-size: .85rem; }
  .header__actions { gap: 6px; }
  .header__actions .btn { padding: 0 9px; font-size: .72rem; }
}

/* Breadcrumbs ------------------------------------------------------------ */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 14px 0 0; margin: 0; font-size: .85rem; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: 6px; }
.crumbs a { color: var(--muted); }

/* Hero ------------------------------------------------------------------- */
.hero { background:
    radial-gradient(60% 80% at 85% 20%, rgba(242,194,48,.22), transparent 60%),
    radial-gradient(50% 60% at 10% 100%, rgba(200,32,47,.18), transparent 60%),
    linear-gradient(180deg, #1b1b1b, var(--bg)); border-bottom: 1px solid #000; }
.hero__inner { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; padding-top: 56px; padding-bottom: 56px; align-items: center; }
.eyebrow { color: var(--gold); text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; }
.hero__lead { font-size: 1.1rem; color: #dcdcdc; max-width: 62ch; }
.hero__age { font-size: .85rem; color: var(--muted); }
.hero__side { display: grid; gap: 16px; }
.offer { background: linear-gradient(135deg, #2b2410, #1d1d1d); border: 1px solid var(--gold-2); border-radius: var(--radius); padding: 20px; }
.offer__label { text-transform: uppercase; letter-spacing: .1em; font-size: .75rem; color: var(--gold); font-weight: 700; margin: 0 0 6px; }
.offer__value { font-size: 1.5rem; font-weight: 800; margin: 0 0 8px; }
.offer--pending .offer__value { font-size: 1rem; font-weight: 600; }
.offer__terms { font-size: .8rem; color: var(--muted); margin: 0; }
.quick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.quick a { display: block; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  color: #fff; text-decoration: none; font-weight: 700; text-align: center; }
.quick a:hover { border-color: var(--gold); color: var(--gold); }
@media (max-width: 860px) { .hero__inner { grid-template-columns: 1fr; padding-top: 36px; padding-bottom: 36px; gap: 24px; } }

.page-hero { padding: 28px 0 8px; }
.page-hero__lead { color: #dcdcdc; font-size: 1.08rem; max-width: 70ch; }

/* Sections --------------------------------------------------------------- */
.section { padding: 40px 0; }
.section + .section { border-top: 1px solid #1f1f1f; }
.section__lead { color: #dcdcdc; max-width: 75ch; }
.more { margin-top: 18px; font-weight: 700; }
.split { display: grid; grid-template-columns: 1.6fr 1fr; gap: 32px; align-items: start; }
.split--even { grid-template-columns: 1fr 1fr; }
@media (max-width: 860px) { .split, .split--even { grid-template-columns: 1fr; } }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; margin: 1em 0; }
.card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px;
  display: flex; flex-direction: column; }
.card:hover { border-color: var(--gold-2); }
.card__title a { color: #fff; text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; }
.card p { color: var(--muted); font-size: .95rem; flex: 1; }
.card__link { font-weight: 700; font-size: .9rem; text-decoration: none; }

.games { list-style: none; padding: 0; margin: 1em 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
@media (max-width: 1023px) { .games { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 479px) { .games { grid-template-columns: repeat(2, 1fr); } }
.game__link { display: block; text-decoration: none; color: #fff; }
.game__art { aspect-ratio: 3 / 4; border-radius: var(--radius); display: flex; align-items: flex-end; padding: 12px;
  font-weight: 800; font-size: .95rem; line-height: 1.2; text-shadow: 0 2px 6px rgba(0,0,0,.6); }
.game__art--0 { background: linear-gradient(160deg, #5a8f1a, #1d3b0b); }
.game__art--1 { background: linear-gradient(160deg, #e2561b, #5a1206); }
.game__art--2 { background: linear-gradient(160deg, #b0151d, #3c0508); }
.game__art--3 { background: linear-gradient(160deg, #6a4a2a, #1e140b); }
.game__art--4 { background: linear-gradient(160deg, #d13fa8, #4a0d3a); }
.game__art--5 { background: linear-gradient(160deg, #4b36c9, #150d45); }
.game__link:hover .game__art, .game__link:focus-visible .game__art, .game__link:hover .game__img, .game__link:focus-visible .game__img { outline: 2px solid var(--gold); }
.game__name { display: block; font-weight: 700; font-size: .9rem; margin-top: 8px; }
.game__provider { display: block; color: var(--muted); font-size: .8rem; }
.game__demo { font-size: .8rem; }
.game__img--cover { aspect-ratio: 2 / 3 !important; object-position: center !important; }
.figure-wide { margin: 1.2em 0; }
.figure-wide img { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); }
.figure-wide figcaption { color: var(--muted); font-size: .85rem; margin-top: 8px; }
.float-img { float: right; width: 260px; margin: 0 0 16px 24px; }
@media (max-width: 700px) { .float-img { float: none; width: 200px; margin: 0 auto 16px; } }
.clear { clear: both; }
.game__img { display: block; width: 100%; height: auto; aspect-ratio: 360 / 840; object-fit: contain; object-position: center; border-radius: var(--radius); background: var(--surface); }

.facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.facts li { background: var(--surface); border-left: 3px solid var(--gold); padding: 12px 14px; border-radius: 0 var(--radius) var(--radius) 0; }
.facts--row { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin-bottom: 1em; }
.facts strong { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--gold); }

.defs { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin: 1em 0; }
.defs > div { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.defs p { color: var(--muted); margin: 0; }

.chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: .9rem; background: var(--surface); }

.table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: .95rem; }
.table th, .table td { text-align: left; padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table thead th { color: var(--gold); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
@media (max-width: 600px) { .table { font-size: .85rem; } .table th, .table td { padding: 8px 6px; } }

.steps, .list { padding-left: 1.3em; }
.steps li, .list li { margin-bottom: .5em; }

.faq { display: grid; gap: 8px; }
.faq__item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.faq__item summary { cursor: pointer; padding: 14px 44px 14px 16px; list-style: none; position: relative; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--gold); font-size: 1.4rem; }
.faq__item[open] summary::after { content: "–"; }
.faq__item summary h3 { display: inline; font-size: 1rem; margin: 0; }
.faq__a { padding: 0 16px 6px; color: #d6d6d6; }

/* Promotions ------------------------------------------------------------- */
.page-hero--promo { padding: 56px 0 40px; background:
    linear-gradient(180deg, rgba(18,18,18,.55), var(--bg)),
    url("/assets/img/top-events-bg.webp") center 30% / cover no-repeat; }
.promo-index { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; margin: 1em 0; padding: 0; list-style: none; }
.promo-index a { display: flex; gap: 12px; align-items: center; padding: 12px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); text-decoration: none; color: var(--text); height: 100%; }
.promo-index a:hover { border-color: var(--gold); }
.promo-index img { width: 48px; height: 48px; object-fit: contain; flex: none; }
.promo-index strong { display: block; font-size: .95rem; }
.promo-index span { color: var(--gold); font-size: .85rem; font-weight: 700; }
.promo__head { display: flex; gap: 20px; align-items: center; margin-bottom: 1em; }
.promo__head img { width: 96px; height: 96px; object-fit: contain; flex: none; }
.promo__head > div { min-width: 0; }
.promo__head h1 { margin: 0 0 .2em; font-size: clamp(1.7rem, 3.6vw, 2.6rem); overflow-wrap: break-word; hyphens: auto; }
.promo--page { padding-top: 28px; }
.promo-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; margin: 1em 0; }
@media (max-width: 400px) { .promo-cards { grid-template-columns: 1fr; } }
.promo-card { position: relative; display: flex; gap: 16px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px; }
.promo-card:hover { border-color: var(--gold-2); }
.promo-card img { width: 72px; height: 72px; object-fit: contain; flex: none; }
.promo-card > div { min-width: 0; }
.promo-card__title { margin: 0 0 .2em; font-size: 1.15rem; }
.promo-card__title a { color: #fff; text-decoration: none; }
.promo-card__title a::after { content: ""; position: absolute; inset: 0; }
.promo-card__value { color: var(--gold); font-weight: 800; margin: 0 0 .5em; }
.promo-card p:not(.promo-card__value) { color: var(--muted); font-size: .92rem; margin-bottom: .6em; }
.promo-card__link { font-weight: 700; font-size: .88rem; color: var(--gold); }
.promo__head h2 { margin: 0 0 .2em; overflow-wrap: break-word; hyphens: auto; }
.promo__value { color: var(--gold); font-size: 1.25rem; font-weight: 800; margin: 0; }
.promo__tag { display: inline-block; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700;
  border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; color: var(--muted); margin-bottom: 6px; }
.promo__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
@media (max-width: 860px) { .promo__grid { grid-template-columns: 1fr; } .promo__head img { width: 72px; height: 72px; } }
.promo h3 { color: var(--gold); font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; margin-top: 0; }
.howto { counter-reset: step; list-style: none; padding: 0; margin: 0 0 1em; }
.howto > li { counter-increment: step; position: relative; padding: 0 0 14px 44px; margin: 0; }
.howto > li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%;
  background: var(--red); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: .9rem; }
.howto strong { display: block; }
.howto span { color: var(--muted); font-size: .95rem; }
.example { background: var(--bg-2); border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 18px; margin: 1.2em 0 0; }
.example__title { color: var(--gold); font-weight: 800; margin: 0 0 .5em; }
.example ol, .example ul { margin: 0; padding-left: 1.2em; }
.example li { margin-bottom: .35em; }
.example .result { margin: .6em 0 0; font-weight: 700; }
.warn { border-left: 3px solid var(--red); background: rgba(200,32,47,.08); padding: 12px 14px; border-radius: 0 var(--radius) var(--radius) 0; font-size: .95rem; }
.table--compact th, .table--compact td { padding: 8px 10px; }
.table-scroll { overflow-x: auto; }

/* Homepage product sections ---------------------------------------------- */
.section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: .4em; }
.section__head h2 { margin: 0; }
.section__all { font-weight: 700; font-size: .92rem; white-space: nowrap; }
.section--tight { padding: 28px 0; }
.game__link { position: relative; }
.game__tags { position: absolute; top: 8px; left: 8px; display: flex; gap: 4px; }
.tag { font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; padding: 3px 7px; border-radius: 3px; }
.tag--new { background: var(--red); color: #fff; }
.game__meta { display: flex; justify-content: space-between; gap: 6px; align-items: baseline; flex-wrap: wrap; }
.game__thumb { position: relative; display: block; }
.game__demo-badge { position: absolute; right: 6px; bottom: 6px; background: rgba(0,0,0,.78); color: var(--gold); border: 1px solid var(--gold-2);
  font-size: .68rem; font-weight: 800; letter-spacing: .04em; padding: 2px 7px; border-radius: 3px; }
.game__cat { color: var(--muted); font-size: .75rem; border: 1px solid var(--line); border-radius: 999px; padding: 0 7px; white-space: nowrap; }
.offer__list { list-style: none; padding: 0; margin: 0 0 6px; font-size: .82rem; color: var(--muted); }
.offer__list li { padding: 2px 0; }
.offer__list strong { color: var(--text); font-weight: 700; }
.game__demo { color: var(--gold); font-size: .72rem; font-weight: 700; white-space: nowrap; }
@media (max-width: 700px) {
  .games--rail { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 42%; overflow-x: auto;
    scroll-snap-type: x mandatory; padding-bottom: 8px; -webkit-overflow-scrolling: touch; }
  .games--rail > li { scroll-snap-align: start; }
}
.cat-grid { list-style: none; padding: 0; margin: 1em 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
@media (max-width: 1023px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 479px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
.cat-grid a { display: flex; flex-direction: column; gap: 4px; padding: 16px; height: 100%; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); text-decoration: none; color: #fff; }
.cat-grid a:hover { border-color: var(--gold); }
.cat-grid strong { font-size: 1rem; }
.cat-grid span { color: var(--gold); font-size: .85rem; font-weight: 700; }
.chips--links a { display: block; color: var(--text); text-decoration: none; }
.chips--links li:hover { border-color: var(--gold); }
.feature-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; margin: 1em 0; }
.feature-card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.feature-card:hover { border-color: var(--gold-2); }
.feature-card img { width: 100%; height: 130px; object-fit: cover; background: #0c0c0c; }
.feature-card img.contain { object-fit: contain; padding: 14px; }
.feature-card div { padding: 16px; }
.feature-card h3 { margin: 0 0 .3em; }
.feature-card h3 a { color: #fff; text-decoration: none; }
.feature-card h3 a::after { content: ""; position: absolute; inset: 0; }
.feature-card p { color: var(--muted); font-size: .92rem; margin: 0; }

/* Registration guide ----------------------------------------------------- */
.reg-step { display: grid; grid-template-columns: 1fr 340px; gap: 36px; align-items: start; }
@media (max-width: 860px) { .reg-step { grid-template-columns: 1fr; } .reg-step .shot { max-width: 340px; } }
.reg-step__num { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--red); color: #fff; font-weight: 800; margin-right: 12px; vertical-align: middle; font-size: 1.1rem; }
.shot { margin: 0; }
.shot img { border: 1px solid var(--line); border-radius: var(--radius); }
.shot figcaption { color: var(--muted); font-size: .85rem; margin-top: 8px; }
.req { color: var(--red); font-weight: 800; }
.opt { color: var(--muted); }
.progress { display: flex; gap: 0; list-style: none; padding: 0; margin: 1.2em 0; counter-reset: p; }
.progress li { flex: 1; text-align: center; padding: 12px 8px; background: var(--surface); border-bottom: 3px solid var(--line); font-weight: 700; font-size: .9rem; }
.progress li + li { border-left: 1px solid var(--bg); }
.progress a { color: var(--text); text-decoration: none; display: block; }
.progress a:hover { color: var(--gold); }
.progress li span { display: block; color: var(--gold); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; }

.tree, .tree ul { list-style: none; padding-left: 1.2em; }
.tree li { margin: 6px 0; }

/* Footer ----------------------------------------------------------------- */
.site-footer { background: #0c0c0c; border-top: 1px solid #000; margin-top: 40px; padding: 40px 0 24px; font-size: .9rem; }
.footer__cols { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
@media (max-width: 860px) { .footer__cols { grid-template-columns: repeat(2, 1fr); } }
.footer__h { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gold); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 6px 0; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer__legal { border-top: 1px solid #222; margin-top: 28px; padding-top: 20px; color: var(--muted); }
.badge-18 { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border: 2px solid var(--red);
  border-radius: 50%; font-weight: 800; font-size: .75rem; color: #fff; margin-right: 8px; vertical-align: middle; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
