:root {
    --bg-color: #FFF8F9;
    --card-bg: #FFFFFF;
    --primary: #FF4B72;
    --secondary: #FFD166;
    --accent: #4ECDC4;
    --dark: #1A1A1A;
    --border: 3px solid var(--dark);
    --shadow-pop: 6px 6px 0px var(--dark);
    --shadow-accent: 6px 6px 0px var(--accent);
    --font-main: "PingFang SC", "Nunito", "Helvetica Neue", sans-serif;
  }

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

  body {
    background-color: var(--bg-color);
    background-image: radial-gradient(#ffe3e8 2px, transparent 2px);
    background-size: 30px 30px;
    font-family: var(--font-main);
    color: var(--dark);
    font-weight: 600;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
  }

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

  ul {
    list-style: none;
  }

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

  /* Typography */
  h1, h2, h3 {
    font-weight: 900;
    letter-spacing: 1px;
  }
  
  .section-title {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
  }

  .section-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: var(--secondary);
    z-index: -1;
    border-radius: 4px;
  }

  /* Buttons */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-size: 1.1rem;
    font-weight: 800;
    border: var(--border);
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 4px 4px 0px var(--dark);
  }

  .btn-primary {
    background-color: var(--primary);
    color: #fff;
  }

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

  .btn-secondary {
    background-color: var(--card-bg);
    color: var(--dark);
  }

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

  /* Header */
  header {
    background-color: var(--card-bg);
    border-bottom: var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
  }

  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
  }

  .logo {
    display: flex;
    align-items: center;
    font-size: 1.6rem;
    font-weight: 900;
  }

  .logo img {
    height: 36px;
    margin-right: 10px;
  }

  .logo span {
    color: var(--primary);
  }

  .nav-links {
    display: flex;
    gap: 20px;
  }

  .nav-links a {
    font-size: 1.1rem;
    transition: color 0.2s;
  }

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

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

  .search-box {
    display: flex;
    align-items: center;
    background-color: #f0f0f0;
    border: var(--border);
    border-radius: 20px;
    padding: 4px 12px;
  }

  .search-box input {
    border: none;
    background: transparent;
    outline: none;
    font-family: inherit;
    font-weight: 700;
    width: 120px;
  }

  .btn-checkin {
    background-color: var(--secondary);
    color: var(--dark);
    padding: 6px 16px;
    border: var(--border);
    border-radius: 20px;
    font-weight: 800;
    box-shadow: 2px 2px 0px var(--dark);
  }

  /* Hero Section */
  .hero {
    padding: 60px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
  }

  .hero-content {
    flex: 1;
  }

  .badge {
    display: inline-block;
    background-color: var(--secondary);
    border: var(--border);
    padding: 6px 16px;
    border-radius: 8px;
    font-weight: 900;
    transform: rotate(-3deg);
    margin-bottom: 20px;
    box-shadow: 3px 3px 0px var(--dark);
  }

  .hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
  }

  .hero-title span {
    color: var(--primary);
    text-shadow: 3px 3px 0px var(--secondary);
  }

  .hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #444;
  }

  .hero-actions {
    display: flex;
    gap: 20px;
  }

  .hero-visual {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
  }

  .pop-frame {
    background: var(--card-bg);
    border: 4px solid var(--dark);
    border-radius: 20px;
    padding: 15px;
    transform: rotate(3deg);
    box-shadow: 12px 12px 0px var(--accent);
    position: relative;
    z-index: 2;
  }

  .pop-frame img {
    display: block;
    width: 100%;
    max-width: 320px;
    border-radius: 12px;
    border: var(--border);
  }

  .deco-cloud {
    position: absolute;
    background: var(--secondary);
    border: var(--border);
    border-radius: 50px;
    z-index: 1;
  }

  .deco-cloud::before, .deco-cloud::after {
    content: '';
    position: absolute;
    background: var(--secondary);
    border: var(--border);
    border-radius: 50%;
  }

  .cloud-1 {
    width: 80px; height: 40px;
    top: -20px; right: 0;
  }
  .cloud-1::before { width: 40px; height: 40px; top: -20px; left: 10px; }
  .cloud-1::after { width: 30px; height: 30px; top: -10px; right: 10px; }

  .cloud-2 {
    width: 60px; height: 30px;
    bottom: -10px; left: -20px;
  }
  .cloud-2::before { width: 30px; height: 30px; top: -15px; left: 5px; }
  .cloud-2::after { width: 20px; height: 20px; top: -5px; right: 5px; }

  /* Features */
  .features {
    padding: 60px 0;
  }

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

  .feature-card {
    background: var(--card-bg);
    border: var(--border);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow-pop);
    text-align: center;
    transition: transform 0.2s;
  }

  .feature-card:hover {
    transform: translateY(-5px);
  }

  .feature-card:nth-child(1) { background-color: #FFE5EC; }
  .feature-card:nth-child(2) { background-color: #E0F7FA; }
  .feature-card:nth-child(3) { background-color: #FFF3CD; }

  .feature-icon {
    font-size: 3rem;
    margin-bottom: 15px;
  }

  .feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
  }

  .feature-card p {
    font-size: 1rem;
    color: #555;
  }

  /* Comic Selection */
  .comic-selection {
    padding: 60px 0;
  }

  .category-section {
    background: var(--card-bg);
    border: var(--border);
    border-radius: 24px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: var(--shadow-accent);
  }

  .category-header {
    margin-bottom: 20px;
  }

  .category-title {
    font-size: 1.8rem;
    display: inline-block;
    margin-bottom: 10px;
  }

  .category-desc {
    border: 2px dashed #ccc;
    padding: 15px;
    border-radius: 12px;
    color: #666;
    font-size: 0.95rem;
  }

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

  .comic-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: var(--border);
    transition: transform 0.3s;
  }

  .comic-card:hover {
    transform: translateY(-8px);
  }

  .comic-cover {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    display: block;
  }

  .comic-tag {
    position: absolute;
    top: 10px;
    left: -5px;
    background: var(--primary);
    color: #fff;
    padding: 4px 10px;
    font-size: 0.8rem;
    font-weight: 900;
    border: 2px solid var(--dark);
    transform: rotate(-5deg);
    z-index: 10;
  }

  .comic-info {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 15px 10px 10px;
    color: #fff;
  }

  .comic-title {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 4px;
  }

  .comic-stats {
    font-size: 0.8rem;
    opacity: 0.8;
  }

  /* Comments */
  .comments-section {
    padding: 60px 0;
  }

  .comment-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .comment-bubble {
    background: var(--card-bg);
    border: var(--border);
    border-radius: 20px;
    padding: 20px;
    position: relative;
    box-shadow: 4px 4px 0px var(--accent);
  }
  
  .comment-bubble:nth-child(even) {
    transform: translateY(20px);
  }

  .comment-bubble::before {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 40px;
    border-width: 15px 15px 0;
    border-style: solid;
    border-color: var(--card-bg) transparent transparent transparent;
  }

  .comment-bubble::after {
    content: '';
    position: absolute;
    bottom: -21px;
    left: 38px;
    border-width: 17px 17px 0;
    border-style: solid;
    border-color: var(--dark) transparent transparent transparent;
    z-index: -1;
  }

  .comment-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
  }

  .comment-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 3px solid var(--primary);
    background: #eee;
    object-fit: cover;
  }

  .comment-user {
    font-size: 1.1rem;
    font-weight: 800;
  }

  .comment-text {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 15px;
  }

  .comment-tag {
    display: inline-block;
    background: var(--secondary);
    border: 2px solid var(--dark);
    padding: 2px 10px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 800;
    transform: rotate(-2deg);
  }

  /* App Showcase */
  .app-showcase {
    background-color: var(--primary);
    background-image: radial-gradient(rgba(255,255,255,0.2) 2px, transparent 2px);
    background-size: 25px 25px;
    border-top: var(--border);
    border-bottom: var(--border);
    padding: 80px 0;
    color: #fff;
  }

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

  .app-content {
    flex: 1;
  }

  .app-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 3px 3px 0px var(--dark);
  }

  .app-buttons {
    display: flex;
    gap: 20px;
  }

  .btn-app {
    background: #fff;
    color: var(--dark);
    border: var(--border);
    box-shadow: 4px 4px 0px var(--dark);
    padding: 15px 30px;
    font-size: 1.2rem;
  }

  .app-visual {
    flex: 1;
    position: relative;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .phone-mock {
    position: absolute;
    width: 180px;
    border: 4px solid var(--dark);
    border-radius: 24px;
    background: #fff;
    box-shadow: 8px 8px 0px var(--accent);
    overflow: hidden;
  }

  .phone-mock img {
    width: 100%;
    display: block;
  }

  .mock-left {
    transform: translateX(-60px) rotate(-5deg);
    z-index: 1;
  }

  .mock-right {
    transform: translateX(60px) rotate(5deg);
    z-index: 2;
  }

  /* FAQ Section */
  .faq-section {
    padding: 60px 0;
  }

  .faq-layout {
    display: flex;
    gap: 40px;
  }

  .faq-left {
    flex: 1.5;
  }

  .faq-item {
    background: var(--card-bg);
    border: var(--border);
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
  }

  .faq-question {
    padding: 20px;
    font-size: 1.1rem;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .faq-question::before {
    content: 'Q';
    color: var(--primary);
    font-size: 1.4rem;
    margin-right: 10px;
  }

  .faq-answer {
    padding: 0 20px 20px;
    color: #555;
    font-size: 0.95rem;
    display: none; /* Inline style for static fallback, toggled by JS */
  }

  .faq-item.active .faq-answer {
    display: block;
  }

  .faq-right {
    flex: 1;
    background: var(--accent);
    border: var(--border);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow-pop);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .faq-right img {
    width: 120px;
    border: var(--border);
    border-radius: 16px;
    margin-bottom: 20px;
    background: #fff;
  }

  .faq-download-info {
    background: #fff;
    border: var(--border);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 20px;
    width: 100%;
  }

  .download-stat {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--primary);
  }

  .official-badge {
    display: inline-block;
    background: var(--secondary);
    border: 2px solid var(--dark);
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 800;
    margin-top: 10px;
  }

  /* Footer */
  footer {
    background: #fff;
    border-top: var(--border);
    padding: 40px 0 20px;
    text-align: center;
    font-size: 0.9rem;
    color: #666;
  }

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

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

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

  /* Floating Button */
  .floating-btn {
    position: fixed;
    right: 30px;
    bottom: 30px;
    background: var(--secondary);
    color: var(--dark);
    border: var(--border);
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 1.2rem;
    font-weight: 900;
    box-shadow: 6px 6px 0px var(--dark);
    z-index: 999;
    cursor: pointer;
    transition: all 0.1s;
  }

  .floating-btn:active {
    transform: translate(4px, 4px);
    box-shadow: 2px 2px 0px var(--dark);
  }

  /* Responsive */
  @media (max-width: 1024px) {
    .hero-title { font-size: 2.8rem; }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .app-inner { flex-direction: column; text-align: center; }
    .app-buttons { justify-content: center; }
    .faq-layout { flex-direction: column; }
  }

  @media (max-width: 768px) {
    .header-inner { flex-wrap: wrap; height: auto; padding: 10px 0; gap: 10px; justify-content: center; }
    .nav-links { display: none; }
    .hero { flex-direction: column; text-align: center; padding: 30px 0; }
    .hero-actions { justify-content: center; }
    .hero-title { font-size: 2.2rem; }
    .hero-visual { margin-top: 30px; }
    .feature-grid { grid-template-columns: 1fr; }
    .comic-grid { grid-template-columns: repeat(2, 1fr); }
    .comment-grid { grid-template-columns: 1fr; }
    .comment-bubble:nth-child(even) { transform: none; }
    .app-content h2 { font-size: 2rem; }
    .app-visual { height: 300px; }
    .phone-mock { width: 140px; }
    .mock-left { transform: translateX(-40px) rotate(-5deg); }
    .mock-right { transform: translateX(40px) rotate(5deg); }
    .floating-btn { right: 15px; bottom: 15px; padding: 10px 20px; font-size: 1rem; }
  }