/* 现代极简蓝色渐变风格 - Bingo系统 */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

:root {
  --primary: #2563eb;
  --primary-light: #60a5fa;
  --primary-gradient: linear-gradient(135deg, #2563eb 0%, #38bdf8 100%);
  --primary-gradient-hover: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
  --secondary: #6366f1;
  --white: #fff;
  --black: #222;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --radius: 2rem;
  --radius-sm: 1rem;
  --shadow: 0 4px 24px 0 rgba(37,99,235,0.08);
  --shadow-lg: 0 8px 32px 0 rgba(37,99,235,0.12);
  --transition: all 0.2s cubic-bezier(.4,0,.2,1);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--gray-50);
  color: var(--gray-800);
  font-size: 18px;
  margin: 0;
  min-height: 100vh;
}

/* 导航栏 - 扁平化设计 */
.navbar {
  background: #ffffff;
  border-bottom: 1px solid #e5e7ef;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.navbar-brand {
  font-size: 1.9rem;
  font-weight: 700;
  color: #2563eb;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  letter-spacing: -0.5px;
  white-space: nowrap;
  flex-shrink: 0;
}

.navbar-brand:hover {
  color: #1d4ed8;
}

.navbar-brand i {
  font-size: 1.8rem;
  color: #2563eb;
  flex-shrink: 0;
}

.navbar-brand span {
  white-space: nowrap;
  flex-shrink: 0;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
  flex: 1;
}

.navbar-nav li {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  height: 2.8rem;
}

.nav-link {
  color: #374151;
  font-weight: 500;
  text-decoration: none;
  font-size: 0.95rem;
  padding: 0.7rem 1.2rem;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
  min-width: fit-content;
  height: 2.8rem;
  box-sizing: border-box;
}

.nav-link:hover,
.nav-link.active {
  color: #2563eb;
  background: #f0f6ff;
}

.nav-link i {
  font-size: 1rem;
  transition: all 0.2s ease;
}

.nav-link:hover i,
.nav-link.active i {
  color: #2563eb;
}

/* 特殊导航链接样式 */
.admin-link {
  color: #374151;
  font-weight: 500;
  text-decoration: none;
  font-size: 0.95rem;
  padding: 0.7rem 1.2rem;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
  min-width: fit-content;
  height: 2.8rem;
  box-sizing: border-box;
}

.admin-link:hover,
.admin-link.active {
  color: #2563eb;
  background: #f0f6ff;
}

.points-display {
  background: #2563eb;
  color: #ffffff;
  padding: 0.7rem 1.2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.points-display:hover {
  background: #1d4ed8;
}

.points-display i {
  font-size: 0.8rem;
}

/* 用户信息显示样式 */
.user-info {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.7rem 1.2rem;
  background: #f8fafc;
  border-radius: 0.5rem;
  border: 1px solid #e2e8f0;
  position: relative;
  height: 2.8rem;
  box-sizing: border-box;
}

.user-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: #e2e8f0;
  overflow: hidden;
  flex-shrink: 0;
}

.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.user-avatar i {
  font-size: 1.5rem;
  color: #64748b;
}

.user-details {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
  justify-content: center;
  height: 100%;
}

.username {
  font-size: 0.9rem;
  font-weight: 600;
  color: #1e293b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.points-display {
  background: #10b981;
  color: #ffffff;
  padding: 0.4rem 0.8rem;
  border-radius: 0.4rem;
  font-weight: 500;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.points-display:hover {
  background: #059669;
}

/* 退出按钮样式 */
.logout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.8rem;
  height: 1.8rem;
  background: #ef4444;
  color: #ffffff;
  border-radius: 0.4rem;
  text-decoration: none;
  transition: all 0.2s ease;
  flex-shrink: 0;
  margin-left: 0.5rem;
}

.logout-btn:hover {
  background: #dc2626;
  transform: scale(1.05);
}

.logout-btn i {
  font-size: 0.8rem;
}

/* 导航菜单样式 */
.navbar-nav li {
  opacity: 1;
}



/* 按钮点击效果 */
.btn:active {
  opacity: 0.8;
}

.nav-link:active {
  opacity: 0.8;
}

/* 导航栏滚动效果 */
.navbar.scrolled {
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 主按钮/次按钮 - 全新现代设计 */
.btn {
  font-family: inherit;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: 1.5rem;
  padding: 0.9rem 2.2rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 
    0 4px 15px rgba(0, 0, 0, 0.1),
    0 2px 8px rgba(0, 0, 0, 0.06);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  outline: none;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  border: 1px solid transparent;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn:hover::before {
  left: 100%;
}

.btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn:hover::after {
  width: 200%;
  height: 200%;
}

.btn-primary {
  background: linear-gradient(135deg, #2563eb 0%, #7c3aed 50%, #38bdf8 100%);
  color: var(--white);
  box-shadow: 
    0 4px 15px rgba(37, 99, 235, 0.3),
    0 2px 8px rgba(37, 99, 235, 0.2);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #6d28d9 50%, #0ea5e9 100%);
  color: var(--white);
  box-shadow: 
    0 8px 25px rgba(37, 99, 235, 0.4),
    0 4px 10px rgba(37, 99, 235, 0.3);
  transform: translateY(-3px);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary);
  border: 2px solid var(--primary);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background: linear-gradient(135deg, #2563eb 0%, #7c3aed 50%, #38bdf8 100%);
  color: var(--white);
  border-color: transparent;
  box-shadow: 
    0 8px 25px rgba(37, 99, 235, 0.4),
    0 4px 10px rgba(37, 99, 235, 0.3);
  transform: translateY(-3px);
}

.btn-danger {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 50%, #b91c1c 100%);
  color: var(--white);
  box-shadow: 
    0 4px 15px rgba(239, 68, 68, 0.3),
    0 2px 8px rgba(239, 68, 68, 0.2);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.btn-danger:hover {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 50%, #991b1b 100%);
  color: var(--white);
  box-shadow: 
    0 8px 25px rgba(239, 68, 68, 0.4),
    0 4px 10px rgba(239, 68, 68, 0.3);
  transform: translateY(-2px);
  border-color: rgba(239, 68, 68, 0.3);
}

.btn-success {
  background: linear-gradient(135deg, #059669 0%, #047857 50%, #065f46 100%);
  color: var(--white);
  box-shadow: 
    0 4px 15px rgba(5, 150, 105, 0.3),
    0 2px 8px rgba(5, 150, 105, 0.2);
}

.btn-success:hover {
  background: linear-gradient(135deg, #047857 0%, #065f46 50%, #064e3b 100%);
  color: var(--white);
  box-shadow: 
    0 8px 25px rgba(5, 150, 105, 0.4),
    0 4px 10px rgba(5, 150, 105, 0.3);
  transform: translateY(-3px);
}

/* 卡片 */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2.5rem 2rem;
  margin-bottom: 2rem;
  transition: var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

/* 分区标题 */
.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-dark, #2563eb);
  position: relative;
  margin-bottom: 2.2rem;
  letter-spacing: 1px;
}

/* 英雄区 */
.hero {
  background: var(--primary-gradient);
  color: var(--white);
  border-radius: 0 0 3rem 3rem;
  padding: 4.5rem 0 3.5rem 0;
  text-align: center;
  margin-bottom: 2.5rem;
}
.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  letter-spacing: 1px;
}
.hero-desc {
  font-size: 1.25rem;
  opacity: 0.95;
  margin-bottom: 2.5rem;
}
.hero-btns {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

/* 功能区卡片 */
.feature-cards {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem 1.5rem;
  flex: 1 1 260px;
  min-width: 260px;
  max-width: 340px;
  text-align: center;
  transition: var(--transition);
  margin-bottom: 1.5rem;
}
.feature-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.feature-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}
.feature-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.feature-desc {
  color: var(--gray-600);
  font-size: 1rem;
}

/* 页脚 */
footer {
  background: var(--gray-900);
  color: var(--white);
  text-align: center;
  padding: 2rem 0 1rem 0;
  border-radius: 2rem 2rem 0 0;
  margin-top: 3rem;
  font-size: 1rem;
  opacity: 0.92;
}

/* 响应式设计 */
@media (max-width: 900px) {
  .feature-cards {
    flex-direction: column;
    gap: 1.2rem;
    align-items: center;
  }
  .card, .feature-card {
    padding: 1.5rem 1rem;
  }
  .hero {
    padding: 3rem 0 2rem 0;
  }
  .hero-title {
    font-size: 2.1rem;
  }
  
  /* 平板端导航优化 */
  .navbar .container {
    padding: 0 1.5rem;
  }
  .navbar-nav {
    gap: 0.3rem;
  }
  .nav-link {
    padding: 0.6rem 1rem;
    font-size: 0.95rem;
  }
  .btn {
    padding: 0.7rem 1.5rem;
    font-size: 0.95rem;
  }
}

@media (max-width: 768px) {
  /* 移动端导航菜单 */
  .navbar {
    padding: 0.6rem 0;
  }
  
  .navbar .container {
    padding: 0 1rem;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  
  .navbar-brand {
    font-size: 1.4rem;
    white-space: nowrap;
    flex-shrink: 0;
  }
  
  .navbar-brand i {
    font-size: 1.2rem;
    flex-shrink: 0;
  }
  
  .navbar-brand span {
    white-space: nowrap;
    flex-shrink: 0;
  }
  
  .navbar-nav {
    gap: 0.3rem;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
  }
  
  .navbar-nav li {
    margin: 0;
  }
  
  .nav-link {
    padding: 0.5rem 0.8rem;
    font-size: 0.85rem;
    border-radius: 0.8rem;
    gap: 0.3rem;
  }
  
  .nav-link i {
    font-size: 0.75rem;
  }
  
  .btn {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    border-radius: 1.2rem;
    gap: 0.3rem;
  }
  
  .btn i {
    font-size: 0.75rem;
  }
  
  .points-display {
    padding: 0.4rem 0.7rem;
    font-size: 0.8rem;
    gap: 0.3rem;
  }
  
  .points-display i {
    font-size: 0.7rem;
  }
  
  .user-info {
    gap: 0.6rem;
    padding: 0.4rem 0.8rem;
  }
  
  .user-avatar {
    width: 2.2rem;
    height: 2.2rem;
  }
  
  .user-avatar i {
    font-size: 1.3rem;
  }
  
  .username {
    font-size: 0.85rem;
  }
  
  .points-display {
    padding: 0.3rem 0.6rem;
    font-size: 0.75rem;
  }
}

@media (max-width: 600px) {
  .navbar .container {
    flex-direction: column;
    gap: 0.6rem;
    align-items: center;
  }
  
  .navbar-nav {
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.25rem;
    width: 100%;
  }
  
  .navbar-nav li {
    flex: 0 0 auto;
  }
  
  .nav-link {
    padding: 0.4rem 0.6rem;
    font-size: 0.8rem;
    gap: 0.25rem;
  }
  
  .nav-link i {
    font-size: 0.7rem;
  }
  
  .btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
    gap: 0.25rem;
  }
  
  .btn i {
    font-size: 0.7rem;
  }
  
  .hero {
    border-radius: 0 0 1.5rem 1.5rem;
    padding: 2.2rem 0 1.5rem 0;
  }
  
  .section-title {
    font-size: 1.3rem;
  }
  
  .points-display {
    padding: 0.3rem 0.6rem;
    font-size: 0.75rem;
    gap: 0.25rem;
  }
  
  .points-display i {
    font-size: 0.65rem;
  }
  
  .user-info {
    gap: 0.5rem;
    padding: 0.3rem 0.6rem;
  }
  
  .user-avatar {
    width: 2rem;
    height: 2rem;
  }
  
  .user-avatar i {
    font-size: 1.2rem;
  }
  
  .username {
    font-size: 0.8rem;
  }
  
  .points-display {
    padding: 0.25rem 0.5rem;
    font-size: 0.7rem;
  }
}

@media (max-width: 480px) {
  .navbar-nav {
    gap: 0.2rem;
  }
  
  .nav-link {
    padding: 0.4rem 0.6rem;
    font-size: 0.8rem;
  }
  
  .btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }
  
  .navbar-brand {
    font-size: 1.3rem;
    white-space: nowrap;
    flex-shrink: 0;
  }
  
  .navbar-brand i {
    font-size: 1.1rem;
    flex-shrink: 0;
  }
  
  .navbar-brand span {
    white-space: nowrap;
    flex-shrink: 0;
  }
  
  .points-display {
    padding: 0.3rem 0.6rem;
    font-size: 0.75rem;
  }
}

/* 自定义滚动条样式 */
::-webkit-scrollbar {
  width: 10px;
  background: rgba(37, 99, 235, 0.05);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #2563eb 0%, #7c3aed 50%, #38bdf8 100%);
  border-radius: 5px;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #6d28d9 50%, #0ea5e9 100%);
}

::-webkit-scrollbar-track {
  background: rgba(37, 99, 235, 0.02);
  border-radius: 5px;
}

/* 链接样式优化 */
a, .nav-link, .btn {
  text-decoration: none !important;
}

a:hover, .nav-link:hover, .btn:hover {
  text-decoration: none !important;
}

/* 表单样式优化 */
form { 
  margin: 30px 0; 
}

input[type="text"], 
input[type="password"],
input[type="email"],
input[type="number"],
input[type="tel"],
textarea,
select { 
  padding: 12px 16px; 
  border: 1px solid var(--gray-300); 
  border-radius: 12px; 
  margin-bottom: 16px; 
  font-size: 1rem;
  font-family: inherit;
  background: var(--white);
  transition: all 0.2s ease;
  width: 100%;
  box-sizing: border-box;
}

input[type="text"]:focus, 
input[type="password"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
textarea:focus,
select:focus { 
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* 基础页面样式 */
body { 
  font-family: 'Inter', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; 
  background: var(--gray-50); 
  margin: 0; 
}

main { 
  max-width: 1200px; 
  margin: 0 auto; 
  background: var(--white); 
  padding: 2rem; 
  border-radius: var(--radius); 
  box-shadow: var(--shadow);
  margin-top: 2rem;
  margin-bottom: 2rem;
}

/* 波纹效果动画 */
@keyframes ripple-animation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  transform: scale(0);
  animation: ripple-animation 0.6s linear;
  pointer-events: none;
} 

.wheel-title {
  text-align: center;
  font-size: 1.05rem;
  font-weight: 600;
  color: #2563eb;
  margin-bottom: 0.5em;
  letter-spacing: 0.5px;
} 

 