/* ==========================================================================
   関西バギークラブ連合 (KBCU) - Modern Motorsport Design System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700;900&family=Orbitron:wght@600;800;900&family=Outfit:wght@400;600;700;800&display=swap');

:root {
  /* Color Tokens */
  --bg-dark: #07090e;
  --bg-primary: #1a2840;
  --bg-secondary: #1f2f4a;
  --bg-card: rgba(38, 58, 96, 0.85);
  --bg-card-hover: rgba(48, 70, 110, 0.95);
  --bg-glass: rgba(13, 17, 26, 0.85);

  --accent-orange: #ff5500;
  --accent-orange-bright: #ff6e26;
  --accent-orange-glow: rgba(255, 85, 0, 0.4);
  --accent-yellow: #ffb703;
  --accent-cyan: #00e5ff;
  --accent-red: #ff3344;
  --accent-green: #00e676;

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-inverse: #07090e;

  --border-subtle: rgba(255, 255, 255, 0.22);
  --border-highlight: rgba(255, 85, 0, 0.5);
  --border-cyan: rgba(0, 229, 255, 0.4);

  /* Typography */
  --font-body: 'Noto Sans JP', 'Outfit', sans-serif;
  --font-racing: 'Orbitron', sans-serif;
  --font-heading: 'Outfit', 'Noto Sans JP', sans-serif;

  /* Elevations */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-glow-orange: 0 0 25px rgba(255, 85, 0, 0.35);
  --shadow-glow-cyan: 0 0 25px rgba(0, 229, 255, 0.25);

  /* Layout */
  --container-max: 1240px;
  --header-height: 114px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 9999px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ==========================================================================
   Light & Cool Theme Tokens ("Bright Cool Motorsports")
   ========================================================================== */
[data-theme="light"] {
  --bg-dark: #f1f5f9;
  --bg-primary: #ffffff;
  --bg-secondary: #e2e8f0;
  --bg-card: rgba(255, 255, 255, 0.88);
  --bg-card-hover: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.94);

  --accent-orange: #ea580c;
  --accent-orange-bright: #f97316;
  --accent-orange-glow: rgba(234, 88, 12, 0.25);
  --accent-yellow: #d97706;
  --accent-cyan: #0284c7;
  --accent-blue: #0369a1;
  --accent-red: #e11d48;
  --accent-green: #059669;

  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-inverse: #ffffff;

  --border-subtle: rgba(15, 23, 42, 0.1);
  --border-highlight: rgba(2, 132, 199, 0.5);
  --border-cyan: rgba(2, 132, 199, 0.35);

  --shadow-sm: 0 4px 16px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.09);
  --shadow-glow-orange: 0 0 25px rgba(234, 88, 12, 0.2);
  --shadow-glow-cyan: 0 0 25px rgba(2, 132, 199, 0.2);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* 日本語の文字単位改行・行末1〜2文字のこぼれ落ち（オアファン）を防止 */
  word-break: keep-all;
  overflow-wrap: break-word;
  line-break: strict;
  text-wrap: pretty;
}

h1,
h2,
h3,
h4,
h5,
h6,
.section-title,
.hero-title,
.card-title,
.race-heading,
.pricing-title,
.visitor-title,
.step-title,
.critical-title,
.rule-card-title,
.access-h3,
.modal-title,
.news-item-title {
  text-wrap: balance;
  word-break: keep-all;
  overflow-wrap: break-word;
  line-break: strict;
}

p,
li,
dd,
dt,
figcaption,
blockquote,
.section-desc,
.hero-description,
.race-desc,
.step-text,
.pricing-notice,
.critical-desc,
.rule-card-desc,
.access-item-value,
.modal-body p,
.alert-text,
.feature-desc,
.visitor-rules-list li {
  text-wrap: pretty;
  word-break: keep-all;
  overflow-wrap: break-word;
  line-break: strict;
}

/* 改行防止ユーティリティ（1-2文字こぼれ落ち防止） */
.no-break,
.keep-all,
.nowrap {
  display: inline-block !important;
  white-space: nowrap !important;
}

/* Carbon & Speed Background Motif */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image:
    radial-gradient(circle at 15% 15%, rgba(255, 85, 0, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(0, 229, 255, 0.05) 0%, transparent 45%),
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 36px 36px, 36px 36px;
  pointer-events: none;
  z-index: -1;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   Urgent Notification Bar (Ticker)
   ========================================================================== */
.alert-ticker {
  background: linear-gradient(90deg, #b91c1c 0%, #dc2626 50%, #991b1b 100%);
  color: #fff;
  padding: 10px 0;
  font-size: 0.88rem;
  font-weight: 600;
  position: relative;
  z-index: 105;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.alert-ticker .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.alert-content {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow: hidden;
}

.alert-badge {
  background: #fff;
  color: #b91c1c;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  flex-shrink: 0;
  animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.05);
    opacity: 0.9;
  }
}

.alert-text {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.alert-link {
  color: #ffe4e6;
  text-decoration: underline;
  margin-left: 8px;
  cursor: pointer;
  font-weight: 700;
  transition: color var(--transition-fast);
}

.alert-link:hover {
  color: #fff;
}

.alert-close {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.2rem;
  line-height: 1;
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
}

.alert-close:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

/* ==========================================================================
   Header & Navigation (2-Row Layout: Title & Menu Separated)
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

[data-theme="light"] .header {
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}

/* Row 1: Header Top (Brand Logo & Site Title + Action Buttons) */
.header-top {
  height: 66px;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
}

.header-top-container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  transition: transform var(--transition-fast);
}

.brand:hover {
  transform: translateY(-1px);
}

.brand-badge {
  font-family: var(--font-racing);
  font-weight: 900;
  font-size: 1.75rem;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, #ff5500 0%, #ff8c00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  align-items: center;
  gap: 6px;
  filter: drop-shadow(0 2px 8px rgba(255, 85, 0, 0.4));
}

.brand-badge::before {
  content: '⚡';
  font-size: 1.35rem;
  -webkit-text-fill-color: initial;
}

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

.brand-title {
  font-size: 1.25rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.15;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
}

.brand-sub {
  font-family: var(--font-racing);
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--accent-orange);
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.header-top-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Row 2: Header Navigation Bar (Menu Strip) */
.header-nav-bar {
  height: 48px;
  background: rgba(13, 17, 26, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
}

[data-theme="light"] .header-nav-bar {
  background: rgba(248, 250, 252, 0.96);
  border-bottom: 1px solid rgba(2, 132, 199, 0.18);
}

.header-nav-container {
  height: 100%;
  display: flex;
  align-items: center;
}

.header-nav-bar .nav-list {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 100%;
  list-style: none;
}

.header-nav-bar .nav-link {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-secondary);
  height: 100%;
  display: inline-flex;
  align-items: center;
  padding: 0 4px;
  position: relative;
  letter-spacing: 0.03em;
  white-space: nowrap;
  transition: color var(--transition-fast);
}

.header-nav-bar .nav-link:hover,
.header-nav-bar .nav-link.active {
  color: var(--text-primary);
}

[data-theme="light"] .header-nav-bar .nav-link:hover,
[data-theme="light"] .header-nav-bar .nav-link.active {
  color: #0284c7;
}

.header-nav-bar .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--accent-orange);
  transition: width var(--transition-fast);
  border-radius: 3px 3px 0 0;
}

[data-theme="light"] .header-nav-bar .nav-link::after {
  background: #0284c7;
}

.header-nav-bar .nav-link:hover::after,
.header-nav-bar .nav-link.active::after {
  width: 100%;
}

.nav-cta-mobile {
  display: none;
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: all var(--transition-normal);
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-orange) 0%, #e64500 100%);
  color: #fff;
  box-shadow: 0 4px 16px var(--accent-orange-glow);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 85, 0, 0.55);
  background: linear-gradient(135deg, var(--accent-orange-bright) 0%, #ff5500 100%);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.btn-cyan {
  background: linear-gradient(135deg, #00b4d8 0%, #0077b6 100%);
  color: #fff;
  box-shadow: 0 4px 16px var(--shadow-glow-cyan);
}

.btn-cyan:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 229, 255, 0.4);
}

.btn-sm {
  padding: 7px 16px;
  font-size: 0.8rem;
}

.btn-lg {
  padding: 14px 32px;
  font-size: 1rem;
  border-radius: var(--radius-md);
}

/* Mobile Nav Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 110;
}

.mobile-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.mobile-toggle.open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.mobile-toggle.open span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  min-height: calc(90vh - var(--header-height));
  display: flex;
  align-items: center;
  padding: 80px 0 60px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  filter: brightness(0.65) contrast(1.1);
  transform: scale(1.03);
  transition: transform 12s ease-out;
}

.hero:hover .hero-bg img {
  transform: scale(1.08);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      rgba(7, 9, 14, 0.95) 0%,
      rgba(7, 9, 14, 0.75) 50%,
      rgba(7, 9, 14, 0.4) 100%),
    linear-gradient(0deg,
      var(--bg-dark) 0%,
      transparent 40%);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  max-width: 680px;
}

.hero-lead-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.hero-club-title-banner {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(13, 17, 26, 0.9);
  border: 1.5px solid rgba(255, 85, 0, 0.6);
  padding: 6px 18px 6px 8px;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 20px rgba(255, 85, 0, 0.3), inset 0 0 15px rgba(255, 85, 0, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.hero-club-title-banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255, 85, 0, 0.45);
}

.hero-club-badge {
  font-family: var(--font-racing);
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, #ff5500 0%, #ff8c00 100%);
  color: #ffffff;
  padding: 4px 12px;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(255, 85, 0, 0.5);
  display: inline-block;
  line-height: 1;
}

.hero-club-title-text {
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  color: #ffffff;
  white-space: nowrap;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.hero-badge-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 85, 0, 0.15);
  border: 1px solid rgba(255, 85, 0, 0.4);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-orange-bright);
  backdrop-filter: blur(8px);
}

.hero-badge-pulse {
  width: 8px;
  height: 8px;
  background: var(--accent-orange);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-orange);
  animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
  0% {
    transform: scale(0.9);
    opacity: 0.8;
  }

  50% {
    transform: scale(1.3);
    opacity: 1;
  }

  100% {
    transform: scale(0.9);
    opacity: 0.8;
  }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}

.hero-title .highlight {
  background: linear-gradient(135deg, #ff5500 0%, #ffaa00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.hero-feature-icon {
  color: var(--accent-orange);
  font-size: 1.1rem;
}

/* Hero Next Race Card */
.hero-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-orange) 0%, var(--accent-yellow) 100%);
}

.card-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-racing);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--accent-yellow);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.card-title {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 8px;
  line-height: 1.3;
}

.card-subtitle {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

/* Countdown Timer */
.countdown-box {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 24px;
  background: rgba(0, 0, 0, 0.4);
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.countdown-num {
  font-family: var(--font-racing);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--accent-orange-bright);
  line-height: 1;
  margin-bottom: 4px;
}

.countdown-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.card-race-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  padding-bottom: 8px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}

.info-label {
  color: var(--text-muted);
}

.info-val {
  font-weight: 600;
  color: var(--text-primary);
}

/* ==========================================================================
   Section Headers & Common Utilities
   ========================================================================== */
section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 60px;
}

.section-tag {
  font-family: var(--font-racing);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--accent-orange);
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Fast Stats Bar */
.stats-strip {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 36px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-card {
  text-align: center;
  padding: 16px;
  position: relative;
}

.stat-card:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--border-subtle);
}

.stat-num {
  font-family: var(--font-racing);
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.1;
  margin-bottom: 6px;
}

.stat-num .unit {
  font-size: 1rem;
  color: var(--accent-orange);
  margin-left: 2px;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 600;
}

/* ==========================================================================
   About Section & Friendly Community
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-subtle);
}

.about-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.about-image-wrapper:hover img {
  transform: scale(1.03);
}

.about-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 24px;
  background: linear-gradient(0deg, rgba(7, 9, 14, 0.9) 0%, transparent 100%);
}

.about-image-caption {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 32px;
}

.feature-box {
  display: flex;
  gap: 20px;
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.feature-box:hover {
  transform: translateX(6px);
  border-color: var(--border-highlight);
}

.feature-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: rgba(255, 85, 0, 0.15);
  color: var(--accent-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.feature-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.feature-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   Course Guide (2026 NEW COURSE)
   ========================================================================== */
.course-section {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.course-layout-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.course-hero-img-wrap {
  position: relative;
  width: 100%;
  height: 480px;
  overflow: hidden;
}

.course-hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.course-badge-direction {
  position: absolute;
  top: 24px;
  right: 24px;
  background: rgba(7, 9, 14, 0.85);
  backdrop-filter: blur(12px);
  border: 2px solid var(--accent-orange);
  color: #fff;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-family: var(--font-racing);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-glow-orange);
}

.course-badge-direction span {
  color: var(--accent-orange);
}

.course-specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 36px;
  background: rgba(13, 17, 26, 0.95);
  border-top: 1px solid var(--border-subtle);
}

.spec-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.spec-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.spec-val {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
}

.spec-sub {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   News & Announcements
   ========================================================================== */
.news-container {
  max-width: 960px;
  margin: 0 auto;
}

.news-filter-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.tab-btn:hover {
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.2);
}

.tab-btn.active {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  color: #fff;
  box-shadow: 0 4px 12px var(--accent-orange-glow);
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.news-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.news-card:hover {
  transform: translateY(-2px);
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.2);
}

.news-card.urgent {
  border-left: 4px solid var(--accent-red);
  background: linear-gradient(90deg, rgba(239, 68, 68, 0.08) 0%, rgba(19, 26, 41, 0.75) 30%);
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.news-date {
  font-family: var(--font-racing);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.news-category {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
}

.cat-urgent {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.4);
}

.cat-race {
  background: rgba(255, 85, 0, 0.2);
  color: var(--accent-orange-bright);
  border: 1px solid rgba(255, 85, 0, 0.4);
}

.cat-info {
  background: rgba(0, 229, 255, 0.15);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 229, 255, 0.3);
}

.cat-result {
  background: rgba(255, 183, 3, 0.2);
  color: var(--accent-yellow);
  border: 1px solid rgba(255, 183, 3, 0.4);
}

.news-title-wrap {
  flex-grow: 1;
}

.news-item-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
}

.news-arrow {
  color: var(--text-muted);
  font-size: 1.1rem;
  transition: transform var(--transition-fast);
}

.news-card:hover .news-arrow {
  transform: translateX(4px);
  color: var(--accent-orange);
}

/* ==========================================================================
   Races & Championship System
   ========================================================================== */
.race-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 48px;
}

.race-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.race-card.challenge {
  border-top: 4px solid var(--accent-orange);
}

.race-card.gp-series {
  border-top: 4px solid var(--accent-cyan);
}

.race-badge {
  display: inline-block;
  font-family: var(--font-racing);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.badge-challenge {
  background: rgba(255, 85, 0, 0.15);
  color: var(--accent-orange);
  border: 1px solid rgba(255, 85, 0, 0.3);
}

.badge-series {
  background: rgba(0, 229, 255, 0.15);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 229, 255, 0.3);
}

.race-heading {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.race-timing {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent-yellow);
  margin-bottom: 16px;
}

.race-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.race-points-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 20px;
}

.race-point-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.race-point-item i {
  color: var(--accent-orange);
  font-weight: bold;
}

/* ==========================================================================
   Race Schedule Table (2026 Annual Schedule)
   ========================================================================== */
.schedule-section {
  background: var(--bg-dark);
  border-top: 1px solid var(--border-subtle);
}

.schedule-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
  justify-content: center;
}

.schedule-tab-btn {
  padding: 10px 28px;
  border-radius: var(--radius-pill);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.schedule-tab-btn:hover {
  color: var(--text-primary);
  border-color: rgba(255,255,255,0.25);
}

.schedule-tab-btn.active {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  color: #fff;
  box-shadow: 0 4px 14px var(--accent-orange-glow);
}

[data-theme="light"] .schedule-tab-btn.active {
  background: #0284c7;
  border-color: #0284c7;
  box-shadow: 0 4px 14px rgba(2,132,199,0.3);
}

.schedule-panel {
  display: none;
}

.schedule-panel.active {
  display: block;
}

.schedule-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  margin-bottom: 20px;
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
  font-size: 0.9rem;
}

.schedule-table th {
  background: rgba(255,85,0,0.12);
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 12px 16px;
  text-align: left;
  white-space: nowrap;
  word-break: keep-all;
  border-bottom: 1px solid var(--border-subtle);
}

[data-theme="light"] .schedule-table th {
  background: rgba(2,132,199,0.07);
}

.schedule-table td {
  padding: 11px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  color: var(--text-secondary);
  vertical-align: middle;
  white-space: nowrap;
  word-break: keep-all;
}

[data-theme="light"] .schedule-table td {
  border-bottom: 1px solid rgba(15,23,42,0.07);
}

.schedule-table tbody tr:hover td {
  background: rgba(255,255,255,0.03);
}

[data-theme="light"] .schedule-table tbody tr:hover td {
  background: rgba(2,132,199,0.04);
}

.schedule-table .sch-date {
  font-family: var(--font-racing);
  font-weight: 700;
  color: var(--text-primary);
  font-size: 0.88rem;
  width: 100px;
  min-width: 95px;
  white-space: nowrap;
}

.schedule-table .sch-name {
  font-weight: 600;
  color: var(--text-primary);
  min-width: 260px;
  white-space: normal !important;
  word-break: keep-all;
  line-height: 1.45;
}

.schedule-table .sch-note {
  min-width: 180px;
  white-space: normal;
  word-break: keep-all;
  line-height: 1.4;
}

.sch-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.sch-badge-cancelled {
  background: rgba(239,68,68,0.15);
  color: #f87171;
  border: 1px solid rgba(239,68,68,0.35);
}

.sch-badge-postponed {
  background: rgba(255,183,3,0.15);
  color: var(--accent-yellow);
  border: 1px solid rgba(255,183,3,0.35);
}

.sch-badge-special {
  background: rgba(0,229,255,0.12);
  color: var(--accent-cyan);
  border: 1px solid rgba(0,229,255,0.3);
}

.sch-badge-done {
  background: rgba(0,230,118,0.12);
  color: var(--accent-green);
  border: 1px solid rgba(0,230,118,0.3);
}

.sch-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  white-space: normal;
  word-break: keep-all;
}

.schedule-legend {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
  align-items: center;
}

/* ==========================================================================
   Race Results Section
   ========================================================================== */
.results-section {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.results-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
  justify-content: center;
}

.results-tab-btn {
  padding: 10px 28px;
  border-radius: var(--radius-pill);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

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

.results-tab-btn.active {
  background: var(--accent-cyan);
  border-color: var(--accent-cyan);
  color: #fff;
  box-shadow: 0 4px 14px var(--shadow-glow-cyan);
}

[data-theme="light"] .results-tab-btn.active {
  background: #0284c7;
  border-color: #0284c7;
}

.results-panel {
  display: none;
}

.results-panel.active {
  display: block;
}

.result-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.result-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  transition: all var(--transition-fast);
  flex-wrap: wrap;
}

.result-item:hover {
  border-color: rgba(255,255,255,0.2);
  background: var(--bg-card-hover);
  transform: translateX(4px);
}

.result-item.cancelled {
  border-left: 3px solid #f87171;
  opacity: 0.65;
}

.result-item.upcoming {
  border-left: 3px solid var(--accent-cyan);
  opacity: 0.75;
}

.result-date {
  font-family: var(--font-racing);
  font-size: 0.82rem;
  color: var(--text-muted);
  white-space: nowrap;
  min-width: 68px;
}

.result-name {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-primary);
  flex-grow: 1;
  word-break: keep-all;
}

.result-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  background: rgba(0,229,255,0.1);
  border: 1px solid rgba(0,229,255,0.3);
  color: var(--accent-cyan);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.result-link:hover {
  background: var(--accent-cyan);
  color: #000;
  box-shadow: var(--shadow-glow-cyan);
}

[data-theme="light"] .result-link {
  background: rgba(2,132,199,0.08);
  border-color: rgba(2,132,199,0.3);
  color: #0284c7;
}

[data-theme="light"] .result-link:hover {
  background: #0284c7;
  color: #fff;
}

/* ==========================================================================
   Series Race Point Ranking Section
   ========================================================================== */
.ranking-section {
  background: var(--bg-dark);
  border-top: 1px solid var(--border-subtle);
}

.ranking-info-bar {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  background: rgba(0,229,255,0.06);
  border: 1px solid rgba(0,229,255,0.2);
  border-radius: var(--radius-md);
  padding: 14px 22px;
  margin-bottom: 32px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

[data-theme="light"] .ranking-info-bar {
  background: rgba(2,132,199,0.05);
  border-color: rgba(2,132,199,0.18);
}

.ranking-info-bar strong {
  color: var(--accent-cyan);
}

[data-theme="light"] .ranking-info-bar strong {
  color: #0284c7;
}

.ranking-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  -webkit-overflow-scrolling: touch;
}

.ranking-table {
  --rank-col-w: 52px;
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 880px;
  font-size: 0.85rem;
}

.ranking-table th {
  background-color: #0c1824;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 10px 12px;
  text-align: center;
  white-space: nowrap;
  word-break: keep-all;
  border-bottom: 1px solid var(--border-subtle);
  box-sizing: border-box;
}

[data-theme="light"] .ranking-table th {
  background-color: #e3eef6;
  border-bottom: 1px solid var(--border-subtle);
}

/* 行ごとの不透明な背景色定義（スクロール時に背後が透けないように管理） */
.ranking-table tbody tr {
  --row-bg: #07090e;
}
.ranking-table tbody tr:nth-child(1) {
  --row-bg: #13130f;
}
.ranking-table tbody tr:nth-child(2) {
  --row-bg: #0c1015;
}
.ranking-table tbody tr:nth-child(3) {
  --row-bg: #110e0c;
}
.ranking-table tbody tr:hover {
  --row-bg: #121824;
}

[data-theme="light"] .ranking-table tbody tr {
  --row-bg: #f1f5f9;
}
[data-theme="light"] .ranking-table tbody tr:nth-child(1) {
  --row-bg: #fdf8ee;
}
[data-theme="light"] .ranking-table tbody tr:nth-child(2) {
  --row-bg: #f0f4f8;
}
[data-theme="light"] .ranking-table tbody tr:nth-child(3) {
  --row-bg: #faf4ee;
}
[data-theme="light"] .ranking-table tbody tr:hover {
  --row-bg: #e4eef6;
}

.ranking-table td {
  padding: 9px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  text-align: center;
  color: var(--text-secondary);
  white-space: nowrap;
  word-break: keep-all;
  background-color: var(--row-bg);
  box-sizing: border-box;
}

[data-theme="light"] .ranking-table td {
  border-bottom: 1px solid rgba(15,23,42,0.07);
}

/* 順位列（1列目）：固定表示 (Sticky) */
.ranking-table th:first-child,
.ranking-table th.rank-col,
.ranking-table td:first-child,
.ranking-table td.rank-col {
  position: -webkit-sticky;
  position: sticky;
  left: 0;
  width: 52px;
  width: var(--rank-col-w, 52px);
  min-width: 52px;
  min-width: var(--rank-col-w, 52px);
  max-width: 52px;
  max-width: var(--rank-col-w, 52px);
  z-index: 2;
  text-align: center;
  padding-left: 6px;
  padding-right: 6px;
}

/* 名前列（2列目）：固定表示 (Sticky) */
.ranking-table th:nth-child(2),
.ranking-table th.name-col,
.ranking-table td:nth-child(2),
.ranking-table td.name-col {
  position: -webkit-sticky;
  position: sticky;
  left: 52px;
  left: var(--rank-col-w, 52px);
  min-width: 105px;
  z-index: 2;
  text-align: left;
  padding-left: 16px;
  padding-right: 14px;
  border-right: 1px solid var(--border-subtle);
  box-shadow: 4px 0 8px -2px rgba(0, 0, 0, 0.45);
}

[data-theme="light"] .ranking-table th:nth-child(2),
[data-theme="light"] .ranking-table th.name-col,
[data-theme="light"] .ranking-table td:nth-child(2),
[data-theme="light"] .ranking-table td.name-col {
  box-shadow: 4px 0 8px -2px rgba(0, 0, 0, 0.08);
}

/* ヘッダーの固定列はデータ行セルより前面に配置 */
.ranking-table th:first-child,
.ranking-table th.rank-col,
.ranking-table th:nth-child(2),
.ranking-table th.name-col {
  z-index: 3;
}

/* 角丸のフィット */
.ranking-table th:first-child {
  border-top-left-radius: calc(var(--radius-md) - 1px);
}
.ranking-table tbody tr:last-child td:first-child {
  border-bottom-left-radius: calc(var(--radius-md) - 1px);
}

.ranking-table .rank-col {
  font-family: var(--font-racing);
  font-weight: 800;
  font-size: 1rem;
}

.ranking-table .rank-1 { color: #fbbf24; }
.ranking-table .rank-2 { color: #94a3b8; }
.ranking-table .rank-3 { color: #c97d3b; }

.ranking-table .name-col {
  font-weight: 700;
  color: var(--text-primary);
}

.ranking-table .total-col {
  font-family: var(--font-racing);
  font-weight: 800;
  font-size: 1rem;
  color: var(--accent-yellow);
}

.ranking-table .rd-cell {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.ranking-table .rd-cell span {
  display: block;
  font-size: 0.68rem;
  color: var(--text-muted);
}

.ranking-table .rd-cancelled {
  color: var(--text-muted);
  opacity: 0.4;
}

.ranking-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 16px;
  text-align: center;
  line-height: 1.6;
}

/* Mobile adjustments for new sections */
@media (max-width: 768px) {
  .schedule-table-wrap,
  .ranking-table-wrap {
    border-radius: var(--radius-sm);
  }

  .ranking-table {
    --rank-col-w: 48px;
    font-size: 0.8rem;
  }

  .ranking-table th {
    padding: 8px 8px;
  }

  .ranking-table td {
    padding: 8px 8px;
  }
  .ranking-table th:first-child,
  .ranking-table th.rank-col,
  .ranking-table td:first-child,
  .ranking-table td.rank-col {
    width: 48px;
    width: var(--rank-col-w, 48px);
    min-width: 48px;
    min-width: var(--rank-col-w, 48px);
    max-width: 48px;
    max-width: var(--rank-col-w, 48px);
  }

  .ranking-table th:first-child {
    border-top-left-radius: calc(var(--radius-sm) - 1px);
  }

  .ranking-table tbody tr:last-child td:first-child {
    border-bottom-left-radius: calc(var(--radius-sm) - 1px);
  }

  .ranking-table th:nth-child(2),
  .ranking-table th.name-col,
  .ranking-table td:nth-child(2),
  .ranking-table td.name-col {
    left: 48px;
    left: var(--rank-col-w, 48px);
    min-width: 92px;
    padding-left: 12px;
    padding-right: 12px;
  }

  .schedule-tab-btn,
  .results-tab-btn {
    padding: 8px 18px;
    font-size: 0.82rem;
  }

  .result-item {
    gap: 10px;
    padding: 12px 14px;
  }

  .ranking-info-bar {
    gap: 12px;
    padding: 12px 14px;
    font-size: 0.82rem;
  }

  .schedule-legend {
    gap: 10px;
    font-size: 0.75rem;
  }
}

/* ==========================================================================
   Membership & Pricing Guide
   ========================================================================== */
.pricing-section {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.pricing-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: flex-start;
}

.pricing-card-main {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.pricing-header-wrap {
  margin-bottom: 28px;
}

.pricing-title {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.pricing-notice {
  font-size: 0.9rem;
  color: var(--accent-orange-bright);
  font-weight: 600;
}

/* Table Style for Monthly Dues */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin-bottom: 28px;
}

.dues-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.dues-table th,
.dues-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-subtle);
  white-space: nowrap;
}

.dues-table th {
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.dues-table td {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.dues-table .period {
  font-weight: 700;
  color: var(--text-primary);
}

.dues-table .price {
  font-family: var(--font-racing);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent-orange-bright);
}

.dues-table .early-bird {
  background: rgba(255, 85, 0, 0.08);
}

.dues-table .badge-renew {
  display: inline-block;
  padding: 2px 8px;
  background: rgba(0, 229, 255, 0.15);
  color: var(--accent-cyan);
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
}

.pricing-perks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

.perk-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.03);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  font-size: 0.88rem;
  font-weight: 600;
}

.perk-pill span {
  color: var(--accent-green);
  font-size: 1.1rem;
}

/* Visitor Card */
.visitor-card {
  background: linear-gradient(135deg, rgba(26, 36, 58, 0.9) 0%, rgba(13, 17, 26, 0.95) 100%);
  border: 1px solid var(--border-cyan);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-glow-cyan);
  position: relative;
}

.visitor-tag {
  font-family: var(--font-racing);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.visitor-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.visitor-price-block {
  margin-bottom: 24px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 229, 255, 0.2);
}

.visitor-price {
  font-family: var(--font-racing);
  font-size: 2.2rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}

.visitor-price span {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.visitor-discount-badge {
  display: inline-block;
  margin-top: 10px;
  background: rgba(255, 183, 3, 0.15);
  color: var(--accent-yellow);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 700;
}

.visitor-rules-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.visitor-rules-list li {
  position: relative;
  padding-left: 20px;
}

.visitor-rules-list li::before {
  content: '•';
  position: absolute;
  left: 6px;
  color: var(--accent-cyan);
  font-size: 1.2rem;
  line-height: 1;
}

/* Membership Steps */
.join-steps-section {
  margin-top: 60px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step-box {
  background: rgba(48, 72, 112, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-left: 3px solid var(--accent-orange);
  border-radius: var(--radius-md);
  padding: 28px;
  position: relative;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.step-num {
  font-family: var(--font-racing);
  font-size: 2rem;
  font-weight: 900;
  color: rgba(255, 85, 0, 0.35);
  line-height: 1;
  margin-bottom: 12px;
}

.step-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   Control Tire Regulations
   ========================================================================== */
.tires-container {
  max-width: 1060px;
  margin: 0 auto;
}

.tires-intro {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px 32px;
  margin-bottom: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.tire-rule-item {
  display: flex;
  gap: 14px;
}

.tire-rule-icon {
  color: var(--accent-orange);
  font-size: 1.4rem;
  flex-shrink: 0;
}

.tire-rule-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.tire-rule-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.tire-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.tire-search {
  flex-grow: 1;
  max-width: 360px;
  position: relative;
}

.tire-search input {
  width: 100%;
  padding: 10px 16px 10px 40px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  color: var(--text-primary);
  font-size: 0.88rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

.tire-search input:focus {
  border-color: var(--accent-orange);
}

.tire-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.9rem;
}

.tire-brand-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tire-brand-btn {
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.tire-brand-btn:hover,
.tire-brand-btn.active {
  background: var(--accent-orange);
  color: #fff;
  border-color: var(--accent-orange);
}

/* Tire Table */
.tire-table-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.tire-table {
  width: 100%;
  border-collapse: collapse;
}

.tire-table th,
.tire-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.9rem;
  color: var(--text-secondary);
  white-space: nowrap;
}

.tire-table th {
  background: rgba(255, 255, 255, 0.03);
  padding: 16px 20px;
  text-align: left;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
}

.tire-brand-col {
  font-family: var(--font-racing);
  font-weight: 800;
  color: var(--text-primary);
}

.tire-name-col {
  font-weight: 600;
  color: var(--text-primary);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
}

.status-ok {
  background: rgba(0, 230, 118, 0.12);
  color: var(--accent-green);
  border: 1px solid rgba(0, 230, 118, 0.3);
}

.status-banned {
  background: rgba(239, 68, 68, 0.15);
  color: var(--accent-red);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.status-challenge-only {
  background: rgba(255, 183, 3, 0.15);
  color: var(--accent-yellow);
  border: 1px solid rgba(255, 183, 3, 0.3);
}

/* ==========================================================================
   Rules & Etiquette (Critical Notices)
   ========================================================================== */
.rules-section {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.rules-critical-banner {
  background: linear-gradient(135deg, #7f1d1d 0%, #991b1b 100%);
  border: 1px solid #ef4444;
  border-radius: var(--radius-lg);
  padding: 32px 40px;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  gap: 28px;
  box-shadow: 0 8px 32px rgba(239, 68, 68, 0.25);
}

.critical-icon {
  font-size: 3rem;
  color: #fff;
  flex-shrink: 0;
}

.critical-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
}

.critical-desc {
  font-size: 0.95rem;
  color: #fecaca;
  line-height: 1.6;
}

.rules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.rule-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: transform var(--transition-fast);
}

.rule-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
}

.rule-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 18px;
  color: var(--accent-orange);
}

.rule-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.rule-card-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   Access & Organization (Contact)
   ========================================================================== */
.access-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.access-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.access-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.access-badge-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(255, 85, 0, 0.15);
  color: var(--accent-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.access-h3 {
  font-size: 1.35rem;
  font-weight: 800;
}

.access-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.access-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}

.access-item {
  display: flex;
  gap: 14px;
  font-size: 0.9rem;
}

.access-item-label {
  color: var(--text-muted);
  width: 90px;
  flex-shrink: 0;
  font-weight: 600;
}

.access-item-value {
  color: var(--text-primary);
  line-height: 1.5;
}

.sponsor-box {
  margin-top: 60px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.sponsor-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.sponsor-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 800;
  color: var(--accent-orange-bright);
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  background: rgba(255, 85, 0, 0.08);
  border: 1px solid rgba(255, 85, 0, 0.3);
  transition: all var(--transition-fast);
}

.sponsor-link-btn:hover {
  background: var(--accent-orange);
  color: #fff;
  transform: translateY(-2px);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: #040508;
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 56px;
  margin-bottom: 48px;
  align-items: start;
}

.footer-brand-col {
  max-width: 400px;
}

.footer-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-top: 14px;
  line-height: 1.75;
  word-break: normal !important;
  line-break: strict !important;
}

.footer-nav-col {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.footer-nav-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-h4 {
  font-family: var(--font-main);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-h4::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--accent-orange);
}

.footer-links {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px 28px;
  align-items: center;
  list-style: none;
}

.footer-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  position: relative;
  padding: 3px 0;
  transition: all var(--transition-fast);
}

.footer-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent-orange);
  transition: width var(--transition-fast);
  border-radius: 2px;
}

.footer-link:hover {
  color: #ffffff;
  transform: translateY(-1px);
}

.footer-link:hover::after {
  width: 100%;
}

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

/* ==========================================================================
   Modal Dialog
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 5, 8, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
  padding: 20px;
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: var(--bg-secondary);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-lg);
  max-width: 620px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 36px;
  position: relative;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.7);
  transform: translateY(20px) scale(0.96);
  transition: transform var(--transition-bounce);
}

.modal-backdrop.open .modal-content {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 1.5rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.modal-close-btn:hover {
  color: #fff;
}

.modal-header {
  margin-bottom: 20px;
}

.modal-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  margin-top: 8px;
}

.modal-body {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.modal-highlight-box {
  background: rgba(255, 85, 0, 0.1);
  border: 1px solid rgba(255, 85, 0, 0.3);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin: 18px 0;
}

.modal-highlight-box strong {
  color: var(--accent-orange-bright);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-card:nth-child(2)::after {
    display: none;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .pricing-layout {
    grid-template-columns: 1fr;
  }

  .rules-grid {
    grid-template-columns: 1fr 1fr;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .access-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 70px;
  }

  .header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 990 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45) !important;
  }

  .alert-ticker {
    margin-top: var(--header-height) !important;
    position: relative !important;
    z-index: 980 !important;
  }

  .header-top {
    height: 70px;
  }

  .header-top-container {
    padding: 0 16px;
    gap: 12px;
  }

  .brand {
    gap: 10px;
    min-width: 0;
    flex-shrink: 1;
  }

  .brand-badge {
    font-size: 1.4rem;
  }

  .brand-title {
    font-size: 1.05rem;
  }

  .brand-sub {
    font-size: 0.62rem;
    letter-spacing: 0.05em;
  }

  .header-top-right {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .header-cta-desktop {
    display: none;
  }

  .mobile-toggle {
    display: flex !important;
  }

  .header-nav-bar.nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: var(--bg-primary);
    flex-direction: column;
    padding: 32px 24px;
    gap: 28px;
    align-items: flex-start;
    transform: translateX(100%);
    transition: transform var(--transition-normal);
    border-top: 1px solid var(--border-subtle);
    overflow-y: auto;
    z-index: 105;
  }

  [data-theme="light"] .header-nav-bar.nav {
    background: #ffffff;
  }

  .header-nav-bar.nav.open {
    transform: translateX(0);
  }

  .header-nav-bar .header-nav-container {
    height: auto;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    padding: 0;
  }

  .header-nav-bar .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
    height: auto;
  }

  .header-nav-bar .nav-link {
    font-size: 1.1rem;
    width: 100%;
    display: block;
    padding: 8px 0;
  }

  .header-nav-bar .nav-link::after {
    display: none;
  }

  .nav-cta-mobile {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border-subtle);
  }

  .nav-cta-mobile .btn {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .course-specs-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 24px;
  }

  .race-grid {
    grid-template-columns: 1fr;
  }

  .tires-intro {
    grid-template-columns: 1fr;
  }

  .rules-critical-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 16px;
  }

  .rules-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-brand-col {
    max-width: 100%;
  }

  .footer-links {
    gap: 10px 20px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

@media (max-width: 540px) {
  .header-top-container {
    padding: 0 12px;
    gap: 8px;
  }

  .brand {
    gap: 8px;
  }

  .brand-badge {
    font-size: 1.25rem;
  }

  .brand-badge::before {
    font-size: 1.05rem;
  }

  .brand-title {
    font-size: 0.9rem;
  }

  .brand-sub {
    font-size: 0.54rem;
    letter-spacing: 0.03em;
  }

  .theme-toggle-btn {
    padding: 6px 8px;
    font-size: 0.9rem;
  }

  .theme-toggle-btn span:last-child {
    display: none;
  }
}

/* ==========================================================================
   Bright & Cool Theme (Light Mode Component Overrides)
   ========================================================================== */
[data-theme="light"] body::before {
  background-image:
    radial-gradient(circle at 15% 15%, rgba(2, 132, 199, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(249, 115, 22, 0.06) 0%, transparent 45%),
    linear-gradient(rgba(15, 23, 42, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.02) 1px, transparent 1px);
}

[data-theme="light"] .alert-ticker {
  background: linear-gradient(90deg, #dc2626 0%, #ef4444 50%, #b91c1c 100%);
}

[data-theme="light"] .hero-overlay {
  background: linear-gradient(90deg,
      rgba(241, 245, 249, 0.96) 0%,
      rgba(241, 245, 249, 0.82) 45%,
      rgba(241, 245, 249, 0.4) 100%),
    linear-gradient(0deg,
      var(--bg-dark) 0%,
      transparent 35%);
}

[data-theme="light"] .brand-badge {
  background: linear-gradient(135deg, #0284c7 0%, #0ea5e9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 8px rgba(2, 132, 199, 0.3));
}

[data-theme="light"] .brand-title {
  color: #0f172a;
  text-shadow: none;
}

[data-theme="light"] .brand-sub {
  color: #0284c7;
}

[data-theme="light"] .hero-club-title-banner {
  background: rgba(255, 255, 255, 0.95);
  border: 1.5px solid rgba(2, 132, 199, 0.45);
  box-shadow: 0 4px 20px rgba(2, 132, 199, 0.18), inset 0 0 15px rgba(2, 132, 199, 0.05);
}

[data-theme="light"] .hero-club-badge {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.35);
}

[data-theme="light"] .hero-club-title-text {
  color: #0f172a;
  text-shadow: none;
}

[data-theme="light"] .hero-badge-wrap {
  background: rgba(2, 132, 199, 0.1);
  border-color: rgba(2, 132, 199, 0.3);
  color: #0284c7;
}

[data-theme="light"] .hero-badge-pulse {
  background: #0284c7;
  box-shadow: 0 0 10px #0284c7;
}

[data-theme="light"] .hero-card {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(2, 132, 199, 0.2);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .hero-card::before {
  background: linear-gradient(90deg, #0284c7 0%, #ff5500 100%);
}

[data-theme="light"] .card-tag {
  color: #0284c7;
}

[data-theme="light"] .countdown-box {
  background: #f8fafc;
  border: 1px solid rgba(2, 132, 199, 0.15);
  box-shadow: inset 0 2px 4px rgba(15, 23, 42, 0.02);
}

[data-theme="light"] .countdown-num {
  color: #0284c7;
}

[data-theme="light"] .info-row {
  border-bottom-color: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .stats-strip {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .course-specs-grid {
  background: #ffffff;
  border-top-color: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .course-badge-direction {
  background: rgba(255, 255, 255, 0.95);
  color: #0f172a;
  border-color: #0284c7;
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.2);
}

[data-theme="light"] .tab-btn {
  background: #ffffff;
  color: #475569;
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
}

[data-theme="light"] .tab-btn.active {
  background: #0284c7;
  border-color: #0284c7;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}

[data-theme="light"] .news-card {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}

[data-theme="light"] .news-card:hover {
  background: #f8fafc;
  border-color: rgba(2, 132, 199, 0.3);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

[data-theme="light"] .dues-table th,
[data-theme="light"] .tire-table th {
  background: #f0f9ff;
  color: #0369a1;
  border-bottom: 2px solid rgba(2, 132, 199, 0.2);
}

[data-theme="light"] .dues-table tr:hover,
[data-theme="light"] .tire-table tr:hover {
  background: #f8fafc;
}

[data-theme="light"] .dues-table .early-bird {
  background: rgba(254, 243, 199, 0.5);
}

[data-theme="light"] .perk-pill {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .visitor-card {
  background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
  border-color: rgba(2, 132, 199, 0.3);
  box-shadow: 0 12px 32px rgba(2, 132, 199, 0.1);
}

[data-theme="light"] .visitor-price-block {
  background: #ffffff;
  border-color: rgba(2, 132, 199, 0.2);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.06);
}

[data-theme="light"] .visitor-price {
  color: #0f172a;
}

[data-theme="light"] .tire-search input {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.15);
  color: #0f172a;
}

[data-theme="light"] .tire-search input:focus {
  border-color: #0284c7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

[data-theme="light"] .tire-brand-btn {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.12);
  color: #475569;
}

[data-theme="light"] .tire-brand-btn.active {
  background: #0284c7;
  border-color: #0284c7;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}

[data-theme="light"] .btn-secondary {
  background: #ffffff;
  color: #0f172a;
  border-color: rgba(15, 23, 42, 0.15);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

[data-theme="light"] .btn-secondary:hover {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.3);
}

[data-theme="light"] .btn-primary {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.35);
}

[data-theme="light"] .btn-primary:hover {
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.5);
}

[data-theme="light"] .footer {
  background: linear-gradient(180deg, #f8fafc 0%, #edf2f7 100%);
  color: #0f172a;
  border-top: 1px solid rgba(2, 132, 199, 0.2);
  position: relative;
}

[data-theme="light"] .footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #0284c7 0%, #38bdf8 50%, #ff5500 100%);
}

[data-theme="light"] .footer .brand-badge {
  background: linear-gradient(135deg, #0284c7 0%, #0ea5e9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

[data-theme="light"] .footer .footer-h4 {
  color: #0f172a;
  font-weight: 800;
  letter-spacing: 0.05em;
}

[data-theme="light"] .footer .footer-desc {
  color: #475569;
  line-height: 1.7;
}

[data-theme="light"] .footer .footer-link {
  color: #64748b;
  font-weight: 500;
  transition: all var(--transition-fast);
}

[data-theme="light"] .footer .footer-link::after {
  background: #0284c7;
}

[data-theme="light"] .footer .footer-link:hover {
  color: #0284c7;
  transform: translateY(-1px);
}

[data-theme="light"] .footer .footer-bottom {
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  color: #64748b;
}

[data-theme="light"] .sponsor-box {
  background: #ffffff;
  border-color: rgba(2, 132, 199, 0.2);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

[data-theme="light"] .sponsor-label {
  color: #0284c7;
}

[data-theme="light"] .sponsor-link-btn {
  background: rgba(2, 132, 199, 0.08);
  border-color: rgba(2, 132, 199, 0.3);
  color: #0284c7;
}

[data-theme="light"] .sponsor-link-btn:hover {
  background: #0284c7;
  color: #ffffff;
}

[data-theme="light"] .access-card {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

[data-theme="light"] .access-badge-icon {
  background: rgba(2, 132, 199, 0.1);
  color: #0284c7;
}

/* Theme Toggle Button */
.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.theme-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
}

[data-theme="light"] .theme-toggle-btn {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.12);
  color: #0f172a;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.05);
}

[data-theme="light"] .theme-toggle-btn:hover {
  background: #f1f5f9;
}