:root {
  --bg: #f4f1eb;
  --bg-strong: #e7e0d4;
  --surface: rgba(255, 255, 255, 0.8);
  --text: #17181f;
  --muted: #5d6270;
  --line: rgba(23, 24, 31, 0.12);
  --accent: #b2862d;
  --accent-dark: #7e5c18;
  --accent-soft: rgba(178, 134, 45, 0.12);
  --panel-dark: #171922;
  --shadow-soft: 0 18px 44px rgba(23, 24, 31, 0.1);
  --shadow-strong: 0 30px 72px rgba(23, 24, 31, 0.14);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Outfit", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(178, 134, 45, 0.16), transparent 30%),
    linear-gradient(180deg, #faf8f4 0%, var(--bg) 42%, var(--bg-strong) 100%);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.container { width: min(calc(100% - 1.5rem), var(--max)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(250, 248, 244, 0.84);
  border-bottom: 1px solid rgba(255, 255, 255, 0.42);
}

.header-row,
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.header-row { padding: 0.95rem 0; }
.footer-row { flex-wrap: wrap; }

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

.brand strong,
h1,
h2,
h3 {
  font-family: "Sora", sans-serif;
}

.brand strong {
  display: block;
  font-size: 1rem;
  line-height: 1.1;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
}

.brand-mark {
  position: relative;
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent),
    linear-gradient(135deg, #1f2230, #454b61);
  box-shadow: var(--shadow-soft);
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  background: rgba(255, 255, 255, 0.85);
}

.brand-mark::before {
  width: 1rem;
  height: 1rem;
  border-radius: 0.22rem;
}

.brand-mark::after {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  box-shadow:
    -0.7rem -0.7rem 0 rgba(255, 255, 255, 0.85),
    0.7rem -0.7rem 0 rgba(255, 255, 255, 0.85),
    -0.7rem 0.7rem 0 rgba(255, 255, 255, 0.85),
    0.7rem 0.7rem 0 rgba(255, 255, 255, 0.85);
}

.nav-toggle,
.slider-arrow {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  padding: 0.75rem 1rem;
  font-weight: 700;
  cursor: pointer;
}

.site-nav {
  display: none;
  flex-direction: column;
  gap: 0.8rem;
  padding: 0.25rem 0 0.8rem;
}

.site-nav.open { display: flex; }
.site-nav a { font-weight: 700; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform 0.2s ease;
}

.button:hover,
.button:focus-visible,
.slider-arrow:hover,
.slider-arrow:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--accent), #d4aa54);
  color: #17181f;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.78);
  border-color: var(--line);
}

.button-full { width: 100%; }

.hero {
  padding: 2rem 0 1rem;
}

.hero-grid,
.ticker-grid,
.section-split,
.night-grid,
.membership-grid,
.benefit-grid,
.join-grid {
  display: grid;
  gap: 1rem;
}

.eyebrow,
.section-label {
  display: inline-flex;
  width: fit-content;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-weight: 800;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.02;
}

h1 {
  font-size: clamp(2.8rem, 8vw, 5.2rem);
  margin: 0.85rem 0 1rem;
  max-width: 11ch;
}

h2 {
  font-size: clamp(2rem, 5vw, 3.6rem);
  margin-bottom: 0.85rem;
}

h3 {
  font-size: 1.25rem;
  margin-bottom: 0.65rem;
}

p { margin: 0 0 1rem; }

.hero-lead,
.section-heading p,
.night-card p,
.benefit-card p,
.testimonial-card p,
.join-copy p,
.membership-list li,
.fixture-row span:last-child,
.score-body p,
.hero-stat-card p,
.form-note {
  color: var(--muted);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.4rem;
}

.hero-board {
  display: grid;
  gap: 1rem;
}

.score-card,
.hero-stat-card,
.club-image-card,
.night-card,
.membership-card,
.benefit-card,
.fixture-table,
.testimonial-card,
.join-form {
  border: 1px solid rgba(255, 255, 255, 0.54);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
}

.score-card,
.membership-card,
.join-form {
  border-radius: var(--radius-xl);
}

.hero-stat-card,
.club-image-card,
.night-card,
.benefit-card,
.testimonial-card {
  border-radius: var(--radius-lg);
  padding: 1.2rem;
}

.club-image-card {
  overflow: hidden;
  padding: 0;
}

.club-image-card img {
  aspect-ratio: 16 / 10;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.club-image-card div {
  padding: 1rem 1.2rem 1.15rem;
}

.club-image-card strong {
  display: block;
  margin-bottom: 0.35rem;
}

.club-image-card p {
  color: var(--muted);
}

.score-card {
  padding: 1.2rem;
  background:
    linear-gradient(135deg, rgba(178, 134, 45, 0.14), rgba(255, 255, 255, 0.96)),
    #fff;
}

.score-header,
.score-body {
  display: grid;
  gap: 1rem;
}

.score-header span,
.score-label {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 800;
}

.score-header strong,
.hero-stat-card strong {
  display: block;
  font-size: 1.3rem;
}

.ticker-strip {
  padding-top: 0.75rem;
}

.ticker-grid article,
.fixture-row {
  border: 1px solid rgba(255, 255, 255, 0.54);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
}

.ticker-grid article {
  border-radius: var(--radius-lg);
  padding: 1rem 1.1rem;
}

.ticker-grid strong {
  display: block;
  margin-bottom: 0.25rem;
}

.section {
  padding: 4.5rem 0 0;
}

.section-alt {
  position: relative;
}

.section-alt::before {
  content: "";
  position: absolute;
  inset: 2rem 0 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.44), rgba(255, 255, 255, 0.12));
  z-index: -1;
}

.section-heading {
  max-width: 42rem;
  margin-bottom: 1.7rem;
}

.membership-card {
  padding: 1.25rem;
}

.membership-list,
.join-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.membership-list li,
.join-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(23, 24, 31, 0.08);
}

.fixture-table {
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.fixture-row {
  display: grid;
  gap: 0.5rem;
  padding: 1rem 1.1rem;
}

.fixture-head {
  background: rgba(23, 24, 31, 0.94);
}

.fixture-head span {
  color: #fff;
  font-weight: 800;
}

.community-section .container {
  padding: 2rem 1rem;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(178, 134, 45, 0.16), transparent 35%),
    linear-gradient(135deg, #1b1d27, #111219);
  box-shadow: var(--shadow-strong);
}

.community-section .section-label,
.community-section h2,
.community-section p,
.community-section strong {
  color: #fff;
}

.testimonial-slider { position: relative; }
.testimonial-card { display: none; background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.08); }
.testimonial-card.active { display: block; }

.slider-controls {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 1rem;
}

.slider-dots { display: flex; gap: 0.45rem; }
.slider-dots button {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.24);
  cursor: pointer;
}
.slider-dots button.active { background: #fff; }

.join-copy,
.join-form {
  padding: 1.25rem;
}

label {
  display: block;
  margin: 0 0 0.35rem;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1rem;
  margin-bottom: 1rem;
  background: #fff;
  color: var(--text);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.form-message.success { color: #4ea87a; }
.form-message.error { color: #d27a52; }

.site-footer {
  padding: 3rem 0;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 760px) {
  .nav-toggle { display: none; }
  .site-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0;
  }

  .hero-grid,
  .section-split,
  .membership-grid,
  .join-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .ticker-grid,
  .night-grid,
  .benefit-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .fixture-row {
    grid-template-columns: 0.2fr 0.5fr 1fr;
    align-items: center;
  }
}


.back-presgro {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.6rem;
  padding: 0.65rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.back-presgro:hover,
.back-presgro:focus-visible {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
}

@media (max-width: 820px) {
  .back-presgro {
    order: 3;
    width: 100%;
    margin-top: 0.75rem;
  }
}

/* Individual niche polish: structured, thoughtful club styling. */
body.theme-chess {
  background:
    linear-gradient(45deg, rgba(28, 32, 37, 0.04) 25%, transparent 25% 75%, rgba(28, 32, 37, 0.04) 75%),
    linear-gradient(45deg, rgba(28, 32, 37, 0.04) 25%, transparent 25% 75%, rgba(28, 32, 37, 0.04) 75%),
    #f4efe4;
  background-position: 0 0, 18px 18px, 0 0;
  background-size: 36px 36px, 36px 36px, auto;
}

.theme-chess .site-header,
.theme-chess .hero,
.theme-chess .section-dark {
  background: #1c2025;
  color: #f8f1df;
}

.theme-chess .brand-mark,
.theme-chess .button-primary,
.theme-chess .mobile-contact-bar a:first-child {
  background: #d4a84f;
  color: #1c2025;
}

.theme-chess h1,
.theme-chess h2 {
  font-family: Georgia, "Times New Roman", serif;
}

.theme-chess .ticker-card,
.theme-chess .night-card,
.theme-chess .benefit-card,
.theme-chess .membership-card,
.theme-chess .fixture-table,
.theme-chess .faq-card,
.theme-chess .join-form,
.theme-chess .join-copy {
  border-radius: 10px;
  border-color: rgba(28, 32, 37, 0.18);
  box-shadow: 0 16px 34px rgba(28, 32, 37, 0.09);
}

.theme-chess .fixture-row {
  border-left: 5px solid #d4a84f;
}

.theme-chess .section-soft,
.theme-chess .membership-section {
  background: rgba(225, 211, 184, 0.72);
}

.theme-chess .button-secondary {
  border-color: rgba(212, 168, 79, 0.52);
  color: inherit;
}

/* Page-scoped polish pass: keep the chess-club texture, improve contrast and rhythm. */
body.theme-chess.visual-community {
  --bg: #f2eadc;
  --bg-strong: #e9ddc8;
  --surface: rgba(255, 252, 245, 0.94);
  --surface-strong: #fffaf0;
  --text: #17181f;
  --muted: #4f5665;
  --line: rgba(28, 32, 37, 0.16);
  --accent: #d4a84f;
  --accent-dark: #765314;
  --accent-soft: rgba(212, 168, 79, 0.18);
  --navy: #1c2025;
  --navy-2: #10141b;
  --shadow-soft: 0 14px 30px rgba(28, 32, 37, 0.1);
  --shadow-strong: 0 26px 64px rgba(28, 32, 37, 0.16);
  background:
    linear-gradient(45deg, rgba(28, 32, 37, 0.026) 25%, transparent 25% 75%, rgba(28, 32, 37, 0.026) 75%),
    linear-gradient(45deg, rgba(28, 32, 37, 0.026) 25%, transparent 25% 75%, rgba(28, 32, 37, 0.026) 75%),
    linear-gradient(180deg, #faf7ef 0%, #f3eadb 48%, #eee2cf 100%);
  background-position: 0 0, 18px 18px, 0 0;
  background-size: 36px 36px, 36px 36px, auto;
}

body.theme-chess.visual-community .site-header {
  background: rgba(28, 32, 37, 0.96);
  color: #f8f1df;
  border-bottom: 1px solid rgba(248, 241, 223, 0.12);
}

body.theme-chess.visual-community .brand small {
  color: rgba(248, 241, 223, 0.68);
}

body.theme-chess.visual-community .site-nav a {
  color: #f8f1df;
}

body.theme-chess.visual-community .site-nav a:last-child {
  background: #f0c461;
  border-color: rgba(240, 196, 97, 0.86);
  color: var(--navy);
}

body.theme-chess.visual-community .back-presgro {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #f8f1df;
}

body.theme-chess.visual-community .nav-toggle {
  background: #f8f1df;
  border-color: rgba(248, 241, 223, 0.24);
  color: var(--navy);
}

body.theme-chess.visual-community .hero {
  color: var(--text);
  padding: clamp(3.25rem, 6vw, 5.4rem) 0 clamp(2.7rem, 4vw, 4rem);
  background:
    radial-gradient(circle at 16% 18%, rgba(212, 168, 79, 0.18), transparent 30%),
    linear-gradient(135deg, rgba(255, 250, 240, 0.96) 0%, #eef3f7 55%, #d7e0eb 100%);
}

body.theme-chess.visual-community .hero-grid {
  gap: clamp(1.4rem, 4vw, 2.8rem);
  align-items: center;
}

body.theme-chess.visual-community .hero-copy {
  max-width: 45rem;
}

body.theme-chess.visual-community .eyebrow,
body.theme-chess.visual-community .section-label {
  border: 1px solid rgba(118, 83, 20, 0.13);
  background: rgba(212, 168, 79, 0.16);
  color: var(--accent-dark);
  line-height: 1.1;
}

body.theme-chess.visual-community h1,
body.theme-chess.visual-community h2 {
  color: var(--text);
  letter-spacing: 0;
}

body.theme-chess.visual-community h1 {
  max-width: 14.6ch;
  font-size: clamp(2.85rem, 5.9vw, 4.75rem);
  line-height: 1;
  margin: 0.9rem 0 1.05rem;
}

body.theme-chess.visual-community h2 {
  max-width: 16ch;
  font-size: clamp(2.25rem, 4.8vw, 3.75rem);
  line-height: 1.01;
}

body.theme-chess.visual-community h3 {
  color: var(--text);
  font-size: 1.16rem;
  line-height: 1.08;
}

body.theme-chess.visual-community p {
  line-height: 1.58;
}

body.theme-chess.visual-community .hero-lead {
  max-width: 38rem;
  color: #3f4857;
  font-size: 1.06rem;
}

body.theme-chess.visual-community .button {
  border-radius: 8px;
}

body.theme-chess.visual-community .button-primary {
  border-color: rgba(118, 83, 20, 0.18);
  background: linear-gradient(135deg, #d9aa44, #efc96e);
  color: var(--navy);
  box-shadow: 0 12px 24px rgba(118, 83, 20, 0.16);
}

body.theme-chess.visual-community .hero .button-secondary {
  background: rgba(255, 250, 240, 0.88);
  border-color: rgba(118, 83, 20, 0.26);
  color: #273241;
}

body.theme-chess.visual-community .hero-proof {
  margin-top: 1rem;
}

body.theme-chess.visual-community .hero-proof li {
  background: rgba(255, 250, 240, 0.88);
  border-color: rgba(28, 32, 37, 0.14);
  color: #334155;
}

body.theme-chess.visual-community .demo-safety-note {
  max-width: 39rem;
  background: rgba(255, 250, 240, 0.88);
  border-color: rgba(118, 83, 20, 0.18);
  color: #3f3320;
}

body.theme-chess.visual-community .hero-board {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

body.theme-chess.visual-community .score-card,
body.theme-chess.visual-community .club-image-card {
  grid-column: 1 / -1;
}

body.theme-chess.visual-community .score-card,
body.theme-chess.visual-community .hero-stat-card,
body.theme-chess.visual-community .club-image-card,
body.theme-chess.visual-community .ticker-grid article,
body.theme-chess.visual-community .night-card,
body.theme-chess.visual-community .membership-card,
body.theme-chess.visual-community .benefit-card,
body.theme-chess.visual-community .fixture-table,
body.theme-chess.visual-community .faq-card,
body.theme-chess.visual-community .join-form,
body.theme-chess.visual-community .join-copy {
  background: var(--surface);
  border-color: rgba(28, 32, 37, 0.16);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  color: var(--text);
}

body.theme-chess.visual-community .score-card,
body.theme-chess.visual-community .club-image-card,
body.theme-chess.visual-community .hero-stat-card,
body.theme-chess.visual-community .benefit-card {
  border-top-color: #26364d;
}

body.theme-chess.visual-community .score-card {
  padding: clamp(1.15rem, 2vw, 1.45rem);
  background:
    linear-gradient(135deg, rgba(212, 168, 79, 0.16), rgba(255, 250, 240, 0.96)),
    #fffaf0;
}

body.theme-chess.visual-community .score-header {
  gap: 0.45rem;
}

body.theme-chess.visual-community .score-header strong {
  color: var(--text);
  font-size: clamp(1.55rem, 3.5vw, 2.1rem);
}

body.theme-chess.visual-community .score-header span,
body.theme-chess.visual-community .score-label {
  color: #50596a;
}

body.theme-chess.visual-community .score-body {
  gap: 0.8rem;
  margin-top: 1rem;
}

body.theme-chess.visual-community .score-body p,
body.theme-chess.visual-community .club-image-card p,
body.theme-chess.visual-community .hero-stat-card p,
body.theme-chess.visual-community .night-card p,
body.theme-chess.visual-community .benefit-card p,
body.theme-chess.visual-community .membership-list li,
body.theme-chess.visual-community .fixture-row span:last-child,
body.theme-chess.visual-community .join-copy p,
body.theme-chess.visual-community .section-heading p,
body.theme-chess.visual-community .form-note {
  color: var(--muted);
}

body.theme-chess.visual-community .club-image-card div,
body.theme-chess.visual-community .hero-stat-card,
body.theme-chess.visual-community .night-card,
body.theme-chess.visual-community .benefit-card,
body.theme-chess.visual-community .faq-card {
  padding: 1.15rem;
}

body.theme-chess.visual-community .club-image-card strong,
body.theme-chess.visual-community .ticker-grid strong,
body.theme-chess.visual-community .night-card strong,
body.theme-chess.visual-community .hero-stat-card strong {
  color: var(--text);
}

body.theme-chess.visual-community .ticker-strip {
  padding: 1.25rem 0 0;
}

body.theme-chess.visual-community .section {
  padding: clamp(3rem, 5vw, 4rem) 0 0;
}

body.theme-chess.visual-community .section-heading {
  max-width: 48rem;
  margin-bottom: 1.3rem;
}

body.theme-chess.visual-community .section-heading p {
  max-width: 44rem;
}

body.theme-chess.visual-community .section-alt::before {
  inset: 1.6rem 0 0;
  background: linear-gradient(180deg, rgba(255, 250, 240, 0.58), rgba(255, 250, 240, 0.16));
}

body.theme-chess.visual-community .section-split,
body.theme-chess.visual-community .membership-grid,
body.theme-chess.visual-community .join-grid {
  gap: clamp(1rem, 2vw, 1.35rem);
}

body.theme-chess.visual-community .night-grid {
  grid-template-columns: 1fr;
}

body.theme-chess.visual-community .night-card {
  border-left: 4px solid rgba(212, 168, 79, 0.78);
}

body.theme-chess.visual-community .membership-card,
body.theme-chess.visual-community .join-copy,
body.theme-chess.visual-community .join-form {
  padding: clamp(1.25rem, 2.4vw, 1.65rem);
}

body.theme-chess.visual-community .membership-card h2,
body.theme-chess.visual-community .join-copy h2 {
  max-width: 15ch;
}

body.theme-chess.visual-community .membership-list li,
body.theme-chess.visual-community .join-list li {
  padding: 0.85rem 0;
}

body.theme-chess.visual-community .membership-list li:last-child,
body.theme-chess.visual-community .join-list li:last-child {
  border-bottom: 0;
}

body.theme-chess.visual-community .benefit-grid {
  gap: 1rem;
}

body.theme-chess.visual-community .benefit-card {
  border-top-width: 4px;
}

body.theme-chess.visual-community .fixture-table {
  overflow: hidden;
  border-top: 4px solid #26364d;
  background: rgba(255, 252, 246, 0.98);
}

body.theme-chess.visual-community .fixture-row {
  border: 0;
  border-left: 0;
  box-shadow: none;
  background: rgba(255, 252, 246, 0.98);
}

body.theme-chess.visual-community .fixture-row + .fixture-row {
  border-top: 1px solid rgba(28, 32, 37, 0.1);
}

body.theme-chess.visual-community .fixture-head {
  background: #242831;
}

body.theme-chess.visual-community .fixture-head span {
  color: #fff7e7;
}

body.theme-chess.visual-community .fixture-head span:last-child {
  color: #fff7e7;
}

body.theme-chess.visual-community .fixture-row span:nth-child(2) {
  font-weight: 700;
}

body.theme-chess.visual-community .community-section {
  padding-top: clamp(3.25rem, 5vw, 4.35rem);
}

body.theme-chess.visual-community .community-section .container {
  padding: clamp(1.35rem, 3vw, 2rem);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(212, 168, 79, 0.18), transparent 32%),
    linear-gradient(135deg, #20232d, #11151d);
}

body.theme-chess.visual-community .community-section .section-label {
  background: rgba(212, 168, 79, 0.2);
  border-color: rgba(255, 255, 255, 0.12);
  color: #ffe7a7;
}

body.theme-chess.visual-community .community-section h2,
body.theme-chess.visual-community .community-section p,
body.theme-chess.visual-community .community-section strong {
  color: #fff7e7;
}

body.theme-chess.visual-community .community-section .section-heading p {
  color: rgba(255, 247, 231, 0.86);
}

body.theme-chess.visual-community .testimonial-card {
  min-height: 8.2rem;
  padding: 1.15rem;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: none;
}

body.theme-chess.visual-community .testimonial-card p {
  color: #fff7e7;
  font-weight: 650;
}

body.theme-chess.visual-community .slider-controls {
  flex-wrap: wrap;
  gap: 0.75rem;
}

body.theme-chess.visual-community .slider-arrow {
  min-width: 4.2rem;
  background: #fff7e7;
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--navy);
}

body.theme-chess.visual-community .slider-dots {
  align-items: center;
}

body.theme-chess.visual-community .slider-dots button {
  width: 0.72rem;
  height: 0.72rem;
  background: rgba(255, 247, 231, 0.42);
}

body.theme-chess.visual-community .slider-dots button.active {
  background: #f0c461;
}

body.theme-chess.visual-community #faq .membership-grid {
  align-items: stretch;
}

body.theme-chess.visual-community #faq .benefit-grid {
  grid-template-columns: 1fr;
}

body.theme-chess.visual-community .faq-card {
  min-height: 0;
  border-left: 4px solid rgba(212, 168, 79, 0.72);
}

body.theme-chess.visual-community .faq-card h3 {
  max-width: 22rem;
}

body.theme-chess.visual-community .join-section {
  padding-bottom: 2rem;
}

body.theme-chess.visual-community .join-copy {
  background: linear-gradient(180deg, rgba(255, 252, 246, 0.74), rgba(255, 252, 246, 0.36));
  box-shadow: none;
}

body.theme-chess.visual-community .join-list a {
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.22em;
}

body.theme-chess.visual-community label {
  color: var(--text);
  font-weight: 800;
}

body.theme-chess.visual-community input,
body.theme-chess.visual-community select,
body.theme-chess.visual-community textarea {
  border-color: rgba(28, 32, 37, 0.16);
  border-radius: 8px;
  background: #fffefd;
  color: var(--text);
}

body.theme-chess.visual-community input:focus,
body.theme-chess.visual-community select:focus,
body.theme-chess.visual-community textarea:focus {
  border-color: #9b6e1a;
  box-shadow: 0 0 0 3px rgba(212, 168, 79, 0.22);
  outline: none;
}

body.theme-chess.visual-community textarea::placeholder {
  color: #7b8190;
}

body.theme-chess.visual-community .form-trust {
  background: rgba(255, 250, 240, 0.84);
  border-color: rgba(28, 32, 37, 0.14);
  color: var(--text);
}

body.theme-chess.visual-community .form-message {
  min-height: 1.45rem;
  margin-top: 0.85rem;
  font-weight: 800;
}

body.theme-chess.visual-community .form-message.success {
  color: #28684a;
}

body.theme-chess.visual-community .form-message.error {
  color: #9a3412;
}

body.theme-chess.visual-community .site-footer {
  padding: 2.25rem 0 2.7rem;
  color: #4f5665;
}

body.theme-chess.visual-community .presgro-demo-tag {
  background: rgba(255, 252, 246, 0.82);
  color: #4f5665;
}

@media (min-width: 760px) {
  body.theme-chess.visual-community .hero-grid {
    grid-template-columns: minmax(0, 1.03fr) minmax(20rem, 0.97fr);
  }

  body.theme-chess.visual-community .section-split {
    grid-template-columns: minmax(0, 0.95fr) minmax(20rem, 1.05fr);
  }

  body.theme-chess.visual-community .membership-grid,
  body.theme-chess.visual-community .join-grid {
    grid-template-columns: minmax(0, 1fr) minmax(20rem, 1fr);
  }

  body.theme-chess.visual-community .fixture-row {
    grid-template-columns: 8rem minmax(16rem, 0.74fr) minmax(18rem, 1.26fr);
    gap: 1rem;
    padding: 1.05rem 1.25rem;
  }
}

@media (min-width: 1060px) {
  body.theme-chess.visual-community #membership .benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.theme-chess.visual-community #membership .benefit-card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 980px) {
  body.theme-chess.visual-community h1 {
    max-width: 14ch;
  }

  body.theme-chess.visual-community h2 {
    max-width: 18ch;
  }

  body.theme-chess.visual-community #membership .benefit-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  body.theme-chess.visual-community .header-row {
    flex-wrap: wrap;
  }

  body.theme-chess.visual-community .brand {
    min-width: 0;
  }

  body.theme-chess.visual-community .back-presgro {
    display: none;
  }

  body.theme-chess.visual-community .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  body.theme-chess.visual-community .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.45rem;
    padding: 0.6rem 0 0.2rem;
  }

  body.theme-chess.visual-community .site-nav.open {
    display: flex;
  }

  body.theme-chess.visual-community .site-nav a {
    min-height: 2.75rem;
    padding: 0.7rem 0.8rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
  }

  body.theme-chess.visual-community .site-nav a:last-child {
    background: #f0c461;
  }
}

@media (max-width: 759px) {
  body.theme-chess.visual-community .site-header {
    position: sticky;
  }

  body.theme-chess.visual-community .hero {
    padding: 2.2rem 0 2.4rem;
  }

  body.theme-chess.visual-community h1 {
    max-width: 13.5ch;
    font-size: clamp(2.45rem, 12.5vw, 3.35rem);
  }

  body.theme-chess.visual-community h2 {
    max-width: 13.5ch;
    font-size: clamp(2.25rem, 11vw, 3rem);
  }

  body.theme-chess.visual-community .hero-lead,
  body.theme-chess.visual-community .section-heading p,
  body.theme-chess.visual-community .join-copy p {
    max-width: 100%;
  }

  body.theme-chess.visual-community .hero-board {
    grid-template-columns: 1fr;
  }

  body.theme-chess.visual-community .button-row .button {
    width: 100%;
  }

  body.theme-chess.visual-community .ticker-grid,
  body.theme-chess.visual-community .night-grid,
  body.theme-chess.visual-community .benefit-grid {
    grid-template-columns: 1fr;
  }

  body.theme-chess.visual-community .fixture-table {
    border-top-width: 3px;
  }

  body.theme-chess.visual-community .fixture-head {
    display: none;
  }

  body.theme-chess.visual-community .fixture-row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
    padding: 1rem;
  }

  body.theme-chess.visual-community .fixture-row span {
    display: grid;
    grid-template-columns: 4.5rem minmax(0, 1fr);
    gap: 0.65rem;
    align-items: baseline;
  }

  body.theme-chess.visual-community .fixture-row span::before {
    color: #6f5830;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  body.theme-chess.visual-community .fixture-row span:nth-child(1)::before {
    content: "Date";
  }

  body.theme-chess.visual-community .fixture-row span:nth-child(2)::before {
    content: "Event";
  }

  body.theme-chess.visual-community .fixture-row span:nth-child(3)::before {
    content: "Details";
  }

  body.theme-chess.visual-community .community-section .container {
    width: min(calc(100% - 1.5rem), var(--max));
  }

  body.theme-chess.visual-community .slider-controls {
    justify-content: space-between;
  }

  body.theme-chess.visual-community .slider-dots {
    order: 3;
    flex: 1 1 100%;
    justify-content: center;
  }
}

@media (max-width: 430px) {
  body.theme-chess.visual-community h1 {
    font-size: clamp(2.35rem, 12vw, 3rem);
  }

  body.theme-chess.visual-community h2 {
    max-width: 13ch;
    font-size: clamp(2rem, 10.5vw, 2.65rem);
  }

  body.theme-chess.visual-community .brand strong {
    font-size: 0.92rem;
  }
}
