/* 漫蛙漫画网站样式 */
* {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
  }

:root {
      --primary: #7E22CE;
      --primary-dark: #6B21A8;
      --secondary: #EC4899;
      --accent: #FF6B6B;
      --dark: #1F2937;
      --light: #F9FAFB;
      --gray: #6B7280;
      --success: #22C55E;
      --card-bg: rgba(255, 255, 255, 0.95);
      --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

body {
      background: linear-gradient(135deg, #F5F3FF 0%, #EDE9FE 100%);
      color: #333;
      line-height: 1.6;
      overflow-x: hidden;
      min-height: 100vh;
}

.container {
      width: 90%;
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 15px;
}

/* 导航栏样式 */
.navbar {
      background-color: rgba(255, 255, 255, 0.95);
      box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 1000;
      backdrop-filter: blur(10px);
      padding: 15px 0;
      transition: all 0.3s ease;
}

.navbar.scrolled {
      padding: 10px 0;
}

.nav-container {
      display: flex;
      justify-content: space-between;
      align-items: center;
}

.nav-logo {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 1.8rem;
      font-weight: 700;
      color: var(--primary);
      text-decoration: none;
}

.nav-logo:hover svg {
      transform: rotate(10deg);
}

.nav-logo svg {
      width: 36px;
      height: 36px;
      transition: transform 0.3s;
}

.nav-menu {
      display: flex;
      gap: 30px;
}

.nav-link {
      color: var(--dark);
      text-decoration: none;
      font-weight: 600;
      font-size: 1.1rem;
      transition: color 0.3s;
      position: relative;
      padding: 5px 0;
}

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

.nav-link::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 0;
      height: 3px;
      background: var(--primary);
      border-radius: 3px;
      transition: width 0.3s;
}

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

.nav-toggle {
      display: none;
      flex-direction: column;
      cursor: pointer;
      z-index: 1001;
}

.nav-toggle span {
      display: block;
      width: 25px;
      height: 3px;
      background: var(--primary);
      margin: 3px 0;
      border-radius: 3px;
      transition: all 0.3s ease;
}

/* 英雄区域样式 */
.hero {
      padding: 160px 0 80px;
      position: relative;
      overflow: hidden;
      background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
      color: #fff;
      text-align: center;
}

.hero::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path fill="rgba(255,255,255,0.05)" d="M0,0 L100,0 L100,100 Z"></path></svg>');
      background-size: cover;
      background-position: bottom;
}

.hero-content {
      position: relative;
      z-index: 2;
      max-width: 800px;
      margin: 0 auto;
      padding: 0 20px;
}

.hero h1 {
      font-size: 3.5rem;
      margin-bottom: 20px;
      line-height: 1.2;
      text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero p {
      font-size: 1.4rem;
      margin-bottom: 40px;
      max-width: 700px;
      margin-left: auto;
      margin-right: auto;
}

.hero-image {
      margin-top: 40px;
      display: flex;
      justify-content: center;
}

.hero-image .comic-cover {
      width: 300px;
      height: 400px;
      background: linear-gradient(135deg, var(--secondary), #FF6B6B);
      border-radius: 12px;
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      overflow: hidden;
}

.hero-image .comic-cover::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(0,0,0,0.1));
}

.hero-image .comic-cover h3 {
      font-size: 2.5rem;
      color: white;
      font-weight: 700;
      text-align: center;
      text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* 按钮样式 */
.btn {
      display: inline-block;
      padding: 14px 35px;
      border-radius: 50px;
      text-decoration: none;
      font-weight: 600;
      font-size: 1.1rem;
      text-align: center;
      transition: all 0.3s ease;
      cursor: pointer;
      border: none;
      outline: none;
      margin: 10px;
}

.btn-primary {
      background: var(--accent);
      color: white;
      box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.btn-primary:hover {
      background: #FF5252;
      transform: translateY(-5px);
      box-shadow: 0 8px 25px rgba(255, 107, 107, 0.6);
}

.btn-secondary {
      background: transparent;
      color: white;
      border: 2px solid white;
}

.btn-secondary:hover {
      background: rgba(255, 255, 255, 0.15);
      transform: translateY(-5px);
}

.btn-full {
      display: block;
      width: 100%;
      padding: 15px;
      font-size: 1.1rem;
}

.hero-buttons {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      margin-top: 30px;
}

/* 特色功能区域 */
.features {
      padding: 100px 0;
      background: white;
}

.section-title {
      text-align: center;
      margin-bottom: 60px;
      position: relative;
}

.section-title h2 {
      font-size: 2.5rem;
      color: var(--dark);
      margin-bottom: 15px;
}

.section-title::after {
      content: '';
      position: absolute;
      bottom: -10px;
      left: 50%;
      transform: translateX(-50%);
      width: 80px;
      height: 4px;
      background: var(--primary);
      border-radius: 2px;
}

.features-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 30px;
}

.feature-card {
      background: var(--card-bg);
      border-radius: 15px;
      overflow: hidden;
      box-shadow: var(--shadow);
      transition: all 0.3s ease;
      padding: 40px 30px;
      text-align: center;
      position: relative;
      overflow: hidden;
}

.feature-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 5px;
      background: var(--primary);
      transform: scaleX(0);
      transform-origin: left;
      transition: transform 0.5s ease;
}

.feature-card:hover {
      transform: translateY(-10px);
      box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.feature-card:hover::before {
      transform: scaleX(1);
}

.feature-icon {
      width: 80px;
      height: 80px;
      background: linear-gradient(135deg, var(--primary), #8B5CF6);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 25px;
      transition: transform 0.3s;
}

.feature-card:hover .feature-icon {
      transform: rotate(15deg) scale(1.1);
}

.feature-icon i {
      font-size: 36px;
      color: white;
}

.feature-card h3 {
      font-size: 1.5rem;
      margin-bottom: 15px;
      color: var(--dark);
}

.feature-card p {
      color: var(--gray);
      font-size: 1.05rem;
}

/* 热门漫画区域 */
.comics {
      padding: 100px 0;
      background: linear-gradient(to bottom, #F5F3FF, #EDE9FE);
}

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

.comic-card {
      background: var(--card-bg);
      border-radius: 15px;
      overflow: hidden;
      box-shadow: var(--shadow);
      transition: all 0.3s ease;
}

.comic-card:hover {
      transform: translateY(-10px);
      box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.comic-cover {
      height: 380px;
      position: relative;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
}

.comic-cover::before {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 50%;
      background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
      z-index: 1;
}

.comic-cover-color {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 0;
}

.comic-title {
      position: absolute;
      bottom: 20px;
      left: 20px;
      color: white;
      font-size: 1.8rem;
      font-weight: 700;
      z-index: 2;
      text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.comic-info {
      padding: 20px;
}

.comic-info h3 {
      font-size: 1.4rem;
      margin-bottom: 10px;
      color: var(--dark);
}

.comic-info p {
      color: var(--gray);
      margin-bottom: 20px;
      font-size: 0.95rem;
      min-height: 60px;
}

.comic-stats {
      display: flex;
      justify-content: space-between;
      color: var(--gray);
      font-size: 0.9rem;
}

.comic-rating {
      color: var(--accent);
      font-weight: 600;
}

.comic-badge {
      position: absolute;
      top: 20px;
      right: 20px;
      background: var(--accent);
      color: white;
      padding: 5px 15px;
      border-radius: 20px;
      font-size: 0.9rem;
      font-weight: 600;
      z-index: 2;
}

/* 阅读入口区域 */
.entry {
      padding: 100px 0;
      background: white;
      text-align: center;
}

.entry-container {
      max-width: 800px;
      margin: 0 auto;
}

.entry h2 {
      font-size: 2.2rem;
      margin-bottom: 30px;
      color: var(--dark);
}

.entry p {
      color: var(--gray);
      margin-bottom: 40px;
      font-size: 1.1rem;
      line-height: 1.8;
}

.entry-steps {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 30px;
      margin-bottom: 50px;
}

.step-card {
      background: var(--light);
      border-radius: 15px;
      padding: 30px;
      box-shadow: var(--shadow);
      transition: all 0.3s;
}

.step-card:hover {
      transform: translateY(-10px);
      box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.step-number {
      width: 50px;
      height: 50px;
      background: var(--primary);
      color: white;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.5rem;
      font-weight: 700;
      margin: 0 auto 20px;
}

.step-card h3 {
      font-size: 1.4rem;
      margin-bottom: 15px;
      color: var(--dark);
}

.step-card p {
      color: var(--gray);
      font-size: 1rem;
      margin-bottom: 0;
}

/* 页脚样式 */
.footer {
      background: var(--dark);
      color: white;
      padding: 60px 0 30px;
}

.footer-content {
      text-align: center;
}

.footer-logo {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      font-size: 1.8rem;
      font-weight: 700;
      margin-bottom: 20px;
      color: white;
}

.footer-logo svg {
      width: 36px;
      height: 36px;
}

.footer p {
      color: rgba(255, 255, 255, 0.7);
      max-width: 600px;
      margin: 0 auto 30px;
      font-size: 1.1rem;
}

.copyright {
      padding-top: 30px;
      border-top: 1px solid rgba(255, 255, 255, 0.1);
      color: rgba(255, 255, 255, 0.5);
      font-size: 0.9rem;
}

/* 动画 */
@keyframes fadeInDown {
      from {
		opacity: 0;
		transform: translateY(-30px);
      }
      to {
		opacity: 1;
		transform: translateY(0);
      }
}

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

@keyframes fadeIn {
      from {
		opacity: 0;
      }
      to {
		opacity: 1;
      }
}

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

/* 响应式设计 */
@media (max-width: 992px) {
      .hero h1 {
		font-size: 2.8rem;
      }
      
      .hero p {
		font-size: 1.2rem;
      }
}

@media (max-width: 768px) {
      .nav-menu {
		position: fixed;
		top: 80px;
		right: -100%;
		flex-direction: column;
		background: white;
		width: 280px;
		height: calc(100vh - 80px);
		box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
		padding: 40px 30px;
		transition: all 0.3s ease;
		gap: 25px;
      }
      
      .nav-menu.active {
		right: 0;
      }
      
      .nav-toggle {
		display: flex;
      }
      
      .hero h1 {
		font-size: 2.3rem;
      }
      
      .hero p {
		font-size: 1.1rem;
      }
      
      .section-title h2 {
		font-size: 2rem;
      }
      
      .feature-card {
		padding: 30px 20px;
      }
}

@media (max-width: 576px) {
      .hero-buttons {
		flex-direction: column;
      }
      
      .btn {
		width: 100%;
		margin: 8px 0;
      }
      
      .hero h1 {
		font-size: 2rem;
      }
      
      .section-title h2 {
		font-size: 1.8rem;
      }
      
      .comic-cover {
		height: 320px;
      }
}