:root {
    --bg-color: #0b101a;
    --surface-color: #141b2b;
    --surface-hover: #1c263a;
    --text-main: #f0f4f8;
    --text-muted: #8b9bb4;
    --accent-color: #ffb347;
    --accent-hover: #ffc670;
    --border-color: #2a364d;
    --nav-height: 60px;
  }
  * {
    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-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
  }
  a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease, opacity 0.2s ease;
  }
  img {
    max-width: 100%;
    display: block;
  }
  ul {
    list-style: none;
  }
  button {
    font-family: inherit;
    border: none;
    cursor: pointer;
    background: none;
  }

  /* Typography */
  h1, h2, h3, h4 {
    line-height: 1.3;
    font-weight: 600;
  }
  h1 {
    font-size: 2rem;
    letter-spacing: 1px;
    margin-bottom: 16px;
  }
  h2 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  h2::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 20px;
    background-color: var(--accent-color);
    border-radius: 2px;
  }
  h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
  }
  p {
    color: var(--text-muted);
    font-size: 0.95rem;
  }

  /* Layout */
  .container {
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
  }
  section {
    padding: 40px 0;
  }
  .section-header {
    margin-bottom: 24px;
  }

  /* Header & Nav */
  header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background-color: rgba(11, 16, 26, 0.9);
    backdrop-filter: blur(10px);
    z-index: 100;
    border-bottom: 1px solid var(--border-color);
  }
  .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
  }
  .logo-area {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: bold;
    font-size: 1.2rem;
  }
  .logo-area img {
    height: 32px;
    width: auto;
    border-radius: 4px;
  }
  .nav-links {
    display: none;
    gap: 24px;
  }
  .nav-links a {
    font-size: 0.95rem;
    color: var(--text-muted);
  }
  .nav-links a:hover {
    color: var(--text-main);
  }
  .nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
  }
  .btn-download {
    background-color: var(--accent-color);
    color: #000;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: background-color 0.2s, transform 0.1s;
  }
  .btn-download:hover {
    background-color: var(--accent-hover);
  }
  .btn-download:active {
    transform: scale(0.96);
  }
  .menu-toggle {
    display: block;
    width: 24px;
    height: 24px;
    position: relative;
    z-index: 101;
  }
  .menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-main);
    position: absolute;
    left: 0;
    transition: 0.3s;
  }
  .menu-toggle span:nth-child(1) { top: 6px; }
  .menu-toggle span:nth-child(2) { top: 12px; }
  .menu-toggle span:nth-child(3) { top: 18px; }
  .menu-toggle.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-toggle.active span:nth-child(2) { opacity: 0; }
  .menu-toggle.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  
  .mobile-menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background-color: var(--bg-color);
    border-bottom: 1px solid var(--border-color);
    padding: 20px;
    display: none;
    flex-direction: column;
    gap: 16px;
    z-index: 99;
  }
  .mobile-menu.active {
    display: flex;
  }
  .mobile-menu a {
    font-size: 1.1rem;
    padding: 8px 0;
    border-bottom: 1px solid var(--surface-hover);
  }

  /* Hero */
  .hero {
    padding-top: calc(var(--nav-height) + 30px);
    background: linear-gradient(180deg, #131c2e 0%, var(--bg-color) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  .hero::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 200%;
    height: 300px;
    background: radial-gradient(ellipse at center, rgba(255, 179, 71, 0.1) 0%, transparent 60%);
    pointer-events: none;
  }
  .hero h1 {
    font-size: 2.2rem;
    margin-bottom: 16px;
    background: linear-gradient(90deg, #fff, #ffdcb3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  .hero p {
    font-size: 1rem;
    margin-bottom: 24px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
  }
  .hero-actions .btn-download {
    padding: 12px 28px;
    font-size: 1rem;
  }
  .hero-images {
    margin-top: 40px;
    display: flex;
    gap: 12px;
    padding: 0 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .hero-images::-webkit-scrollbar {
    display: none;
  }
  .hero-images img {
    width: 160px;
    height: 240px;
    object-fit: cover;
    border-radius: 8px;
    scroll-snap-align: center;
    flex-shrink: 0;
  }

  /* Horizontal Scroll Lists */
  .h-scroll {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 16px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .h-scroll::-webkit-scrollbar {
    display: none;
  }
  .card {
    flex-shrink: 0;
    width: 140px;
    scroll-snap-align: start;
    cursor: pointer;
    transition: transform 0.2s;
  }
  .card:active {
    transform: scale(0.98);
  }
  .card-img-wrap {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 8px;
    aspect-ratio: 3/4;
    background-color: var(--surface-color);
  }
  .card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
  }
  .card:hover .card-img-wrap img {
    transform: scale(1.05);
  }
  .card-title {
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .card-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* Rankings */
  .rank-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .rank-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background-color: var(--surface-color);
    padding: 12px;
    border-radius: 12px;
    transition: background-color 0.2s;
  }
  .rank-item:hover {
    background-color: var(--surface-hover);
  }
  .rank-num {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-color);
    width: 30px;
    text-align: center;
    font-style: italic;
  }
  .rank-item img {
    width: 60px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
  }
  .rank-info {
    flex: 1;
  }
  .rank-info h4 {
    font-size: 1rem;
    margin-bottom: 4px;
  }
  .rank-info p {
    font-size: 0.8rem;
  }

  /* Filters */
  .filter-tabs {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 12px;
    margin-bottom: 20px;
    scrollbar-width: none;
  }
  .filter-tabs::-webkit-scrollbar {
    display: none;
  }
  .filter-btn {
    background-color: var(--surface-color);
    color: var(--text-muted);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    white-space: nowrap;
    border: 1px solid transparent;
    transition: all 0.2s;
  }
  .filter-btn:hover {
    background-color: var(--surface-hover);
  }
  .filter-btn.active {
    background-color: rgba(255, 179, 71, 0.1);
    color: var(--accent-color);
    border-color: var(--accent-color);
  }
  .grid-layout {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  /* Timeline */
  .timeline {
    position: relative;
    padding-left: 20px;
  }
  .timeline::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--border-color);
  }
  .timeline-item {
    position: relative;
    margin-bottom: 24px;
  }
  .timeline-item::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 6px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--accent-color);
    border: 2px solid var(--bg-color);
  }
  .timeline-date {
    font-size: 0.8rem;
    color: var(--accent-color);
    margin-bottom: 4px;
    font-weight: 600;
  }
  .timeline-content {
    background-color: var(--surface-color);
    padding: 12px 16px;
    border-radius: 8px;
  }
  .timeline-content h4 {
    font-size: 0.95rem;
    margin-bottom: 4px;
  }
  .timeline-content p {
    font-size: 0.85rem;
  }

  /* Featured */
  .featured {
    background-color: var(--surface-color);
    border-radius: 16px;
    overflow: hidden;
    margin: 20px 0;
  }
  .featured-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
  }
  .featured-content {
    padding: 20px;
  }
  .featured-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
  }
  .tag {
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-main);
  }
  .tag.status {
    background-color: rgba(255, 179, 71, 0.2);
    color: var(--accent-color);
  }
  .featured-content h2 {
    margin-bottom: 12px;
  }
  .featured-content p {
    margin-bottom: 20px;
  }

  /* App Experience */
  .app-showcase {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .app-screen {
    border-radius: 12px;
    overflow: hidden;
  }
  .app-screen img {
    width: 100%;
    height: auto;
  }
  .app-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .feature-card {
    background-color: var(--surface-color);
    padding: 16px;
    border-radius: 12px;
  }
  .feature-card h3 {
    color: var(--accent-color);
  }

  /* Download Area */
  .download-area {
    background: linear-gradient(135deg, #1a2438 0%, #0d131f 100%);
    border-radius: 16px;
    padding: 32px 20px;
    text-align: center;
    border: 1px solid var(--border-color);
  }
  .download-area h2 {
    justify-content: center;
    margin-bottom: 12px;
  }
  .download-area h2::before {
    display: none;
  }
  .download-area p {
    margin-bottom: 24px;
  }
  .download-btns {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 300px;
    margin: 0 auto;
  }
  .btn-platform {
    background-color: var(--text-main);
    color: var(--bg-color);
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
  }
  .btn-platform:hover {
    background-color: var(--accent-color);
  }
  .btn-platform:active {
    transform: scale(0.98);
  }

  /* Footer */
  footer {
    border-top: 1px solid var(--border-color);
    padding: 32px 20px;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
  }
  .footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-bottom: 16px;
  }
  .footer-links a:hover {
    color: var(--text-main);
  }
  .footer-info {
    margin-bottom: 8px;
  }
  .footer-info a {
    color: var(--text-muted);
    text-decoration: underline;
  }

  /* Responsive */
  @media (min-width: 768px) {
    h1 { font-size: 3rem; }
    h2 { font-size: 1.8rem; }
    .nav-links { display: flex; }
    .menu-toggle { display: none; }
    .mobile-menu { display: none !important; }
    .hero { padding-top: calc(var(--nav-height) + 60px); }
    .hero-images { justify-content: center; padding: 0; }
    .hero-images img { width: 200px; height: 300px; }
    .card { width: 180px; }
    .grid-layout { grid-template-columns: repeat(3, 1fr); }
    .app-showcase { flex-direction: row; align-items: center; }
    .app-screen { flex: 1; }
    .app-features { flex: 1; }
    .download-btns { flex-direction: row; justify-content: center; max-width: none; }
    .btn-platform { padding: 12px 32px; }
  }

  @media (min-width: 1024px) {
    .hero h1 { font-size: 3.5rem; }
    .hero-images img { width: 240px; height: 360px; }
    .card { width: 200px; }
    .grid-layout { grid-template-columns: repeat(4, 1fr); }
    .rank-list { flex-direction: row; flex-wrap: wrap; }
    .rank-item { flex: 1 1 calc(50% - 16px); }
  }