/**
 * WrestleTix Main Stylesheet
 * High-performance, modern sports analytics SaaS design system.
 */

:root {
  --wtx-bg-primary: #FFFFFF;
  --wtx-bg-secondary: #F8FAFC;
  --wtx-bg-card: #FFFFFF;
  --wtx-text-primary: #0F172A;
  --wtx-text-secondary: #64748B;
  --wtx-text-muted: #94A3B8;
  --wtx-brand-red: #E34B4B;
  --wtx-brand-red-hover: #C53030;
  --wtx-brand-red-light: #FEE2E2;
  --wtx-brand-blue: #315EAB;
  --wtx-brand-blue-hover: #234788;
  --wtx-success: #15966B;
  --wtx-success-bg: #ECFDF5;
  --wtx-warning: #D99528;
  --wtx-warning-bg: #FEF3C7;
  --wtx-border: #E2E8F0;
  --wtx-border-hover: #CBD5E1;
  --wtx-radius-sm: 6px;
  --wtx-radius-md: 10px;
  --wtx-radius-lg: 14px;
  --wtx-radius-xl: 18px;
  --wtx-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --wtx-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.06), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --wtx-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.07), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  --wtx-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --wtx-container: 1320px;
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Global Link & Typography Reset */
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease, opacity 0.15s ease;
}

a:hover {
  color: var(--wtx-brand-red);
}

.wtx-event-link,
.wtx-promo-card,
.wtx-promo-card-name,
.wtx-art-title a,
.wtx-quick-tool-card,
.wtx-footer-nav-list a,
.wtx-view-all-link,
.wtx-nav-link,
.wtx-btn-white {
  text-decoration: none !important;
}

.wtx-event-link {
  color: var(--wtx-text-primary) !important;
}

.wtx-event-link:hover {
  color: var(--wtx-brand-red) !important;
}

.wtx-footer-nav-list a {
  color: var(--wtx-text-secondary) !important;
}

.wtx-footer-nav-list a:hover {
  color: var(--wtx-brand-red) !important;
}

.wtx-art-title a {
  color: var(--wtx-text-primary) !important;
}

.wtx-art-title a:hover {
  color: var(--wtx-brand-red) !important;
}

.wtx-prose a,
.entry-content a,
.wtx-article-content a {
  color: var(--wtx-brand-red);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Accessibility & Screen Reader */
.screen-reader-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link:focus {
  position: fixed !important;
  top: 12px !important;
  left: 12px !important;
  width: auto !important;
  height: auto !important;
  clip: auto !important;
  padding: 10px 18px !important;
  background: var(--wtx-brand-red) !important;
  color: #FFFFFF !important;
  z-index: 999999 !important;
  border-radius: 6px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2) !important;
}

/* Breadcrumbs Global Reset & Layout */
.wtx-breadcrumbs {
  margin-bottom: 20px;
}
.wtx-breadcrumbs ol {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  font-size: 13.5px !important;
  color: var(--wtx-text-secondary) !important;
}
.wtx-breadcrumbs li {
  display: inline-flex !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
.wtx-breadcrumbs li::before,
.wtx-breadcrumbs li::marker {
  display: none !important;
  content: "" !important;
}
.wtx-breadcrumbs a {
  color: var(--wtx-text-secondary) !important;
  text-decoration: none !important;
  transition: color 0.15s ease !important;
}
.wtx-breadcrumbs a:hover {
  color: var(--wtx-brand-red) !important;
}
.wtx-crumb-sep {
  color: var(--wtx-text-muted) !important;
  font-size: 12px !important;
  user-select: none !important;
  margin: 0 2px !important;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  font-family: var(--wtx-font);
  color: var(--wtx-text-primary);
  background-color: var(--wtx-bg-secondary);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Layout Containers & Grid Overflow Safety */
.wtx-container {
  width: 100%;
  max-width: var(--wtx-container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  box-sizing: border-box;
}

.wtx-main-grid,
.wtx-hero-grid,
.wtx-quick-tools-grid,
.wtx-promotions-grid,
.wtx-articles-grid,
.wtx-event-hero-grid,
.wtx-calc-grid,
.wtx-footer-grid {
  min-width: 0;
  max-width: 100%;
}

.wtx-main-grid > *,
.wtx-hero-grid > *,
.wtx-quick-tools-grid > *,
.wtx-promotions-grid > *,
.wtx-articles-grid > *,
.wtx-event-hero-grid > *,
.wtx-calc-grid > *,
.wtx-footer-grid > * {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

/* Typography & Prose System */
h1, h2, h3, h4, h5, h6 {
  color: var(--wtx-text-primary);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.015em;
  margin-top: 0;
  margin-bottom: 0.6em;
}

h1 { font-size: clamp(26px, 3.5vw, 36px); letter-spacing: -0.025em; }
h2 { font-size: clamp(20px, 2.5vw, 26px); }
h3 { font-size: clamp(17px, 2vw, 20px); }
h4 { font-size: 16px; }

p {
  color: var(--wtx-text-secondary);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

p:last-child {
  margin-bottom: 0;
}

ul, ol {
  color: var(--wtx-text-secondary);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

/* Article Prose Formatting */
.wtx-article-content,
.wtx-prose {
  line-height: 1.8;
  font-size: 16px;
  color: #334155;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Card Root Spacing Engine */
.wtx-card p {
  margin-bottom: 1.35rem;
  line-height: 1.8;
}

.wtx-card p:last-child {
  margin-bottom: 0;
}

.wtx-card h2 {
  margin-top: 1.75rem;
  margin-bottom: 0.85rem;
}

.wtx-card h2:first-child {
  margin-top: 0;
}

.wtx-card h3 {
  margin-top: 1.4rem;
  margin-bottom: 0.65rem;
}

.wtx-card h3:first-child {
  margin-top: 0;
}

.wtx-card ul,
.wtx-card ol {
  margin-bottom: 1.35rem;
  padding-left: 1.6rem;
}

.wtx-card li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

.wtx-article-content h2,
.wtx-prose h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--wtx-text-primary);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--wtx-border-subtle);
}

.wtx-article-content h3,
.wtx-prose h3 {
  font-size: 19px;
  font-weight: 800;
  color: var(--wtx-text-primary);
  margin-top: 1.5rem;
  margin-bottom: 0.6rem;
}

.wtx-article-content p,
.wtx-prose p {
  margin-bottom: 1.25rem;
  font-size: 16px;
}

.wtx-article-content ul,
.wtx-article-content ol,
.wtx-prose ul,
.wtx-prose ol {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.wtx-article-content li,
.wtx-prose li {
  margin-bottom: 0.5rem;
}

.wtx-article-content blockquote,
.wtx-prose blockquote {
  border-left: 4px solid var(--wtx-brand-red);
  background: var(--wtx-bg-secondary);
  padding: 16px 22px;
  border-radius: 0 8px 8px 0;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--wtx-text-primary);
}

code, pre {
  word-break: break-word;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
  max-width: 100%;
}

.wtx-article-content code,
.wtx-prose code {
  background: var(--wtx-bg-secondary);
  border: 1px solid var(--wtx-border);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  color: var(--wtx-brand-red);
}

/* Responsive Table Wrapper */
.wtx-table-container {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.5rem 0;
  border: 1px solid var(--wtx-border);
  border-radius: 8px;
  background: var(--wtx-card-bg);
}

.wtx-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}

.wtx-table th {
  background-color: var(--wtx-bg-secondary);
  color: var(--wtx-text-primary);
  font-weight: 700;
  padding: 12px 14px;
  border-bottom: 2px solid var(--wtx-border);
  white-space: nowrap;
}

.wtx-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--wtx-border);
  color: var(--wtx-text-secondary);
}

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

.wtx-table tr:hover td {
  background-color: rgba(0, 0, 0, 0.015);
}

/* Callouts & Formulations */
.wtx-formula-callout {
  background: var(--wtx-bg-secondary);
  border-left: 4px solid var(--wtx-brand-red);
  padding: 16px 20px;
  border-radius: 0 8px 8px 0;
  margin: 1.5rem 0;
  font-size: 14.5px;
}

.wtx-methodology-card {
  background: #FFFFFF;
  border: 1px solid var(--wtx-border);
  border-radius: var(--wtx-radius-lg);
  padding: 28px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  box-sizing: border-box;
  max-width: 100%;
}

@media (max-width: 600px) {
  .wtx-methodology-card {
    flex-direction: column;
    padding: 18px 16px;
    gap: 14px;
  }
}

/* Header & Navigation */
.wtx-site-header {
  background-color: var(--wtx-bg-primary);
  border-bottom: 1px solid var(--wtx-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow 0.2s ease;
}

.wtx-site-header.is-scrolled {
  box-shadow: var(--wtx-shadow-sm);
}

.wtx-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 20px;
}

.wtx-brand-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.wtx-logo-svg {
  height: 38px;
  width: auto;
  display: block;
}

/* Nav Menu */
.wtx-main-nav {
  display: flex;
  align-items: center;
}

.wtx-nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 22px;
}

.wtx-nav-item {
  position: relative;
}

.wtx-nav-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--wtx-text-secondary);
  padding: 8px 4px;
  display: flex;
  align-items: center;
  gap: 4px;
  position: relative;
  transition: color 0.15s ease;
}

.wtx-nav-link:hover,
.wtx-nav-item.current-menu-item .wtx-nav-link,
.wtx-nav-item.active .wtx-nav-link {
  color: var(--wtx-brand-red);
}

.wtx-nav-item.active .wtx-nav-link::after {
  content: '';
  position: absolute;
  bottom: -16px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--wtx-brand-red);
  border-radius: 2px;
}

/* Nav Dropdown */
.wtx-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--wtx-bg-primary);
  border: 1px solid var(--wtx-border);
  border-radius: var(--wtx-radius-md);
  box-shadow: var(--wtx-shadow-lg);
  min-width: 250px;
  padding: 8px 0;
  display: none;
  z-index: 1010;
}

.wtx-nav-item:hover .wtx-dropdown-menu {
  display: block;
}

.wtx-dropdown-item a {
  display: block;
  padding: 10px 18px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--wtx-text-primary);
}

.wtx-dropdown-item a:hover {
  background-color: var(--wtx-bg-secondary);
  color: var(--wtx-brand-red);
}

/* Header Right Actions */
.wtx-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wtx-search-bar {
  position: relative;
  width: 240px;
}

.wtx-search-input {
  width: 100%;
  height: 38px;
  background-color: var(--wtx-bg-secondary);
  border: 1px solid var(--wtx-border);
  border-radius: 20px;
  padding: 0 16px 0 36px;
  font-size: 13px;
  color: var(--wtx-text-primary);
  outline: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.wtx-search-input:focus {
  border-color: var(--wtx-brand-red);
  background-color: var(--wtx-bg-primary);
}

.wtx-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--wtx-text-muted);
  pointer-events: none;
  display: flex;
}

.wtx-theme-toggle {
  background: none;
  border: none;
  color: var(--wtx-text-secondary);
  cursor: pointer;
  padding: 6px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wtx-theme-toggle:hover {
  background-color: var(--wtx-bg-secondary);
  color: var(--wtx-text-primary);
}

.wtx-btn-signin {
  height: 38px;
  padding: 0 18px;
  background-color: var(--wtx-brand-red);
  color: #FFFFFF;
  border: none;
  border-radius: 6px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  transition: background-color 0.15s ease;
}

.wtx-btn-signin:hover {
  background-color: var(--wtx-brand-red-hover);
  color: #FFFFFF;
}

/* Mobile Toggle & Drawer */
.wtx-mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--wtx-text-primary);
  cursor: pointer;
  padding: 8px;
}

.wtx-mobile-drawer {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  width: 100%;
  height: calc(100vh - 68px);
  background-color: #FFFFFF;
  z-index: 999;
  overflow-y: auto;
  border-bottom: 1px solid var(--wtx-border);
  box-shadow: var(--wtx-shadow-lg);
  padding: 20px;
}

.wtx-mobile-drawer.is-open {
  display: block;
}

.wtx-mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wtx-mobile-nav-list li a {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--wtx-text-primary);
  padding: 10px 14px;
  border-radius: 8px;
}

.wtx-mobile-nav-list li a:hover {
  background-color: var(--wtx-bg-secondary);
  color: var(--wtx-brand-red);
}

/* Hero Section */
.wtx-hero-section {
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
  padding: 36px 0 24px;
  border-bottom: 1px solid var(--wtx-border);
}

.wtx-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 36px;
}

.wtx-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #FEF2F2;
  color: #DC2626;
  border: 1px solid #FEE2E2;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  margin-bottom: 16px;
}

.wtx-hero-title {
  font-size: 44px;
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.12;
  margin-bottom: 16px;
}

.wtx-hero-title .text-highlight {
  color: var(--wtx-brand-red);
  display: block;
}

.wtx-hero-subtitle {
  font-size: 16px;
  line-height: 1.6;
  color: var(--wtx-text-secondary);
  margin-bottom: 24px;
  max-width: 580px;
}

.wtx-hero-ctas {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.wtx-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--wtx-brand-red);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 14.5px;
  padding: 11px 22px;
  border-radius: var(--wtx-radius-sm);
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.15s ease, transform 0.1s ease;
}

.wtx-btn-primary:hover {
  background-color: var(--wtx-brand-red-hover);
  color: #FFFFFF;
  transform: translateY(-1px);
}

.wtx-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #FFFFFF;
  color: var(--wtx-text-primary);
  font-weight: 600;
  font-size: 14.5px;
  padding: 11px 20px;
  border-radius: var(--wtx-radius-sm);
  border: 1px solid var(--wtx-border);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.wtx-btn-secondary:hover {
  border-color: var(--wtx-brand-red);
  color: var(--wtx-brand-red);
  background-color: #FFFFFF;
}

/* Stat Counters Row */
.wtx-hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--wtx-border);
}

.wtx-stat-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.wtx-stat-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background-color: #FEE2E2;
  color: var(--wtx-brand-red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wtx-stat-val {
  font-size: 18px;
  font-weight: 800;
  color: var(--wtx-text-primary);
  line-height: 1.1;
}

.wtx-stat-lbl {
  font-size: 12px;
  color: var(--wtx-text-secondary);
  font-weight: 500;
}

/* Hero Right Media */
.wtx-hero-visual {
  position: relative;
  display: flex;
  justify-content: flex-end;
}

.wtx-hero-banner-img {
  width: 100%;
  max-width: 530px;
  height: auto;
  border-radius: var(--wtx-radius-lg);
  box-shadow: 0 15px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--wtx-border);
  object-fit: cover;
}

/* Quick Tool Strip (4 cards) */
.wtx-quick-tools-section {
  padding: 20px 0;
}

.wtx-quick-tools-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.wtx-quick-tool-card {
  background: var(--wtx-bg-primary);
  border: 1px solid var(--wtx-border);
  border-radius: var(--wtx-radius-md);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.wtx-quick-tool-card:hover {
  transform: translateY(-2px);
  border-color: var(--wtx-border-hover);
  box-shadow: var(--wtx-shadow-md);
}

.wtx-qt-icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-red { background: #FEF2F2; color: #DC2626; }
.icon-blue { background: #EFF6FF; color: #2563EB; }
.icon-green { background: #ECFDF5; color: #059669; }
.icon-purple { background: #FAF5FF; color: #7C3AED; }

.wtx-qt-info {
  flex: 1;
  min-width: 0;
}

.wtx-qt-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--wtx-text-primary);
  margin-bottom: 2px;
}

.wtx-qt-desc {
  font-size: 12px;
  color: var(--wtx-text-secondary);
  line-height: 1.3;
  margin-bottom: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wtx-qt-arrow {
  color: var(--wtx-text-muted);
  flex-shrink: 0;
}

/* Main Content Grid (Homepage) */
.wtx-main-content-section {
  padding: 16px 0 36px;
}

.wtx-main-grid {
  display: grid;
  grid-template-columns: 1.6fr 0.9fr;
  gap: 24px;
  align-items: start;
}

/* Card Container */
.wtx-card {
  background: var(--wtx-bg-primary);
  border: 1px solid var(--wtx-border);
  border-radius: var(--wtx-radius-lg);
  box-shadow: var(--wtx-shadow-sm);
  overflow: hidden;
}

.wtx-card-header {
  padding: 18px 20px;
  border-bottom: 1px solid var(--wtx-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.wtx-card-title-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.wtx-card-title-group h2 {
  font-size: 18px;
  font-weight: 700;
}

.wtx-filter-pills {
  display: flex;
  align-items: center;
  gap: 6px;
}

.wtx-filter-btn {
  background: transparent;
  border: 1px solid var(--wtx-border);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--wtx-text-secondary);
  cursor: pointer;
  transition: all 0.15s ease;
}

.wtx-filter-btn:hover {
  background-color: var(--wtx-bg-secondary);
}

.wtx-filter-btn.active {
  background-color: var(--wtx-brand-red);
  color: #FFFFFF;
  border-color: var(--wtx-brand-red);
}

.wtx-view-all-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--wtx-brand-red);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.wtx-view-all-link:hover {
  text-decoration: underline;
}

/* Tables */
.wtx-table-responsive {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  display: block;
  box-sizing: border-box;
  min-width: 0 !important;
}

.wtx-data-table {
  width: 100%;
  min-width: 650px;
  border-collapse: collapse;
  text-align: left;
  font-size: 13px;
}

.wtx-data-table th {
  background-color: #F8FAFC;
  color: var(--wtx-text-secondary);
  font-weight: 600;
  padding: 12px 16px;
  border-bottom: 1px solid var(--wtx-border);
  white-space: nowrap;
}

.wtx-data-table td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--wtx-border);
  vertical-align: middle;
}

.wtx-data-table td:nth-child(2) {
  white-space: nowrap;
}

.wtx-data-table td:nth-child(4),
.wtx-data-table td:nth-child(5),
.wtx-data-table td:nth-child(6),
.wtx-data-table td:nth-child(7) {
  white-space: nowrap;
}

.wtx-data-table tbody tr:hover {
  background-color: #FAFAFA;
}

.wtx-event-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wtx-event-badge-img {
  width: 44px;
  height: 24px;
  border-radius: 4px;
  object-fit: contain;
  flex-shrink: 0;
  border: 1px solid var(--wtx-border);
}

.wtx-event-link {
  font-weight: 700;
  color: var(--wtx-text-primary);
}

.wtx-event-link:hover {
  color: var(--wtx-brand-red);
}

.wtx-promo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  flex-shrink: 0;
}

.promo-wwe { background-color: #000000; color: #FFFFFF; }
.promo-aew { background-color: #18181B; color: #D4AF37; border: 1px solid #D4AF37; }
.promo-tna { background-color: #881337; color: #FFFFFF; }
.promo-other { background-color: #334155; color: #FFFFFF; }

.wtx-fill-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}

.fill-high { background-color: #ECFDF5; color: #047857; }
.fill-mid { background-color: #EFF6FF; color: #1D4ED8; }
.fill-low { background-color: #FEF3C7; color: #B45309; }

/* Right Column Widgets */
.wtx-widgets-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.wtx-widget-card {
  background: var(--wtx-bg-primary);
  border: 1px solid var(--wtx-border);
  border-radius: var(--wtx-radius-lg);
  padding: 22px;
  box-shadow: var(--wtx-shadow-sm);
}

.wtx-widget-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
}

.wtx-donut-widget-inner {
  display: flex;
  align-items: center;
  gap: 18px;
}

.wtx-donut-canvas-wrap {
  width: 125px;
  height: 125px;
  position: relative;
  flex-shrink: 0;
}

.wtx-donut-canvas-wrap canvas,
#wtx-homepage-donut {
  width: 125px !important;
  height: 125px !important;
  display: block;
}

.wtx-donut-center-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  pointer-events: none;
  width: 78px;
}

.wtx-donut-center-val {
  font-size: 19px;
  font-weight: 900;
  color: var(--wtx-text-primary);
  line-height: 1;
}

.wtx-donut-center-lbl {
  font-size: 10px;
  font-weight: 700;
  color: var(--wtx-text-secondary);
  text-transform: uppercase;
  margin-top: 3px;
  letter-spacing: 0.3px;
}

.wtx-donut-legend {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wtx-legend-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  white-space: nowrap;
  gap: 8px;
}

.wtx-legend-label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--wtx-text-secondary);
  font-size: 12.5px;
}

.wtx-legend-row strong {
  font-size: 13px;
  font-weight: 800;
  color: var(--wtx-text-primary);
}

.wtx-legend-color {
  width: 10px;
  height: 10px;
  border-radius: 2px;
}

.bg-red { background-color: var(--wtx-brand-red); }
.bg-gray { background-color: #CBD5E1; }
.bg-outline { border: 1px solid #94A3B8; background: #FFFFFF; }

.wtx-gate-big-number {
  font-size: 34px;
  font-weight: 900;
  color: var(--wtx-text-primary);
  line-height: 1;
  margin-bottom: 4px;
}

.wtx-gate-subtext {
  font-size: 12.5px;
  color: var(--wtx-text-secondary);
  font-weight: 600;
  margin-bottom: 16px;
}

.wtx-gate-details-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--wtx-border);
  font-size: 12.5px;
}

.wtx-gate-detail-row {
  display: flex;
  justify-content: space-between;
  color: var(--wtx-text-secondary);
}

.wtx-gate-detail-row strong {
  color: var(--wtx-text-primary);
}

/* Compare Banner */
.wtx-compare-banner-section {
  padding: 16px 0 32px;
}

.wtx-compare-banner {
  background: linear-gradient(90deg, #0F172A 0%, #1E293B 100%);
  border-radius: var(--wtx-radius-lg);
  padding: 30px 40px;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  position: relative;
  overflow: hidden;
}

.wtx-cb-content {
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
  z-index: 2;
}

.wtx-cb-icon {
  width: 48px;
  height: 48px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  flex-shrink: 0;
}

.wtx-cb-title {
  font-size: 20px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.wtx-cb-desc {
  font-size: 13.5px;
  color: #CBD5E1;
  margin-bottom: 0;
}

.wtx-btn-white {
  background: #FFFFFF;
  color: #0F172A;
  font-weight: 700;
  font-size: 13.5px;
  padding: 11px 22px;
  border-radius: 6px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
  position: relative;
  z-index: 2;
}

.wtx-btn-white:hover {
  background-color: #F1F5F9;
  color: var(--wtx-brand-red);
}

/* Browse by Promotion */
.wtx-promotions-section {
  padding: 20px 0;
}

.wtx-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.wtx-section-title {
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
}

.wtx-promotions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.wtx-promo-card {
  background: var(--wtx-bg-primary);
  border: 1px solid var(--wtx-border);
  border-radius: var(--wtx-radius-md);
  padding: 24px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.15s ease;
  min-width: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

.wtx-promo-card:hover {
  transform: translateY(-2px);
  border-color: var(--wtx-brand-red);
  box-shadow: var(--wtx-shadow-md);
}

.promo-card-wwe {
  background: linear-gradient(180deg, #18181B 0%, #09090B 100%);
  color: #FFFFFF;
  border-color: #27272A;
}

.promo-card-wwe .wtx-promo-card-count {
  color: #A1A1AA;
}

.wtx-promo-card-name {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.5px;
  word-break: break-word !important;
  white-space: normal !important;
  line-height: 1.2 !important;
}

.wtx-promo-card-count {
  font-size: 13px;
  color: var(--wtx-text-secondary);
  font-weight: 600;
}

/* Latest Articles Grid */
.wtx-articles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.wtx-article-card {
  background: var(--wtx-bg-primary);
  border: 1px solid var(--wtx-border);
  border-radius: var(--wtx-radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.15s ease;
}

.wtx-article-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--wtx-shadow-md);
  border-color: var(--wtx-border-hover);
}

.wtx-art-thumb-wrap {
  width: 100%;
  height: 180px;
  background-color: #0F172A;
  overflow: hidden;
  position: relative;
}

.wtx-art-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease;
  display: block;
}

.wtx-article-card:hover .wtx-art-thumb {
  transform: scale(1.03);
}

.wtx-art-body {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.wtx-art-cat {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--wtx-brand-red);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.wtx-art-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 8px;
}

.wtx-art-title a:hover {
  color: var(--wtx-brand-red);
}

.wtx-art-excerpt {
  font-size: 13px;
  color: var(--wtx-text-secondary);
  line-height: 1.5;
  margin-bottom: 14px;
  flex: 1;
}

.wtx-art-meta {
  font-size: 12px;
  color: var(--wtx-text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Footer */
.wtx-site-footer {
  background-color: #FFFFFF;
  border-top: 1px solid var(--wtx-border);
  margin-top: auto;
  padding: 50px 0 24px;
}

.wtx-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.wtx-footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--wtx-text-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.wtx-footer-col p {
  font-size: 13px;
  line-height: 1.6;
}

.wtx-footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wtx-footer-nav-list a {
  font-size: 13.5px;
  color: var(--wtx-text-secondary);
  font-weight: 500;
}

.wtx-footer-nav-list a:hover {
  color: var(--wtx-brand-red);
}

.wtx-footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--wtx-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12.5px;
  color: var(--wtx-text-muted);
}

/* Utility Helpers */
.text-red { color: var(--wtx-brand-red) !important; }
.text-green { color: var(--wtx-success) !important; }
.text-blue { color: var(--wtx-brand-blue) !important; }
.font-bold { font-weight: 700 !important; }
.font-semibold { font-weight: 600 !important; }
.text-center { text-align: center !important; }

/* Responsive Media Queries */
@media (max-width: 1200px) {
  .wtx-articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  .wtx-hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .wtx-hero-visual {
    justify-content: center;
  }
  .wtx-quick-tools-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .wtx-main-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .wtx-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Single Event Hero, Gate Box & Tabs */
.wtx-event-hero {
  background: var(--wtx-bg-primary);
  border-bottom: 1px solid var(--wtx-border);
  padding: 24px 0 32px;
}

.wtx-event-title-wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.wtx-event-main-title {
  font-size: clamp(22px, 3.5vw, 34px);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  word-break: break-word;
}

.wtx-event-meta-line {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: var(--wtx-text-secondary);
}

.wtx-event-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.wtx-velocity-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--wtx-brand-blue);
  white-space: nowrap;
}

.wtx-event-metric-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 16px;
}

.wtx-ev-metric-card {
  background: var(--wtx-bg-primary);
  border: 1px solid var(--wtx-border);
  border-radius: var(--wtx-radius-md);
  padding: 16px;
  box-shadow: var(--wtx-shadow-xs);
  min-width: 0;
}

.wtx-ev-metric-lbl {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--wtx-text-muted);
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wtx-ev-metric-val {
  font-size: 24px;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 4px;
}

.wtx-ev-metric-sub {
  font-size: 11.5px;
  color: var(--wtx-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wtx-event-gate-box {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  background: var(--wtx-bg-primary);
  border: 1px solid var(--wtx-border);
  border-radius: var(--wtx-radius-md);
  padding: 20px 24px;
  box-shadow: var(--wtx-shadow-xs);
}

.wtx-gate-projection-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.wtx-gate-big-number {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 900;
  color: var(--wtx-brand-red);
  line-height: 1.1;
  margin: 4px 0;
}

.wtx-gate-assumptions-side {
  border-left: 1px solid var(--wtx-border);
  padding-left: 20px;
}

.wtx-gate-assumptions-side h4 {
  font-size: 13px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}

/* Tabs */
.wtx-tabs-nav {
  display: flex;
  gap: 6px;
  border-bottom: 1px solid var(--wtx-border);
  margin-bottom: 24px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.wtx-tabs-nav::-webkit-scrollbar {
  display: none;
}

.wtx-tab-btn {
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 700;
  color: var(--wtx-text-secondary);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.wtx-tab-btn:hover {
  color: var(--wtx-text-primary);
}

.wtx-tab-btn.active {
  color: var(--wtx-brand-red);
  border-bottom-color: var(--wtx-brand-red);
}

.wtx-tab-pane {
  display: none;
}

.wtx-tab-pane.active {
  display: block;
}

/* Event Single Hero Grid & Poster */
.wtx-event-hero-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  align-items: stretch;
  margin-top: 20px;
}

.wtx-event-poster-card {
  background: radial-gradient(circle at center, #1E293B 0%, #0F172A 100%);
  border: 1px solid var(--wtx-border);
  border-radius: var(--wtx-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  min-height: 240px;
  box-shadow: var(--wtx-shadow-sm);
}

.wtx-event-poster-img {
  max-width: 100%;
  max-height: 180px;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.45));
}

.wtx-event-hero-right {
  display: flex;
  flex-direction: column;
  gap: 18px;
  justify-content: space-between;
}

@media (max-width: 992px) {
  .wtx-event-hero-grid {
    grid-template-columns: 1fr;
  }
  .wtx-event-gate-box {
    grid-template-columns: 1fr;
  }
  .wtx-gate-assumptions-side {
    border-left: none;
    border-top: 1px solid var(--wtx-border);
    padding-left: 0;
    padding-top: 18px;
    margin-top: 18px;
  }
}

@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
  }
  .wtx-container {
    padding-left: 16px;
    padding-right: 16px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .wtx-header-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px;
    height: 60px;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .wtx-brand-logo {
    display: flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
  }
  .wtx-brand-logo .wtx-logo-svg {
    width: 135px !important;
    height: 28px !important;
    display: block !important;
  }
  .wtx-header-actions {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-shrink: 0 !important;
    margin-left: auto !important;
  }
  .wtx-header-actions .wtx-search-bar {
    display: none !important;
  }
  .wtx-header-actions .wtx-theme-toggle {
    display: none !important;
  }
  .wtx-btn-signin {
    height: 32px !important;
    padding: 0 10px !important;
    font-size: 12px !important;
    display: inline-flex !important;
    align-items: center !important;
  }
  .wtx-main-nav {
    display: none;
  }
  .wtx-mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background-color: var(--wtx-bg-secondary);
    border: 1px solid var(--wtx-border);
    border-radius: 8px;
    cursor: pointer;
    flex-shrink: 0;
  }
  .wtx-mobile-drawer {
    top: 60px;
    height: calc(100vh - 60px);
    z-index: 99999;
  }
  .wtx-hero-title {
    font-size: 28px;
  }
  .wtx-hero-ctas {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 10px;
  }
  .wtx-hero-ctas .wtx-btn-primary,
  .wtx-hero-ctas .wtx-btn-secondary {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
  }
  .wtx-event-title-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .wtx-event-main-title {
    font-size: clamp(22px, 5.5vw, 30px);
    word-break: break-word;
  }
  .wtx-velocity-badge {
    white-space: normal;
    font-size: 11.5px;
    line-height: 1.4;
    padding: 6px 10px;
  }
  .wtx-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .wtx-filter-pills {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
    flex-wrap: nowrap;
  }
  .wtx-filter-btn {
    white-space: nowrap;
    flex-shrink: 0;
  }
  .wtx-view-all-link {
    align-self: flex-start;
  }
  .wtx-hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .wtx-quick-tools-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .wtx-content-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .wtx-promotions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .wtx-promo-card {
    padding: 14px 6px !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .wtx-promo-card-name {
    font-size: 15px !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    text-align: center !important;
  }
  .wtx-promo-card-count {
    font-size: 11px !important;
  }
  .wtx-articles-grid {
    grid-template-columns: 1fr;
  }
  .wtx-compare-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
  }
  .wtx-event-hero-grid {
    grid-template-columns: 1fr;
    margin-top: 16px;
  }
  .wtx-event-poster-card {
    min-height: 180px;
    padding: 16px;
  }
  .wtx-event-gate-box {
    grid-template-columns: 1fr !important;
    padding: 16px;
  }
  .wtx-gate-assumptions-side {
    border-left: none !important;
    border-top: 1px solid var(--wtx-border) !important;
    padding-left: 0 !important;
    padding-top: 16px !important;
    margin-top: 16px !important;
  }
  .wtx-event-metric-strip {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  .wtx-ev-metric-card {
    padding: 12px;
  }
  .wtx-ev-metric-val {
    font-size: 20px;
  }
  .wtx-ev-metric-lbl {
    font-size: 10.5px;
  }
  .wtx-footer-grid {
    grid-template-columns: 1fr;
  }
  .wtx-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 12px;
  }
  .wtx-footer-bottom div {
    text-align: left !important;
  }
}

@media (max-width: 600px) {
  .wtx-promotions-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .wtx-promo-card {
    padding: 20px 16px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 480px) {
  .wtx-container {
    padding-left: 14px;
    padding-right: 14px;
  }
  .wtx-hero-title {
    font-size: 24px;
  }
  .wtx-hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .wtx-stat-item {
    gap: 8px;
  }
  .wtx-stat-val {
    font-size: 16px;
  }
  .wtx-stat-lbl {
    font-size: 11px;
  }
  .wtx-event-metric-strip {
    grid-template-columns: 1fr !important;
  }
  .wtx-event-gate-box {
    grid-template-columns: 1fr !important;
    padding: 14px;
  }
  .wtx-calc-grid {
    grid-template-columns: 1fr !important;
  }
  .wtx-form-grid-2 {
    grid-template-columns: 1fr !important;
  }
  .wtx-donut-widget-inner {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  .wtx-donut-legend {
    width: 100%;
  }
}

