@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;700;900&family=ZCOOL+KuaiLe&display=swap');

:root {
  --primary: #1a237e;
  --primary-dark: #0d47a1;
  --accent: #ff5252;
  --accent-dark: #d32f2f;
  --bg-light: #e8eaf6;
  --bg-white: #ffffff;
  --text-dark: #0d47a1;
  --text-gray: #546e7a;
  --border: #c5cae9;
  --shadow: 0 4px 20px rgba(26, 35, 126, 0.15);
  --shadow-hover: 0 8px 30px rgba(26, 35, 126, 0.25);
  --radius: 12px;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans SC', sans-serif;
  background: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  min-height: 100vh;
}

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

/* Header */
.site-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: var(--accent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 900;
  color: #fff;
  font-family: 'ZCOOL KuaiLe', cursive;
  box-shadow: 0 4px 15px rgba(255, 82, 82, 0.4);
}

.logo-text {
  font-family: 'ZCOOL KuaiLe', cursive;
  font-size: 22px;
  color: #fff;
  letter-spacing: 1px;
}

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

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 8px;
}

.main-nav a {
  display: block;
  padding: 8px 18px;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 500;
  border-radius: 8px;
  transition: var(--transition);
  font-size: 15px;
}

.main-nav a:hover,
.main-nav a.active {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.main-nav a.active {
  background: var(--accent);
  color: #fff;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 26px;
  cursor: pointer;
}

/* Live Badge */
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--accent);
  color: #fff;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  animation: pulse-live 1.5s infinite;
}

.live-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

@keyframes pulse-live {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 82, 82, 0.5); }
  50% { box-shadow: 0 0 0 8px rgba(255, 82, 82, 0); }
}

/* Hero Banner */
.hero-banner {
  background: linear-gradient(135deg, var(--primary) 0%, #283593 50%, var(--accent) 100%);
  color: #fff;
  padding: 60px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 82, 82, 0.3) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-banner::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

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

.hero-content h1 {
  font-family: 'ZCOOL KuaiLe', cursive;
  font-size: 48px;
  margin-bottom: 16px;
  letter-spacing: 2px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-content p {
  font-size: 18px;
  opacity: 0.95;
  margin-bottom: 24px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
}

.hero-stat .stat-num {
  font-family: 'ZCOOL KuaiLe', cursive;
  font-size: 36px;
  color: var(--accent);
  display: block;
}

.hero-stat .stat-label {
  font-size: 14px;
  opacity: 0.9;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-size: 15px;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 15px rgba(255, 82, 82, 0.4);
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 82, 82, 0.5);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
}

.btn-group {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

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

.section-title {
  font-family: 'ZCOOL KuaiLe', cursive;
  font-size: 32px;
  color: var(--primary);
  text-align: center;
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
  width: 100%;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--accent);
  margin: 10px auto 0;
  border-radius: 2px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-gray);
  margin-bottom: 40px;
  font-size: 16px;
}

/* Cards Grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

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

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary);
}

.card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.card-body {
  padding: 20px;
}

.card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.card-meta {
  display: flex;
  gap: 12px;
  font-size: 13px;
  color: var(--text-gray);
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.card-desc {
  color: var(--text-gray);
  font-size: 14px;
  margin-bottom: 16px;
  line-height: 1.5;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  background: var(--bg-light);
  border-top: 1px solid var(--border);
}

.card-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition: var(--transition);
}

.card-link:hover {
  color: var(--accent);
}

/* Live Card */
.live-card {
  position: relative;
  background: linear-gradient(135deg, #1a237e 0%, #283593 100%);
  color: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

.live-card .live-indicator {
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 3;
}

.live-card .match-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  opacity: 0.7;
}

.live-card .match-info {
  padding: 20px;
}

.live-card .teams {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 12px;
}

.live-card .team {
  text-align: center;
  flex: 1;
}

.live-card .team-logo {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 6px;
  font-size: 20px;
  font-weight: 900;
}

.live-card .team-name {
  font-size: 13px;
  font-weight: 500;
}

.live-card .vs {
  font-family: 'ZCOOL KuaiLe', cursive;
  font-size: 24px;
  color: var(--accent);
}

.live-card .score {
  display: flex;
  justify-content: center;
  gap: 20px;
  font-family: 'ZCOOL KuaiLe', cursive;
  font-size: 32px;
  margin-bottom: 10px;
}

.live-card .score span {
  min-width: 40px;
  text-align: center;
}

.live-card .status {
  text-align: center;
  font-size: 13px;
  opacity: 0.9;
  margin-bottom: 12px;
}

.live-card .viewer-count {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13px;
  opacity: 0.8;
}

.live-card .watch-btn {
  display: block;
  width: 100%;
  padding: 12px;
  background: var(--accent);
  color: #fff;
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 700;
  transition: var(--transition);
  margin-top: 12px;
}

.live-card .watch-btn:hover {
  background: var(--accent-dark);
}

/* Dashboard Stats */
.dashboard {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.stat-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--primary);
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.stat-card.accent {
  border-left-color: var(--accent);
}

.stat-card.green {
  border-left-color: #4caf50;
}

.stat-card.orange {
  border-left-color: #ff9800;
}

.stat-card .stat-icon {
  font-size: 32px;
  margin-bottom: 8px;
}

.stat-card .stat-value {
  font-family: 'ZCOOL KuaiLe', cursive;
  font-size: 32px;
  color: var(--primary);
}

.stat-card.accent .stat-value {
  color: var(--accent);
}

.stat-card .stat-name {
  font-size: 14px;
  color: var(--text-gray);
}

/* Filter Tabs */
.filter-tabs {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.filter-tab {
  padding: 8px 20px;
  background: var(--bg-white);
  border: 2px solid var(--border);
  border-radius: 20px;
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Noto Sans SC', sans-serif;
  font-size: 14px;
  color: var(--text-gray);
}

.filter-tab:hover,
.filter-tab.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* Schedule Table */
.schedule-list {
  display: grid;
  gap: 16px;
}

.schedule-item {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 20px;
  transition: var(--transition);
  border-left: 4px solid var(--border);
}

.schedule-item:hover {
  border-left-color: var(--accent);
  transform: translateX(4px);
}

.schedule-item.live {
  border-left-color: var(--accent);
  background: linear-gradient(to right, #ffebee 0%, var(--bg-white) 30%);
}

.schedule-item.finished {
  border-left-color: #9e9e9e;
  opacity: 0.8;
}

.schedule-date {
  min-width: 80px;
  text-align: center;
}

.schedule-date .day {
  font-family: 'ZCOOL KuaiLe', cursive;
  font-size: 28px;
  color: var(--primary);
  display: block;
}

.schedule-date .month {
  font-size: 12px;
  color: var(--text-gray);
  text-transform: uppercase;
}

.schedule-main {
  flex: 1;
}

.schedule-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.schedule-meta {
  display: flex;
  gap: 15px;
  font-size: 13px;
  color: var(--text-gray);
  flex-wrap: wrap;
}

.schedule-status {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
}

.status-live {
  background: var(--accent);
  color: #fff;
  animation: pulse-live 1.5s infinite;
}

.status-upcoming {
  background: var(--bg-light);
  color: var(--primary);
}

.status-finished {
  background: #eceff1;
  color: var(--text-gray);
}

/* Results */
.result-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.result-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--bg-light);
}

.result-tournament {
  font-weight: 700;
  color: var(--primary);
  font-size: 16px;
}

.result-date {
  font-size: 13px;
  color: var(--text-gray);
}

.result-match {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.result-team {
  flex: 1;
  text-align: center;
}

.result-team .team-name {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 4px;
}

.result-team .team-score {
  font-family: 'ZCOOL KuaiLe', cursive;
  font-size: 36px;
  color: var(--primary);
}

.result-team.winner .team-score {
  color: var(--accent);
}

.result-vs {
  font-family: 'ZCOOL KuaiLe', cursive;
  font-size: 20px;
  color: var(--text-gray);
}

.result-footer {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-gray);
}

/* Quick Access */
.quick-access {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}

.quick-item {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 30px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: var(--primary);
  transition: var(--transition);
  border: 2px solid transparent;
}

.quick-item:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  color: var(--accent);
}

.quick-item .quick-icon {
  font-size: 40px;
  margin-bottom: 12px;
  display: block;
}

.quick-item .quick-title {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 4px;
}

.quick-item .quick-desc {
  font-size: 13px;
  color: var(--text-gray);
}

/* About / Contact */
.content-page {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}

.content-page h2 {
  font-family: 'ZCOOL KuaiLe', cursive;
  font-size: 28px;
  color: var(--primary);
  margin-bottom: 20px;
}

.content-page h3 {
  font-size: 20px;
  color: var(--primary-dark);
  margin: 24px 0 12px;
}

.content-page p {
  color: var(--text-dark);
  margin-bottom: 16px;
  line-height: 1.8;
}

.content-page ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

.content-page li {
  margin-bottom: 8px;
  color: var(--text-dark);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin: 30px 0;
}

.info-card {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  transition: var(--transition);
}

.info-card:hover {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  transform: translateY(-5px);
}

.info-card:hover .info-icon,
.info-card:hover .info-title,
.info-card:hover .info-content {
  color: #fff;
}

.info-icon {
  font-size: 36px;
  margin-bottom: 12px;
}

.info-title {
  font-weight: 700;
  font-size: 18px;
  color: var(--primary);
  margin-bottom: 8px;
}

.info-content {
  color: var(--text-gray);
  font-size: 14px;
  line-height: 1.6;
}

/* Contact Form */
.contact-form {
  display: grid;
  gap: 18px;
  max-width: 600px;
}

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

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-family: 'Noto Sans SC', sans-serif;
  font-size: 15px;
  transition: var(--transition);
  background: var(--bg-white);
}

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

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Team Section */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin: 30px 0;
}

.team-member {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.team-avatar {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #fff;
  font-family: 'ZCOOL KuaiLe', cursive;
}

.team-name {
  font-weight: 700;
  font-size: 18px;
  color: var(--primary);
}

.team-role {
  color: var(--text-gray);
  font-size: 14px;
  margin-bottom: 8px;
}

.team-desc {
  font-size: 13px;
  color: var(--text-gray);
  line-height: 1.5;
}

/* Footer */
.site-footer {
  background: linear-gradient(135deg, #1a237e 0%, #0d47a1 100%);
  color: #fff;
  margin-top: 60px;
}

.footer-main {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  padding: 50px 0 30px;
}

.footer-col h4 {
  font-family: 'ZCOOL KuaiLe', cursive;
  font-size: 18px;
  margin-bottom: 18px;
  color: #fff;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

.footer-col p {
  font-size: 14px;
  line-height: 1.7;
  opacity: 0.9;
  margin-bottom: 12px;
}

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

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

.footer-col a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--accent);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  opacity: 0.8;
}

/* Breadcrumb */
.breadcrumb {
  background: var(--bg-white);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

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

.breadcrumb-list a {
  color: var(--primary);
  text-decoration: none;
}

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

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

.breadcrumb-list li:last-child {
  color: var(--text-gray);
}

/* Responsive */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--primary-dark);
    padding: 20px;
    flex-direction: column;
  }

  .main-nav.active {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 4px;
  }

  .main-nav a {
    padding: 12px 18px;
  }

  .hero-content h1 {
    font-size: 32px;
  }

  .hero-content p {
    font-size: 16px;
  }

  .hero-stats {
    gap: 20px;
  }

  .hero-stat .stat-num {
    font-size: 28px;
  }

  .section {
    padding: 40px 0;
  }

  .section-title {
    font-size: 26px;
  }

  .schedule-item {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .result-match {
    flex-direction: column;
    gap: 8px;
  }

  .result-vs {
    font-size: 18px;
  }

  .content-page {
    padding: 24px;
  }

  .footer-main {
    gap: 30px;
    padding: 30px 0 20px;
  }
}

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

  .btn-group {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 260px;
  }

  .logo-text {
    font-size: 18px;
  }
}