:root {
  --red: #d52130;
  --red-dark: #a81724;
  --ink: #151c28;
  --muted: #596272;
  --paper: #f5f6f8;
  --line: #e2e5eb;
  --gold: #f2b84b;
  --shadow: 0 18px 50px rgba(17, 24, 39, .10);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 17px/1.72 Arial, Helvetica, sans-serif;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--red); }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}
button { font: inherit; cursor: pointer; }
img { max-width: 100%; height: auto; vertical-align: middle; }
.container { width: min(1180px, calc(100% - 56px)); margin: 0 auto; }
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 11px 18px;
  color: var(--ink);
  background: #fff;
  border-radius: 7px;
  transform: translateY(-180%);
}
.skip-link:focus { transform: translateY(0); }

.site-header { position: relative; z-index: 20; color: #fff; background: #151a24; }
.utility-bar { background: #0c1018; border-bottom: 1px solid rgba(255,255,255,.12); }
.utility-inner {
  min-height: 48px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 22px;
}
.phone { font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.utility-button {
  display: inline-flex;
  padding: 7px 16px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.utility-button:hover { color: #fff; border-color: #fff; }
.header-main {
  min-height: 118px;
  display: flex;
  align-items: center;
  gap: 34px;
}
.brand { flex: 0 0 250px; }
.brand img { display: block; width: 250px; }
.nav-shell { flex: 1; min-width: 0; }
.menu-mobile-toggle { display: none; }
.primary-menu, .sub-menu { margin: 0; padding: 0; list-style: none; }
.primary-menu {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  font-weight: 800;
}
.primary-menu > li { position: relative; white-space: nowrap; }
.primary-menu > li > a, .submenu-label > a { display: inline-block; padding: 16px 0; }
.current-menu-item > a, .current-menu-parent > .submenu-label > a { color: #fff; box-shadow: inset 0 -3px var(--red); }
.submenu-label { display: flex; align-items: center; gap: 5px; }
.submenu-toggle {
  width: 24px;
  height: 38px;
  padding: 0;
  display: inline-grid;
  place-items: center;
  color: inherit;
  background: transparent;
  border: 0;
}
.submenu-toggle::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid;
  border-bottom: 2px solid;
  transform: rotate(45deg) translateY(-2px);
}
.sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  padding: 10px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
  font-size: 14px;
}
.sub-menu a { display: block; padding: 9px 13px; border-radius: 5px; }
.sub-menu a:hover, .sub-menu .current-menu-item a { color: var(--red); background: #f8eef0; }
.has-submenu:hover > .sub-menu,
.has-submenu:focus-within > .sub-menu,
.has-submenu.is-open > .sub-menu { display: block; }
.primary-menu > .current-menu-parent > .sub-menu { left: auto; right: 0; }

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 82% 20%, rgba(242,184,75,.22), transparent 25%),
    radial-gradient(circle at 14% 82%, rgba(213,33,48,.34), transparent 28%),
    linear-gradient(120deg, #101725 0%, #1e293d 58%, #241923 100%);
  border-bottom: 5px solid var(--red);
}
.hero::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  right: -120px;
  bottom: -240px;
  border: 46px solid rgba(255,255,255,.045);
  border-radius: 50%;
}
.hero-inner { position: relative; z-index: 1; padding: 78px 0 72px; }
.eyebrow {
  margin: 0 0 13px;
  color: #f8c86e;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
h1, h2, h3 { margin: 0; line-height: 1.13; letter-spacing: -.035em; }
h1 { max-width: 880px; font-size: clamp(42px, 6.2vw, 72px); }
.hero p:not(.eyebrow) { max-width: 760px; margin: 22px 0 0; color: #e6eaf1; font-size: 19px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 28px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 23px;
  color: #fff;
  background: var(--red);
  border: 1px solid var(--red);
  border-radius: 7px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.button:hover { color: #fff; background: var(--red-dark); border-color: var(--red-dark); }
.button-secondary { background: transparent; border-color: rgba(255,255,255,.55); }
.button-secondary:hover { background: #fff; border-color: #fff; color: var(--ink); }

.section { padding: 78px 0; }
.section-white { background: #fff; }
.section-heading { max-width: 790px; margin-bottom: 34px; }
.section-heading h2 { font-size: clamp(30px, 4vw, 46px); }
.section-heading p { margin: 14px 0 0; color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card {
  padding: 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(21,28,40,.06);
}
.card h3 { margin-bottom: 13px; font-size: 24px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.card-link { display: flex; min-height: 100%; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.card-link:hover { color: inherit; transform: translateY(-4px); box-shadow: var(--shadow); }
.card-link .card-kicker { color: var(--red); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.card-link .card-cta { margin-top: auto; padding-top: 22px; color: var(--red); font-size: 13px; font-weight: 800; text-transform: uppercase; }
.checklist { margin: 0; padding: 0; list-style: none; }
.checklist li { position: relative; padding: 10px 0 10px 31px; border-bottom: 1px solid var(--line); }
.checklist li:last-child { border-bottom: 0; }
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 10px;
  color: var(--red);
  font-weight: 900;
}
.content-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, .7fr); gap: 36px; align-items: start; }
.prose, .aside-panel {
  padding: 38px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 10px 34px rgba(21,28,40,.06);
}
.prose h2 { margin: 38px 0 16px; font-size: clamp(28px, 3vw, 38px); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 28px 0 12px; font-size: 23px; }
.prose p { margin: 0 0 19px; color: #364153; }
.prose ul, .prose ol { color: #364153; }
.prose li { margin-bottom: 10px; }
.aside-panel { position: sticky; top: 24px; }
.aside-panel h2 { margin-bottom: 18px; font-size: 27px; }
.notice {
  margin-top: 28px;
  padding: 20px 22px;
  color: #4b3a13;
  background: #fff8e8;
  border: 1px solid #efd58f;
  border-radius: 10px;
  font-size: 14px;
}
.comparison-table { width: 100%; border-collapse: collapse; margin: 22px 0 30px; }
.comparison-table th, .comparison-table td { padding: 15px; text-align: left; border: 1px solid var(--line); vertical-align: top; }
.comparison-table th { color: #fff; background: #202a3c; }
.comparison-table tr:nth-child(even) td { background: #f7f8fa; }
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.faq summary { padding: 18px 48px 18px 20px; font-weight: 800; cursor: pointer; }
.faq details p { margin: 0; padding: 0 20px 20px; color: var(--muted); }

/* Best PayID guide: long-form article styling */
.payid-guide-content {
  padding: 58px 0 82px;
  background:
    radial-gradient(circle at 8% 4%, rgba(213, 33, 48, .08), transparent 24%),
    linear-gradient(180deg, #f2f4f7 0%, #fff 16%, #f6f7f9 100%);
}
.payid-guide-content > .container {
  padding: clamp(28px, 4vw, 58px);
  background: #fff;
  border: 1px solid var(--line);
  border-top: 5px solid var(--red);
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.payid-guide-content .article-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 0 24px;
}
.payid-guide-content .publish-date,
.payid-guide-content .author {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 7px 14px;
  color: #4b5565;
  background: #f7f8fa;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}
.payid-guide-content .publish-date::before { content: "●"; margin-right: 8px; color: var(--red); font-size: 10px; }
.payid-guide-content .author::before { content: "✦"; margin-right: 8px; color: #c58b28; }
.payid-guide-content .article-image,
.payid-guide-content .section-visual {
  margin: 28px 0 34px;
  overflow: hidden;
  background: #edf0f4;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(21, 28, 40, .07);
}
.payid-guide-content .article-image { margin-top: 0; }
.payid-guide-content .featured-image,
.payid-guide-content .section-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background:
    linear-gradient(135deg, rgba(213,33,48,.12), rgba(21,28,40,.08)),
    #edf0f4;
}
.payid-guide-content .image-description,
.payid-guide-content .section-caption {
  margin: 0;
  padding: 14px 18px;
  color: var(--muted);
  background: #fff;
  border-top: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
}
.payid-guide-content h1 {
  max-width: none;
  margin: 0 0 34px;
  padding: clamp(34px, 6vw, 64px) clamp(24px, 5vw, 56px);
  color: #fff;
  background:
    radial-gradient(circle at 90% 15%, rgba(242,184,75,.22), transparent 28%),
    linear-gradient(120deg, #111a29, #202c43 65%, #2b1d28);
  border-radius: 14px;
  box-shadow: 0 14px 38px rgba(15, 23, 42, .2);
  font-size: clamp(38px, 5vw, 64px);
  text-align: left;
}
.payid-guide-content h1 strong { color: inherit; }
.payid-guide-content h2 {
  margin: 54px 0 20px;
  padding: 0 0 15px 20px;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  border-left: 5px solid var(--red);
  font-size: clamp(27px, 3.2vw, 39px);
  scroll-margin-top: 24px;
}
.payid-guide-content h2 strong { color: inherit; }
.payid-guide-content h3 {
  margin: 31px 0 14px;
  padding: 14px 17px;
  color: #202a3c;
  background: #f4f6f8;
  border: 1px solid var(--line);
  border-left: 4px solid #c58b28;
  border-radius: 8px;
  font-size: clamp(20px, 2.2vw, 25px);
  letter-spacing: -.02em;
}
.payid-guide-content h3 strong { color: inherit; }
.payid-guide-content h4 {
  margin: 0 0 7px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.25;
}
.payid-guide-content p { margin: 0 0 19px; color: #3e4959; }
.payid-guide-content ul,
.payid-guide-content ol { margin: 0 0 24px; padding-left: 25px; color: #3e4959; }
.payid-guide-content li { margin-bottom: 9px; }
.payid-guide-content > .container > p,
.payid-guide-content > .container > ul,
.payid-guide-content > .container > ol { max-width: 92ch; }
.payid-guide-content a:not(.play-now-btn) {
  color: #b31c2a;
  text-decoration: underline;
  text-decoration-color: rgba(213,33,48,.35);
  text-underline-offset: 3px;
}
.payid-guide-content a:not(.play-now-btn):hover { color: #7e111c; text-decoration-color: currentColor; }

.payid-guide-content .table-of-contents {
  margin: 0 0 34px;
  overflow: hidden;
  background: #f7f8fa;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(21,28,40,.05);
}
.payid-guide-content .toc-header {
  padding: 0;
  color: #fff;
  background: #202a3c;
  cursor: pointer;
}
.payid-guide-content .toc-header h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0;
  padding: 18px 21px;
  color: #fff;
  background: transparent;
  border: 0;
  border-radius: 0;
  font-size: 20px;
}
.payid-guide-content .toc-toggle { display: inline-block; color: var(--gold); transition: transform .2s; }
.payid-guide-content .toc-toggle:not(.collapsed) { transform: rotate(180deg); }
.payid-guide-content .toc-content { padding: 20px 24px 12px; }
.payid-guide-content .toc-content.collapsed { display: none; }
.payid-guide-content .toc-content ul { margin: 0; columns: 2; column-gap: 38px; }
.payid-guide-content .toc-content li { break-inside: avoid; margin-bottom: 10px; }
.payid-guide-content .toc-content a { font-size: 14px; font-weight: 700; }

.payid-guide-content .casino-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin: 30px 0 40px;
}
.payid-guide-content .casino-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(21,28,40,.07);
  transition: transform .2s, box-shadow .2s;
}
.payid-guide-content .casino-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.payid-guide-content .card-rank {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: inline-grid;
  min-width: 44px;
  height: 34px;
  padding: 0 10px;
  place-items: center;
  color: #fff;
  background: var(--red);
  border: 2px solid #fff;
  border-radius: 999px;
  box-shadow: 0 5px 16px rgba(21,28,40,.22);
  font-size: 13px;
  font-weight: 900;
}
.payid-guide-content .casino-card-content { display: flex; min-height: 100%; flex-direction: column; padding: 0 25px 25px; }
.payid-guide-content .casino-card-logo {
  width: calc(100% + 50px);
  max-width: none;
  height: 205px;
  margin: 0 -25px 23px;
  object-fit: cover;
  background: linear-gradient(135deg, #edf0f4, #e3e7ed);
  border-bottom: 1px solid var(--line);
}
.payid-guide-content .casino-card h3 {
  margin: 0 0 12px;
  padding: 0;
  background: transparent;
  border: 0;
  font-size: 25px;
}
.payid-guide-content .casino-card h3 a { text-decoration: none; }
.payid-guide-content .casino-card p { margin-bottom: 13px; font-size: 15px; }
.payid-guide-content .card-bonus {
  padding: 12px 14px;
  color: #4b3a13 !important;
  background: #fff8e8;
  border: 1px solid #efd58f;
  border-radius: 8px;
  font-weight: 800;
}
.payid-guide-content .card-rating { color: var(--muted) !important; font-size: 13px !important; font-weight: 700; }
.payid-guide-content .play-now-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: auto;
  padding: 12px 18px;
  color: #fff;
  background: var(--red);
  border: 1px solid var(--red);
  border-radius: 7px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: background .2s, transform .2s;
}
.payid-guide-content .play-now-btn:hover { color: #fff; background: var(--red-dark); transform: translateY(-2px); }

.payid-guide-content .table-wrapper {
  max-width: 100%;
  margin: 28px 0 38px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(21,28,40,.06);
  -webkit-overflow-scrolling: touch;
}
.payid-guide-content table { width: 100%; min-width: 700px; border-collapse: collapse; background: #fff; font-size: 14px; }
.payid-guide-content th,
.payid-guide-content td { padding: 15px 16px; text-align: left; vertical-align: top; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.payid-guide-content th:last-child,
.payid-guide-content td:last-child { border-right: 0; }
.payid-guide-content tbody tr:last-child td { border-bottom: 0; }
.payid-guide-content th { color: #fff; background: #202a3c; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.payid-guide-content tbody tr:nth-child(even) td { background: #f7f8fa; }
.payid-guide-content tbody tr:hover td { background: #fff8e8; }

.payid-guide-content .author-bio {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 24px;
  margin-top: 48px;
  padding: 30px;
  color: #e8edf5;
  background: linear-gradient(125deg, #151e2e, #253248);
  border-top: 4px solid var(--red);
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.payid-guide-content .author-avatar img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  background: #fff;
  border: 4px solid rgba(255,255,255,.85);
  border-radius: 50%;
}
.payid-guide-content .author-info h4 { color: #fff; }
.payid-guide-content .author-title { color: #f5c969 !important; font-size: 13px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.payid-guide-content .author-description { color: #cdd5e2 !important; font-size: 15px; }

.payid-guide-content #payid-faqs ~ h3 {
  margin-top: 14px;
  background: #fff;
  border-left-color: var(--red);
  box-shadow: 0 6px 18px rgba(21,28,40,.05);
}
.payid-guide-content #payid-faqs ~ h3 + p { padding: 0 17px 18px; }

.site-footer { padding: 50px 0 24px; color: #d9dee8; background: #111722; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .8fr .8fr; gap: 42px; }
.footer-brand img { width: 270px; }
.footer-brand p { max-width: 470px; margin: 20px 0 0; color: #b9c0cc; font-size: 14px; }
.site-footer h2 { margin-bottom: 16px; color: #fff; font-size: 20px; letter-spacing: 0; }
.footer-links { margin: 0; padding: 0; list-style: none; font-size: 14px; line-height: 2.1; }
.copyright { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: 12px; text-align: center; }

@media (max-width: 1160px) {
  .header-main { min-height: 96px; }
  .brand { flex-basis: 220px; }
  .brand img { width: 220px; }
  .menu-mobile-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    padding: 9px 13px;
    color: #fff;
    background: transparent;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 6px;
  }
  .hamburger { width: 20px; font-size: 0; }
  .hamburger::before { content: "☰"; font-size: 20px; }
  .nav-shell nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 76vh;
    overflow: auto;
    padding: 15px 28px 25px;
    background: #151a24;
    border-top: 1px solid rgba(255,255,255,.12);
  }
  .nav-shell.is-open nav { display: block; }
  .primary-menu { display: block; }
  .primary-menu > li { border-bottom: 1px solid rgba(255,255,255,.1); white-space: normal; }
  .primary-menu > li > a, .submenu-label > a { flex: 1; padding: 13px 0; }
  .current-menu-item > a, .current-menu-parent > .submenu-label > a { box-shadow: none; }
  .submenu-toggle { width: 44px; height: 44px; }
  .sub-menu {
    position: static;
    max-height: none;
    margin-bottom: 10px;
    color: #fff;
    background: #222b3b;
    border: 0;
    box-shadow: none;
  }
  .has-submenu:hover > .sub-menu, .has-submenu:focus-within > .sub-menu { display: none; }
  .has-submenu.is-open > .sub-menu { display: block; }
}

@media (max-width: 820px) {
  .cards { grid-template-columns: 1fr; }
  .content-grid { grid-template-columns: 1fr; }
  .aside-panel { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .payid-guide-content { padding: 36px 0 58px; }
  .payid-guide-content .toc-content ul { columns: 1; }
  .payid-guide-content .casino-card-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .container { width: min(100% - 40px, 1180px); }
  .utility-inner { min-height: 44px; gap: 10px; }
  .phone { font-size: 16px; }
  .utility-button { padding: 6px 10px; font-size: 9px; }
  .header-main { min-height: 84px; }
  .brand { flex: 1; }
  .brand img { width: 205px; }
  .menu-mobile-toggle .label { display: none; }
  .hero-inner { padding: 58px 0 54px; }
  h1 { font-size: 41px; }
  .hero p:not(.eyebrow) { font-size: 17px; }
  .section { padding: 54px 0; }
  .card, .prose, .aside-panel { padding: 25px; }
  .comparison-table { display: block; overflow-x: auto; font-size: 14px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .payid-guide-content > .container { padding: 22px; border-radius: 12px; }
  .payid-guide-content h1 { padding: 32px 23px; font-size: 36px; }
  .payid-guide-content h2 { margin-top: 42px; padding-left: 14px; font-size: 27px; }
  .payid-guide-content h3 { font-size: 20px; }
  .payid-guide-content .casino-card-content { padding: 0 20px 20px; }
  .payid-guide-content .casino-card-logo { width: calc(100% + 40px); height: 185px; margin-right: -20px; margin-left: -20px; }
  .payid-guide-content .author-bio { grid-template-columns: 1fr; padding: 24px; text-align: center; }
  .payid-guide-content .author-avatar { justify-self: center; }
  .payid-guide-content table { min-width: 620px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
