:root {
    --bg-main: #fdf6f0;
    --bg-pink: #ffe4ec;
    --bg-blue: #e0f2fe;
    --bg-yellow: #fef3c7;
    --text-dark: #333333;
    --text-light: #666666;
    --brand-pink: #ff4d85;
    --brand-blue: #00b4d8;
    --border-color: #333333;
    --halftone: radial-gradient(circle, #333 1px, transparent 1.5px);
  }

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

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

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

  img {
    max-width: 100%;
    display: block;
  }

  /* Header & Nav */
  header {
    background-color: #ffffff;
    border-bottom: 3px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
  }

  .header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
  }

  .logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--brand-pink);
  }

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

  nav ul {
    display: flex;
    list-style: none;
    gap: 16px;
    flex-wrap: wrap;
  }

  nav a {
    font-weight: bold;
    font-size: 0.95rem;
    padding: 6px 12px;
    border: 2px solid transparent;
    border-radius: 20px;
    transition: all 0.3s;
  }

  nav a:hover {
    background-color: var(--bg-pink);
    border-color: var(--border-color);
  }

  /* Common Section Styles */
  section {
    padding: 60px 20px;
    position: relative;
  }

  .section-inner {
    max-width: 1200px;
    margin: 0 auto;
  }

  .section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    padding: 0 20px;
    background: #fff;
    border: 3px solid var(--border-color);
    border-radius: 30px;
    box-shadow: 4px 4px 0 var(--border-color);
  }

  .section-title h2 {
    margin: 0;
    font-size: inherit;
  }

  /* Hero Section */
  .hero {
    background-color: var(--bg-pink);
    background-image: var(--halftone);
    background-size: 12px 12px;
    border-bottom: 3px solid var(--border-color);
    padding: 80px 20px;
    text-align: center;
    overflow: hidden;
  }

  .hero-content {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.9);
    padding: 40px;
    border: 3px solid var(--border-color);
    border-radius: 20px;
    box-shadow: 8px 8px 0 var(--border-color);
    position: relative;
    z-index: 2;
  }

  .hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--brand-pink);
    line-height: 1.3;
  }

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

  .download-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
  }

  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: bold;
    color: #fff;
    background-color: var(--brand-blue);
    border: 3px solid var(--border-color);
    border-radius: 50px;
    box-shadow: 4px 4px 0 var(--border-color);
    transition: all 0.2s;
    cursor: pointer;
  }

  .btn:hover {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 var(--border-color);
  }

  .btn-pink {
    background-color: var(--brand-pink);
  }

  /* Today Updates */
  .updates-section {
    background-color: var(--bg-blue);
  }

  .comic-wall {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
  }

  .panel {
    background: #fff;
    border: 3px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 4px 4px 0 var(--border-color);
    position: relative;
    transition: transform 0.3s;
  }

  .panel:hover {
    transform: scale(1.03);
    z-index: 2;
  }

  .panel img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-bottom: 3px solid var(--border-color);
  }

  .panel-info {
    padding: 12px;
    text-align: center;
    font-weight: bold;
  }

  .panel-sfx {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--bg-yellow);
    padding: 4px 8px;
    font-weight: 900;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    transform: rotate(5deg);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
  }

  .panel:hover .panel-sfx {
    opacity: 1;
  }

  /* Hot Recommendations */
  .hot-section {
    background-color: var(--bg-main);
    background-image: linear-gradient(45deg, #fdf6f0 25%, transparent 25%), linear-gradient(-45deg, #fdf6f0 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #fdf6f0 75%), linear-gradient(-45deg, transparent 75%, #fdf6f0 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
  }

  .scroll-timeline {
    display: flex;
    flex-direction: column;
    gap: 40px;
    position: relative;
  }

  .scroll-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: var(--border-color);
    transform: translateX(-50%);
  }

  .timeline-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 50%;
    padding-right: 40px;
    position: relative;
  }

  .timeline-item:nth-child(even) {
    align-self: flex-end;
    padding-right: 0;
    padding-left: 40px;
    flex-direction: row-reverse;
  }

  .timeline-item img {
    width: 120px;
    height: 160px;
    object-fit: cover;
    border: 3px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 4px 4px 0 var(--border-color);
  }

  .timeline-content {
    background: #fff;
    padding: 20px;
    border: 3px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 4px 4px 0 var(--border-color);
    width: 65%;
  }

  .timeline-content h3 {
    margin-bottom: 8px;
    color: var(--brand-blue);
  }

  .timeline-content p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 8px;
  }

  .tag-group {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 8px;
  }

  .tag {
    background: var(--bg-yellow);
    padding: 2px 8px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
  }

  .date-text {
    font-size: 0.8rem;
    color: #999;
    font-weight: bold;
  }

  /* Sync Section */
  .sync-section {
    background-color: var(--bg-yellow);
    background-image: var(--halftone);
    background-size: 12px 12px;
    text-align: center;
  }

  .cloud-belt {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 40px;
  }

  .device-icon {
    background: #fff;
    padding: 20px;
    border: 3px solid var(--border-color);
    border-radius: 50%;
    box-shadow: 4px 4px 0 var(--border-color);
    font-size: 2rem;
  }

  .dashed-line {
    flex: 1;
    min-width: 50px;
    height: 4px;
    border-top: 4px dashed var(--border-color);
    position: relative;
  }

  .bubble {
    background: #fff;
    padding: 12px 20px;
    border: 3px solid var(--border-color);
    border-radius: 20px;
    font-weight: bold;
    box-shadow: 4px 4px 0 var(--border-color);
    position: relative;
    display: inline-block;
  }

  .bubble::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 20px;
    border-width: 12px 12px 0 0;
    border-style: solid;
    border-color: var(--border-color) transparent transparent transparent;
  }

  /* Danmaku Section */
  .danmaku-section {
    background-color: #f3e8ff;
  }

  .chat-matrix {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
  }

  .chat-bubble {
    background: #fff;
    padding: 15px;
    border: 3px solid var(--border-color);
    border-radius: 16px;
    border-bottom-left-radius: 4px;
    box-shadow: 4px 4px 0 var(--border-color);
    display: flex;
    align-items: flex-start;
    gap: 12px;
  }

  .chat-bubble img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
  }

  .chat-text {
    font-size: 0.95rem;
  }

  /* FAQ Section */
  .faq-section {
    background-color: var(--bg-blue);
  }

  .faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .faq-item {
    background: #fff;
    border: 3px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 4px 4px 0 var(--border-color);
    overflow: hidden;
  }

  .faq-question {
    padding: 15px 20px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f9f9f9;
  }

  .faq-answer {
    padding: 0 20px 15px;
    color: var(--text-light);
    display: block;
  }

  /* Footer */
  footer {
    background-color: var(--border-color);
    color: #fff;
    text-align: center;
    padding: 40px 20px;
    position: relative;
  }

  .footer-content {
    max-width: 800px;
    margin: 0 auto;
  }

  .footer-title {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: 4px;
    margin-bottom: 20px;
    color: var(--brand-pink);
  }

  .footer-links {
    margin-bottom: 20px;
    font-size: 0.9rem;
  }

  .footer-links a {
    margin: 0 10px;
    text-decoration: underline;
  }

  .footer-time {
    font-size: 0.8rem;
    color: #aaa;
    margin-top: 15px;
  }

  /* Install Guide */
  .install-section {
    background-color: var(--bg-main);
    border-top: 3px solid var(--border-color);
  }

  .install-steps {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 30px;
    border: 3px solid var(--border-color);
    border-radius: 20px;
    box-shadow: 6px 6px 0 var(--border-color);
  }

  .install-steps h3 {
    margin-bottom: 15px;
    color: var(--brand-pink);
  }

  .install-steps p {
    margin-bottom: 10px;
    font-size: 1rem;
  }

  /* Modal */
  .modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
  }

  .modal-overlay.active {
    display: flex;
  }

  .modal-box {
    background: #fff;
    padding: 30px;
    border: 3px solid var(--border-color);
    border-radius: 16px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 8px 8px 0 var(--border-color);
  }

  .modal-box p {
    margin-bottom: 20px;
    font-weight: bold;
  }

  .modal-box input {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    text-align: center;
    background: #f0f0f0;
  }

  .modal-box .close-btn {
    background: var(--brand-pink);
    color: #fff;
    border: 3px solid var(--border-color);
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
  }

  /* Responsive */
  @media (max-width: 1024px) {
    .hero h1 { font-size: 2rem; }
    .timeline-item { flex-direction: column; align-items: flex-start; width: 100%; padding: 0; }
    .timeline-item:nth-child(even) { flex-direction: column; align-items: flex-start; padding: 0; }
    .scroll-timeline::before { display: none; }
    .timeline-content { width: 100%; margin-top: 15px; }
    .timeline-item img { width: 100%; height: 200px; }
  }

  @media (max-width: 768px) {
    .header-container { flex-direction: column; gap: 10px; }
    nav ul { justify-content: center; gap: 10px; }
    nav a { font-size: 0.85rem; padding: 4px 10px; }
    .hero { padding: 40px 15px; }
    .hero-content { padding: 25px; }
    .hero h1 { font-size: 1.8rem; }
    .download-buttons { flex-direction: column; }
    .btn { width: 100%; }
    .comic-wall { grid-template-columns: repeat(2, 1fr); }
    .chat-matrix { grid-template-columns: 1fr; }
    .cloud-belt { flex-direction: column; }
    .dashed-line { width: 4px; height: 50px; border-top: none; border-left: 4px dashed var(--border-color); min-width: auto; flex: none; }
    .bubble::after { bottom: auto; top: -12px; left: 20px; border-width: 0 12px 12px 0; border-color: transparent transparent var(--border-color) transparent; }
    .install-steps { padding: 20px; }
  }