:root {
    --bg: #0f111a;
    --bg-light: #1a1d2b;
    --text-main: #f0f2f8;
    --text-sub: #a0a5b8;
    --accent: #6a8cff;
    --accent-glow: rgba(106, 140, 255, 0.3);
    --border: rgba(255, 255, 255, 0.08);
    --radius: 16px;
    --radius-sm: 8px;
  }

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

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

  a {
    color: var(--accent);
    text-decoration: none;
  }

  img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
  }

  /* Typography */
  h1, h2, h3 {
    font-weight: 600;
    line-height: 1.3;
  }

  h1 { font-size: 2rem; margin-bottom: 12px; }
  h2 { font-size: 1.5rem; margin-bottom: 8px; }
  h3 { font-size: 1.1rem; margin-bottom: 8px; }

  .section-sub {
    color: var(--text-sub);
    font-size: 0.95rem;
    margin-bottom: 24px;
    max-width: 600px;
  }

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

  section {
    padding: 60px 0;
  }

  /* Header */
  header {
    position: sticky;
    top: 0;
    background: rgba(15, 17, 26, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 100;
  }

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

  .brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--text-main);
  }

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

  .nav-links {
    display: none;
  }

  /* Hero */
  .hero {
    padding: 60px 0;
    text-align: center;
    background: radial-gradient(circle at 50% 0%, var(--bg-light) 0%, var(--bg) 70%);
  }

  .hero p {
    color: var(--text-sub);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 32px;
  }

  .btn {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: 12px 32px;
    border-radius: 30px;
    font-weight: 600;
    transition: background 0.3s, box-shadow 0.3s;
  }

  .btn:hover {
    background: #5072e6;
    box-shadow: 0 4px 15px var(--accent-glow);
  }

  /* Grids */
  .grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  /* Cards */
  .card {
    background: var(--bg-light);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
  }

  .card-img-wrap {
    position: relative;
    padding-top: 140%; /* aspect ratio */
  }

  .card-img-wrap img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  .card-content {
    padding: 16px;
  }

  .card-tag {
    display: inline-block;
    font-size: 0.75rem;
    background: rgba(106, 140, 255, 0.15);
    color: var(--accent);
    padding: 2px 8px;
    border-radius: 4px;
    margin-bottom: 8px;
  }

  .card-title {
    font-size: 1.1rem;
    margin-bottom: 4px;
  }

  .card-meta {
    font-size: 0.85rem;
    color: var(--text-sub);
  }

  /* Lists */
  .list-block {
    background: var(--bg-light);
    padding: 24px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
  }

  .list-item {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
  }

  .list-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
  }

  .list-item p {
    color: var(--text-sub);
    font-size: 0.95rem;
  }

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

  footer p {
    margin-bottom: 8px;
  }

  footer a {
    color: var(--text-sub);
  }
  
  footer a:hover {
    color: var(--text-main);
  }

  .update-time {
    font-size: 0.75rem;
    opacity: 0.6;
    margin-top: 12px;
  }

  /* Media Queries */
  @media (min-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 1.8rem; }
    
    .nav-links {
      display: flex;
      gap: 24px;
    }
    
    .nav-links a {
      color: var(--text-sub);
      font-size: 0.95rem;
    }
    
    .nav-links a:hover {
      color: var(--text-main);
    }

    .grid-2 {
      grid-template-columns: repeat(2, 1fr);
    }

    .grid-3 {
      grid-template-columns: repeat(3, 1fr);
    }
  }

  @media (min-width: 1024px) {
    section {
      padding: 80px 0;
    }
    
    h1 { font-size: 3rem; }
    
    .hero {
      padding: 100px 0;
    }

    .card-img-wrap {
      padding-top: 120%;
    }
  }