/* ============================================
   极速赛道 - 赛车仪表盘科技风主样式
   CSS类名使用 ft- 前缀
   ============================================ */

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

/* CSS Variables */
:root {
  --ft-primary: #0A0A1A;
  --ft-accent: #00FF88;
  --ft-red: #FF3333;
  --ft-silver: #C0C0C0;
  --ft-dark-bg: #060612;
  --ft-card-bg: rgba(10, 10, 26, 0.85);
  --ft-border: rgba(0, 255, 136, 0.2);
  --ft-glow: 0 0 20px rgba(0, 255, 136, 0.3);
  --ft-font-cn: 'Noto Sans SC', 'Source Han Sans', sans-serif;
  --ft-font-en: 'Orbitron', monospace;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--ft-font-cn);
  background-color: var(--ft-primary);
  color: var(--ft-silver);
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
}

a {
  color: var(--ft-accent);
  text-decoration: none;
  transition: all 0.3s ease;
}
a:hover { text-shadow: var(--ft-glow); }

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--ft-font-cn);
  color: #fff;
  line-height: 1.3;
}

/* Interference tags - hidden */
.race-interference { display: none; }

/* ============================================
   Utility Classes
   ============================================ */
.ft-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
}

.ft-section {
  padding: 80px 0;
  position: relative;
}

.ft-section-title {
  font-family: var(--ft-font-en);
  font-size: 2rem;
  text-align: center;
  margin-bottom: 50px;
  color: #fff;
  position: relative;
  letter-spacing: 2px;
}

.ft-section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: var(--ft-accent);
  margin: 15px auto 0;
  box-shadow: var(--ft-glow);
}

.ft-section-subtitle {
  text-align: center;
  color: var(--ft-silver);
  font-size: 1rem;
  margin-top: -35px;
  margin-bottom: 50px;
}

.ft-btn {
  display: inline-block;
  padding: 12px 32px;
  font-family: var(--ft-font-en);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1px;
  border: 2px solid var(--ft-accent);
  color: var(--ft-accent);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
}

.ft-btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0,255,136,0.2), transparent);
  transition: left 0.5s ease;
}

.ft-btn:hover::before { left: 100%; }

.ft-btn:hover {
  background: rgba(0, 255, 136, 0.15);
  box-shadow: var(--ft-glow);
  color: #fff;
}

.ft-btn-primary {
  background: var(--ft-accent);
  color: var(--ft-primary);
}
.ft-btn-primary:hover {
  background: #00cc6e;
  color: var(--ft-primary);
}

/* ============================================
   Header / Navigation
   ============================================ */
.ft-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(6, 6, 18, 0.92);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--ft-border);
  transition: all 0.3s ease;
}

.ft-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
}

.ft-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ft-logo img {
  height: 40px;
  width: 40px;
}

.ft-logo-text {
  font-family: var(--ft-font-en);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ft-accent);
  letter-spacing: 2px;
}

.ft-nav { display: flex; align-items: center; gap: 5px; }

.ft-nav a {
  padding: 8px 16px;
  font-size: 0.9rem;
  color: var(--ft-silver);
  position: relative;
  transition: all 0.3s ease;
}

.ft-nav a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  width: 0; height: 2px;
  background: var(--ft-accent);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.ft-nav a:hover,
.ft-nav a.ft-active {
  color: var(--ft-accent);
}

.ft-nav a:hover::after,
.ft-nav a.ft-active::after {
  width: 80%;
}

.ft-header-actions {
  display: flex; gap: 10px;
}

.ft-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  background: none;
  border: none;
}

.ft-hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--ft-accent);
  transition: all 0.3s ease;
}

/* ============================================
   Hero Banner
   ============================================ */
.ft-hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 70px;
}

.ft-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.ft-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}

.ft-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6,6,18,0.6) 0%, rgba(10,10,26,0.9) 100%);
  z-index: 1;
}

.ft-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 20px;
}

.ft-hero-title {
  font-family: var(--ft-font-en);
  font-size: 3.5rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: 4px;
  text-shadow: 0 0 40px rgba(0, 255, 136, 0.4);
}

.ft-hero-title span {
  color: var(--ft-accent);
}

.ft-hero-slogan {
  font-size: 1.3rem;
  color: var(--ft-silver);
  margin-bottom: 40px;
  letter-spacing: 3px;
}

.ft-hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Breathing light animation */
@keyframes ft-breathe {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

@keyframes ft-glow-pulse {
  0%, 100% { box-shadow: 0 0 5px rgba(0,255,136,0.3); }
  50% { box-shadow: 0 0 25px rgba(0,255,136,0.6); }
}

@keyframes ft-flow {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

@keyframes ft-slide-up {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes ft-count-flash {
  0%, 100% { color: var(--ft-accent); }
  50% { color: #fff; }
}

/* ============================================
   Live Ticker
   ============================================ */
.ft-ticker {
  background: linear-gradient(180deg, var(--ft-dark-bg) 0%, var(--ft-primary) 100%);
  border-top: 1px solid var(--ft-border);
  border-bottom: 1px solid var(--ft-border);
  padding: 40px 0;
}

.ft-ticker-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.ft-ticker-period {
  text-align: center;
}

.ft-ticker-label {
  font-size: 0.85rem;
  color: var(--ft-silver);
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.ft-ticker-number {
  font-family: var(--ft-font-en);
  font-size: 1.4rem;
  color: var(--ft-accent);
  font-weight: 700;
}

.ft-ticker-balls {
  display: flex;
  gap: 10px;
}

.ft-ball {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ft-font-en);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.2);
  animation: ft-glow-pulse 2s ease-in-out infinite;
}

.ft-ball-1 { background: linear-gradient(135deg, #FF3333, #cc0000); }
.ft-ball-2 { background: linear-gradient(135deg, #3366FF, #0033cc); }
.ft-ball-3 { background: linear-gradient(135deg, #00FF88, #00aa55); color: var(--ft-primary); }
.ft-ball-4 { background: linear-gradient(135deg, #FFaa00, #cc8800); }
.ft-ball-5 { background: linear-gradient(135deg, #FF33FF, #aa00aa); }
.ft-ball-6 { background: linear-gradient(135deg, #00ccFF, #0088cc); }
.ft-ball-7 { background: linear-gradient(135deg, #FFcc33, #cc9900); }
.ft-ball-8 { background: linear-gradient(135deg, #FF6633, #cc4400); }
.ft-ball-9 { background: linear-gradient(135deg, #33FF33, #00cc00); color: var(--ft-primary); }
.ft-ball-10 { background: linear-gradient(135deg, #9933FF, #6600cc); }

.ft-ticker-countdown {
  text-align: center;
}

.ft-countdown-digits {
  font-family: var(--ft-font-en);
  font-size: 2rem;
  font-weight: 700;
  color: var(--ft-red);
  animation: ft-count-flash 1s ease-in-out infinite;
}

/* ============================================
   Featured Plans (Cards)
   ============================================ */
.ft-plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.ft-plan-card {
  background: var(--ft-card-bg);
  border: 1px solid var(--ft-border);
  border-radius: 12px;
  padding: 30px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.ft-plan-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--ft-accent), transparent);
  background-size: 200% 100%;
  animation: ft-flow 3s linear infinite;
}

.ft-plan-card:hover {
  transform: translateY(-5px);
  border-color: var(--ft-accent);
  box-shadow: var(--ft-glow);
}

.ft-plan-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.ft-plan-avatar {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  border: 2px solid var(--ft-accent);
  object-fit: cover;
}

.ft-plan-meta h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.ft-plan-analyst {
  font-size: 0.8rem;
  color: var(--ft-accent);
}

.ft-plan-accuracy {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(0, 255, 136, 0.15);
  border: 1px solid var(--ft-accent);
  border-radius: 20px;
  font-family: var(--ft-font-en);
  font-size: 0.85rem;
  color: var(--ft-accent);
  font-weight: 600;
  margin-bottom: 15px;
}

.ft-plan-desc {
  font-size: 0.9rem;
  color: var(--ft-silver);
  margin-bottom: 20px;
}

/* ============================================
   Tools Gateway
   ============================================ */
.ft-tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
}

.ft-tool-item {
  text-align: center;
  padding: 35px 20px;
  background: var(--ft-card-bg);
  border: 1px solid var(--ft-border);
  border-radius: 12px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.ft-tool-item:hover {
  border-color: var(--ft-accent);
  transform: translateY(-3px);
  box-shadow: var(--ft-glow);
}

.ft-tool-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
  display: block;
}

.ft-tool-name {
  font-size: 1rem;
  color: #fff;
  font-weight: 500;
}

/* ============================================
   3D Visualization Intro
   ============================================ */
.ft-viz-section {
  position: relative;
  overflow: hidden;
}

.ft-viz-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.ft-viz-image {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--ft-border);
}

.ft-viz-image img {
  width: 100%;
  transition: transform 0.5s ease;
}

.ft-viz-image:hover img {
  transform: scale(1.03);
}

.ft-viz-content h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.ft-viz-content p {
  margin-bottom: 15px;
  font-size: 0.95rem;
}

.ft-viz-features {
  list-style: none;
  margin: 20px 0;
}

.ft-viz-features li {
  padding: 8px 0;
  padding-left: 25px;
  position: relative;
  font-size: 0.9rem;
}

.ft-viz-features li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--ft-accent);
  font-weight: bold;
}

/* ============================================
   Expert Team
   ============================================ */
.ft-team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.ft-team-card {
  text-align: center;
  padding: 40px 25px;
  background: var(--ft-card-bg);
  border: 1px solid var(--ft-border);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.ft-team-card:hover {
  border-color: var(--ft-accent);
  box-shadow: var(--ft-glow);
}

.ft-team-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 20px;
  border: 3px solid var(--ft-accent);
  object-fit: cover;
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
}

.ft-team-name {
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.ft-team-role {
  font-family: var(--ft-font-en);
  font-size: 0.8rem;
  color: var(--ft-accent);
  margin-bottom: 15px;
  letter-spacing: 1px;
}

.ft-team-bio {
  font-size: 0.85rem;
  color: var(--ft-silver);
}

/* ============================================
   Testimonials
   ============================================ */
.ft-testimonials-track {
  display: flex;
  gap: 25px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 10px 0;
  scrollbar-width: none;
}

.ft-testimonials-track::-webkit-scrollbar { display: none; }

.ft-testimonial-card {
  flex: 0 0 350px;
  scroll-snap-align: start;
  padding: 30px;
  background: var(--ft-card-bg);
  border: 1px solid var(--ft-border);
  border-radius: 12px;
}

.ft-testimonial-stars {
  color: #FFaa00;
  margin-bottom: 15px;
  font-size: 1rem;
}

.ft-testimonial-text {
  font-size: 0.9rem;
  color: var(--ft-silver);
  margin-bottom: 15px;
  font-style: italic;
}

.ft-testimonial-author {
  font-size: 0.85rem;
  color: var(--ft-accent);
  font-weight: 500;
}

/* ============================================
   News & Articles
   ============================================ */
.ft-news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.ft-news-card {
  background: var(--ft-card-bg);
  border: 1px solid var(--ft-border);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.ft-news-card:hover {
  border-color: var(--ft-accent);
  transform: translateY(-3px);
}

.ft-news-img {
  height: 180px;
  overflow: hidden;
}

.ft-news-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.ft-news-card:hover .ft-news-img img {
  transform: scale(1.05);
}

.ft-news-body {
  padding: 20px;
}

.ft-news-date {
  font-family: var(--ft-font-en);
  font-size: 0.75rem;
  color: var(--ft-accent);
  margin-bottom: 8px;
}

.ft-news-title {
  font-size: 1.05rem;
  margin-bottom: 10px;
  line-height: 1.4;
}

.ft-news-excerpt {
  font-size: 0.85rem;
  color: var(--ft-silver);
}

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

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

.ft-footer-brand .ft-logo {
  margin-bottom: 15px;
}

.ft-footer-brand p {
  font-size: 0.85rem;
  color: var(--ft-silver);
  margin-bottom: 15px;
}

.ft-footer-contact {
  font-size: 0.85rem;
  color: var(--ft-silver);
}

.ft-footer-contact a {
  color: var(--ft-accent);
}

.ft-footer-nav h4,
.ft-footer-legal h4 {
  font-size: 1rem;
  color: #fff;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--ft-border);
}

.ft-footer-nav ul,
.ft-footer-legal ul {
  list-style: none;
}

.ft-footer-nav li,
.ft-footer-legal li {
  margin-bottom: 10px;
}

.ft-footer-nav a,
.ft-footer-legal a {
  font-size: 0.85rem;
  color: var(--ft-silver);
}

.ft-footer-nav a:hover,
.ft-footer-legal a:hover {
  color: var(--ft-accent);
}

.ft-footer-award {
  margin-top: 20px;
  padding: 12px;
  border: 1px solid rgba(255, 170, 0, 0.3);
  border-radius: 8px;
  background: rgba(255, 170, 0, 0.05);
  font-size: 0.8rem;
  color: #FFaa00;
  text-align: center;
}

.ft-footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid var(--ft-border);
  font-size: 0.8rem;
  color: #666;
}

.ft-footer-bottom a {
  color: #888;
  margin: 0 10px;
}

/* ============================================
   Breadcrumb
   ============================================ */
.ft-breadcrumb {
  padding: 15px 0;
  font-size: 0.85rem;
  color: var(--ft-silver);
  margin-top: 70px;
}

.ft-breadcrumb a {
  color: var(--ft-silver);
}

.ft-breadcrumb a:hover {
  color: var(--ft-accent);
}

.ft-breadcrumb span {
  margin: 0 8px;
  color: #555;
}

/* ============================================
   Inner Page Layout
   ============================================ */
.ft-page-hero {
  position: relative;
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 70px;
}

.ft-page-hero-bg {
  position: absolute;
  inset: 0;
}

.ft-page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.ft-page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6,6,18,0.7) 0%, rgba(10,10,26,0.95) 100%);
}

.ft-page-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.ft-page-hero-content h1 {
  font-family: var(--ft-font-en);
  font-size: 2.5rem;
  letter-spacing: 3px;
  margin-bottom: 10px;
}

.ft-page-hero-content p {
  color: var(--ft-silver);
  font-size: 1rem;
}

.ft-content-area {
  padding: 60px 0;
}

.ft-content-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
}

.ft-main-content {
  min-width: 0;
}

.ft-sidebar {
  position: sticky;
  top: 90px;
  align-self: start;
}

.ft-sidebar-widget {
  background: var(--ft-card-bg);
  border: 1px solid var(--ft-border);
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 25px;
}

.ft-sidebar-widget h3 {
  font-size: 1rem;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--ft-border);
}

.ft-related-list {
  list-style: none;
}

.ft-related-list li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.ft-related-list a {
  font-size: 0.85rem;
  color: var(--ft-silver);
}

.ft-related-list a:hover {
  color: var(--ft-accent);
}

/* ============================================
   Data Table
   ============================================ */
.ft-data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.ft-data-table th {
  background: rgba(0, 255, 136, 0.1);
  padding: 12px 15px;
  text-align: left;
  font-weight: 600;
  color: var(--ft-accent);
  border-bottom: 2px solid var(--ft-border);
  font-family: var(--ft-font-en);
  font-size: 0.8rem;
  letter-spacing: 1px;
}

.ft-data-table td {
  padding: 10px 15px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.ft-data-table tr:hover td {
  background: rgba(0, 255, 136, 0.03);
}

/* ============================================
   App Download Page
   ============================================ */
.ft-app-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 70px;
}

.ft-app-hero-bg {
  position: absolute;
  inset: 0;
}

.ft-app-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.ft-app-hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(6,6,18,0.6) 0%, rgba(10,10,26,0.95) 70%);
}

.ft-app-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 20px;
}

.ft-app-logo {
  width: 100px;
  height: 100px;
  margin: 0 auto 25px;
  border: 3px solid var(--ft-accent);
  border-radius: 24px;
  padding: 15px;
  box-shadow: var(--ft-glow);
}

.ft-app-slogan {
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 10px;
}

.ft-app-sub {
  color: var(--ft-silver);
  margin-bottom: 40px;
}

.ft-qr-section {
  display: flex;
  gap: 40px;
  justify-content: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.ft-qr-item {
  text-align: center;
}

.ft-qr-placeholder {
  width: 150px;
  height: 150px;
  background: rgba(255,255,255,0.1);
  border: 2px dashed var(--ft-border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  font-size: 0.8rem;
  color: var(--ft-silver);
}

.ft-qr-label {
  font-size: 0.85rem;
  color: var(--ft-silver);
}

.ft-app-features {
  display: flex;
  gap: 40px;
  justify-content: center;
  margin-top: 50px;
  flex-wrap: wrap;
}

.ft-app-feature {
  text-align: center;
  max-width: 150px;
}

.ft-app-feature-icon {
  font-size: 2rem;
  margin-bottom: 10px;
  display: block;
}

.ft-app-feature-text {
  font-size: 0.85rem;
  color: var(--ft-silver);
}

/* ============================================
   3D Speedway Page
   ============================================ */
.ft-speedway-canvas {
  width: 100%;
  height: 500px;
  background: var(--ft-dark-bg);
  border: 1px solid var(--ft-border);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  margin-bottom: 30px;
}

.ft-speedway-controls {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.ft-speedway-controls select,
.ft-speedway-controls input {
  background: var(--ft-card-bg);
  border: 1px solid var(--ft-border);
  color: var(--ft-silver);
  padding: 8px 15px;
  border-radius: 6px;
  font-family: var(--ft-font-cn);
  font-size: 0.85rem;
}

.ft-speedway-controls select:focus,
.ft-speedway-controls input:focus {
  border-color: var(--ft-accent);
  outline: none;
}

/* ============================================
   Ad Placeholder
   ============================================ */
.ft-ad-slot {
  background: rgba(255,255,255,0.02);
  border: 1px dashed var(--ft-border);
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  color: #444;
  font-size: 0.8rem;
  margin: 20px 0;
}

/* ============================================
   Animations on scroll
   ============================================ */
.ft-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.ft-animate.ft-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   Responsive Design - Mobile First
   ============================================ */

/* Small phones (360px) */
@media (max-width: 767px) {
  .ft-hero-title { font-size: 1.8rem; letter-spacing: 1px; }
  .ft-hero-slogan { font-size: 1rem; }
  .ft-hero { min-height: 500px; }

  .ft-nav { display: none; }
  .ft-hamburger { display: flex; }

  .ft-nav.ft-nav-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 70px; right: 0;
    width: 260px;
    height: calc(100vh - 70px);
    background: rgba(6, 6, 18, 0.98);
    padding: 20px;
    border-left: 1px solid var(--ft-border);
    z-index: 999;
    animation: ft-slide-in 0.3s ease;
  }

  @keyframes ft-slide-in {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
  }

  .ft-nav.ft-nav-open a {
    padding: 12px 0;
    border-bottom: 1px solid var(--ft-border);
  }

  .ft-header-actions { display: none; }

  .ft-ticker-inner { flex-direction: column; gap: 20px; }
  .ft-ticker-balls { flex-wrap: wrap; justify-content: center; }
  .ft-ball { width: 40px; height: 40px; font-size: 0.9rem; }

  .ft-plans-grid { grid-template-columns: 1fr; }
  .ft-tools-grid { grid-template-columns: repeat(2, 1fr); }
  .ft-viz-grid { grid-template-columns: 1fr; }
  .ft-team-grid { grid-template-columns: 1fr; }
  .ft-news-grid { grid-template-columns: 1fr; }

  .ft-footer-grid { grid-template-columns: 1fr; }
  .ft-content-grid { grid-template-columns: 1fr; }
  .ft-sidebar { position: static; }

  .ft-section { padding: 50px 0; }
  .ft-section-title { font-size: 1.5rem; }

  .ft-page-hero { height: 250px; }
  .ft-page-hero-content h1 { font-size: 1.6rem; }

  .ft-qr-section { flex-direction: column; align-items: center; }
  .ft-app-features { gap: 20px; }
}

/* Tablet (768px) */
@media (min-width: 768px) and (max-width: 1023px) {
  .ft-hero-title { font-size: 2.5rem; }
  .ft-nav { display: none; }
  .ft-hamburger { display: flex; }

  .ft-nav.ft-nav-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 70px; right: 0;
    width: 300px;
    height: calc(100vh - 70px);
    background: rgba(6, 6, 18, 0.98);
    padding: 20px;
    border-left: 1px solid var(--ft-border);
    z-index: 999;
  }

  .ft-nav.ft-nav-open a {
    padding: 12px 0;
    border-bottom: 1px solid var(--ft-border);
  }

  .ft-tools-grid { grid-template-columns: repeat(3, 1fr); }
  .ft-footer-grid { grid-template-columns: 1fr 1fr; }
  .ft-content-grid { grid-template-columns: 1fr; }
}

/* Laptop (1024px) */
@media (min-width: 1024px) and (max-width: 1439px) {
  .ft-hero-title { font-size: 3rem; }
}

/* Desktop (1440px+) */
@media (min-width: 1440px) {
  .ft-container { max-width: 1400px; }
}

/* Lazy loading placeholder */
img[loading="lazy"] {
  background: var(--ft-card-bg);
}

/* Scrollbar styling */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--ft-primary); }
::-webkit-scrollbar-thumb { background: rgba(0, 255, 136, 0.3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--ft-accent); }
