:root {
    --bg: #fffdf4;
    --yellow: #ffd93d;
    --pink: #ff5c8a;
    --cyan: #22c7d6;
    --red: #ff4757;
    --ink: #1c1b2a;
    --ink-light: #4a4959;
    --border: 2px solid var(--ink);
    --shadow: 5px 5px 0 var(--ink);
    --radius: 8px;
  }

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

  body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg);
    background-image: radial-gradient(var(--yellow) 1px, transparent 1px);
    background-size: 20px 20px;
    color: var(--ink);
    line-height: 1.6;
    overflow-x: hidden;
  }

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

  ul {
    list-style: none;
  }

  /* Typography */
  h1, h2, h3, .pop-font {
    font-family: "Impact", "Arial Black", "Helvetica Neue", sans-serif;
    font-weight: 900;
    letter-spacing: 1px;
  }

  .section-title {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    text-align: center;
    text-transform: uppercase;
    text-shadow: 2px 2px 0 var(--yellow);
    -webkit-text-stroke: 1px var(--ink);
  }

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

  section {
    padding: 60px 0;
  }

  /* Buttons */
  .btn {
    display: inline-block;
    padding: 12px 24px;
    font-weight: bold;
    border: var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: transform 0.1s, box-shadow 0.1s;
    text-align: center;
    font-size: 1.1rem;
  }

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

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

  .btn-primary {
    background-color: var(--yellow);
    color: var(--ink);
  }
  
  .btn-secondary {
    background-color: var(--pink);
    color: #fff;
  }

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

  /* Navbar */
  .navbar {
    position: sticky;
    top: 0;
    background-color: var(--bg);
    border-bottom: var(--border);
    z-index: 100;
  }

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

  .brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 900;
  }

  .brand img {
    height: 36px;
    width: auto;
  }

  .nav-links {
    display: none;
  }

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

  .hamburger {
    width: 30px;
    height: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
  }

  .hamburger span {
    display: block;
    height: 3px;
    background-color: var(--ink);
    border-radius: 2px;
  }

  /* Hero */
  .hero {
    padding: 40px 0;
  }

  .hero-inner {
    display: flex;
    flex-direction: column;
    gap: 40px;
  }

  .hero-text {
    flex: 1;
  }

  .hero-badge {
    display: inline-block;
    background-color: var(--pink);
    color: white;
    padding: 6px 12px;
    border: var(--border);
    border-radius: 20px;
    font-weight: bold;
    transform: rotate(-3deg);
    margin-bottom: 20px;
    box-shadow: 3px 3px 0 var(--ink);
  }

  .hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--ink);
    text-shadow: 3px 3px 0 var(--yellow), 6px 6px 0 var(--cyan);
  }

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

  .hero .btns {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 40px;
  }

  .stats-bar {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    background: var(--yellow);
    border: var(--border);
    padding: 15px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .stat-item {
    display: flex;
    flex-direction: column;
  }

  .stat-num {
    font-size: 1.8rem;
    font-weight: 900;
    line-height: 1;
    font-family: "Impact", sans-serif;
  }

  .stat-label {
    font-size: 0.9rem;
    font-weight: bold;
  }

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

  .pop-poster {
    position: relative;
    background: #fff;
    border: var(--border);
    padding: 10px;
    box-shadow: var(--shadow);
    transform: rotate(2deg);
    max-width: 100%;
  }

  .pop-poster img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid var(--ink);
  }
  
  .pop-poster::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: radial-gradient(var(--ink) 1px, transparent 1px);
    background-size: 10px 10px;
    opacity: 0.1;
    pointer-events: none;
  }

  .sticker {
    position: absolute;
    background: var(--yellow);
    border: var(--border);
    padding: 5px 15px;
    font-weight: 900;
    font-size: 1.2rem;
    box-shadow: 2px 2px 0 var(--ink);
    z-index: 2;
  }

  .sticker-1 {
    top: -15px; right: -10px;
    transform: rotate(10deg);
    background: var(--cyan);
  }

  .sticker-2 {
    bottom: 40px; left: -20px;
    transform: rotate(-8deg);
    background: var(--pink);
    color: white;
  }

  /* Four Grid */
  .four-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .grid-card {
    background: #fff;
    border: var(--border);
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--shadow);
    position: relative;
    transition: transform 0.2s;
  }

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

  .grid-num {
    position: absolute;
    top: -12px; left: -12px;
    background: var(--ink);
    color: #fff;
    font-weight: 900;
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 2px 2px 0 var(--ink);
  }

  .grid-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
  }

  .grid-card h3 {
    font-size: 1.5rem;
    margin-bottom: 4px;
  }
  
  .grid-en {
    font-size: 0.8rem;
    color: var(--pink);
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: block;
  }

  .grid-card p {
    color: var(--ink-light);
    font-weight: 500;
  }

  /* Sections general */
  .section-alt {
    background-color: #fff;
    border-top: var(--border);
    border-bottom: var(--border);
  }

  /* Horizontal Scroll */
  .scroll-shelf {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 10px 10px 30px 10px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  
  .scroll-shelf::-webkit-scrollbar {
    height: 8px;
  }
  .scroll-shelf::-webkit-scrollbar-thumb {
    background: var(--ink);
    border-radius: 4px;
  }

  .shelf-card {
    flex: 0 0 180px;
    scroll-snap-align: start;
    background: #fff;
    border: var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 3px 3px 0 var(--ink);
  }

  .shelf-img-wrap {
    position: relative;
    aspect-ratio: 2/3;
    background: var(--yellow);
  }

  .shelf-img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
  }

  .shelf-tag {
    position: absolute;
    top: 8px; right: 8px;
    background: var(--ink);
    color: #fff;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: bold;
  }

  .shelf-info {
    padding: 12px;
  }

  .shelf-info h3 {
    font-size: 1.05rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .shelf-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--ink-light);
    margin-top: 6px;
  }

  /* Ranking */
  .ranking-layout {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  .ranking-list {
    flex: 2;
  }

  .rank-item {
    display: flex;
    align-items: center;
    background: #fff;
    border: var(--border);
    border-radius: var(--radius);
    padding: 15px;
    margin-bottom: 12px;
    box-shadow: 3px 3px 0 var(--ink);
  }

  .rank-num {
    width: 32px; height: 32px;
    background: var(--yellow);
    border: var(--border);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 900;
    margin-right: 15px;
    flex-shrink: 0;
  }
  
  .rank-item:nth-child(1) .rank-num { background: var(--red); color: #fff; }

  .rank-info { flex: 1; }
  .rank-title { font-weight: bold; font-size: 1.1rem; }
  .rank-type { font-size: 0.85rem; color: var(--ink-light); }
  
  .rank-hot {
    font-weight: 900;
    color: var(--pink);
    font-size: 1.1rem;
  }

  .ranking-side {
    flex: 1;
    background: var(--cyan);
    border: var(--border);
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--shadow);
    color: var(--ink);
  }
  
  .ranking-side h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
  }
  
  .ranking-side ul {
    margin-top: 20px;
    font-weight: 500;
  }
  
  .ranking-side li {
    margin-bottom: 10px;
    display: flex;
    gap: 10px;
  }
  .ranking-side li span { font-weight: bold; }

  /* AI Workshop */
  .ai-layout {
    display: flex;
    flex-direction: column;
    gap: 40px;
  }
  
  .ai-features {
    flex: 1;
  }
  
  .feature-box {
    background: #fff;
    border: var(--border);
    padding: 20px;
    border-radius: var(--radius);
    margin-bottom: 15px;
    box-shadow: var(--shadow);
  }
  
  .feature-box h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: var(--pink);
  }
  
  .ai-steps {
    flex: 1.5;
    background: var(--yellow);
    border: var(--border);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .step-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    background: #fff;
    border: var(--border);
    border-radius: 30px;
    padding: 10px 20px;
    font-weight: bold;
  }

  .step-item span {
    width: 24px; height: 24px;
    background: var(--pink);
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin-right: 15px;
    font-size: 0.9rem;
  }

  /* Filters & Content Stream */
  .filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    justify-content: center;
  }

  .chip {
    padding: 8px 20px;
    background: #fff;
    border: var(--border);
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
  }

  .chip.active, .chip:hover {
    background: var(--ink);
    color: #fff;
  }

  .search-bar {
    display: flex;
    max-width: 500px;
    margin: 0 auto 40px auto;
    border: var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 3px 3px 0 var(--ink);
    background: #fff;
  }

  .search-bar input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    outline: none;
    font-size: 1rem;
  }

  .search-bar button {
    background: var(--yellow);
    border: none;
    border-left: var(--border);
    padding: 0 20px;
    font-weight: bold;
    cursor: pointer;
  }

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

  .content-card {
    display: flex;
    background: #fff;
    border: var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 3px 3px 0 var(--ink);
  }

  .content-img {
    width: 120px;
    flex-shrink: 0;
    border-right: var(--border);
  }

  .content-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
  }

  .content-info {
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

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

  .content-info p {
    font-size: 0.9rem;
    color: var(--ink-light);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* Vertical Experience */
  .vertical-layout {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
  }

  .vertical-text { flex: 1; }
  .vertical-text ul { margin-top: 20px; }
  .vertical-text li {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
  }
  .vertical-text li::before {
    content: "✔";
    position: absolute;
    left: 0; top: 2px;
    color: var(--pink);
    font-size: 1.2rem;
  }

  .phone-demo {
    width: 260px;
    height: 520px;
    background: var(--ink);
    border-radius: 30px;
    padding: 10px;
    box-shadow: 10px 10px 0 var(--pink);
    position: relative;
    border: var(--border);
  }

  .phone-screen {
    width: 100%; height: 100%;
    background: #000;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
  }

  .phone-screen img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s;
  }
  
  .phone-screen img.active {
    opacity: 1;
  }

  .swipe-hint {
    position: absolute;
    bottom: 20px; left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    z-index: 2;
    animation: bounce 2s infinite;
  }

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

  /* Wish List */
  .wish-list {
    max-width: 700px;
    margin: 0 auto;
  }

  .wish-item {
    background: #fff;
    border: var(--border);
    border-radius: var(--radius);
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 3px 3px 0 var(--ink);
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .wish-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
  }

  .wish-votes {
    color: var(--pink);
    font-size: 1.1rem;
  }

  .progress-bar {
    height: 12px;
    background: var(--yellow);
    border: 1px solid var(--ink);
    border-radius: 6px;
    overflow: hidden;
  }

  .progress-fill {
    height: 100%;
    background: var(--pink);
    width: 0%;
    transition: width 0.3s;
  }

  .wish-btn {
    align-self: flex-start;
    background: var(--cyan);
    border: var(--border);
    padding: 6px 15px;
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s;
  }

  .wish-btn.added {
    background: var(--ink);
    color: #fff;
  }

  /* Reviews */
  .review-score {
    text-align: center;
    margin-bottom: 30px;
  }
  .review-score .score {
    font-size: 4rem;
    color: var(--yellow);
    -webkit-text-stroke: 2px var(--ink);
    text-shadow: 4px 4px 0 var(--ink);
    font-family: "Impact", sans-serif;
    line-height: 1;
  }
  
  .review-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .review-card {
    background: #fff;
    padding: 20px;
    border: var(--border);
    border-radius: var(--radius);
    border-left-width: 8px;
    box-shadow: 3px 3px 0 var(--ink);
  }
  
  .review-card:nth-child(odd) { border-left-color: var(--pink); }
  .review-card:nth-child(even) { border-left-color: var(--cyan); }

  .review-card p {
    font-size: 1rem;
    margin-bottom: 10px;
    font-weight: 500;
  }

  .review-author {
    font-size: 0.85rem;
    color: var(--ink-light);
    text-align: right;
    font-weight: bold;
  }

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

  .faq-item {
    background: #fff;
    border: var(--border);
    border-radius: var(--radius);
    margin-bottom: 12px;
    box-shadow: 2px 2px 0 var(--ink);
    overflow: hidden;
  }

  .faq-q {
    padding: 18px;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
  }
  
  .faq-q::after {
    content: "+";
    font-size: 1.5rem;
    font-weight: 900;
  }
  
  .faq-item.active .faq-q::after {
    content: "-";
  }

  .faq-a {
    padding: 0 18px;
    max-height: 0;
    overflow: hidden;
    transition: padding 0.3s, max-height 0.3s;
    color: var(--ink-light);
  }

  .faq-item.active .faq-a {
    padding: 0 18px 18px 18px;
    max-height: 200px;
  }

  /* Download */
  .download-box {
    background: var(--yellow);
    border: var(--border);
    border-radius: var(--radius);
    padding: 40px 20px;
    text-align: center;
    box-shadow: 8px 8px 0 var(--ink);
    position: relative;
    overflow: hidden;
  }
  
  .download-box::after {
    content: "";
    position: absolute;
    top: -50px; right: -50px;
    width: 150px; height: 150px;
    background: var(--pink);
    border-radius: 50%;
    opacity: 0.3;
    z-index: 0;
  }

  .download-box h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
  }

  .download-box p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    font-weight: bold;
    position: relative;
    z-index: 1;
  }

  .download-box .btn {
    font-size: 1.3rem;
    padding: 15px 40px;
    position: relative;
    z-index: 1;
  }

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

  .footer-content {
    margin-bottom: 20px;
  }

  .footer-content p {
    margin-bottom: 10px;
    opacity: 0.8;
  }
  
  .footer-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 20px;
  }
  
  .footer-links a {
    color: #fff;
    opacity: 0.7;
    transition: opacity 0.2s;
  }
  
  .footer-links a:hover { opacity: 1; }

  .footer-bottom {
    opacity: 0.5;
    font-size: 0.8rem;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  
  .footer-bottom a {
    color: inherit;
  }
  
  .footer-bottom time {
    margin-left: 10px;
  }

  /* Responsive */
  @media (min-width: 768px) {
    .hero h1 { font-size: 4.5rem; }
    .hero-inner { flex-direction: row; align-items: center; }
    .four-grid { grid-template-columns: 1fr 1fr; }
    .ranking-layout { flex-direction: row; }
    .ai-layout { flex-direction: row; }
    .content-grid { grid-template-columns: 1fr 1fr; }
    .content-img { width: 160px; }
    .vertical-layout { flex-direction: row; justify-content: space-around; }
    .review-grid { grid-template-columns: 1fr 1fr; }
    .nav-links { display: flex; gap: 20px; font-weight: bold; font-size: 0.95rem; }
    .hamburger { display: none; }
    .section-title { font-size: 3rem; }
  }

  @media (min-width: 1024px) {
    .hero h1 { font-size: 5rem; }
    .four-grid { gap: 30px; }
    .content-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
    .review-grid { grid-template-columns: repeat(3, 1fr); }
    .nav-links { gap: 30px; }
    .shelf-card { flex: 0 0 220px; }
  }

  .fade-in {
    opacity: 1; /* Default visible */
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  }
  
  .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
  }