:root {
  --ink: #12202d;
  --ink-soft: #51606d;
  --night: #071520;
  --night-2: #0d2330;
  --green: #087f71;
  --green-dark: #05675d;
  --green-soft: #e7f4f1;
  --gold: #c9a45c;
  --gold-soft: #f5ecd9;
  --paper: #ffffff;
  --canvas: #f2f1ed;
  --line: #d9dedc;
  --line-dark: #bfc8c5;
  --shadow: 0 18px 55px rgba(7, 21, 32, 0.09);
  --shadow-small: 0 9px 28px rgba(7, 21, 32, 0.07);
  --radius: 18px;
  --page: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 110px; }

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--canvas);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--green-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green); }
img, iframe, table { max-width: 100%; }
img { height: auto; }

.container { width: min(calc(100% - 44px), var(--page)); margin-inline: auto; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  padding: 10px 14px;
  color: #fff;
  background: var(--green);
  border-radius: 8px;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.responsible-strip {
  color: #dfe8e6;
  background: #041018;
  border-bottom: 1px solid rgba(255,255,255,.08);
  font-size: .76rem;
}
.responsible-strip__inner {
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.responsible-strip strong { margin-right: 5px; color: #fff; }
.responsible-strip a { color: #dfe8e6; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  color: #fff;
  background: rgba(7,21,32,.97);
  border-bottom: 3px solid var(--gold);
  box-shadow: 0 10px 30px rgba(0,0,0,.16);
  backdrop-filter: blur(14px);
}
.header-row { min-height: 70px; display: flex; align-items: center; gap: 38px; }
.brand { width: 230px; flex: 0 0 230px; }
.brand__link, .footer-logo { display: inline-flex; align-items: center; text-decoration: none; }
.brand__logo {
  width: 218px;
  height: 44px;
  display: block;
  background-image: url("../lazienkowska3.webp");
  background-repeat: no-repeat;
  background-position: left center;
  background-size: contain;
}

.primary-nav { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.primary-nav__links { display: flex; align-items: center; gap: 5px; }
.primary-nav__links a {
  padding: 10px 13px;
  color: #dce7e5;
  border-radius: 8px;
  font-size: .9rem;
  font-weight: 650;
  text-decoration: none;
}
.primary-nav__links a:hover, .primary-nav__links a:focus-visible { color: #fff; background: rgba(255,255,255,.08); }

.nav-cta, .hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #102018;
  background: var(--gold);
  border: 1px solid #dfc07e;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease;
}
.nav-cta { min-height: 40px; padding: 8px 16px; white-space: nowrap; }
.nav-cta:hover, .hero-button:hover { color: #102018; background: #dbbc78; transform: translateY(-1px); }

.mobile-nav { display: none; margin-left: auto; }
.mobile-nav summary {
  position: relative;
  width: 42px;
  height: 42px;
  display: block;
  list-style: none;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 8px;
  cursor: pointer;
}
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary span, .mobile-nav summary::before, .mobile-nav summary::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 2px;
  display: block;
  content: "";
  background: #fff;
  border-radius: 2px;
}
.mobile-nav summary span { transform: translate(-50%,-50%); }
.mobile-nav summary::before { transform: translate(-50%,-7px); }
.mobile-nav summary::after { transform: translate(-50%,5px); }
.mobile-nav[open] summary span { opacity: 0; }
.mobile-nav[open] summary::before { transform: translate(-50%,-50%) rotate(45deg); }
.mobile-nav[open] summary::after { transform: translate(-50%,-50%) rotate(-45deg); }
.mobile-nav nav {
  position: absolute;
  top: calc(100% + 3px);
  right: 16px;
  left: 16px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.mobile-nav nav a { display: block; padding: 10px 12px; color: var(--ink); border-radius: 7px; font-weight: 700; text-decoration: none; }
.mobile-nav nav a:hover { background: var(--green-soft); }

.hero {
  position: relative;
  overflow: hidden;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(8,127,113,.07) 1px, transparent 1px) 0 0 / 54px 54px,
    linear-gradient(0deg, rgba(8,127,113,.07) 1px, transparent 1px) 0 0 / 54px 54px,
    #f8f8f4;
  border-bottom: 1px solid var(--line);
}
.hero::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% - 620px);
  width: 5px;
  content: "";
  background: linear-gradient(var(--green), var(--gold));
}
.hero__grid { min-height: 278px; display: block; padding: 38px 0 36px 32px; }
.hero__content { max-width: 960px; }
.hero__eyebrow {
  margin: 0 0 9px;
  color: var(--green-dark);
  font-size: .76rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hero h1 {
  max-width: 850px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.15rem,4.2vw,3.05rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.035em;
}
.hero__intro { max-width: 940px; margin: 16px 0 0; color: #394a57; font-size: .98rem; line-height: 1.68; }
.hero__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 15px; margin-top: 20px; }
.hero-button { min-height: 42px; padding: 8px 17px; }
.hero__status { color: var(--ink-soft); font-size: .82rem; }

.value-points {
  min-height: 70px;
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  margin-top: -1px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--night-2);
  box-shadow: var(--shadow-small);
}
.value-point { position: relative; display: grid; align-content: center; padding: 12px 22px 12px 54px; border-right: 1px solid var(--line); }
.value-point:last-child { border-right: 0; }
.value-point::before {
  position: absolute;
  top: 50%;
  left: 20px;
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  content: "✓";
  color: #fff;
  background: var(--green);
  border-radius: 50%;
  font-size: .72rem;
  font-weight: 900;
  transform: translateY(-50%);
}
.value-point__title { margin: 0; color: var(--ink); font-size: .88rem; font-weight: 850; line-height: 1.35; }
.value-point p:not(.value-point__title) { margin: 2px 0 0; color: var(--ink-soft); font-size: .76rem; line-height: 1.4; }

.page-main { padding: 22px 0 0; }
.byline { min-height: 54px; display: flex; align-items: center; gap: 11px; margin-bottom: 16px; color: var(--ink-soft); font-size: .76rem; }
.byline__avatar {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: block;
  background-image:
    url("dawid-viktor-smolka.webp"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Crect width='80' height='80' rx='40' fill='%23087f71'/%3E%3Ctext x='40' y='48' text-anchor='middle' font-family='Arial' font-size='26' font-weight='700' fill='white'%3EPN%3C/text%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--line-dark);
}
.byline strong { display: block; color: var(--ink); font-size: .9rem; }
.byline span { display: block; }

.ranking-section { margin-bottom: 26px; }
.ranking-section-title {
  margin: 0 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem,3vw,2.05rem);
  line-height: 1.18;
  letter-spacing: -.025em;
}
.casino-list { width: 100%; overflow: hidden; }
#casino-widget-iframe { width: 100%; height: 1740px; display: block; border: 0; }

.editorial-grid { display: grid; grid-template-columns: minmax(0,1fr) 288px; gap: 26px; align-items: start; }
.content-box {
  min-width: 0;
  padding: clamp(25px,4vw,48px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-small);
}
.content-box > :first-child { margin-top: 0; }
.content-box h2, .content-box h3 { color: var(--ink); scroll-margin-top: 110px; }
.content-box h2 {
  margin: 52px 0 15px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem,2.8vw,2.05rem);
  line-height: 1.18;
  letter-spacing: -.025em;
}
.content-box h2::after { width: 46px; height: 3px; display: block; margin-top: 11px; content: ""; background: var(--gold); }
.content-box h3 { margin: 30px 0 10px; font-size: 1.2rem; line-height: 1.3; }
.content-box h4 { margin: 25px 0 8px; }
.content-box p, .content-box li { color: #344653; }
.content-box p { width: 100%; max-width: none; margin: 0 0 17px; }
.content-box ol, .content-box ul { width: 100%; max-width: none; margin: 14px 0 24px; padding-left: 23px; }
.content-box li + li { margin-top: 8px; }
.content-box a { font-weight: 650; }

.table-scroll { width: 100%; margin: 20px 0 30px; overflow-x: auto; border: 1px solid var(--line-dark); border-radius: 12px; box-shadow: 0 8px 24px rgba(7,21,32,.05); -webkit-overflow-scrolling: touch; }
.content-box table { width: 100%; min-width: 680px; border-spacing: 0; border-collapse: separate; background: #fff; font-size: .9rem; }
.content-box th, .content-box td { padding: 14px 15px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.content-box th { color: #fff; background: var(--night-2); font-size: .73rem; font-weight: 800; letter-spacing: .045em; text-transform: uppercase; }
.content-box tbody tr:nth-child(even) td { background: #f6f8f7; }
.content-box tbody tr:hover td { background: var(--green-soft); }
.content-box tbody tr:last-child td { border-bottom: 0; }

.casino-review-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0,1.32fr) minmax(230px,.68fr);
  gap: 25px;
  align-items: center;
  margin: 22px 0;
  padding: 24px;
  overflow: hidden;
  background: #f8faf9;
  border: 1px solid var(--line);
  border-left: 4px solid var(--green);
  border-radius: 12px;
}
.casino-review-card h3 { margin-top: 0; }
.casino-review-card p:last-child { margin-bottom: 0; }
.casino-review-card__media { margin: 0 !important; }
.casino-review-card__media img { width: 100%; max-height: 190px; display: block; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 9px; }

.side-rail { position: sticky; top: 108px; display: grid; gap: 16px; }
.toc-panel, .side-warning { padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-small); }
.toc-panel > strong { display: block; margin-bottom: 12px; color: var(--ink); font-size: .82rem; letter-spacing: .07em; text-transform: uppercase; }
.toc-panel__links { display: grid; }
.toc-panel__links a { padding: 9px 0; color: var(--ink-soft); border-bottom: 1px solid var(--line); font-size: .84rem; font-weight: 650; text-decoration: none; }
.toc-panel__links a:last-child { border-bottom: 0; }
.toc-panel__links a:hover { color: var(--green); transform: translateX(2px); }
.side-warning { color: #e5eeec; background: var(--night-2); border-color: #193744; }
.side-warning strong { display: block; margin: 13px 0 6px; color: #fff; line-height: 1.3; }
.side-warning p { margin: 0 0 13px; color: #b9cbc8; font-size: .82rem; line-height: 1.55; }
.side-warning a { color: #e2c98f; font-size: .8rem; font-weight: 750; }
.age-badge {
  width: 46px;
  height: 46px;
  display: inline-grid;
  place-items: center;
  color: #fff;
  background: #b93636;
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 2px #b93636;
  font-size: .9rem;
  font-weight: 900;
  line-height: 1;
}

.faq-list { margin-top: 18px; border-top: 1px solid var(--line-dark); }
.faq-list details { background: #fff; border-bottom: 1px solid var(--line-dark); }
.faq-list summary { position: relative; padding: 19px 48px 19px 0; color: var(--ink); font-size: 1rem; font-weight: 800; line-height: 1.4; list-style: none; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 4px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  content: "+";
  color: var(--green-dark);
  background: var(--green-soft);
  border-radius: 50%;
  font-size: 1.15rem;
  transform: translateY(-50%);
}
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: -3px 42px 20px 0; padding-left: 17px; border-left: 3px solid var(--gold); }

.site-footer { margin-top: 76px; color: #c8d6d3; background: var(--night); border-radius: 30px 30px 0 0; }
.footer-safety {
  min-height: 122px;
  display: grid;
  grid-template-columns: 230px 62px minmax(0,1fr) auto;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-logo .brand__logo { width: 200px; }
.age-badge--large { width: 56px; height: 56px; font-size: 1.05rem; }
.footer-safety__copy strong { display: block; color: #fff; font-size: 1rem; }
.footer-safety__copy p { margin: 3px 0 0; color: #aebfbc; font-size: .82rem; line-height: 1.5; }
.footer-safety__link { padding: 10px 15px; color: #fff; border: 1px solid rgba(255,255,255,.25); border-radius: 8px; font-size: .82rem; font-weight: 750; text-decoration: none; white-space: nowrap; }
.footer-safety__link:hover { color: var(--night); background: #fff; }

.footer-grid { display: grid; grid-template-columns: 1.25fr repeat(3,minmax(150px,.75fr)); gap: 48px; padding: 46px 0 36px; }
.footer-kicker { display: block; margin-bottom: 10px; color: var(--gold); font-size: .7rem; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.site-footer h4 { margin: 0 0 13px; color: #fff; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.site-footer p { max-width: 35ch; margin: 0; font-size: .84rem; line-height: 1.65; }
.site-footer a:not(.footer-safety__link):not(.footer-logo) { display: block; margin: 8px 0; color: #c8d6d3; font-size: .84rem; text-decoration: none; }
.site-footer a:hover { color: #f0d9a5; }
.footer-bottom { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.1); color: #93a7a3; font-size: .75rem; }

.info-page { padding: 48px 0 0; }
.info-page__card { max-width: 920px; margin-inline: auto; padding: clamp(27px,5vw,56px); background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--green); border-radius: var(--radius); box-shadow: var(--shadow); }
.info-page h1 { margin: 0 0 22px; font-family: Georgia,"Times New Roman",serif; font-size: clamp(2rem,4vw,3rem); line-height: 1.08; letter-spacing: -.035em; }
.info-page h2 { margin: 38px 0 12px; font-family: Georgia,"Times New Roman",serif; font-size: 1.5rem; }
.info-page p, .info-page li { color: #344653; }
.info-page__eyebrow { color: var(--green-dark); }
.info-page .lead { color: var(--ink); font-size: 1.08rem; }
.notice { padding: 18px 20px; background: var(--gold-soft); border-left: 4px solid var(--gold); border-radius: 0 9px 9px 0; }
.profile-card, .contact-card, .help-card { margin: 18px 0 28px; padding: 22px; background: #f7f9f8; border: 1px solid var(--line); border-radius: 12px; }
.profile-card { display: flex; align-items: flex-start; gap: 16px; }
.profile-card__avatar { width: 50px; height: 50px; flex: 0 0 50px; display: grid; place-items: center; color: #fff; background: var(--green); border-radius: 50%; font-weight: 850; }
.profile-card p, .contact-card p, .help-card p { margin: 8px 0 0; }
.contact-card__label { display: block; margin-bottom: 4px; color: var(--ink-soft); font-size: .75rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.contact-card > a { font-size: clamp(1.2rem,4vw,1.65rem); font-weight: 850; }
.help-card a[href^="tel:"] { color: var(--ink); font-size: 1.25rem; font-weight: 850; }
.check-list { padding-left: 1.35rem; }
.check-list li + li { margin-top: 9px; }
.source-note { color: var(--ink-soft) !important; font-size: .8rem; }

@media (max-width: 1040px) {
  .hero::before { left: 22px; }
  .editorial-grid { grid-template-columns: minmax(0,1fr) 250px; }
  .footer-safety { grid-template-columns: 190px 56px minmax(0,1fr); }
  .footer-safety__link { grid-column: 3; width: fit-content; margin-top: -14px; margin-bottom: 18px; }
}

@media (max-width: 860px) {
  .primary-nav { display: none; }
  .mobile-nav { display: block; }
  .brand { width: 210px; flex-basis: 210px; }
  .editorial-grid { grid-template-columns: 1fr; }
  .side-rail { position: static; grid-template-columns: 1fr 1fr; grid-row: 1; }
  .toc-panel__links { grid-template-columns: 1fr 1fr; column-gap: 18px; }
  .casino-review-card { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 640px) {
  .container { width: min(calc(100% - 24px),var(--page)); }
  .responsible-strip__inner { justify-content: center; }
  .responsible-strip__updated { display: none; }
  .header-row { min-height: 62px; }
  .brand, .brand__logo { width: 178px; flex-basis: 178px; }
  .brand__logo { height: 38px; }
  .hero::before { left: 12px; width: 4px; }
  .hero__grid { min-height: 0; padding: 29px 0 29px 17px; }
  .hero h1 { font-size: clamp(1.95rem,9vw,2.45rem); }
  .hero__intro { font-size: .91rem; }
  .hero__status { width: 100%; }
  .value-points { grid-template-columns: 1fr; }
  .value-point { min-height: 58px; padding: 9px 14px 9px 47px; border-right: 0; border-bottom: 1px solid var(--line); }
  .value-point:last-child { border-bottom: 0; }
  .value-point::before { left: 15px; }
  #casino-widget-iframe { height: 2680px; }
  .side-rail { grid-template-columns: 1fr; }
  .content-box { padding: 24px 16px 30px; }
  .content-box h2 { margin-top: 42px; }
  .content-box th, .content-box td { padding: 11px 12px; }
  .casino-review-card { padding: 18px; }
  .footer-safety { grid-template-columns: 55px 1fr; gap: 16px; padding: 27px 0; }
  .footer-logo { grid-column: 1 / -1; }
  .footer-safety__link { grid-column: 2; margin: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; padding-top: 38px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

/* ===== Bright Polish-inspired editorial theme ===== */
:root {
  --ink: #182450;
  --ink-soft: #626b8d;
  --night: #244cc5;
  --night-2: #173a9a;
  --green: #e72d59;
  --green-dark: #c91f49;
  --green-soft: #fff0f4;
  --gold: #ffc83d;
  --gold-soft: #fff7d6;
  --canvas: #f6f8ff;
  --line: #dce3fb;
  --line-dark: #c8d2f4;
  --shadow: 0 22px 60px rgba(39, 67, 160, .13);
  --shadow-small: 0 10px 30px rgba(39, 67, 160, .09);
}

body {
  background:
    radial-gradient(circle at 7% 9%, rgba(255, 200, 61, .13), transparent 17rem),
    radial-gradient(circle at 92% 28%, rgba(59, 155, 255, .11), transparent 20rem),
    var(--canvas);
}

.site-header {
  color: var(--ink);
  background: rgba(255, 255, 255, .97);
  border-bottom: 0;
  box-shadow: 0 8px 28px rgba(41, 60, 130, .1);
}

.site-header::after {
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 0;
  height: 5px;
  content: "";
  background: repeating-linear-gradient(135deg, #e72d59 0 18px, #fff 18px 24px, #2858cf 24px 42px, #ffc83d 42px 49px);
}

.brand__logo {
  background-image: url("../lazienkowska3.webp");
}

.primary-nav__links a { color: #33406f; }
.primary-nav__links a:hover,
.primary-nav__links a:focus-visible { color: #173a9a; background: #eef2ff; }

.nav-cta,
.hero-button {
  color: #fff;
  background: linear-gradient(135deg, #ee345e, #d71e75);
  border-color: #d71e75;
  box-shadow: 0 9px 22px rgba(231, 45, 89, .25);
}
.nav-cta:hover,
.hero-button:hover { color: #fff; background: linear-gradient(135deg, #d9214e, #b91866); }

.mobile-nav summary { border-color: #cbd4f2; background: #f4f6ff; }
.mobile-nav summary span,
.mobile-nav summary::before,
.mobile-nav summary::after { background: #2858cf; }

.hero {
  background:
    radial-gradient(circle at 88% 34%, rgba(255, 200, 61, .65) 0 5px, transparent 6px),
    radial-gradient(circle at 88% 34%, transparent 0 38px, rgba(231, 45, 89, .19) 39px 48px, transparent 49px),
    radial-gradient(circle at 88% 34%, transparent 0 70px, rgba(40, 88, 207, .16) 71px 86px, transparent 87px),
    linear-gradient(120deg, #fff 0%, #fff2f6 44%, #eef4ff 76%, #fff6d8 100%);
  border-bottom: 0;
}

.hero::before {
  top: 0;
  right: 0;
  bottom: auto;
  left: 0;
  width: auto;
  height: 9px;
  background: repeating-linear-gradient(90deg, #e72d59 0 24px, #ffc83d 24px 38px, #2858cf 38px 62px, #28a7df 62px 77px, #35b779 77px 91px);
}

.hero::after {
  position: absolute;
  top: 44px;
  right: max(3vw, calc(50% - 620px));
  width: 168px;
  height: 168px;
  content: "";
  opacity: .16;
  background: repeating-conic-gradient(from 15deg, #e72d59 0 12deg, transparent 12deg 25deg, #2858cf 25deg 38deg, transparent 38deg 50deg);
  border: 17px solid rgba(255, 200, 61, .55);
  border-radius: 50%;
  transform: rotate(12deg);
}

.hero__grid { position: relative; z-index: 1; min-height: 0; padding: 48px 0 38px; }
.hero__content { max-width: 980px; }
.hero__eyebrow { color: #d31f4c; }
.hero h1 { color: #182450; font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-weight: 850; font-size: clamp(2.15rem, 4.2vw, 3.15rem); }
.hero__intro { color: #445074; }

.value-points {
  min-height: 64px;
  border: 1px solid #dbe2fa;
  border-top: 0;
  border-radius: 0 0 16px 16px;
  box-shadow: 0 14px 38px rgba(40, 88, 207, .1);
}
.value-point { padding-top: 9px; padding-bottom: 9px; }
.value-point::before { background: #e72d59; }
.value-point:nth-child(2)::before { background: #2858cf; }
.value-point:nth-child(3)::before { background: #35b779; }

.editorial-meta {
  min-height: 66px;
  display: grid;
  grid-template-columns: 44px minmax(190px, auto) auto;
  align-items: center;
  gap: 12px;
  margin: 6px 0 18px;
  padding: 10px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
  box-shadow: var(--shadow-small);
}
.editorial-meta span { display: block; color: var(--ink-soft); font-size: .72rem; }
.editorial-meta strong { display: block; color: var(--ink); font-size: .88rem; }
.editorial-meta__date { margin-left: auto; padding-left: 22px; border-left: 1px solid var(--line); }
.byline__avatar {
  width: 42px;
  height: 42px;
  flex-basis: 42px;
  background-image:
    url("dawid-viktor-smolka.webp"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='84'%3E%3Cdefs%3E%3ClinearGradient id='g' x2='1' y2='1'%3E%3Cstop stop-color='%23e72d59'/%3E%3Cstop offset='1' stop-color='%232858cf'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='84' height='84' rx='42' fill='url(%23g)'/%3E%3Ctext x='42' y='51' text-anchor='middle' font-family='Arial' font-size='27' font-weight='700' fill='white'%3EPN%3C/text%3E%3C/svg%3E");
  border-color: #fff;
  box-shadow: 0 0 0 2px #ffc83d;
}

.ranking-section-title { color: #193b98; font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-weight: 850; }

.content-box { width: 100%; border-color: #dce3fb; box-shadow: 0 15px 45px rgba(40, 88, 207, .08); }
.content-box h2 { color: #173a9a; font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-weight: 850; }
.content-box h2::after { width: 72px; height: 5px; background: linear-gradient(90deg, #e72d59 0 34%, #ffc83d 34% 59%, #2858cf 59% 82%, #35b779 82%); border-radius: 4px; }
.content-box h3 { color: #263a7b; }
.content-box th { background: linear-gradient(135deg, #2858cf, #493fc2); }
.content-box tbody tr:nth-child(even) td { background: #f7f9ff; }
.content-box tbody tr:hover td { background: #fff4f7; }

.casino-review-card { background: linear-gradient(135deg, #fff, #f5f8ff); border-left-color: #e72d59; box-shadow: 0 10px 28px rgba(40, 88, 207, .08); }
.casino-review-card:nth-of-type(2) { border-left-color: #2858cf; }
.casino-review-card:nth-of-type(3) { border-left-color: #35b779; }

.faq-list { border-top: 0; display: grid; gap: 10px; }
.faq-list details { overflow: hidden; background: #f8faff; border: 1px solid #dbe2fa; border-radius: 12px; }
.faq-list summary { padding: 18px 54px 18px 18px; }
.faq-list summary::after { right: 14px; color: #fff; background: linear-gradient(135deg, #e72d59, #2858cf); }
.faq-list details p { margin: 0; padding: 0 54px 20px 18px; border-left: 0; }
.faq-list details[open] { background: #fff; box-shadow: 0 9px 24px rgba(40, 88, 207, .08); }

.site-footer {
  position: relative;
  margin-top: 78px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(130deg, #214ac2 0%, #315fd8 46%, #743ed4 100%);
  border-radius: 30px 30px 0 0;
}
.site-footer::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 11px;
  content: "";
  background: repeating-linear-gradient(90deg, #e72d59 0 28px, #ffc83d 28px 44px, #fff 44px 52px, #2eb67d 52px 72px, #29a8df 72px 94px);
}
.footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; padding: 48px 0 38px; }
.footer-grid > div { padding: 23px 25px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); border-radius: 15px; backdrop-filter: blur(8px); }
.site-footer h4 { margin-bottom: 15px; color: #fff; font-size: .82rem; }
.site-footer a:not(.trust-logo) { color: #edf2ff; }
.site-footer a:not(.trust-logo):hover { color: #fff3b9; transform: translateX(2px); }

.post-footer { color: var(--ink); background: #fff; }
.trust-logos {
  min-height: 128px;
  display: grid;
  grid-template-columns: 88px repeat(3, minmax(160px, 1fr));
  align-items: center;
  gap: 17px;
  padding-block: 22px;
}
.trust-logo {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #dbe2f7;
  border-radius: 13px;
  box-shadow: 0 7px 20px rgba(40, 88, 207, .07);
}
.trust-logo img { max-width: 100%; max-height: 54px; display: block; object-fit: contain; }
.trust-logo--square img { max-height: 60px; }
.trust-logo--age {
  width: 68px;
  height: 68px;
  justify-self: center;
  padding: 0;
  color: #fff;
  background: #e52349;
  border: 5px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 3px #e52349, 0 9px 20px rgba(229, 35, 73, .22);
  font-size: 1.13rem;
  font-weight: 950;
}
.post-footer .footer-bottom { color: #727b9b; border-top: 1px solid #e1e6f7; }

.info-page__card { border-top-color: #e72d59; box-shadow: 0 20px 55px rgba(40, 88, 207, .11); }
.info-page h1, .info-page h2 { color: #173a9a; font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-weight: 850; }
.notice { background: #fff7d6; border-left-color: #ffc83d; }

@media (max-width: 980px) {
  .trust-logos { grid-template-columns: 76px repeat(3, minmax(130px, 1fr)); }
}

@media (max-width: 760px) {
  .hero::after { right: -50px; opacity: .09; }
  .editorial-meta { grid-template-columns: 44px 1fr; }
  .editorial-meta__date { grid-column: 2; margin: -6px 0 0; padding: 8px 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .trust-logos { grid-template-columns: 76px 1fr 1fr; }
  .trust-logo:last-child { grid-column: 2 / 4; }
}

@media (max-width: 520px) {
  .hero__grid { padding-block: 40px 29px; }
  .hero::after { display: none; }
  .trust-logos { grid-template-columns: 72px 1fr; }
  .trust-logo:last-child { grid-column: 1 / 3; }
  .trust-logo:nth-child(2) { grid-column: 2; }
  .trust-logo:nth-child(3) { grid-column: 1 / 3; }
}
