:root {
  --bg: #12141a;
  --card-bg: rgba(26, 29, 38, 0.75);
  --pink: #ff6b9d;
  --green: #4ecdc4;
  --text: #e2e4e9;
  --text-muted: #8b92a5;
  --border: rgba(255, 255, 255, 0.08);
  --font-title: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background-color: var(--bg);
  background-image: 
    repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(255,255,255,0.03) 39px, rgba(255,255,255,0.03) 40px),
    repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(255,255,255,0.03) 39px, rgba(255,255,255,0.03) 40px);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: var(--font-title); font-weight: 800; line-height: 1.3; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Glow Orbs */
.glow-orb {
  position: absolute; border-radius: 50%; filter: blur(80px); z-index: -1; opacity: 0.4;
  animation: drift 20s infinite alternate ease-in-out;
}
.orb-pink { background: var(--pink); width: 400px; height: 400px; top: -100px; left: -100px; }
.orb-green { background: var(--green); width: 350px; height: 350px; bottom: 10%; right: -50px; animation-delay: -5s; }
@keyframes drift {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50px, 50px); }
}

/* Nav */
.nav-wrap { position: sticky; top: 20px; z-index: 100; display: flex; justify-content: center; padding: 0 20px; }
.nav-pill {
  display: flex; align-items: center; justify-content: space-between; width: 100%; max-width: 900px;
  background: rgba(26, 29, 38, 0.7); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border); border-radius: 50px; padding: 8px 12px 8px 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2); transition: box-shadow 0.3s;
}
.nav-pill.scrolled { box-shadow: 0 8px 30px rgba(0,0,0,0.5); }
.nav-logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-title); font-weight: 800; font-size: 1.1rem; }
.nav-logo img { height: 32px; border-radius: 8px; object-fit: cover; }
.nav-links { display: flex; gap: 24px; font-size: 0.9rem; color: var(--text-muted); }
.nav-links a:hover { color: var(--pink); }
.btn-download {
  background: var(--pink); color: #fff; padding: 8px 20px; border-radius: 30px;
  font-weight: 600; font-size: 0.9rem; transition: 0.3s;
}
.btn-download:hover { background: #ff528d; }
.hamburger { display: none; cursor: pointer; padding: 10px; }
.hamburger span { display: block; width: 20px; height: 2px; background: #fff; margin: 4px 0; }

/* Hero */
.hero { padding: 100px 0 60px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.hero-text h1 { font-size: 3rem; margin-bottom: 20px; }
.hero-text h1 span { color: var(--pink); }
.hero-text p { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 30px; }
.hero-tags { display: flex; gap: 10px; margin-bottom: 30px; }
.tag {
  padding: 6px 16px; border-radius: 20px; font-size: 0.85rem; border: 1px solid var(--green);
  color: var(--green); background: rgba(78, 205, 196, 0.1);
}
.hero-ctas { display: flex; gap: 15px; }
.btn-primary {
  background: var(--pink); color: #fff; padding: 14px 32px; border-radius: 30px;
  font-weight: 600; transition: 0.3s;
}
.btn-primary:hover { background: #ff528d; transform: translateY(-2px); }
.btn-secondary {
  border: 1px solid var(--border); padding: 14px 32px; border-radius: 30px;
  font-weight: 600; transition: 0.3s;
}
.btn-secondary:hover { border-color: var(--pink); }

/* Card Stack */
.card-stack { position: relative; width: 300px; height: 400px; margin: 0 auto; perspective: 1000px; }
.stack-card {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: 20px;
  background: #1c1e26; border: 1px solid var(--border); box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  transition: transform 0.4s ease-out, box-shadow 0.4s; overflow: hidden;
}
.stack-card img { width: 100%; height: 100%; object-fit: cover; }
.stack-card::after {
  content: '▶'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 50px; height: 50px; background: rgba(255, 107, 157, 0.8); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.2rem;
  opacity: 0.8;
}
.stack-card:nth-child(1) { transform: translateZ(-40px) translateY(20px); z-index: 1; }
.stack-card:nth-child(2) { transform: translateZ(-20px) translateY(10px); z-index: 2; }
.stack-card:nth-child(3) { transform: translateZ(0); z-index: 3; }
.card-stack:hover .stack-card:nth-child(1) { transform: translateZ(-40px) translate(-30px, 30px) rotate(-10deg); }
.card-stack:hover .stack-card:nth-child(2) { transform: translateZ(-20px) translate(30px, -10px) rotate(5deg); }
.card-stack:hover .stack-card:nth-child(3) { transform: translateZ(0) translateY(-20px); box-shadow: 0 20px 40px rgba(255, 107, 157, 0.2); }

/* Scrolling text */
.scroll-text {
  margin-top: 60px; overflow: hidden; white-space: nowrap; border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border); padding: 15px 0; font-size: 0.9rem; color: var(--green);
}
.scroll-content { display: inline-block; animation: scroll 20s linear infinite; }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Section Titles */
.sec-title { text-align: center; font-size: 2.2rem; margin-bottom: 40px; }
.sec-title span { color: var(--pink); }

/* Content Types */
.types-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 80px; }
.type-card {
  background: var(--card-bg); border: 1px solid var(--border); border-radius: 20px;
  overflow: hidden; transition: 0.3s; position: relative;
}
.type-card:hover { transform: translateY(-4px); border-color: var(--pink); }
.type-top { height: 6px; background: linear-gradient(90deg, var(--pink), var(--green)); position: relative; }
.type-card:hover .type-top::after {
  content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, #fff, transparent); animation: shine 1s;
}
@keyframes shine { 100% { left: 100%; } }
.type-body { padding: 30px; }
.type-body h3 { margin-bottom: 15px; display: flex; align-items: center; gap: 10px; }
.type-body ul { list-style: none; margin-bottom: 20px; color: var(--text-muted); font-size: 0.9rem; }
.type-body li { margin-bottom: 8px; }
.type-link { color: var(--green); font-weight: 600; font-size: 0.9rem; }

/* Top 6 */
.rank-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 80px; }
.rank-card {
  display: flex; background: var(--card-bg); border: 1px solid var(--border); border-radius: 16px;
  padding: 15px; gap: 15px; position: relative; transition: 0.3s;
}
.rank-card:hover { transform: translateY(-4px); border-color: var(--pink); }
.rank-cover { width: 100px; height: 140px; border-radius: 10px; overflow: hidden; flex-shrink: 0; }
.rank-cover img { width: 100%; height: 100%; object-fit: cover; }
.rank-info { display: flex; flex-direction: column; justify-content: space-between; }
.rank-info h3 { font-size: 1.1rem; margin-bottom: 5px; }
.rank-tags { display: flex; gap: 5px; font-size: 0.75rem; color: var(--green); margin-bottom: 10px; }
.rank-tags span { border: 1px solid var(--green); padding: 2px 6px; border-radius: 4px; }
.heat-bar { width: 100%; height: 4px; background: rgba(255,255,255,0.1); border-radius: 2px; overflow: hidden; margin-top: 10px; }
.heat-fill { height: 100%; background: linear-gradient(90deg, var(--pink), #ffa3c1); width: 0; transition: width 1s ease-out; }
.rank-badge { position: absolute; top: 10px; right: 10px; font-size: 0.75rem; padding: 2px 6px; border-radius: 4px; }
.badge-up { color: #4ecdc4; background: rgba(78, 205, 196, 0.1); }
.badge-down { color: #ff6b9d; background: rgba(255, 107, 157, 0.1); }

/* AI Section */
.ai-section { margin-bottom: 80px; }
.ai-card {
  display: flex; background: var(--card-bg); border: 1px solid var(--border); border-radius: 24px;
  overflow: hidden; padding: 40px;
}
.ai-content { flex: 1; padding-right: 40px; }
.ai-content h2 { font-size: 2rem; margin-bottom: 20px; }
.ai-content p { color: var(--text-muted); margin-bottom: 30px; }
.vote-options { display: flex; flex-direction: column; gap: 15px; margin-bottom: 20px; }
.vote-opt { display: flex; align-items: center; gap: 15px; }
.vote-label { width: 60px; font-size: 0.9rem; }
.vote-bar-bg { flex: 1; height: 10px; background: rgba(255,255,255,0.05); border-radius: 5px; overflow: hidden; }
.vote-bar-fill { height: 100%; border-radius: 5px; transition: width 0.5s; }
.fill-a { background: var(--pink); width: 60%; }
.fill-b { background: var(--green); width: 40%; }
.vote-tags { display: flex; gap: 10px; margin-bottom: 30px; font-size: 0.8rem; }
.vote-tags span { background: rgba(255,255,255,0.05); padding: 4px 10px; border-radius: 12px; }
.vote-btn-wrap { flex: 1; display: flex; align-items: center; justify-content: center; }
.vote-btn {
  width: 120px; height: 120px; border-radius: 50%; background: var(--pink); border: none;
  color: #fff; font-size: 1rem; font-weight: bold; cursor: pointer; outline: none;
  box-shadow: 0 0 20px rgba(255, 107, 157, 0.4); animation: pulse 2s infinite; transition: 0.3s;
}
.vote-btn:hover { transform: scale(1.05); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 107, 157, 0.7); } 70% { box-shadow: 0 0 0 20px rgba(255, 107, 157, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 107, 157, 0); } }

/* Categories */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; margin-bottom: 80px; }
.cat-item { display: flex; flex-direction: column; align-items: center; transition: 0.3s; cursor: pointer; }
.cat-icon {
  width: 80px; height: 80px; border-radius: 50%; background: var(--card-bg); border: 1px solid var(--pink);
  display: flex; align-items: center; justify-content: center; font-size: 2rem; margin-bottom: 15px;
  transition: 0.3s;
}
.cat-item:hover .cat-icon { transform: scale(1.1) rotate(5deg); box-shadow: 0 0 15px var(--pink); }

/* Features */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-bottom: 80px; }
.feat-item { padding: 30px; background: var(--card-bg); border-radius: 20px; border: 1px solid var(--border); position: relative; }
.feat-item h3 { font-size: 1.3rem; margin-bottom: 10px; color: var(--green); }
.feat-item p { color: var(--text-muted); font-size: 0.9rem; }
.feat-line { height: 2px; background: rgba(255,255,255,0.1); margin-top: 20px; position: relative; }
.feat-line::after {
  content: ''; position: absolute; left: 0; top: 0; height: 100%; width: 0;
  background: var(--green); transition: width 0.3s;
}
.feat-item:hover .feat-line::after { width: 100%; }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; margin-bottom: 80px; }
.gallery-item { border-radius: 12px; overflow: hidden; aspect-ratio: 3/4; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: 0.3s; }
.gallery-item:hover img { transform: scale(1.05); }

/* Download */
.download-sec {
  text-align: center; background: radial-gradient(circle at center, rgba(255,107,157,0.1) 0%, transparent 70%);
  padding: 80px 20px; margin-bottom: 80px; border-radius: 30px;
}
.download-sec h2 { font-size: 2.5rem; margin-bottom: 20px; }
.download-sec p { color: var(--text-muted); margin-bottom: 40px; }
.dl-buttons { display: flex; justify-content: center; gap: 20px; margin-bottom: 20px; }
.dl-btn {
  border: 2px solid var(--pink); color: #fff; padding: 15px 40px; border-radius: 30px;
  font-weight: 600; transition: 0.3s; display: inline-flex; align-items: center; gap: 10px;
}
.dl-btn:hover { background: var(--pink); }
.dl-note { font-size: 0.8rem; color: var(--text-muted); }

/* Reviews & FAQ */
.review-faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 80px; }
.review-col h3, .faq-col h3 { font-size: 1.5rem; margin-bottom: 20px; }
.review-card { background: var(--card-bg); border: 1px solid var(--border); padding: 20px; border-radius: 16px; margin-bottom: 15px; }
.review-header { display: flex; align-items: center; gap: 15px; margin-bottom: 10px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--pink); display: flex; align-items: center; justify-content: center; font-weight: bold; color: #fff; }
.stars { color: var(--pink); font-size: 0.8rem; }
.faq-item {
  border-left: 2px solid transparent; padding-left: 15px; margin-bottom: 20px; transition: 0.3s; cursor: pointer;
}
.faq-item:hover { border-left-color: var(--pink); }
.faq-item h4 { color: var(--pink); font-size: 1rem; margin-bottom: 5px; }
.faq-item p { color: var(--text-muted); font-size: 0.9rem; }

/* Footer */
footer {
  border-top: 1px solid var(--border); padding: 60px 0 20px; font-size: 0.9rem;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-col h4 { font-size: 1rem; margin-bottom: 15px; color: #fff; }
.footer-col p, .footer-col a { color: var(--text-muted); display: block; margin-bottom: 10px; font-size: 0.85rem; }
.footer-col a:hover { color: var(--pink); }
.footer-bottom {
  text-align: center; padding-top: 20px; border-top: 1px solid var(--border);
  color: var(--text-muted); font-size: 0.8rem;
}
.footer-bottom p { margin-bottom: 10px; }
.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--pink); }

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-text h1 { font-size: 2.5rem; }
  .hero-tags, .hero-ctas { justify-content: center; }
  .card-stack { margin-top: 40px; }
  .types-grid { grid-template-columns: repeat(2, 1fr); }
  .rank-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .ai-card { flex-direction: column; }
  .ai-content { padding-right: 0; margin-bottom: 30px; }
  .review-faq-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: block; }
  .types-grid { grid-template-columns: 1fr; }
  .rank-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .feat-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .dl-buttons { flex-direction: column; align-items: center; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-text h1 { font-size: 2rem; }
}
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: 1fr; }
}