/* PadelSquash - 都市精英风格 */
:root {
  --primary: #1A237E;
  --accent: #C6FF00;
  --white: #FFFFFF;
  --dark: #0D1B2A;
  --gray-light: #F5F5F7;
  --gray: #6B7280;
  --shadow: 0 4px 20px rgba(26,35,126,0.1);
  --radius: 12px;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--dark);
  line-height: 1.7;
  background: var(--white);
  overflow-x: hidden;
}

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

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

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(26,35,126,0.95);
  backdrop-filter: blur(10px);
  padding: 0 20px;
  transition: var(--transition);
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo span {
  color: var(--accent);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-menu a {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 8px 0;
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

.nav-menu a:hover {
  color: var(--accent);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}

.mobile-toggle span {
  width: 25px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--primary);
}

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

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,35,126,0.85) 0%, rgba(13,27,42,0.7) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: var(--white);
  padding: 20px;
  max-width: 800px;
}

.hero-content h1 {
  font-size: 3.2rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-content h1 .highlight {
  color: var(--accent);
}

.hero-content p {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 36px;
  line-height: 1.8;
}

.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: var(--primary);
}

.btn-primary:hover {
  background: #D4FF33;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(198,255,0,0.3);
  color: var(--primary);
}

.btn-outline {
  border: 2px solid var(--white);
  color: var(--white);
  background: transparent;
}

.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Section Common */
.section {
  padding: 80px 0;
}

.section-dark {
  background: var(--dark);
  color: var(--white);
}

.section-gray {
  background: var(--gray-light);
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-dark .section-title h2 {
  color: var(--white);
}

.section-title p {
  font-size: 1.1rem;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
}

.section-dark .section-title p {
  color: rgba(255,255,255,0.7);
}

/* Two Column */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.two-col-text h3 {
  font-size: 1.6rem;
  margin-bottom: 16px;
  color: var(--primary);
}

.two-col-text p {
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 12px;
}

.two-col-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.two-col-img img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  transition: var(--transition);
}

.two-col-img:hover img {
  transform: scale(1.03);
}

/* Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(26,35,126,0.15);
}

.card-img {
  height: 220px;
  overflow: hidden;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.card-body {
  padding: 24px;
}

.card-body h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--primary);
}

.card-body p {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.7;
}

.card-tag {
  display: inline-block;
  background: rgba(26,35,126,0.08);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 10px;
}

/* Product Cards */
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-img {
  height: 250px;
  overflow: hidden;
  background: var(--gray-light);
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20px;
}

.product-info {
  padding: 20px;
}

.product-info h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.product-price {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
}

.product-price .original {
  font-size: 0.9rem;
  color: var(--gray);
  text-decoration: line-through;
  margin-left: 8px;
  font-weight: 400;
}

/* League Table */
.league-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.league-table th {
  background: var(--primary);
  color: var(--white);
  padding: 14px 20px;
  text-align: left;
  font-weight: 600;
}

.league-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--gray-light);
}

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

.league-table tr:hover td {
  background: rgba(26,35,126,0.03);
}

.rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
}

/* Form */
.form-section {
  background: linear-gradient(135deg, var(--primary) 0%, #283593 100%);
  padding: 80px 0;
}

.form-card {
  max-width: 600px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.form-card h3 {
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 8px;
  text-align: center;
}

.form-card .form-subtitle {
  text-align: center;
  color: var(--gray);
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #E0E0E0;
  border-radius: 8px;
  font-size: 1rem;
  transition: var(--transition);
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,35,126,0.1);
}

.form-submit {
  width: 100%;
  padding: 14px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.form-submit:hover {
  background: #283593;
  transform: translateY(-1px);
}

/* Video Section */
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Footer */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.8);
  padding: 60px 0 30px;
}

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

.footer-brand h3 {
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 12px;
}

.footer-brand h3 span {
  color: var(--accent);
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}

.footer-col ul li a:hover {
  color: var(--accent);
}

.footer-contact p {
  font-size: 0.9rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

.footer-bottom a {
  color: rgba(255,255,255,0.5);
}

.footer-bottom a:hover {
  color: var(--accent);
}

/* Breadcrumb */
.breadcrumb {
  padding: 100px 0 20px;
  background: var(--gray-light);
}

.breadcrumb-list {
  display: flex;
  list-style: none;
  gap: 8px;
  font-size: 0.9rem;
}

.breadcrumb-list li::after {
  content: '/';
  margin-left: 8px;
  color: var(--gray);
}

.breadcrumb-list li:last-child::after {
  content: '';
}

.breadcrumb-list a {
  color: var(--gray);
}

.breadcrumb-list .current {
  color: var(--primary);
  font-weight: 600;
}

/* Page Hero */
.page-hero {
  padding: 120px 0 60px;
  background: linear-gradient(135deg, var(--primary) 0%, #283593 100%);
  color: var(--white);
  text-align: center;
}

.page-hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.page-hero p {
  font-size: 1.1rem;
  opacity: 0.85;
  max-width: 600px;
  margin: 0 auto;
}

/* Content Sections */
.content-block {
  padding: 40px 0;
}

.content-block h2 {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 16px;
}

.content-block h3 {
  font-size: 1.4rem;
  color: var(--dark);
  margin-bottom: 12px;
  margin-top: 24px;
}

.content-block p {
  color: var(--gray);
  line-height: 1.9;
  margin-bottom: 16px;
}

.content-block ul,
.content-block ol {
  margin: 16px 0;
  padding-left: 24px;
  color: var(--gray);
}

.content-block li {
  margin-bottom: 8px;
  line-height: 1.7;
}

/* Venue Card */
.venue-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 24px;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
  transition: var(--transition);
}

.venue-card:hover {
  box-shadow: 0 12px 40px rgba(26,35,126,0.15);
}

.venue-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 200px;
}

.venue-card-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.venue-card-info h3 {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.venue-card-info p {
  color: var(--gray);
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.venue-tag {
  display: inline-block;
  background: var(--accent);
  color: var(--primary);
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-right: 8px;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--primary);
    flex-direction: column;
    padding: 20px;
    gap: 0;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu li {
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .nav-menu a {
    display: block;
    padding: 12px 0;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .two-col {
    grid-template-columns: 1fr;
  }

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

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

  .venue-card {
    grid-template-columns: 1fr;
  }

  .section-title h2 {
    font-size: 1.8rem;
  }

  .page-hero h1 {
    font-size: 1.8rem;
  }

  .league-table {
    font-size: 0.85rem;
  }

  .league-table th,
  .league-table td {
    padding: 10px 12px;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.6rem;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }

  .form-card {
    padding: 24px;
  }
}

/* Lazy Load Animation */
.lazy-img {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.lazy-img.loaded {
  opacity: 1;
}

/* Utility */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.mt-40 { margin-top: 40px; }
.mb-40 { margin-bottom: 40px; }
