:root {
  --bg: #120B22;
  --panel: #221641;
  --panel-light: #2E2058;
  --primary: #A46BFF;
  --secondary: #6E4BD6;
  --highlight: linear-gradient(135deg, #4FE3B0, #4FE3B0);
  --text: #F0EBFF;
  --text-muted: #A99FC8;
  --border: rgba(190,175,255,.10);
  --border-hover: rgba(190,175,255,.20);
  --gold: #FFCE86;
  --radius: 12px;
  --transition: all 0.3s ease;
}

* {
  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: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

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

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

.logo-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: bold;
  color: var(--gold);
}

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

.nav-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.nav-links li a {
  color: var(--text-muted);
  font-size: 14px;
  transition: var(--transition);
}

.nav-links li a:hover,
.nav-links li a.active {
  color: var(--primary);
  text-shadow: 0 0 8px rgba(164, 107, 255, 0.5);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 24px;
  cursor: pointer;
}

/* Mobile Nav */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--panel);
    padding: 16px;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open {
    display: flex;
  }
  .mobile-menu-btn {
    display: block;
  }
}

/* Hero */
.hero {
  padding: 40px 0 0;
  position: relative;
}

.hero-content {
  display: flex;
  gap: 30px;
  align-items: center;
}

.hero-text {
  flex: 1.2;
}

.hero-text h1 {
  font-size: 36px;
  color: var(--gold);
  margin-bottom: 16px;
  line-height: 1.3;
}

.hero-text p {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 24px;
}

.download-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.dl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 600;
  color: #120B22;
  background: linear-gradient(135deg, #4FE3B0, #A46BFF);
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.2);
}

.dl-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(164, 107, 255, 0.4);
}

.hero-gallery {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.hero-gallery img {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 3 / 4;
}

.hero-gallery img:first-child {
  grid-column: span 2;
  aspect-ratio: 16 / 9;
}

/* Marquee */
.marquee-wrap {
  margin-top: 30px;
  padding: 10px 0;
  background: var(--panel);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  white-space: nowrap;
}

.marquee {
  display: inline-block;
  animation: scroll 30s linear infinite;
}

.marquee span {
  font-size: 16px;
  font-weight: bold;
  background: linear-gradient(90deg, #A46BFF, #4FE3B0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-right: 30px;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Sections */
section {
  padding: 60px 0;
}

.section-title {
  font-size: 26px;
  color: var(--gold);
  text-align: center;
  margin-bottom: 30px;
}

/* Grid Cards */
.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.card-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.card-body {
  padding: 16px;
}

.card-body h3 {
  font-size: 16px;
  color: var(--text);
  margin-bottom: 8px;
}

.card-tag {
  display: inline-block;
  padding: 2px 8px;
  background: rgba(164, 107, 255, 0.2);
  color: var(--primary);
  border-radius: 4px;
  font-size: 12px;
  margin-bottom: 8px;
}

.card-rating {
  color: var(--gold);
  font-size: 14px;
  font-weight: bold;
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 30px;
  border-left: 2px solid var(--secondary);
}

.timeline-item {
  margin-bottom: 24px;
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -37px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--highlight);
}

.timeline-time {
  font-weight: bold;
  color: var(--gold);
  font-size: 14px;
}

.timeline-content {
  background: var(--panel-light);
  padding: 12px;
  border-radius: var(--radius);
  margin-top: 4px;
}

/* Reviews */
.review-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.review-item {
  display: flex;
  gap: 16px;
  background: var(--panel);
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary);
}

.review-content h4 {
  font-size: 15px;
  color: var(--text);
}

.review-stars {
  color: var(--gold);
  font-size: 12px;
}

.review-text {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* FAQ */
.faq-item {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-q {
  padding: 16px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-a {
  padding: 0 16px 16px;
  color: var(--text-muted);
  font-size: 14px;
}

/* Split Sections */
.split-section {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.split-left {
  flex: 1;
}

.split-right {
  flex: 1.5;
}

.split-img {
  border-radius: var(--radius);
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.list-info {
  list-style: none;
}

.list-info li {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 14px;
}

.list-info li strong {
  color: var(--text);
  margin-right: 8px;
}

/* Footer */
footer {
  background: var(--panel);
  padding: 40px 0;
  border-top: 1px solid var(--border);
  margin-bottom: 80px; /* Space for float btn */
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
}

.footer-col h4 {
  color: var(--text);
  margin-bottom: 16px;
}

.footer-col p,
.footer-col a {
  color: var(--text-muted);
  font-size: 13px;
  display: block;
  margin-bottom: 8px;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid var(--border);
  padding-top: 20px;
  font-size: 12px;
  color: var(--text-muted);
}

.footer-bottom a {
  color: var(--text-muted);
}

/* Floating Button */
.float-dl {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #A46BFF, #6E4BD6);
  padding: 10px 24px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 4px 20px rgba(164, 107, 255, 0.4);
  z-index: 1000;
  border: 1px solid rgba(255,255,255,0.2);
  cursor: pointer;
}

.float-dl img {
  height: 28px;
  width: auto;
  border-radius: 6px;
}

.float-dl span {
  font-size: 14px;
  font-weight: bold;
  color: #fff;
}

/* Download Modal */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.7);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.modal-overlay.active {
  display: flex;
}

.modal-box {
  background: var(--panel);
  padding: 24px;
  border-radius: var(--radius);
  max-width: 400px;
  width: 90%;
  text-align: center;
  border: 1px solid var(--border-hover);
}

.modal-box p {
  color: var(--text);
  margin-bottom: 16px;
  font-size: 15px;
}

.modal-input {
  width: 100%;
  padding: 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 8px;
  margin-bottom: 16px;
  text-align: center;
}

.modal-btn {
  background: linear-gradient(135deg, #4FE3B0, #A46BFF);
  color: #120B22;
  border: none;
  padding: 10px 24px;
  border-radius: 20px;
  font-weight: bold;
  cursor: pointer;
  width: 100%;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-content, .split-section {
    flex-direction: column;
  }
  .hero-gallery {
    width: 100%;
    grid-template-columns: repeat(4, 1fr);
  }
  .hero-gallery img:first-child {
    grid-column: span 2;
    aspect-ratio: 1;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-text h1 {
    font-size: 26px;
  }
  .hero-gallery {
    grid-template-columns: 1fr 1fr;
  }
  .hero-gallery img:first-child {
    grid-column: span 2;
    aspect-ratio: 16/9;
  }
  .split-section {
    flex-direction: column;
  }
  .float-dl {
    width: 90%;
    justify-content: center;
  }
}