:root {
  --bg-base: #121216;
  --bg-card: #1a1a21;
  --text-main: #e2e2e8;
  --text-muted: #9a9aa6;
  --accent-pink: #ff5e8e;
  --accent-blue: #4facfe;
  --gradient-hot: linear-gradient(90deg, #ff5e8e, #ffb347, #4facfe);
}
* { 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-base);
  color: var(--text-main);
  line-height: 1.6;
  padding-bottom: 80px;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(18, 18, 22, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #2a2a35;
  padding: 10px 20px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo-area { display: flex; align-items: center; gap: 10px; }
.logo-area img { height: 32px; border-radius: 8px; }
.logo-area span { font-size: 18px; font-weight: bold; color: #fff; }
.main-nav { display: flex; gap: 15px; font-size: 14px; }
.main-nav a { color: var(--text-muted); padding: 5px 10px; border-radius: 6px; transition: all 0.3s; }
.main-nav a:hover { color: #fff; background: #2a2a35; }
.main-nav a.active { color: var(--accent-pink); background: rgba(255, 94, 142, 0.1); }

/* Mobile Nav Toggle */
.mobile-nav-toggle { display: none; background: none; border: 1px solid #333; color: #fff; padding: 5px 10px; border-radius: 4px; cursor: pointer; }
.mobile-nav-menu { display: none; flex-direction: column; background: #1a1a21; position: absolute; top: 100%; left: 0; width: 100%; border-bottom: 1px solid #333; }
.mobile-nav-menu a { padding: 12px 20px; border-bottom: 1px solid #2a2a35; color: var(--text-muted); }
.mobile-nav-menu a:hover { color: #fff; background: #2a2a35; }

/* Hero Section */
.hero-section {
  padding: 40px 20px;
  background: linear-gradient(180deg, #1a1a21 0%, var(--bg-base) 100%);
  text-align: center;
}
.hero-content { max-width: 800px; margin: 0 auto; }
.hero-h1 { font-size: 32px; margin-bottom: 15px; background: var(--gradient-hot); -webkit-background-clip: text; -webkit-text-fill-color: transparent; line-height: 1.4; }
.hero-desc { font-size: 16px; color: var(--text-muted); margin-bottom: 30px; }
.hero-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-bottom: 30px; }
.hero-gallery img { width: 100%; height: 200px; object-fit: cover; border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.3); transition: transform 0.3s; }
.hero-gallery img:hover { transform: scale(1.05); }

/* Download Buttons */
.download-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 20px; }
.dl-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 20px; border-radius: 25px; font-size: 14px; font-weight: bold;
  color: #fff; background: linear-gradient(90deg, #ff5e8e, #4facfe); transition: opacity 0.3s;
}
.dl-btn:hover { opacity: 0.8; }

/* Marquee */
.marquee-wrap { overflow: hidden; background: #000; padding: 10px 0; border-top: 1px solid #333; border-bottom: 1px solid #333; }
.marquee-inner { display: inline-block; white-space: nowrap; animation: scroll 15s linear infinite; }
.marquee-text { font-size: 18px; font-weight: bold; background: var(--gradient-hot); -webkit-background-clip: text; -webkit-text-fill-color: transparent; padding: 0 20px; }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Sections */
.content-section { padding: 40px 20px; }
.bg-color-1 { background-color: #16161c; }
.bg-color-2 { background-color: #1a1a21; }
.bg-color-3 { background-color: #121216; }
.section-title { font-size: 24px; margin-bottom: 20px; border-left: 4px solid var(--accent-pink); padding-left: 10px; color: #fff; }

/* News/List Layouts */
.layout-list { display: grid; grid-template-columns: 1fr; gap: 15px; }
.list-item {
  background: #1c1c24; padding: 15px; border-radius: 10px;
  display: flex; align-items: center; gap: 15px;
  border: 1px solid #2a2a35; transition: background 0.3s;
}
.list-item:hover { background: #222230; }
.list-item-num { font-size: 20px; font-weight: bold; color: var(--accent-pink); opacity: 0.7; }
.list-item-content h3 { font-size: 16px; margin-bottom: 5px; color: #fff; }
.list-item-content p { font-size: 13px; color: var(--text-muted); }

.layout-split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: center; }
.layout-split-img img { width: 100%; border-radius: 12px; height: 300px; object-fit: cover; }
.layout-split-text h3 { font-size: 20px; margin-bottom: 15px; color: #fff; }
.layout-split-text p { font-size: 14px; color: var(--text-muted); margin-bottom: 10px; }

/* QA Layout */
.qa-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 15px; }
.qa-item { background: #1c1c24; border-radius: 10px; padding: 15px; }
.qa-q { font-size: 15px; font-weight: bold; color: var(--accent-blue); margin-bottom: 8px; }
.qa-a { font-size: 14px; color: var(--text-muted); }

/* Comments */
.comments-area { background: #1c1c24; border-radius: 12px; padding: 20px; }
.comment-item { display: flex; gap: 12px; margin-bottom: 15px; border-bottom: 1px solid #2a2a35; padding-bottom: 15px; }
.comment-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.comment-item img { width: 40px; height: 40px; border-radius: 50%; background: #333; object-fit: cover; }
.comment-text h4 { font-size: 14px; color: #ccc; margin-bottom: 4px; }
.comment-text p { font-size: 13px; color: var(--text-muted); }

/* Floating Download */
.floating-dl {
  position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
  background: rgba(26, 26, 33, 0.95); backdrop-filter: blur(10px);
  border: 1px solid #333; padding: 10px 15px; border-radius: 30px;
  display: flex; align-items: center; gap: 15px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.5); z-index: 1000;
  min-width: 280px;
}
.floating-dl img { width: 30px; height: 30px; border-radius: 6px; }
.floating-info { flex: 1; }
.floating-info h4 { font-size: 14px; color: #fff; }
.floating-info p { font-size: 11px; color: var(--text-muted); }
.floating-btn { padding: 6px 15px; border-radius: 15px; background: var(--accent-pink); color: #fff; font-size: 13px; font-weight: bold; }

/* Footer */
.site-footer { background: #0d0d12; padding: 30px 20px; text-align: center; font-size: 12px; color: #666; }
.footer-nav { margin-bottom: 15px; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.footer-nav a { color: #888; }
.footer-time { margin-bottom: 10px; }
.footer-copyright p { margin-bottom: 5px; }

/* Modal */
.modal-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.8); z-index: 2000;
  display: none; align-items: center; justify-content: center;
}
.modal-box { background: #1c1c24; padding: 25px; border-radius: 12px; width: 90%; max-width: 400px; text-align: center; border: 1px solid #333; }
.modal-box p { font-size: 15px; color: #fff; margin-bottom: 15px; }
.modal-box input { width: 100%; padding: 10px; background: #121216; border: 1px solid #444; color: #fff; border-radius: 6px; margin-bottom: 15px; text-align: center; }
.modal-box button { padding: 8px 20px; border-radius: 6px; background: var(--accent-pink); color: #fff; border: none; cursor: pointer; }

/* Responsive */
@media (max-width: 768px) {
  .main-nav { display: none; }
  .mobile-nav-toggle { display: block; }
  .hero-gallery { grid-template-columns: 1fr; }
  .hero-gallery img { height: 250px; }
  .hero-h1 { font-size: 24px; }
  .layout-split { grid-template-columns: 1fr; }
  .layout-split-img img { height: 220px; }
  .floating-dl { min-width: 90%; bottom: 15px; }
  .list-item { flex-direction: column; align-items: flex-start; }
}
@media (min-width: 1024px) {
  .content-section { padding: 60px 10%; }
  .hero-h1 { font-size: 42px; }
  .hero-gallery img { height: 300px; }
}