/**
 * UE Toolkit - Cursor-Inspired Design
 * Modern, Clean, Professional
 */

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

:root {
  /* Colors */
  --bg-primary: #0a0a0f;
  --bg-secondary: #13131a;
  --bg-tertiary: #1a1a24;
  
  /* Text */
  --text-primary: #ffffff;
  --text-secondary: #b4b4b8;
  --text-muted: #6b6b70;
  
  /* Accent - Vibrant Purple/Pink */
  --accent-primary: #a855f7;
  --accent-secondary: #ec4899;
  --accent-hover: #c084fc;
  --accent-gradient: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
  
  /* Special Colors */
  --bilibili-pink: #fb7299;
  --wechat-green: #07c160;
  --alipay-blue: #1677ff;
  
  /* Borders */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.12);
  
  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 40px rgba(168, 85, 247, 0.4);
  --shadow-glow-pink: 0 0 40px rgba(236, 72, 153, 0.3);
  
  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
}

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

.nav-logo {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  animation: float-gentle 3s ease-in-out infinite;
}

@keyframes float-gentle {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-3px); }
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gradient);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.bilibili-link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--bilibili-pink);
  font-weight: 600;
}

.bilibili-link:hover {
  color: #ff85b3;
  transform: translateY(-2px);
}

.bilibili-icon {
  transition: var(--transition);
}

.bilibili-link:hover .bilibili-icon {
  transform: scale(1.1);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 8rem 2rem 4rem;
  overflow: hidden;
}

.hero-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 10;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 50px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.badge-separator {
  color: var(--text-muted);
}

.hero-title {
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 3s ease infinite;
  background-size: 200% 200%;
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-description {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: var(--accent-gradient);
  color: var(--text-primary);
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-glow);
  position: relative;
  overflow: hidden;
}

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

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

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 60px rgba(168, 85, 247, 0.5);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-medium);
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-medium);
}

.btn-icon,
.btn-icon-right {
  flex-shrink: 0;
}

/* Download Dropdown */
.download-dropdown {
  position: relative;
  display: inline-block;
}

.download-dropdown .btn-primary {
  position: relative;
}

.dropdown-arrow {
  transition: transform 0.3s ease;
  margin-left: 0.25rem;
}

.download-dropdown.active .dropdown-arrow {
  transform: rotate(180deg);
}

.download-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  min-width: 280px;
  background: rgba(26, 26, 36, 0.98);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-medium);
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 100;
  overflow: hidden;
}

.download-dropdown.active .download-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.download-menu-loading {
  padding: 2rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.download-menu-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  color: var(--text-primary);
  text-decoration: none;
  transition: var(--transition);
  border-bottom: 1px solid var(--border-subtle);
  cursor: pointer;
}

.download-menu-item:last-child {
  border-bottom: none;
}

.download-menu-item:hover {
  background: rgba(168, 85, 247, 0.1);
}

.download-menu-icon {
  font-size: 2rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(168, 85, 247, 0.1);
  border-radius: 10px;
  flex-shrink: 0;
}

.download-menu-info {
  flex: 1;
}

.download-menu-name {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.download-menu-meta {
  display: flex;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.download-menu-version,
.download-menu-size,
.download-menu-code {
  display: flex;
  align-items: center;
}

.download-menu-code {
  color: var(--accent-primary);
  font-weight: 600;
}
  gap: 0.25rem;
}

.download-menu-empty {
  padding: 2rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
}

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

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Animated Background */
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  z-index: 0;
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  animation: float 20s ease-in-out infinite;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent-primary) 0%, transparent 70%);
  top: -250px;
  left: -250px;
  animation-delay: 0s;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--accent-secondary) 0%, transparent 70%);
  bottom: -200px;
  right: -200px;
  animation-delay: 7s;
}

.orb-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, #c084fc 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: 14s;
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(30px, -30px) scale(1.1);
  }
  66% {
    transform: translate(-20px, 20px) scale(0.9);
  }
}

/* Features Section */
.features {
  padding: 4rem 2rem;
  background: var(--bg-secondary);
  position: relative;
}

.features-container {
  max-width: 1400px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
}

/* Cursor-Style Feature Showcase */
.cursor-showcase {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: start;
}

/* Feature Cards */
.feature-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: sticky;
  top: 100px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  padding-right: 0.5rem;
}

/* Custom scrollbar for feature cards */
.feature-cards::-webkit-scrollbar {
  width: 4px;
}

.feature-cards::-webkit-scrollbar-track {
  background: transparent;
}

.feature-cards::-webkit-scrollbar-thumb {
  background: rgba(168, 85, 247, 0.3);
  border-radius: 2px;
}

.feature-cards::-webkit-scrollbar-thumb:hover {
  background: rgba(168, 85, 247, 0.5);
}

.feature-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 1.75rem;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--accent-gradient);
  transform: scaleY(0);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-medium);
  transform: translateX(8px);
}

.feature-card.active {
  background: rgba(168, 85, 247, 0.08);
  border-color: var(--accent-primary);
  box-shadow: 0 8px 32px rgba(168, 85, 247, 0.2);
}

.feature-card.active::before {
  transform: scaleY(1);
}

.card-number {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--accent-primary);
  margin-bottom: 0.75rem;
  opacity: 0.8;
}

.card-content {
  flex: 1;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  transition: var(--transition);
}

.feature-card.active .card-title {
  color: var(--accent-primary);
}

.card-description {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  display: inline-block;
  padding: 0.375rem 0.75rem;
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--accent-primary);
  font-weight: 500;
  transition: var(--transition);
}

.feature-card.active .tag {
  background: rgba(168, 85, 247, 0.2);
  border-color: var(--accent-primary);
}

.card-arrow {
  position: absolute;
  right: 1.75rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--text-muted);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover .card-arrow {
  opacity: 0.5;
  transform: translateY(-50%) translateX(4px);
}

.feature-card.active .card-arrow {
  opacity: 1;
  color: var(--accent-primary);
  transform: translateY(-50%) translateX(8px);
}

/* Feature Preview */
.feature-preview {
  position: sticky;
  top: 100px;
  max-height: calc(100vh - 120px);
  overflow: hidden;
}

.preview-window {
  background: rgba(10, 10, 15, 0.8);
  border: 1px solid var(--border-medium);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(20px);
}

.window-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--border-subtle);
}

.window-dots {
  display: flex;
  gap: 0.5rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.dot:nth-child(1) {
  background: #ff5f56;
}

.dot:nth-child(2) {
  background: #ffbd2e;
}

.dot:nth-child(3) {
  background: #27c93f;
}

.window-title {
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.window-content {
  position: relative;
  min-height: 500px;
  max-height: calc(100vh - 250px);
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.preview-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scale(0.95) translateY(20px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.preview-image.active {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
}

.preview-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  filter: drop-shadow(0 0 20px rgba(168, 85, 247, 0.3));
}

.image-overlay {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  right: 2rem;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transition-delay: 0.2s;
}

.preview-image.active .image-overlay {
  opacity: 1;
  transform: translateY(0);
}

.overlay-badge {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-medium);
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

/* Responsive for Cursor Showcase */
@media (max-width: 1024px) {
  .cursor-showcase {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .feature-cards {
    position: static;
  }
  
  .feature-preview {
    position: static;
  }
  
  .window-content {
    min-height: 400px;
  }
}

@media (max-width: 768px) {
  .feature-card {
    padding: 1.5rem;
  }
  
  .card-title {
    font-size: 1.1rem;
  }
  
  .card-description {
    font-size: 0.9rem;
  }
  
  .window-content {
    min-height: 350px;
  }
  
  .preview-image {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .feature-card {
    padding: 1.25rem;
  }
  
  .card-number {
    font-size: 0.8rem;
  }
  
  .card-title {
    font-size: 1rem;
  }
  
  .card-description {
    font-size: 0.85rem;
  }
  
  .tag {
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
  }
  
  .window-content {
    min-height: 300px;
  }
  
  .preview-image {
    padding: 1rem;
  }
  
  .overlay-badge {
    font-size: 0.85rem;
    padding: 0.6rem 1.2rem;
  }
}

/* Feature Tabs */
.feature-tabs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-bottom: 3rem;
}

.feature-tab {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  cursor: pointer;
  transition: var(--transition);
  text-align: left;
  color: var(--text-primary);
  font-family: inherit;
}

.feature-tab:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-medium);
  transform: translateY(-2px);
}

.feature-tab.active {
  background: rgba(168, 85, 247, 0.15);
  border-color: var(--accent-primary);
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.2);
}

.tab-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-gradient);
  border-radius: 10px;
  flex-shrink: 0;
  color: var(--text-primary);
}

.feature-tab.active .tab-icon {
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.6);
  animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(168, 85, 247, 0.6); }
  50% { box-shadow: 0 0 30px rgba(236, 72, 153, 0.8); }
}

.tab-content {
  flex: 1;
  min-width: 0;
  display: block;
}

.tab-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  display: block;
}

.tab-content p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
  display: block;
}

/* Feature Showcase */
.feature-showcase {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(10, 10, 10, 0.95) 0%, rgba(20, 20, 30, 0.95) 100%);
  border: 1px solid var(--border-subtle);
  max-width: 1200px;
  margin: 0 auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.showcase-container {
  position: relative;
  width: 100%;
  min-height: 500px;
}

.showcase-image {
  position: relative;
  width: 100%;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.showcase-image img {
  width: 90%;
  height: auto;
  max-height: 450px;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  pointer-events: none;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
}

.showcase-image img.active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: auto;
}

/* Feature Info Overlay */
.feature-info-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 3rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 50%, transparent 100%);
  z-index: 5;
}

.feature-info {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
  pointer-events: none;
  position: absolute;
  bottom: 3rem;
  left: 3rem;
  right: 3rem;
}

.feature-info.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.info-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--accent-gradient);
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
  box-shadow: 0 4px 12px rgba(168, 85, 247, 0.5);
}

.info-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.info-description {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 600px;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

/* Progress Indicators */
.showcase-indicators {
  position: absolute;
  bottom: 1.5rem;
  right: 3rem;
  display: flex;
  gap: 0.75rem;
  z-index: 10;
}

.indicator {
  width: 40px;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.indicator:hover {
  background: rgba(255, 255, 255, 0.5);
}

.indicator.active {
  background: var(--accent-primary);
}

.indicator.active::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background: var(--accent-secondary);
  animation: progress 5s linear forwards;
}

@keyframes progress {
  to {
    width: 100%;
  }
}

/* Changelog Section */
.changelog {
  padding: 8rem 2rem;
  background: var(--bg-primary);
}

.changelog-container {
  max-width: 900px;
  margin: 0 auto;
}

.changelog-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 3rem;
}

.changelog-content {
  max-height: 400px;
  overflow-y: auto;
}

.changelog-content pre {
  white-space: pre-wrap;
  word-wrap: break-word;
  font-family: 'SF Mono', 'Monaco', 'Courier New', monospace;
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.history-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.history-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.history-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 1.5rem;
  transition: var(--transition);
}

.history-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-medium);
}

.history-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.history-version {
  font-size: 1.1rem;
  font-weight: 600;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.history-date {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.history-content {
  color: var(--text-secondary);
  line-height: 1.6;
  white-space: pre-wrap;
  word-wrap: break-word;
}

/* Footer */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 2rem 2rem;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-brand {
  max-width: 400px;
}

.footer-logo {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.footer-tagline {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-heading {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.footer-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-link:hover {
  color: var(--text-primary);
}

.social-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.social-icon {
  width: 16px;
  height: 16px;
  opacity: 0.8;
  transition: var(--transition);
}

.social-link:hover .social-icon {
  opacity: 1;
  color: var(--accent-primary);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
}

.footer-copyright {
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Loading & Error Overlays */
.loading-overlay,
.error-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.loading-spinner {
  width: 48px;
  height: 48px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--accent-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.error-card {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 3rem;
  text-align: center;
  max-width: 400px;
}

.error-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.error-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.error-message {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* Utility Classes */
.loading-text,
.no-data {
  text-align: center;
  color: var(--text-muted);
  padding: 2rem;
  font-style: italic;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-tertiary);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    gap: 1rem;
  }
  
  .nav-link {
    font-size: 0.875rem;
  }
  
  .hero {
    padding: 6rem 1.5rem 3rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-description {
    font-size: 1.1rem;
  }
  
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }
  
  .btn-primary,
  .btn-secondary {
    justify-content: center;
  }
  
  .hero-stats {
    gap: 2rem;
  }
  
  .features,
  .changelog {
    padding: 4rem 1.5rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .nav-container {
    padding: 1rem 1.5rem;
  }
  
  .nav-logo {
    font-size: 1rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
}


/* Privacy Page Styles */
.privacy-page {
  min-height: 100vh;
  padding-top: 80px;
  background: var(--bg-primary);
}

.privacy-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
}

.privacy-header {
  text-align: center;
  margin-bottom: 4rem;
  padding: 3rem 0;
}

.privacy-header h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  margin-bottom: 1rem;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.privacy-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.update-date {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.privacy-content {
  margin-bottom: 4rem;
}

.privacy-section {
  margin-bottom: 3rem;
}

.privacy-section h2 {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.privacy-section h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.privacy-section p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.privacy-section ul {
  list-style: none;
  padding-left: 0;
  margin: 1rem 0;
}

.privacy-section ul li {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
  position: relative;
}

.privacy-section ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent-primary);
  font-weight: bold;
}

.info-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.info-card h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.highlight-box {
  background: rgba(124, 58, 237, 0.1);
  border-left: 3px solid var(--accent-primary);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  border-radius: 4px;
  color: var(--text-secondary);
}

.contact-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.contact-card p {
  margin-bottom: 0.75rem;
}

.contact-card a {
  color: var(--accent-primary);
  text-decoration: none;
  transition: var(--transition);
}

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

code {
  background: rgba(255, 255, 255, 0.05);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-family: 'SF Mono', 'Monaco', 'Courier New', monospace;
  font-size: 0.9em;
  color: var(--accent-primary);
}

/* Responsive for Privacy Page */
@media (max-width: 768px) {
  .privacy-page {
    padding-top: 70px;
  }
  
  .privacy-container {
    padding: 1.5rem;
  }
  
  .privacy-header {
    padding: 2rem 0;
    margin-bottom: 2rem;
  }
  
  .privacy-header h1 {
    font-size: 2rem;
  }
  
  .privacy-section h2 {
    font-size: 1.5rem;
  }
}


/* Admin Page Styles */
.admin-page {
  min-height: 100vh;
  background: var(--bg-primary);
}

/* Login Section */
.login-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.login-box {
  width: 100%;
  max-width: 400px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 3rem 2rem;
}

.login-header {
  text-align: center;
  margin-bottom: 2rem;
}

.login-header h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.login-header .subtitle {
  color: var(--text-secondary);
  font-size: 1rem;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  color: var(--text-primary);
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent-primary);
  background: rgba(255, 255, 255, 0.08);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
  font-family: inherit;
}

.form-hint {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  cursor: pointer;
}

.btn-block {
  width: 100%;
}

.error-message {
  background: rgba(220, 53, 69, 0.1);
  border: 1px solid rgba(220, 53, 69, 0.3);
  border-radius: 8px;
  padding: 1rem;
  margin-top: 1rem;
}

.error-message p {
  color: #ff6b6b;
  margin: 0;
  font-size: 0.9rem;
}

/* Admin Dashboard */
#admin-dashboard {
  min-height: 100vh;
}

.admin-header {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 1.5rem 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.admin-header h1 {
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.admin-user {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Navigation Tabs */
.nav-tabs {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0 2rem;
  display: flex;
  gap: 2rem;
  overflow-x: auto;
}

.nav-tab {
  background: none;
  border: none;
  color: var(--text-secondary);
  padding: 1rem 0;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-tab:hover {
  color: var(--text-primary);
}

.nav-tab.active {
  color: var(--accent-primary);
  border-bottom-color: var(--accent-primary);
}

/* Admin Content */
.admin-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* Stats Overview */
.stats-overview {
  margin-bottom: 3rem;
}

.stats-overview h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.stat-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  transition: var(--transition);
}

.stat-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-medium);
}

.stat-icon {
  font-size: 2.5rem;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
  border-radius: 12px;
  flex-shrink: 0;
}

.stat-info h3 {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
}

/* Charts Section */
.charts-section {
  margin-bottom: 3rem;
}

.charts-section h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.charts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.chart-container {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 1.5rem;
}

.chart-container h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.chart-container canvas {
  max-height: 300px;
}

/* Forms */
.admin-form {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 2rem;
  max-width: 800px;
}

.form-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.message {
  margin-top: 1.5rem;
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
}

.message.success {
  background: rgba(40, 167, 69, 0.1);
  border-color: rgba(40, 167, 69, 0.3);
  color: #51cf66;
}

.message.error {
  background: rgba(220, 53, 69, 0.1);
  border-color: rgba(220, 53, 69, 0.3);
  color: #ff6b6b;
}

/* Changelog Management */
.changelog-editor {
  margin-bottom: 3rem;
}

.changelog-editor h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.changelog-history h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.changelog-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.changelog-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 1.5rem;
  transition: var(--transition);
}

.changelog-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-medium);
}

.changelog-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.changelog-item-version {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent-primary);
}

.changelog-item-date {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.changelog-item-content {
  color: var(--text-secondary);
  line-height: 1.6;
  white-space: pre-wrap;
}

.changelog-item-actions {
  margin-top: 1rem;
  display: flex;
  gap: 0.5rem;
}

/* Export Section */
.export-section {
  margin-bottom: 3rem;
}

.export-section h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.export-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Admin Footer */
.admin-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  padding: 2rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Responsive for Admin */
@media (max-width: 968px) {
  .admin-header {
    padding: 1rem 1.5rem;
  }
  
  .header-content {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }
  
  .nav-tabs {
    padding: 0 1.5rem;
    gap: 1rem;
  }
  
  .admin-content {
    padding: 2rem 1.5rem;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .charts-grid {
    grid-template-columns: 1fr;
  }
  
  .form-actions {
    flex-direction: column;
  }
  
  .form-actions .btn {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .login-box {
    padding: 2rem 1.5rem;
  }
  
  .admin-header h1 {
    font-size: 1.25rem;
  }
  
  .stat-card {
    padding: 1.5rem;
  }
  
  .stat-icon {
    font-size: 2rem;
    width: 50px;
    height: 50px;
  }
  
  .stat-value {
    font-size: 1.5rem;
  }
}

/* Feature Screenshots */
.feature-screenshot {
  margin-top: 1.5rem;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.02);
  transition: var(--transition);
}

.feature-screenshot img {
  width: 100%;
  height: auto;
  display: block;
  transition: var(--transition);
  opacity: 0.9;
}

.feature-card:hover .feature-screenshot {
  border-color: var(--border-medium);
  box-shadow: 0 8px 24px rgba(168, 85, 247, 0.2);
}

.feature-card:hover .feature-screenshot img {
  opacity: 1;
  transform: scale(1.02);
}

/* Fallback for missing images */
.feature-screenshot img[src*="placeholder"] {
  opacity: 0.3;
}


/* Responsive for Feature Showcase */
@media (max-width: 968px) {
  .feature-tabs {
    grid-template-columns: 1fr;
  }
  
  .feature-tab {
    padding: 1.25rem;
  }
  
  .showcase-container {
    min-height: 400px;
  }
  
  .showcase-image {
    height: 400px;
  }
  
  .showcase-image img {
    max-height: 350px;
  }
  
  .feature-info-overlay {
    padding: 2rem;
  }
  
  .feature-info {
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
  }
  
  .info-title {
    font-size: 1.5rem;
  }
  
  .info-description {
    font-size: 1rem;
  }
  
  .showcase-indicators {
    right: 2rem;
    bottom: 1rem;
  }
}

@media (max-width: 640px) {
  .features {
    padding: 4rem 1.5rem;
  }
  
  .feature-tab {
    padding: 1rem;
  }
  
  .tab-icon {
    width: 36px;
    height: 36px;
  }
  
  .tab-content h3 {
    font-size: 1rem;
  }
  
  .tab-content p {
    font-size: 0.85rem;
  }
  
  .showcase-container {
    min-height: 350px;
  }
  
  .showcase-image {
    height: 350px;
  }
  
  .showcase-image img {
    width: 95%;
    max-height: 300px;
  }
  
  .feature-info-overlay {
    padding: 1.5rem;
  }
  
  .feature-info {
    bottom: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
  }
  
  .info-title {
    font-size: 1.25rem;
  }
  
  .info-description {
    font-size: 0.9rem;
  }
  
  .showcase-indicators {
    right: 1.5rem;
    bottom: 0.75rem;
  }
  
  .indicator {
    width: 30px;
  }
}

/* ============================================
   DONATE SECTION STYLES
   ============================================ */

.donate-section {
  padding: 8rem 2rem;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  position: relative;
  overflow: hidden;
}

.donate-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 1000px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.donate-container {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.donate-header {
  text-align: center;
  margin-bottom: 4rem;
}

.donate-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  animation: bounce-gentle 2s ease-in-out infinite;
  filter: drop-shadow(0 4px 12px rgba(168, 85, 247, 0.4));
}

@keyframes bounce-gentle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.donate-description {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 2;
  max-width: 750px;
  margin: 1.5rem auto 0;
  text-align: center;
}

.donate-qr-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.qr-item {
  text-align: center;
  transition: var(--transition);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 2rem;
}

.qr-item:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-medium);
  box-shadow: 0 12px 40px rgba(168, 85, 247, 0.2);
}

.qr-label {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.qr-label::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--accent-gradient);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.6);
}

.qr-image-box {
  background: white;
  padding: 1.5rem;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transition: var(--transition-slow);
  position: relative;
  overflow: hidden;
}

.qr-image-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(168, 85, 247, 0.1), transparent);
  transform: rotate(45deg);
  transition: var(--transition-slow);
}

.qr-item:hover .qr-image-box {
  box-shadow: 0 16px 48px rgba(168, 85, 247, 0.4);
  transform: scale(1.05);
}

.qr-item:hover .qr-image-box::before {
  animation: shimmer 1.5s ease-in-out;
}

@keyframes shimmer {
  0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
  100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.qr-image {
  width: 200px;
  height: 200px;
  display: block;
  border-radius: 8px;
  position: relative;
  z-index: 1;
}

.donate-footer {
  text-align: center;
  padding: 2.5rem;
  background: rgba(168, 85, 247, 0.05);
  border-radius: 20px;
  border: 1px solid rgba(168, 85, 247, 0.2);
  position: relative;
  overflow: hidden;
}

.donate-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-gradient);
}

.donate-thanks {
  font-size: 1.125rem;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.8;
  font-weight: 500;
}

/* Footer Enhancements */
.footer-brand {
  max-width: 400px;
}

.footer-logo {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-logo .logo-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.footer-description {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 0.5rem;
  line-height: 1.6;
}

.bilibili-footer-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--bilibili-pink) !important;
  font-weight: 600;
}

.bilibili-footer-link:hover {
  color: #ff85b3 !important;
}

.bilibili-icon-footer {
  transition: var(--transition);
}

.bilibili-footer-link:hover .bilibili-icon-footer {
  transform: scale(1.15);
}

.social-hint {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.footer-copyright {
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Responsive for Donate Section */
@media (max-width: 768px) {
  .donate-section {
    padding: 4rem 1.5rem;
  }
  
  .donate-header {
    margin-bottom: 3rem;
  }
  
  .donate-icon {
    font-size: 3rem;
  }
  
  .donate-description {
    font-size: 1rem;
  }
  
  .donate-qr-wrapper {
    gap: 2rem;
  }
  
  .qr-image {
    width: 180px;
    height: 180px;
  }
}

@media (max-width: 480px) {
  .donate-section {
    padding: 3rem 1rem;
  }
  
  .donate-icon {
    font-size: 2.5rem;
  }
  
  .donate-description {
    font-size: 0.95rem;
  }
  
  .donate-qr-wrapper {
    gap: 1.5rem;
  }
  
  .qr-image {
    width: 160px;
    height: 160px;
  }
  
  .qr-image-box {
    padding: 1rem;
  }
}
