:root {
    --bg: #121212;
    --surface: #1e1e1e;
    --surface-hover: #2a2a2a;
    --text: #e0e0e0;
    --text-muted: #9e9e9e;
    --accent: #ff4757;
    --accent-hover: #ff6b81;
    --border: #333;
    --radius: 12px;
  }
  * { 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);
    color: var(--text);
    line-height: 1.6;
    padding-bottom: 80px; /* Space for floating button */
    overflow-x: hidden;
  }
  a { text-decoration: none; color: inherit; }
  img { max-width: 100%; height: auto; display: block; }
  
  /* Typography */
  h1 { font-size: 2rem; line-height: 1.3; margin-bottom: 1rem; color: #fff; }
  h2 { font-size: 1.5rem; margin-bottom: 1rem; color: #fff; border-left: 4px solid var(--accent); padding-left: 10px; }
  h3 { font-size: 1.1rem; margin-bottom: 0.5rem; color: #f0f0f0; }
  p { margin-bottom: 0.8rem; color: var(--text-muted); }
  
  /* Layout */
  .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
  section { padding: 3rem 0; border-bottom: 1px solid var(--border); }
  section:last-of-type { border-bottom: none; }
  
  /* Header */
  header {
    background-color: rgba(18, 18, 18, 0.95);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(10px);
  }
  .header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
  }
  .logo-area { display: flex; align-items: center; gap: 10px; font-weight: bold; font-size: 1.2rem; color: #fff; }
  .logo-area img { height: 32px; width: auto; }
  
  /* Navigation */
  .nav-links {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background-color: var(--surface);
    flex-direction: column;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.active { display: flex; }
  .nav-links a {
    padding: 12px 20px;
    color: var(--text);
    transition: background 0.2s;
  }
  .nav-links a:hover { background-color: var(--surface-hover); color: var(--accent); }
  .menu-toggle {
    background: none; border: none; color: #fff; font-size: 24px; cursor: pointer; display: block;
  }
  
  /* Hero */
  .hero { padding: 4rem 0 2rem; text-align: center; }
  .hero h1 span { color: var(--accent); }
  .hero p { font-size: 1.1rem; max-width: 800px; margin: 0 auto 2rem; }
  .hero-gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 2rem;
  }
  .hero-gallery img {
    border-radius: var(--radius);
    object-fit: cover;
    width: 100%;
    height: 250px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
  }
  .hero-topics {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 2rem;
  }
  .topic-card {
    background: var(--surface);
    padding: 1.5rem;
    border-radius: var(--radius);
    text-align: left;
    border: 1px solid var(--border);
  }
  .topic-card h3 { color: var(--accent); }

  /* Content Sections */
  .section-header { margin-bottom: 2rem; }
  .section-intro { color: var(--text); font-size: 1.05rem; margin-bottom: 1.5rem; }
  
  .list-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .list-item {
    background: var(--surface);
    padding: 1.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: transform 0.2s;
  }
  .list-item:hover { transform: translateY(-2px); border-color: #555; }
  .list-item p { margin-bottom: 0; font-size: 0.95rem; }
  .list-item .question { color: #fff; font-weight: bold; margin-top: 10px; display: block; }

  /* FAQ */
  .faq-item { margin-bottom: 1rem; border-bottom: 1px solid var(--border); padding-bottom: 1rem; }
  .faq-item summary {
    font-weight: bold; cursor: pointer; list-style: none; position: relative; padding-right: 20px; color: #fff;
  }
  .faq-item summary::-webkit-details-marker { display: none; }
  .faq-item summary::after {
    content: '+'; position: absolute; right: 0; top: 0; color: var(--accent); font-size: 1.2rem; transition: transform 0.3s;
  }
  .faq-item[open] summary::after { transform: rotate(45deg); }
  .faq-item p { margin-top: 10px; font-size: 0.95rem; }

  /* Download */
  .download-area {
    background: linear-gradient(135deg, var(--surface) 0%, #1a1a1a 100%);
    border-radius: var(--radius);
    padding: 2rem;
    border: 1px solid var(--border);
    text-align: center;
  }
  .download-steps { text-align: left; max-width: 600px; margin: 0 auto 2rem; }
  .download-steps li { margin-bottom: 10px; color: var(--text-muted); }
  .download-btns { display: flex; flex-direction: column; gap: 15px; align-items: center; }
  .btn-download {
    display: inline-flex; align-items: center; justify-content: center;
    background-color: var(--accent); color: #fff;
    padding: 14px 30px; border-radius: 30px;
    font-size: 1.1rem; font-weight: bold;
    width: 100%; max-width: 300px;
    transition: background 0.2s;
  }
  .btn-download:hover { background-color: var(--accent-hover); }
  
  /* Floating Download */
  .floating-dl {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--surface);
    border: 1px solid var(--border);
    padding: 8px 16px 8px 8px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.6);
    z-index: 99;
    text-decoration: none;
    transition: background 0.2s;
  }
  .floating-dl:hover { background-color: var(--surface-hover); }
  .floating-dl img { height: 32px; width: 32px; border-radius: 50%; object-fit: cover; }
  .floating-dl span { color: #fff; font-size: 0.95rem; font-weight: bold; }

  /* Footer */
  footer {
    padding: 2rem 0;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
    border-top: 1px solid var(--border);
  }
  footer p { margin-bottom: 0.5rem; }
  footer a { color: var(--text-muted); text-decoration: underline; }
  footer a:hover { color: var(--text); }
  
  details.about-site { margin-top: 1rem; text-align: left; max-width: 800px; margin-left: auto; margin-right: auto; }
  details.about-site summary { cursor: pointer; display: inline-block; font-size: 0.85rem; color: var(--text-muted); outline: none; }
  details.about-site summary:hover { color: var(--text); }
  .about-links { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
  .about-links a { font-size: 0.8rem; color: var(--text-muted); }
  
  /* Responsive */
  @media (min-width: 768px) {
    h1 { font-size: 2.5rem; }
    .nav-links {
      display: flex;
      position: static;
      flex-direction: row;
      background: none;
      padding: 0;
      border: none;
      gap: 20px;
    }
    .nav-links a { padding: 0; }
    .menu-toggle { display: none; }
    .hero-gallery { grid-template-columns: 1fr 1fr; }
    .hero-gallery img { height: 300px; }
    .hero-topics { flex-direction: row; }
    .topic-card { flex: 1; }
    .list-grid { grid-template-columns: repeat(2, 1fr); }
    .download-btns { flex-direction: row; justify-content: center; }
    .btn-download { width: auto; }
  }
  @media (min-width: 1024px) {
    h1 { font-size: 3rem; }
    .hero-gallery { grid-template-columns: 1fr 1fr 1fr; }
    .list-grid { grid-template-columns: repeat(3, 1fr); }
  }