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

html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
  background-color: #1a2f39;
  color: #f7fbff;
}

body {
  min-height: 100vh;
}

a {
  color: #2fd6ff;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #1a2f39;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background-color: #1a2f39;
  border-bottom: 1px solid rgba(21, 51, 68, 0.9);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  gap: 1rem;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-left: 1.25rem;
}

.header-nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: #c0cee9;
  white-space: nowrap;
}

.header-nav-link:hover {
  color: #ffffff;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-logo {
  width: auto;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.brand-logo img {
  height: 100%;
  width: auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 0.95rem;
  color: #2fd6ff;
}

.brand-subtitle {
  font-size: 0.75rem;
  color: #8f9db8;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(95, 110, 142, 0.45);
  background: rgba(7, 13, 26, 0.92);
  color: #e6edf7;
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #e6edf7;
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #e6edf7;
}

.nav-toggle span::before {
  top: -5px;
}

.nav-toggle span::after {
  top: 5px;
}

.nav {
  display: none;
}

.nav.open {
  display: block;
}

.nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0 1.25rem 0.75rem;
  margin: 0;
}

.nav-link {
  font-size: 0.9rem;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  color: #c9d4f0;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-link span {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: transparent;
}

.nav-link.active,
.nav-link:hover {
  background: radial-gradient(circle at 0 0, rgba(47, 214, 255, 0.2), transparent 55%);
  color: #ffffff;
}

.nav-link.active span {
  background: #2fd6ff;
}

.nav-cta {
  margin-left: auto;
}

.header-cta {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

/* CTA buttons */
.btn {
  border-radius: 0.75rem;
  border: none;
  cursor: pointer;
  font-weight: 600;
  letter-spacing: 0.03em;
  font-size: 0.85rem;
  padding: 0.7rem 1.3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease,
    transform 0.2s ease, filter 0.2s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background-color: #1675e1;
  color: #f7fbff;
}

.btn-primary:hover {
  filter: brightness(1.06);
}

.btn-outline {
  background: #395566;
  color: #f7fbff;
  border: none;
}

.btn-pill-text {
  font-size: 0.8rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: transparent;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.btn-pill-text strong {
  color: #2fd6ff;
}

/* Hero */
.hero {
  padding: 1.75rem 0 2.75rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr);
  gap: 2rem;
  align-items: center;
}

.hero--center .hero-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #7da2ff;
  margin-bottom: 0.6rem;
}

.hero-title {
  font-size: 2rem;
  line-height: 1.15;
  font-weight: 700;
  margin: 0 0 0.85rem;
  color: #ffffff;
}

.hero-lead {
  font-size: 0.98rem;
  color: #a6b3d2;
  max-width: 44rem;
  margin-bottom: 1.25rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 1.25rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.badge {
  font-size: 0.72rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(85, 111, 166, 0.7);
  color: #9fb1d7;
  background: radial-gradient(circle at 0 0, rgba(64, 108, 255, 0.25), transparent 55%);
}

.badge-ghost {
  background: rgba(10, 18, 38, 0.9);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.hero-note {
  font-size: 0.78rem;
  color: #7f8bad;
}

.hero-visual {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
}

.hero-banner-link {
  display: block;
  border-radius: 1.5rem;
  overflow: hidden;
  transform: translateZ(0);
  transition: transform 0.25s ease, filter 0.25s ease;
  position: relative;
}

.hero-banner-link img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-banner-link:hover {
  transform: translateY(-2px) scale(1.01);
  filter: brightness(1.02);
}

.hero-banner-cta {
  position: absolute;
  left: 50%;
  bottom: 1.6rem;
  transform: translateX(-50%);
  padding: 0.65rem 1.6rem;
  border-radius: 999px;
  background-color: #1675e1;
  color: #f7fbff;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.hero-banner-link:hover .hero-banner-cta {
  filter: brightness(1.06);
}

.poker-online-banner {
  position: relative;
  display: block;
  border-radius: 1.2rem;
  overflow: hidden;
  transform: translateZ(0);
  transition: transform 0.25s ease, filter 0.25s ease;
}

.poker-online-banner--compact {
  max-width: 380px;
  margin: 0 auto;
}

.poker-online-image {
  display: block;
  width: 100%;
  height: auto;
  transition: filter 0.25s ease;
}

.poker-online-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at center,
    rgba(0, 0, 0, 0.3),
    rgba(0, 0, 0, 0.7)
  );
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.25s ease;
}

.poker-online-banner:hover .poker-online-image {
  filter: brightness(0.6);
}

.poker-online-banner:hover .poker-online-overlay {
  opacity: 1;
}

.poker-online-banner:hover {
  transform: translateY(-2px) scale(1.01);
}

/* Sections */
.section {
  padding: 1.1rem 0;
}

.section-header {
  margin-bottom: 1.25rem;
}

.winners-table-wrap {
  overflow-x: auto;
}

.winners-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.98rem;
  color: #c0cbe6;
}

.winners-table thead {
  background: #1a2f39;
}

.winners-table th,
.winners-table td {
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid rgba(35, 70, 96, 0.5);
  text-align: left;
  line-height: 1.6;
}

.winners-table th {
  font-weight: 600;
  color: #c0cbe6;
}

.winners-table td.win {
  color: #c0cbe6;
}

.winner-row-enter {
  animation: winnerRowFadeIn 0.6s ease-out;
}

@keyframes winnerRowFadeIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.winners-card {
  background: #1a2f39;
  border-radius: 1rem;
  padding: 1.1rem 1.25rem 1.2rem;
  border: none;
  box-shadow: none;
}

/* Unified body text sizing (headings use their own sizes) */
body,
.content p,
.list,
.highlight-box,
.sidebar-card,
.footer-links,
.footer-bottom,
.rg-notice,
.winners-table,
.winners-table th,
.winners-table td {
  font-size: 1rem;
}

.section-kicker {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #7da2ff;
  margin-bottom: 0.4rem;
}

.section-title {
  font-size: 1.35rem;
  margin: 0 0 0.4rem;
}

.section-subtitle {
  font-size: 1rem;
  color: #9ba9c7;
  max-width: 36rem;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
}

.card-surface {
  background: #1f3843;
  border-radius: 1.2rem;
  border: none;
  padding: 1.3rem 1.25rem;
  box-shadow: none;
}


.card-surface.alt {
  background: #1f3843;
}

.card-title {
  font-size: 1.05rem;
  margin: 0 0 0.4rem;
}

.card-subtitle {
  font-size: 1rem;
  color: #9ba9c7;
  margin-bottom: 0.75rem;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.pill {
  font-size: 0.75rem;
  padding: 0.22rem 0.7rem;
  border-radius: 999px;
  border: none;
  color: #a9b6d4;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
}

.list {
  padding-left: 1rem;
  margin: 0.2rem 0 0.75rem;
  color: #c0cbe6;
  font-size: 1rem;
}

.list li + li {
  margin-top: 0.3rem;
}

.highlight-box {
  border-radius: 0;
  padding: 0;
  background: transparent;
  border: none;
  font-size: 1rem;
  color: #aab8dd;
}

.highlight-box strong {
  color: #ffffff;
}

.inline-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 0.9rem;
  text-align: center;
}

.inline-cta p {
  margin: 0;
  font-size: 1rem;
  color: #9fb1d7;
}

.section-cta-center {
  margin-top: 1.1rem;
  text-align: center;
}

/* Typography & content */
.content p {
  margin: 0 0 0.85rem;
  font-size: 1rem;
  color: #c0cbe6;
  line-height: 1.65;
}

.content h2,
.content h3 {
  margin: 1.4rem 0 0.65rem;
  font-size: 1.2rem;
}

.content h3 {
  font-size: 1.05rem;
}

.pill-heading {
  font-size: 0.9rem;
  color: #9fb1d7;
  margin-bottom: 0.35rem;
}

.table-hand-rankings {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin: 0.8rem 0 1.2rem;
}

.table-hand-rankings th,
.table-hand-rankings td {
  padding: 0.4rem 0.5rem;
  border-bottom: 1px solid rgba(56, 80, 133, 0.7);
}

.table-hand-rankings th {
  text-align: left;
  color: #a8b7dd;
  font-weight: 500;
}

.table-hand-rankings tr:last-child td {
  border-bottom: none;
}

/* Layout for secondary pages */
.page-hero {
  padding: 1.9rem 0 1.4rem;
}

.page-hero-title {
  font-size: 1.7rem;
  margin: 0 0 0.4rem;
}

.page-hero-subtitle {
  font-size: 0.96rem;
  color: #a6b3d2;
  max-width: 34rem;
}

.page-layout {
  padding: 0 0 2.5rem;
}

.page-layout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr);
  gap: 1.6rem;
}

.sidebar-card {
  border-radius: 1rem;
  padding: 1rem;
  background: #15252e;
  border: 1px solid rgba(77, 118, 152, 0.95);
  font-size: 0.86rem;
  color: #aab8dd;
}

.sidebar-card h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
  font-size: 0.98rem;
}

.sidebar-list {
  padding-left: 1rem;
  margin: 0.2rem 0 0.2rem;
}

.sidebar-list li + li {
  margin-top: 0.2rem;
}

.form {
  display: grid;
  gap: 0.75rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.field label {
  font-size: 0.86rem;
  color: #a6b3d2;
}

.field input,
.field textarea {
  border-radius: 0.75rem;
  border: 1px solid rgba(81, 104, 156, 0.85);
  background: rgba(5, 12, 30, 0.96);
  color: #e6edf7;
  padding: 0.6rem 0.7rem;
  font-size: 0.9rem;
  outline: none;
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-color: #2fd6ff;
  box-shadow: 0 0 0 1px rgba(31, 193, 255, 0.55);
}

.form-note {
  font-size: 0.8rem;
  color: #818daf;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(25, 55, 72, 0.9);
  background-color: #12232d;
  margin-top: auto;
}

.footer-inner {
  padding: 1.4rem 1.25rem 1.6rem;
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
  margin-bottom: 1.3rem;
}

.footer-columns {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-brand-row {
  margin-top: 0.4rem;
}

.footer-group {
  display: flex;
  align-items: center;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: #c0cee9;
}

.footer-heading {
  margin: 0 0 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
}

.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.footer-brand-logo img {
  height: 40px;
  width: auto;
}

.footer-brand-title {
  font-size: 0.95rem;
  font-weight: 600;
}

.footer-group a {
  color: #c0cee9;
  display: block;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  font-size: 0.78rem;
  color: #7f8bad;
}

.footer-col {
  max-width: 28rem;
}

.footer-bottom span {
  display: block;
  line-height: 1.6;
}

.rg-notice {
  font-size: 0.78rem;
  color: #a6b3d2;
}

/* Utilities */
.stack-sm {
  display: grid;
  gap: 0.45rem;
}

.stack-md {
  display: grid;
  gap: 0.85rem;
}

.muted {
  color: #8f9db8;
}

.chip-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: transparent;
  border: none;
  font-size: 0.78rem;
}

/* Responsive */
@media (min-width: 720px) {
  .header-inner {
    padding-inline: 0;
  }

  .nav-toggle {
    display: none;
  }

  .nav {
    display: flex !important;
    align-items: center;
    gap: 1.5rem;
  }

  .nav-list {
    flex-direction: row;
    padding: 0;
  }

  .hero {
    padding-top: 2.2rem;
    padding-bottom: 3.3rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.05fr);
    gap: 2.4rem;
  }

  .hero-title {
    font-size: 2.45rem;
  }

  .hero-lead {
    font-size: 1.02rem;
  }

  .content-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .two-column {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-hero {
    padding-top: 2.3rem;
    padding-bottom: 1.9rem;
  }

  .page-hero-title {
    font-size: 1.9rem;
  }

  .page-layout-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-inner {
    padding-inline: 0;
  }

  .footer-top {
    flex-direction: column;
  }

  .footer-bottom {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }

  .footer-columns {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

@media (min-width: 960px) {
  .hero-title {
    font-size: 2.7rem;
  }

  .section {
    padding-block: 1.6rem;
  }
}
