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

:root {
  --primary: #00d4ff;
  --secondary: #7c3aed;
  --accent: #f472b6;
  --hot: #ff3b5c;
  --success: #10b981;
  --warning: #f59e0b;
  --dark: #0f0f23;
  --surface: #1a1a35;
  --surface-light: #242447;
  --border: rgba(124, 58, 237, 0.2);
  --text: #ffffff;
  --text-secondary: #a3a3c2;
  --text-muted: #6b6b8a;
  --gradient-primary: linear-gradient(135deg, #00d4ff 0%, #7c3aed 100%);
  --gradient-hot: linear-gradient(135deg, #ff3b5c 0%, #ff6b9d 100%);
  --gradient-dark: linear-gradient(180deg, rgba(15, 15, 35, 0) 0%, rgba(15, 15, 35, 0.95) 100%);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  background: var(--dark);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(15, 15, 35, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  padding: 16px 0;
}

.navbar-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.brand-icon {
  font-size: 32px;
  filter: drop-shadow(0 0 12px rgba(0, 212, 255, 0.6));
}

.brand-info h1 {
  font-size: 24px;
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
  margin-bottom: 2px;
}

.domain {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: 1px;
}

.nav-menu {
  display: flex;
  gap: 8px;
  flex: 1;
  justify-content: center;
}

.nav-item {
  padding: 8px 18px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.nav-item:hover,
.nav-item.active {
  color: var(--primary);
  background: rgba(0, 212, 255, 0.1);
}

.nav-item.vip-tag {
  background: linear-gradient(135deg, rgba(255, 59, 92, 0.2), rgba(124, 58, 237, 0.2));
  color: var(--accent);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.search-wrapper {
  display: flex;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 8px 16px;
  transition: all 0.3s ease;
}

.search-wrapper:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.search-input {
  background: none;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 14px;
  width: 220px;
}

.search-input::placeholder {
  color: var(--text-muted);
}

.search-icon {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  color: var(--text-muted);
  transition: all 0.3s ease;
}

.search-icon:hover {
  color: var(--primary);
}

.btn-login {
  padding: 8px 24px;
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: 20px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(0, 212, 255, 0.3);
}

.btn-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 212, 255, 0.5);
}

.hero-slider {
  margin-top: 73px;
  position: relative;
  height: 550px;
  overflow: hidden;
}

.slider-container {
  height: 100%;
}

.slide {
  position: relative;
  width: 100%;
  height: 100%;
  display: none;
}

.slide.active {
  display: block;
}

.slide-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 15, 35, 0.98) 0%, rgba(15, 15, 35, 0.6) 50%, rgba(15, 15, 35, 0.3) 100%);
}

.slide-content {
  position: absolute;
  left: 80px;
  top: 50%;
  transform: translateY(-50%);
  max-width: 700px;
  z-index: 2;
}

.badge-hot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--gradient-hot);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  color: white;
  margin-bottom: 24px;
  box-shadow: 0 4px 16px rgba(255, 59, 92, 0.4);
}

.slide-title {
  font-size: 56px;
  font-weight: 900;
  margin-bottom: 20px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -2px;
  line-height: 1.2;
}

.slide-desc {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.7;
}

.slide-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
  font-size: 15px;
  color: var(--text-secondary);
}

.meta-divider {
  color: var(--text-muted);
}

.slide-actions {
  display: flex;
  gap: 16px;
}

.btn-read-now {
  padding: 14px 36px;
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: 28px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(0, 212, 255, 0.4);
}

.btn-read-now:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 212, 255, 0.6);
}

.btn-add-shelf {
  padding: 14px 36px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 28px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.btn-add-shelf:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-3px);
}

.slider-dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 3;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  width: 32px;
  border-radius: 5px;
  background: var(--gradient-primary);
}

.section-manga {
  padding: 80px 0;
}

.section-title-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.title-left {
  flex: 1;
}

.section-title {
  font-size: 32px;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 8px;
}

.section-subtitle {
  font-size: 14px;
  color: var(--text-muted);
}

.link-more {
  color: var(--primary);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.link-more:hover {
  opacity: 0.8;
}

.manga-list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.manga-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}

.manga-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(124, 58, 237, 0.3);
  border-color: var(--primary);
}

.manga-item.featured {
  grid-column: span 1;
  grid-row: span 2;
}

.manga-thumb {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
}

.manga-item.featured .manga-thumb {
  aspect-ratio: 3/5;
}

.manga-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.manga-item:hover .manga-thumb img {
  transform: scale(1.1);
}

.thumb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.manga-item:hover .thumb-overlay {
  opacity: 1;
}

.btn-quick-read {
  padding: 12px 28px;
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: 24px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-quick-read:hover {
  transform: scale(1.1);
}

.badge-status {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  color: white;
  backdrop-filter: blur(10px);
  z-index: 2;
}

.badge-hot {
  background: var(--gradient-hot);
}

.badge-new {
  background: linear-gradient(135deg, #00d4ff, #7c3aed);
}

.badge-update {
  background: linear-gradient(135deg, #10b981, #059669);
}

.badge-vip {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
}

.badge-ep {
  position: absolute;
  bottom: 12px;
  right: 12px;
  padding: 6px 12px;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  color: white;
  z-index: 2;
}

.manga-details {
  padding: 20px;
}

.manga-item.featured .manga-details {
  padding: 24px;
}

.manga-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.manga-item.featured .manga-name {
  font-size: 22px;
}

.manga-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.manga-tags .tag {
  padding: 4px 10px;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
}

.manga-intro {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 12px;
  display: none;
}

.manga-item.featured .manga-intro {
  display: block;
}

.manga-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.rating-score {
  font-weight: 700;
  color: var(--primary);
}

.rating-count {
  color: var(--text-muted);
}

.section-new-release {
  padding: 80px 0;
  background: var(--surface);
}

.filter-buttons {
  display: flex;
  gap: 8px;
}

.filter-btn {
  padding: 8px 20px;
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--gradient-primary);
  border-color: transparent;
  color: white;
}

.new-manga-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}

.new-manga-card {
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}

.new-manga-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0, 212, 255, 0.3);
  border-color: var(--primary);
}

.card-cover {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
}

.card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.new-manga-card:hover .card-cover img {
  transform: scale(1.1);
}

.cover-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px;
  background: var(--gradient-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.info-badge,
.info-chapter {
  padding: 4px 10px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  color: white;
}

.card-body {
  padding: 16px;
}

.card-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-author {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.card-stats {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: var(--text-secondary);
}

.section-ranking {
  padding: 80px 0;
}

.ranking-wrapper {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
}

.ranking-sidebar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 24px;
  height: fit-content;
  position: sticky;
  top: 120px;
}

.ranking-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 24px;
}

.title-icon {
  font-size: 32px;
}

.ranking-tabs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rank-tab {
  padding: 12px 20px;
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: left;
}

.rank-tab:hover,
.rank-tab.active {
  background: var(--gradient-primary);
  border-color: transparent;
  color: white;
}

.ranking-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rank-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.rank-item:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.3);
}

.rank-number {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 900;
  background: var(--surface-light);
  border-radius: 12px;
  color: var(--text-secondary);
  flex-shrink: 0;
}

.rank-top1 .rank-number {
  background: linear-gradient(135deg, #ffd700, #ffb000);
  color: white;
  box-shadow: 0 4px 16px rgba(255, 215, 0, 0.4);
}

.rank-top2 .rank-number {
  background: linear-gradient(135deg, #c0c0c0, #a8a8a8);
  color: white;
  box-shadow: 0 4px 16px rgba(192, 192, 192, 0.4);
}

.rank-top3 .rank-number {
  background: linear-gradient(135deg, #cd7f32, #b8733e);
  color: white;
  box-shadow: 0 4px 16px rgba(205, 127, 50, 0.4);
}

.rank-poster {
  width: 70px;
  height: 90px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
}

.rank-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rank-info {
  flex: 1;
}

.rank-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.rank-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 13px;
  color: var(--text-secondary);
}

.meta-tag {
  padding: 4px 10px;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
}

.rank-progress {
  height: 6px;
  background: var(--surface-light);
  border-radius: 3px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 3px;
  transition: width 0.3s ease;
}

.rank-read-btn {
  padding: 10px 28px;
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: 20px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.rank-read-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 212, 255, 0.5);
}

.section-category {
  padding: 80px 0;
  background: var(--surface);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.category-card {
  position: relative;
  padding: 60px 32px;
  border-radius: 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  overflow: hidden;
  background: var(--dark);
  border: 1px solid var(--border);
}

.category-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(124, 58, 237, 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.category-card:hover::before {
  opacity: 1;
}

.category-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: 0 12px 32px rgba(0, 212, 255, 0.3);
}

.cat-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.1;
  z-index: 0;
}

.cat-icon {
  font-size: 56px;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.5));
}

.cat-name {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.cat-count {
  font-size: 14px;
  color: var(--text-muted);
  position: relative;
  z-index: 1;
}

.section-vip {
  padding: 80px 0;
}

.vip-container {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 60px;
  overflow: hidden;
}

.vip-header {
  text-align: center;
  margin-bottom: 48px;
}

.vip-main-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 40px;
  font-weight: 900;
  margin-bottom: 16px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.vip-icon {
  font-size: 48px;
  filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.6));
}

.vip-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
}

.vip-plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}

.vip-plan {
  padding: 40px 32px;
  background: var(--dark);
  border: 2px solid var(--border);
  border-radius: 20px;
  transition: all 0.3s ease;
  position: relative;
}

.vip-plan:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: 0 12px 32px rgba(0, 212, 255, 0.3);
}

.plan-featured {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.2);
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), rgba(124, 58, 237, 0.05));
}

.plan-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  padding: 6px 16px;
  background: var(--gradient-hot);
  color: white;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 4px 16px rgba(255, 59, 92, 0.4);
}

.plan-header {
  text-align: center;
  margin-bottom: 32px;
}

.plan-name {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 20px;
}

.plan-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 12px;
}

.price-currency {
  font-size: 18px;
  color: var(--text-secondary);
}

.price-amount {
  font-size: 48px;
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.price-period {
  font-size: 16px;
  color: var(--text-muted);
}

.plan-save {
  font-size: 14px;
  color: var(--hot);
  font-weight: 700;
}

.plan-features {
  list-style: none;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.plan-features li {
  font-size: 14px;
  color: var(--text-secondary);
}

.plan-btn {
  width: 100%;
  padding: 14px;
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: 28px;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.plan-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 212, 255, 0.5);
}

.vip-showcase {
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  width: 350px;
  opacity: 0.15;
  pointer-events: none;
}

.vip-image {
  width: 100%;
  border-radius: 16px;
}

.section-app-download {
  padding: 80px 0;
  background: var(--surface);
}

.app-box {
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.app-title {
  font-size: 40px;
  font-weight: 900;
  margin-bottom: 20px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.app-desc {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.app-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
}

.app-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.app-btn:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 8px 24px rgba(0, 212, 255, 0.3);
}

.app-btn-icon {
  font-size: 40px;
}

.app-btn-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.btn-label {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

.btn-sublabel {
  font-size: 12px;
  color: var(--text-muted);
}

.app-qr {
  text-align: center;
}

.qr-image {
  width: 140px;
  height: 140px;
  border-radius: 12px;
  border: 2px solid var(--border);
  margin-bottom: 12px;
}

.qr-text {
  font-size: 14px;
  color: var(--text-muted);
}

.app-preview {
  text-align: center;
}

.app-phone {
  max-width: 100%;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 60px 0 32px;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 80px;
  margin-bottom: 48px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.logo-icon {
  font-size: 32px;
}

.logo-text h3 {
  font-size: 22px;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 4px;
}

.logo-text span {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 700;
}

.footer-desc {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

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

.social-btn {
  padding: 10px 20px;
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.social-btn:hover {
  background: var(--gradient-primary);
  border-color: transparent;
  color: white;
  transform: translateY(-2px);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.link-group h4 {
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 16px;
}

.link-group ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.link-group ul li a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

.link-group ul li a:hover {
  color: var(--primary);
}

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

.footer-cert {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
}

.cert-img {
  height: 40px;
  border-radius: 6px;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.cert-img:hover {
  opacity: 1;
}

.copyright {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.keywords {
  font-size: 12px;
  color: var(--text-muted);
}

@media (max-width: 1200px) {
  .manga-list-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .new-manga-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .vip-showcase {
    display: none;
  }
}

@media (max-width: 1024px) {
  .slide-content {
    left: 40px;
    max-width: 600px;
  }

  .slide-title {
    font-size: 42px;
  }

  .ranking-wrapper {
    grid-template-columns: 1fr;
  }

  .ranking-sidebar {
    position: static;
  }

  .vip-plans {
    grid-template-columns: 1fr;
  }

  .app-box {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

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

@media (max-width: 768px) {
  .nav-menu,
  .search-wrapper {
    display: none;
  }

  .hero-slider {
    height: 400px;
  }

  .slide-content {
    left: 24px;
    right: 24px;
  }

  .slide-title {
    font-size: 32px;
  }

  .manga-list-grid {
    grid-template-columns: 1fr;
  }

  .new-manga-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .app-box {
    padding: 32px 24px;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }
}
