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

:root {
  --primary-color: #ff6b9d;
  --secondary-color: #ff9a76;
  --accent-color: #ff5e8a;
  --bg-dark: #0f0f1e;
  --bg-darker: #080812;
  --surface: #1a1a2e;
  --surface-light: #232342;
  --text-primary: #ffffff;
  --text-secondary: #b8b8d1;
  --text-muted: #7676a0;
  --border-color: rgba(255, 255, 255, 0.08);
  --glow-primary: 0 0 30px rgba(255, 107, 157, 0.5);
  --glow-secondary: 0 0 30px rgba(255, 154, 118, 0.4);
}

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

.animated-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-dark) 50%, #1a0a1a 100%);
  overflow: hidden;
}

.bubble {
  position: absolute;
  bottom: -100px;
  background: radial-gradient(circle, rgba(255, 107, 157, 0.1), transparent);
  border-radius: 50%;
  animation: float-up 15s infinite ease-in-out;
}

.bubble:nth-child(1) {
  width: 80px;
  height: 80px;
  left: 10%;
  animation-delay: 0s;
  animation-duration: 20s;
}

.bubble:nth-child(2) {
  width: 120px;
  height: 120px;
  left: 30%;
  animation-delay: 2s;
  animation-duration: 18s;
}

.bubble:nth-child(3) {
  width: 100px;
  height: 100px;
  left: 50%;
  animation-delay: 4s;
  animation-duration: 22s;
}

.bubble:nth-child(4) {
  width: 90px;
  height: 90px;
  left: 70%;
  animation-delay: 1s;
  animation-duration: 19s;
}

.bubble:nth-child(5) {
  width: 110px;
  height: 110px;
  left: 85%;
  animation-delay: 3s;
  animation-duration: 21s;
}

@keyframes float-up {
  0% {
    bottom: -100px;
    transform: translateX(0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.3;
  }
  90% {
    opacity: 0.3;
  }
  100% {
    bottom: 110vh;
    transform: translateX(100px) rotate(360deg);
    opacity: 0;
  }
}

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

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15, 15, 30, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.header.scrolled {
  background: rgba(15, 15, 30, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: translateY(-2px);
}

.logo-icon {
  font-size: 28px;
  filter: drop-shadow(var(--glow-primary));
  animation: pulse-glow 3s infinite;
}

@keyframes pulse-glow {
  0%, 100% {
    filter: drop-shadow(0 0 10px rgba(255, 107, 157, 0.5));
  }
  50% {
    filter: drop-shadow(0 0 20px rgba(255, 107, 157, 0.8));
  }
}

.logo-text {
  font-size: 24px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav {
  display: flex;
  gap: 32px;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: all 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  transition: width 0.3s ease;
}

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

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.search-wrapper {
  position: relative;
}

.search-box {
  padding: 10px 40px 10px 16px;
  background: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  color: var(--text-primary);
  font-size: 14px;
  width: 220px;
  transition: all 0.3s ease;
}

.search-box:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(255, 107, 157, 0.1);
  width: 280px;
}

.search-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.btn-login {
  padding: 10px 24px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 107, 157, 0.3);
}

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

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s ease;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 80px;
}

.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 50%, rgba(255, 107, 157, 0.1), transparent 40%),
              radial-gradient(circle at 80% 80%, rgba(255, 154, 118, 0.1), transparent 40%);
}

.hero-content {
  width: 100%;
  position: relative;
  z-index: 1;
}

.hero-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-text {
  animation: fadeInUp 1s ease;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 107, 157, 0.15);
  border: 1px solid rgba(255, 107, 157, 0.3);
  border-radius: 20px;
  color: var(--primary-color);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
  animation: slideInDown 0.8s ease;
}

.badge-icon {
  animation: bounce 2s infinite;
}

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

.hero-title {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #ffffff 0%, var(--primary-color) 50%, var(--secondary-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.title-line {
  display: block;
  animation: slideInLeft 1s ease;
}

.title-line:nth-child(2) {
  animation-delay: 0.2s;
}

.hero-description {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

.btn {
  padding: 16px 32px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  box-shadow: 0 8px 25px rgba(255, 107, 157, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(255, 107, 157, 0.6);
}

.btn-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

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

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 107, 157, 0.4);
}

.hero-stats {
  display: flex;
  gap: 40px;
}

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

.stat-number {
  font-size: 32px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}

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

.hero-image {
  position: relative;
  animation: fadeInRight 1s ease;
}

.hero-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-color);
}

.hero-card.floating {
  animation: floating 6s ease-in-out infinite;
}

@keyframes floating {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

.hero-card img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-card-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 107, 157, 0.3), transparent 50%);
  animation: rotate 10s linear infinite;
}

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

.hero-decoration {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.deco-circle {
  position: absolute;
  border-radius: 50%;
  border: 2px solid var(--primary-color);
  opacity: 0.2;
}

.circle-1 {
  width: 100px;
  height: 100px;
  top: -20px;
  right: -20px;
  animation: pulse 3s ease-in-out infinite;
}

.circle-2 {
  width: 150px;
  height: 150px;
  bottom: -30px;
  left: -30px;
  animation: pulse 4s ease-in-out infinite;
  animation-delay: 1s;
}

.circle-3 {
  width: 80px;
  height: 80px;
  top: 50%;
  right: -40px;
  animation: pulse 3.5s ease-in-out infinite;
  animation-delay: 2s;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.2;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.4;
  }
}

section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-title {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--text-primary), var(--primary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.title-icon {
  filter: drop-shadow(0 0 10px rgba(255, 107, 157, 0.5));
}

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

.category-section {
  background: linear-gradient(180deg, transparent, rgba(255, 107, 157, 0.03), transparent);
}

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

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

.category-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 107, 157, 0.1), rgba(255, 154, 118, 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

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

.category-icon {
  font-size: 48px;
  margin-bottom: 16px;
  filter: drop-shadow(0 0 10px rgba(255, 107, 157, 0.3));
  transition: all 0.3s ease;
}

.category-card:hover .category-icon {
  transform: scale(1.2);
  filter: drop-shadow(0 0 20px rgba(255, 107, 157, 0.6));
}

.category-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

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

.category-hover-line {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  transition: width 0.3s ease;
}

.category-card:hover .category-hover-line {
  width: 80%;
}

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

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

.manga-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(255, 107, 157, 0.2);
  border-color: var(--primary-color);
}

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

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

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

.manga-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 12px;
  background: rgba(15, 15, 30, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  z-index: 2;
}

.manga-badge.hot {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border: none;
}

.manga-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 15, 30, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.manga-card:hover .manga-overlay {
  opacity: 1;
}

.btn-read {
  padding: 12px 28px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 107, 157, 0.4);
}

.btn-read:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(255, 107, 157, 0.6);
}

.manga-glow {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to top, rgba(255, 107, 157, 0.2), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.manga-card:hover .manga-glow {
  opacity: 1;
}

.manga-info {
  padding: 20px;
}

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

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

.manga-tags span {
  padding: 4px 10px;
  background: rgba(255, 107, 157, 0.15);
  border-radius: 6px;
  font-size: 12px;
  color: var(--primary-color);
}

.manga-stats {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: var(--text-muted);
}

.ranking-section {
  background: var(--bg-darker);
}

.ranking-tabs {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
}

.ranking-tab {
  padding: 12px 32px;
  background: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  color: var(--text-secondary);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.ranking-tab:hover,
.ranking-tab.active {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(255, 107, 157, 0.4);
}

.ranking-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.ranking-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  position: relative;
  transition: all 0.3s ease;
  cursor: pointer;
}

.ranking-card:hover {
  transform: translateX(8px);
  border-color: var(--primary-color);
  box-shadow: 0 8px 25px rgba(255, 107, 157, 0.3);
}

.rank-badge {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-light);
  border-radius: 12px;
  flex-shrink: 0;
}

.rank-number {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
}

.ranking-card.top1 .rank-badge {
  background: linear-gradient(135deg, #FFD700, #FFA500);
}

.ranking-card.top1 .rank-number {
  color: white;
  text-shadow: 0 2px 10px rgba(255, 215, 0, 0.5);
}

.ranking-card.top2 .rank-badge {
  background: linear-gradient(135deg, #C0C0C0, #A8A8A8);
}

.ranking-card.top2 .rank-number {
  color: white;
}

.ranking-card.top3 .rank-badge {
  background: linear-gradient(135deg, #CD7F32, #B8860B);
}

.ranking-card.top3 .rank-number {
  color: white;
}

.ranking-card img {
  width: 70px;
  height: 90px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.ranking-info {
  flex: 1;
}

.ranking-info h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.ranking-genre {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.ranking-stats {
  display: flex;
  gap: 12px;
  font-size: 12px;
}

.stat {
  color: var(--text-secondary);
}

.ranking-trend {
  position: absolute;
  top: 20px;
  right: 20px;
}

.trend-up {
  color: #4ade80;
  font-size: 14px;
  font-weight: 600;
}

.trend-down {
  color: #f87171;
  font-size: 14px;
  font-weight: 600;
}

.trend-same {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
}

.latest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.latest-card {
  display: flex;
  gap: 16px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.latest-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-color);
  box-shadow: 0 8px 25px rgba(255, 107, 157, 0.2);
}

.latest-image {
  position: relative;
  width: 90px;
  height: 120px;
  flex-shrink: 0;
}

.latest-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.latest-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 4px 8px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  font-size: 10px;
  font-weight: 700;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(255, 107, 157, 0.4);
}

.latest-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.latest-info h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.latest-chapter {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.latest-meta {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--text-muted);
}

.footer {
  background: var(--bg-darker);
  border-top: 1px solid var(--border-color);
  padding: 64px 0 32px;
  position: relative;
  overflow: hidden;
}

.footer-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
  box-shadow: 0 0 20px rgba(255, 107, 157, 0.5);
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 64px;
  margin-bottom: 48px;
}

.footer-section h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.footer-section p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 24px;
}

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

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

.social-link {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  font-size: 20px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-link:hover {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-color: transparent;
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(255, 107, 157, 0.4);
}

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

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 12px;
}

.footer-section ul li a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-section ul li a:hover {
  color: var(--primary-color);
  transform: translateX(4px);
}

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

.footer-bottom p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 8px;
}

.footer-keywords {
  font-size: 12px;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-slide-up {
  animation: fadeInUp 0.8s ease;
}

.animate-fade-in {
  animation: fadeInUp 1s ease;
  animation-delay: 0.5s;
  opacity: 0;
  animation-fill-mode: forwards;
}

@media (max-width: 1024px) {
  .hero-main {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-image {
    order: -1;
  }

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

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

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

  .mobile-toggle {
    display: flex;
  }

  .search-box {
    width: 160px;
  }

  .search-box:focus {
    width: 200px;
  }

  .hero-title {
    font-size: 40px;
  }

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

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

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

  .footer-links-group {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.stock-code {
  display: inline-block;
  margin-left: 12px;
  padding: 4px 12px;
  background: linear-gradient(135deg, rgba(255, 107, 157, 0.15), rgba(255, 154, 118, 0.15));
  border: 1px solid rgba(255, 107, 157, 0.3);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-color);
  letter-spacing: 0.5px;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
  align-items: center;
}

.about-text h3 {
  font-size: 28px;
  margin-bottom: 24px;
  color: var(--primary-color);
}

.about-text p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.about-image img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(255, 107, 157, 0.2);
}

.investor-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 48px;
}

.stock-info-card,
.financial-highlights {
  background: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 32px;
}

.stock-info-card h3,
.financial-highlights h3 {
  font-size: 24px;
  margin-bottom: 24px;
  color: var(--primary-color);
}

.stock-details {
  display: grid;
  gap: 16px;
}

.stock-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
}

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

.stock-item .label {
  color: var(--text-secondary);
  font-size: 14px;
}

.stock-item .value {
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 600;
}

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

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

.financial-number {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 8px;
}

.financial-label {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.financial-growth {
  font-size: 13px;
  color: #4ade80;
  font-weight: 600;
}

.contact-section {
  padding: 100px 0;
  background: var(--surface);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.contact-card {
  background: var(--bg-dark);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  transition: all 0.3s ease;
}

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

.contact-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.contact-card h3 {
  font-size: 20px;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.contact-card p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-secondary);
}

@media (max-width: 1024px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .investor-info {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 768px) {
  .stock-code {
    display: block;
    margin-left: 0;
    margin-top: 8px;
    text-align: center;
  }

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