:root {
    --bg-deep: #0B0A1A;
    --bg-card: #15132B;
    --primary: #B026FF;
    --secondary: #FF007F;
    --star-blue: #4A90E2;
    --text-main: #F0EFFF;
    --text-muted: #9D9BB5;
    --border: rgba(176, 38, 255, 0.3);
  }

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

  body {
    background-color: var(--bg-deep);
    color: var(--text-main);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
  }

  a {
    text-decoration: none;
    color: inherit;
  }

  img {
    max-width: 100%;
    display: block;
    object-fit: cover;
    border-radius: 12px;
  }

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

  /* Shimmer & Glow */
  .glow {
    box-shadow: 0 0 15px rgba(176, 38, 255, 0.4);
  }
  
  .shimmer {
    position: relative;
    overflow: hidden;
  }
  
  .shimmer::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    transition: 0.75s;
  }
  
  .shimmer:hover::after {
    left: 125%;
  }

  /* Buttons */
  .btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
  }

  .btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 0, 127, 0.4);
  }

  .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 127, 0.6);
  }

  .btn-outline {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--text-main);
  }

  .btn-outline:hover {
    background: rgba(176, 38, 255, 0.1);
    box-shadow: 0 0 10px rgba(176, 38, 255, 0.5);
  }

  /* Header */
  header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 0;
    z-index: 1000;
    transition: all 0.3s ease;
  }

  header.scrolled {
    background: rgba(11, 10, 26, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
  }

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

  .logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: bold;
  }

  .logo-area img {
    height: 32px;
    width: auto;
    border-radius: 6px;
  }

  .nav-links {
    display: none;
  }

  .nav-links a {
    margin: 0 15px;
    color: var(--text-muted);
    transition: color 0.3s;
  }

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

  /* Hero Section */
  .hero {
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
  }

  .hero-bg-glow {
    position: absolute;
    top: 50%;
    right: 10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(176, 38, 255, 0.2) 0%, rgba(0,0,0,0) 70%);
    transform: translateY(-50%);
    z-index: 0;
    pointer-events: none;
  }

  .hero-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    position: relative;
    z-index: 1;
  }

  .hero-text h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(to right, #FFF, #B026FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  .hero-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
  }

  .hero-visual {
    position: relative;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border);
    transform-style: preserve-3d;
    transition: transform 0.1s ease;
  }

  .hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .chat-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(11, 10, 26, 0.8);
    border: 1px solid var(--border);
    border-radius: 15px;
    padding: 15px;
    backdrop-filter: blur(10px);
    animation: pulse 3s infinite alternate;
  }

  .chat-overlay p {
    margin: 0;
    color: var(--text-main);
    font-size: 0.95rem;
    border-right: 2px solid var(--secondary);
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    animation: typing 4s steps(30, end) infinite;
  }

  /* Danmaku Wall */
  .danmaku-section {
    padding: 60px 0;
    background: url('images/fengyueai.webp') center/cover no-repeat;
    position: relative;
    overflow: hidden;
  }

  .danmaku-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(11, 10, 26, 0.85);
  }

  .danmaku-container {
    position: relative;
    height: 200px;
    z-index: 1;
    overflow: hidden;
  }

  .danmaku-item {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--primary);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #fff;
    white-space: nowrap;
    animation: scroll-left linear infinite;
  }

  .danmaku-item:nth-child(1) { top: 10%; animation-duration: 12s; }
  .danmaku-item:nth-child(2) { top: 45%; animation-duration: 18s; animation-delay: -5s; }
  .danmaku-item:nth-child(3) { top: 75%; animation-duration: 15s; animation-delay: -10s; }
  
  .danmaku-container:hover .danmaku-item {
    animation-play-state: paused;
    box-shadow: 0 0 15px var(--primary);
    border-color: #fff;
  }

  /* Character Wall */
  .section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 10px;
    color: #fff;
  }
  
  .section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 50px;
  }

  .character-wall {
    padding: 80px 0;
  }

  .grid-3x3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .char-card {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05);
    transition: all 0.3s ease;
    position: relative;
  }

  .char-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(176, 38, 255, 0.2);
    border-color: var(--primary);
  }

  .char-img-wrapper {
    height: 260px;
    overflow: hidden;
  }

  .char-img-wrapper img {
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease;
  }

  .char-card:hover .char-img-wrapper img {
    transform: scale(1.05);
  }

  .char-info {
    padding: 15px;
  }

  .char-info h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
  }

  .char-tag {
    display: inline-block;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 10px;
    background: rgba(255, 0, 127, 0.2);
    color: var(--secondary);
    margin-bottom: 10px;
  }

  .char-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
  }

  /* Compare Section */
  .compare-section {
    padding: 80px 0;
  }

  .compare-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
  }

  .compare-box {
    padding: 30px;
    border-radius: 20px;
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.05);
  }

  .compare-box.bad {
    filter: grayscale(0.8) brightness(0.7);
  }

  .compare-box.good {
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(176, 38, 255, 0.15);
  }

  .compare-title {
    font-size: 1.4rem;
    margin-bottom: 20px;
    text-align: center;
  }

  .chat-bubble {
    background: rgba(255,255,255,0.05);
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 12px;
    font-size: 0.95rem;
  }

  .chat-bubble.right {
    background: rgba(176, 38, 255, 0.15);
    text-align: right;
    border: 1px solid rgba(176, 38, 255, 0.3);
  }

  /* Features */
  .features-section {
    padding: 80px 0;
  }

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

  .feature-text h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }

  .feature-text p {
    color: var(--text-muted);
    margin-bottom: 20px;
  }

  .feature-img {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border);
  }

  /* VIP Plans */
  .pricing-section {
    padding: 80px 0;
    text-align: center;
  }

  .pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
  }

  .pricing-card {
    background: var(--bg-card);
    padding: 40px 20px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.05);
    position: relative;
  }

  .pricing-card.recommended {
    border: 2px solid transparent;
    background-clip: padding-box;
    border-image: linear-gradient(135deg, var(--primary), var(--secondary)) 1;
    box-shadow: 0 10px 40px rgba(255, 0, 127, 0.2);
  }

  .pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
  }

  .pricing-card p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 0.9rem;
  }
  
  .pricing-card .btn {
    width: 100%;
  }

  /* Devices */
  .devices-section {
    padding: 80px 0;
    text-align: center;
  }

  .device-mockup {
    margin-top: 40px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  }

  /* FAQ */
  .faq-section {
    padding: 80px 0;
    max-width: 800px;
    margin: 0 auto;
  }

  .faq-item {
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .faq-item summary {
    padding: 15px 0;
    cursor: pointer;
    font-weight: bold;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .faq-item summary::-webkit-details-marker {
    display: none;
  }

  .faq-item summary::after {
    content: '+';
    color: var(--primary);
    font-size: 1.5rem;
  }

  .faq-item[open] summary::after {
    content: '-';
  }

  .faq-content {
    padding-bottom: 15px;
    color: var(--text-muted);
    font-size: 0.95rem;
  }

  /* Footer */
  footer {
    padding: 40px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--text-muted);
    font-size: 0.85rem;
    text-align: center;
  }

  footer .disclaimer {
    margin-bottom: 10px;
  }

  footer a {
    color: inherit;
    transition: color 0.3s;
  }
  
  footer a:hover {
    color: var(--primary);
  }

  /* Animations */
  @keyframes typing {
    from { width: 0 }
    to { width: 100% }
  }

  @keyframes pulse {
    0% { box-shadow: 0 0 10px rgba(176, 38, 255, 0.2); }
    100% { box-shadow: 0 0 20px rgba(255, 0, 127, 0.4); }
  }

  @keyframes scroll-left {
    from { transform: translateX(100vw); }
    to { transform: translateX(-100%); }
  }

  /* Media Queries */
  @media (min-width: 768px) {
    .hero-content {
      grid-template-columns: 1fr 1fr;
      align-items: center;
    }
    .grid-3x3 {
      grid-template-columns: repeat(2, 1fr);
    }
    .compare-grid {
      grid-template-columns: 1fr 1fr;
    }
    .feature-row {
      grid-template-columns: 1fr 1fr;
    }
    .pricing-grid {
      grid-template-columns: repeat(2, 1fr);
    }
    .nav-links {
      display: block;
    }
  }

  @media (min-width: 1024px) {
    .grid-3x3 {
      grid-template-columns: repeat(3, 1fr);
    }
    .hero-text h1 {
      font-size: 3.5rem;
    }
    .pricing-grid {
      grid-template-columns: repeat(3, 1fr);
    }
  }