:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-alt: #f5efe6;
  --tan-soft: #efe6d6;
  --tan-header: #e6d8bd;
  --tan-border: #d6c6a8;
  --tan-hover: #e9dcc4;
  --text: #1f1f1f;
  --muted: #5c5c5c;
  --border: #d1d5db;
  --accent: #2563eb;
  --accent-dark: #1e3a8a;
  --heading: #1d1b18;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  --max: 1180px;
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

a {
  color: var(--accent-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:hover,
a:focus {
  color: var(--accent);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  background: #fff;
  color: #000;
  padding: 10px 14px;
  z-index: 1000;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.site-header {
  background: linear-gradient(180deg, #172554 0%, #1e3a8a 55%, #2563eb 100%);
  color: #fff;
  padding: 14px 20px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18);
}

.site-header-inner,
.hero-inner,
.page-wrap {
  max-width: var(--max);
  margin: 0 auto;
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: nowrap;
}

.brand {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  flex: 0 0 auto;
}

.site-logo {
  height: clamp(64px, 8vw, 104px);
  width: auto;
  display: block;
}

.brand a {
  display: flex;
  align-items: center;
}

.top-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
  flex: 1 1 auto;
  min-width: 0;
}

.top-nav a {
  color: #eff6ff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.94rem;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.top-nav a:hover,
.top-nav a:focus {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.28);
  text-decoration: none;
  transform: translateY(-1px);
}

.top-nav a[aria-current="page"] {
  background: #ffffff;
  color: #1e3a8a;
  border-color: #ffffff;
}

.hero {
  background: linear-gradient(180deg, #edf3ff 0%, #f8fbff 100%);
  color: #1f2937;
  padding: 54px 20px 40px;
}

.hero p:first-of-type {
  margin-top: 2px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 28px;
  align-items: start;
}

.hero-inner > div {
  padding-right: 6px;
}

.hero h1 {
  margin: 0 0 8px;
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #111827;
}

.hero-sub {
  display: block;
  font-size: 0.78em;
  font-weight: 600;
  margin-top: 4px;
  color: #374151;
}

.hero p {
  margin: 0 0 10px;
  max-width: 720px;
  font-size: 1.05rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.hero-meta span {
  background: #e5e7eb;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #1f2937;
}

.hero-card {
  background: #e5e7eb;
  border: 1px solid #d1d5db;
  border-radius: 20px;
  padding: 20px;
  box-shadow: var(--shadow);
  max-width: 360px;
  margin-top: 10px;
}

.hero-card h2 {
  margin-top: 0;
  font-size: 1.1rem;
}

.hero-card ul {
  margin: 0;
  padding-left: 18px;
}

/* Venue-specific hero variants */

.hero-wsop {
  background:
    radial-gradient(circle at top right, rgba(245, 158, 11, 0.24), transparent 34%),
    linear-gradient(180deg, #eaf1ff 0%, #f8fbff 100%);
}

.hero-aria {
  background:
    radial-gradient(circle at top right, rgba(91, 33, 182, 0.18), transparent 34%),
    linear-gradient(180deg, #f3edff 0%, #fbf8ff 100%);
}

.hero-bellagio {
  background:
    radial-gradient(circle at top right, rgba(202, 138, 4, 0.2), transparent 34%),
    linear-gradient(180deg, #fff8e6 0%, #fffdf7 100%);
}

.hero-caesars {
  background:
    radial-gradient(circle at top right, rgba(185, 28, 28, 0.18), transparent 34%),
    linear-gradient(180deg, #fff1f2 0%, #fffaf8 100%);
}

.hero-golden-nugget {
  background:
    radial-gradient(circle at top right, rgba(217, 119, 6, 0.26), transparent 34%),
    linear-gradient(180deg, #fff3c4 0%, #fffaf0 100%);
}

.hero-mgm {
  background:
    radial-gradient(circle at top right, rgba(22, 101, 52, 0.2), transparent 34%),
    linear-gradient(180deg, #ecfdf3 0%, #f8fff9 100%);
}

.hero-orleans {
  background:
    radial-gradient(circle at top right, rgba(146, 64, 14, 0.2), transparent 34%),
    linear-gradient(180deg, #f8ead8 0%, #fffaf4 100%);
}

.hero-south-point {
  background:
    radial-gradient(circle at top right, rgba(127, 29, 29, 0.2), transparent 34%),
    linear-gradient(180deg, #fff1f1 0%, #fffafa 100%);
}

.hero-venetian {
  background:
    radial-gradient(circle at top right, rgba(14, 116, 144, 0.18), transparent 34%),
    linear-gradient(180deg, #e9fbff 0%, #fffdf7 100%);
}

.hero-wynn {
  background:
    radial-gradient(circle at top right, rgba(21, 128, 61, 0.18), transparent 34%),
    linear-gradient(180deg, #eefdf3 0%, #fffff7 100%);
}

.hero-schedules {
  background:
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.18), transparent 34%),
    linear-gradient(180deg, #edf3ff 0%, #f8fbff 100%);
}

.learn-games-box {
  margin: 2rem 0;
  padding: 1.35rem;
  border: 1px solid rgba(20, 83, 45, 0.22);
  border-radius: 18px;
  background:
    radial-gradient(circle at top left, rgba(20, 83, 45, 0.12), transparent 34%),
    linear-gradient(135deg, #f0fdf4 0%, #fff7ed 100%);
  box-shadow: 0 10px 26px rgba(31, 41, 51, 0.06);
}

.learn-games-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.25rem;
  align-items: center;
}

.learn-games-eyebrow {
  margin: 0 0 0.35rem;
  color: #14532d;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.learn-games-box h2 {
  margin: 0 0 0.45rem;
  color: #132019;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  line-height: 1.15;
}

.learn-games-box p {
  margin: 0;
  color: #374151;
}

.learn-games-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: flex-end;
}

.learn-games-button,
.learn-games-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
}

.learn-games-button {
  border: 1px solid #14532d;
  background: #14532d;
  color: #fff;
}

.learn-games-button:hover,
.learn-games-button:focus {
  background: #0f3f24;
  color: #fff;
}

.learn-games-link {
  border: 1px solid #14532d;
  background: #fff;
  color: #0f3f24;
}

.learn-games-link:hover,
.learn-games-link:focus {
  background: #e8f5ec;
  color: #0f3f24;
}

@media (max-width: 760px) {
  .learn-games-inner {
    grid-template-columns: 1fr;
  }

  .learn-games-actions {
    justify-content: flex-start;
  }
}

.page-wrap {
  padding: 28px 20px 24px;
}

.quick-nav {
  background: var(--surface);
  border: 1px solid var(--tan-border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}

.quick-nav h2 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  color: var(--heading);
}

.quick-nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.quick-nav-links a {
  display: inline-block;
  background: var(--surface-alt);
  border: 1px solid var(--tan-border);
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 700;
  text-decoration: none;
}

.section-card {
  background: var(--surface-alt);
  border: 1px solid var(--tan-border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}

.section-card h2 {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.2;
  color: var(--heading);
}

.section-card h3 {
  margin: 22px 0 10px;
  font-size: 1.15rem;
  color: var(--heading);
}

.lede,
.section-card p,
.section-card li {
  font-size: 1rem;
}

.muted {
  color: var(--muted);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--tan-border);
  border-radius: 14px;
  background: #fff;
  margin-top: 14px;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

th,
td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid #e5e7eb;
  vertical-align: top;
}

th {
  background: var(--tan-header);
  color: var(--heading);
  font-size: 0.95rem;
  font-weight: 700;
  position: sticky;
  top: 0;
  z-index: 2;
  border-bottom: 1px solid var(--tan-border);
}

tr:nth-child(even) td {
  background: var(--tan-soft);
}

tbody tr:hover td,
tbody tr:focus-within td {
  background: var(--tan-hover);
}

.date-cell {
  white-space: nowrap;
  font-weight: 700;
}

td:nth-child(2),
td:nth-child(4) {
  color: #4b5563;
}

.buyin-cell {
  white-space: nowrap;
}

.venue-badge {
  display: inline-block;
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.2;
  background: #e5e7eb;
  color: #111827;
  white-space: nowrap;
}

.venue-wsop {
  background: #dbeafe;
  color: #1e3a8a;
}

.venue-orleans {
  background: #fef3c7;
  color: #92400e;
}

.venue-aria {
  background: #ede9fe;
  color: #5b21b6;
}

.venue-wynn {
  background: #dcfce7;
  color: #166534;
}

.venue-golden-nugget {
  background: #fde68a;
  color: #78350f;
}

.venue-mgm {
  background: #fee2e2;
  color: #991b1b;
}

.venue-venetian {
  background: #e0f2fe;
  color: #075985;
}

.venue-south-point {
  background: #f3e8ff;
  color: #6b21a8;
}

td:nth-child(3) {
  font-weight: 700;
}

.callout-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.callout {
  background: #e5e7eb;
  border: 1px solid #d1d5db;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.callout h3 {
  margin-top: 0;
}

.hotel-list,
.notes-list {
  margin: 10px 0 0;
  padding-left: 18px;
}

.cta-box {
  background: linear-gradient(180deg, #f5efe6 0%, #e6d8bd 100%);
  border: 1px solid var(--tan-border);
  border-radius: 18px;
  padding: 22px;
}

.cta-box p:last-child {
  margin-bottom: 0;
}

/* Footer */

.site-footer {
  margin-top: 16px;
  background: linear-gradient(180deg, #111827 0%, #0f172a 100%);
  border-top: 4px solid #2563eb;
  color: #cbd5e1;
  padding: 44px 20px 0;
  font-size: 0.95rem;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(240px, 0.95fr) minmax(360px, 1.45fr);
  gap: 42px;
  align-items: start;
}

.footer-brand {
  max-width: 440px;
}

.footer-brand h2 {
  color: #ffffff;
  font-size: 1.25rem;
  margin: 0 0 8px;
}

.footer-logo {
  height: 72px;
  width: auto;
  opacity: 0.96;
  display: block;
  margin-bottom: 14px;
}

.footer-brand p,
.footer-link-group p {
  margin: 0;
  color: #cbd5e1;
  line-height: 1.7;
}

.footer-links {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(220px, 1fr);
  gap: 34px;
  width: 100%;
  max-width: none;
  margin-top: 0;
}

.footer-link-group h2 {
  margin: 0 0 12px;
  font-size: 1rem;
  color: #ffffff;
  letter-spacing: 0.01em;
}

.footer-link-group:first-child {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  column-gap: 18px;
  row-gap: 8px;
}

.footer-link-group:first-child h2 {
  grid-column: 1 / -1;
}

.footer-link-group a {
  display: inline-block;
  color: #dbeafe;
  margin: 0;
  text-decoration: none;
  font-weight: 650;
  line-height: 1.35;
  transition: color 0.15s ease, transform 0.15s ease;
}

.footer-link-group a:hover,
.footer-link-group a:focus {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
  transform: translateX(2px);
}

.footer-bottom {
  max-width: var(--max);
  margin: 38px auto 0;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-bottom p {
  margin: 0;
  color: #94a3b8;
  font-size: 0.9rem;
  text-align: center;
}

/* Contact page */

.hero-contact {
  background:
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.18), transparent 34%),
    linear-gradient(180deg, #eef4ff 0%, #f8fbff 100%);
}

.contact-form-wrap {
  max-width: 760px;
  margin-top: 18px;
}

.contact-form {
  display: grid;
  gap: 12px;
}

.contact-form label {
  font-weight: 800;
  color: var(--heading);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  font: inherit;
  color: var(--text);
  background: #ffffff;
  border: 1px solid var(--tan-border);
  border-radius: 12px;
  padding: 11px 12px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(37, 99, 235, 0.22);
  border-color: var(--accent);
}

.contact-form textarea {
  resize: vertical;
  min-height: 150px;
}

.checkbox-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 650;
  margin: 4px 0;
}

.checkbox-line input {
  width: auto;
  margin-top: 6px;
}

.contact-form button {
  justify-self: start;
  background: var(--accent-dark);
  color: #ffffff;
  border: 1px solid var(--accent-dark);
  border-radius: 999px;
  padding: 11px 18px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.contact-form button:hover,
.contact-form button:focus {
  background: var(--accent);
  transform: translateY(-1px);
}

.form-note {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 4px 0 0;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

@media (max-width: 980px) {
  .hero-inner,
  .callout-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 42px;
  }

  .hero-card {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .table-wrap {
    overflow-x: visible;
    border: none;
    background: transparent;
  }

  table {
    min-width: 0;
    width: 100%;
  }

  thead {
    display: none;
  }

  tbody,
  tr,
  td {
    display: block;
    width: 100%;
  }

  tr {
    margin-bottom: 14px;
    border: 1px solid #d7deea;
    border-radius: 14px;
    background: #f8fbff;
    overflow: hidden;
    box-shadow: var(--shadow);
  }

  tr:nth-child(even) td {
    background: transparent;
  }

  tbody tr:hover td,
  tbody tr:focus-within td {
    background: transparent;
  }

  td {
    border-bottom: 1px solid #e5e7eb;
    padding: 10px 14px;
    text-align: left;
  }

  td:last-child {
    border-bottom: none;
  }

  td::before {
    content: attr(data-label);
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: #4b5563;
    margin-bottom: 4px;
  }

  .date-cell,
  .buyin-cell,
  td:nth-child(3),
  td:nth-child(2),
  td:nth-child(4) {
    color: var(--text);
    font-weight: 400;
    white-space: normal;
  }

  td:nth-child(3) {
    font-weight: 700;
  }
  
    #all-events tbody tr {
    border-left: 8px solid #d7deea;
  }

  #all-events tbody tr:has(.venue-wsop) {
    border-left-color: #1e3a8a;
    background: linear-gradient(90deg, rgba(219, 234, 254, 0.8) 0%, #f8fbff 34%);
  }

  #all-events tbody tr:has(.venue-orleans) {
    border-left-color: #92400e;
    background: linear-gradient(90deg, rgba(254, 243, 199, 0.9) 0%, #f8fbff 34%);
  }

  #all-events tbody tr:has(.venue-aria) {
    border-left-color: #5b21b6;
    background: linear-gradient(90deg, rgba(237, 233, 254, 0.9) 0%, #f8fbff 34%);
  }

  #all-events tbody tr:has(.venue-wynn) {
    border-left-color: #166534;
    background: linear-gradient(90deg, rgba(220, 252, 231, 0.9) 0%, #f8fbff 34%);
  }

  #all-events tbody tr:has(.venue-golden-nugget) {
    border-left-color: #78350f;
    background: linear-gradient(90deg, rgba(253, 230, 138, 0.9) 0%, #f8fbff 34%);
  }

  #all-events tbody tr:has(.venue-mgm) {
    border-left-color: #991b1b;
    background: linear-gradient(90deg, rgba(254, 226, 226, 0.9) 0%, #f8fbff 34%);
  }

  #all-events tbody tr:has(.venue-venetian) {
    border-left-color: #075985;
    background: linear-gradient(90deg, rgba(224, 242, 254, 0.9) 0%, #f8fbff 34%);
  }

  #all-events tbody tr:has(.venue-south-point) {
    border-left-color: #6b21a8;
    background: linear-gradient(90deg, rgba(243, 232, 255, 0.9) 0%, #f8fbff 34%);
  }

  .footer-inner,
  .footer-links {
    grid-template-columns: 1fr;
  }

  .footer-link-group:first-child {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 16px;
  }

  .hero,
  .page-wrap,
  .site-footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .section-card,
  .quick-nav,
  .hero-card {
    padding: 18px;
  }

  .quick-nav-links {
    gap: 8px;
  }

  .site-header-inner {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }

  .brand {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .top-nav {
    width: 100%;
    justify-content: center;
    gap: 8px;
  }

  .top-nav a {
    font-size: 0.88rem;
    padding: 6px 9px;
  }

  .footer-link-group:first-child {
    grid-template-columns: 1fr;
  }

  .footer-logo {
    height: 64px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .top-nav a,
  .footer-link-group a {
    transition: none;
  }

  .top-nav a:hover,
  .top-nav a:focus,
  .footer-link-group a:hover,
  .footer-link-group a:focus {
    transform: none;
  }
}