/* 全局样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #0a1f44 0%, #1a3a6c 50%, #0a1f44 100%);
  color: #ffffff;
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  padding-bottom: 120px; /* 为footer留出空间 */
}

/* 头部导航 */
header {
  background: rgba(10, 31, 68, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 2px solid #00a8ff;
  box-shadow: 0 4px 20px rgba(0, 168, 255, 0.3);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
}

header h1 {
  font-size: 2rem;
  background: linear-gradient(45deg, #00a8ff, #0097e6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 20px rgba(0, 168, 255, 0.5);
}

/* 导航菜单 */
nav {
  display: flex;
  gap: 1.5rem;
}

nav a {
  color: #ffffff;
  text-decoration: none;
  padding: 0.5rem 1.5rem;
  border-radius: 25px;
  transition: all 0.3s ease;
  font-weight: 500;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 修复光圈效果 */
nav a::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(0, 168, 255, 0.4) 0%, transparent 70%);
  transition: all 0.5s ease;
  transform: translate(-50%, -50%) scale(0.8);
  border-radius: 25px;
  opacity: 0;
}

nav a:hover::before {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

nav a:hover {
  background: rgba(0, 168, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 168, 255, 0.4);
}

nav a.active {
  background: linear-gradient(45deg, #00a8ff, #0097e6);
  box-shadow: 0 0 15px rgba(0, 168, 255, 0.6);
}

/* 移除之前的光圈动画效果 */
nav a::before {
  /* 移除之前的 left: -100% 动画 */
}

/* 主要内容区域 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

/* 英雄区域 */
.hero {
  text-align: center;
  padding: 4rem 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  margin: 2rem auto;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 168, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 168, 255, 0.1) 0%, transparent 70%);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

.hero h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
  background: linear-gradient(45deg, #00a8ff, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 2rem;
  color: #e0e0e0;
}

/* 内容卡片 */
.content-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 2rem;
  margin: 2rem 0;
  border: 1px solid rgba(0, 168, 255, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 168, 255, 0.3);
}

.content-card h2 {
  color: #00a8ff;
  margin-bottom: 1rem;
  font-size: 2rem;
}

.content-card h3 {
  color: #4cd137;
  margin: 1.5rem 0 1rem;
}



/* 图片网格 */
.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.image-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid rgba(0, 168, 255, 0.3);
}

.image-grid img:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 168, 255, 0.5);
}

/* 俱乐部卡片 */
.clubs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.club-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 168, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.club-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #00a8ff, #4cd137, #9c88ff);
}

.club-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 168, 255, 0.4);
  background: rgba(255, 255, 255, 0.12);
}

.club-card h3 {
  color: #00a8ff;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* 页脚 */
footer {
  background: rgba(10, 31, 68, 0.95);
  padding: 2rem;
  text-align: center;
  position: absolute;
  bottom: 0;
  width: 100%;
  border-top: 2px solid #00a8ff;
}

.contact-info {
  margin-bottom: 1rem;
}

.contact-info p {
  margin: 0.5rem 0;
  font-size: 1.1rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    gap: 1rem;
  }
  
  nav {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .hero h2 {
    font-size: 2rem;
  }
  
  .container {
    padding: 1rem;
  }
}

/* 特殊效果 */
.glow-text {
  text-shadow: 0 0 10px rgba(0, 168, 255, 0.7);
}

.highlight {
  color: #4cd137;
  font-weight: bold;
}