:root {
  --bg-deep: #190611;
  --bg-dark: #1E0915;
  --panel-1: #2E0F20;
  --panel-2: #40162C;
  --primary: #F45C96;
  --wine: #B93A70;
  --gold: #FFC879;
  --border: rgba(255, 190, 215, 0.10);
  --border-strong: rgba(255, 190, 215, 0.20);
  --text-main: #FDF5F8;
  --text-muted: #D4B5C4;
  --grad-main: linear-gradient(135deg, var(--primary), var(--gold));
  --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

body {
  background-color: var(--bg-deep);
  color: var(--text-main);
  font-family: var(--font-stack);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* Header & Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(25, 6, 17, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-strong);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: bold;
  font-size: 1.2rem;
}
.brand img {
  height: 32px;
  border-radius: 6px;
}
.nav-menu {
  display: flex;
  gap: 20px;
}
.nav-menu a {
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: color 0.3s, transform 0.3s;
  position: relative;
}
.nav-menu a:hover {
  color: var(--primary);
  transform: translateY(-2px);
}
.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--grad-main);
  transition: width 0.3s;
}
.nav-menu a:hover::after { width: 100%; }

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.hero h1 {
  font-size: 2.8rem;
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
  line-height: 1.2;
}
.hero p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 30px;
}
.hero-images {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.hero-images img {
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  width: calc(33.33% - 10px);
  max-width: 300px;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.download-btns {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: bold;
  color: var(--bg-deep);
  background: var(--grad-main);
  transition: transform 0.2s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(244, 92, 150, 0.4);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}

/* Marquee */
.marquee {
  background: var(--panel-1);
  padding: 10px 0;
  overflow: hidden;
  white-space: nowrap;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.marquee-content {
  display: inline-block;
  animation: marquee 20s linear infinite;
}
.marquee span {
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: bold;
  font-size: 1.1rem;
  margin: 0 30px;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Main Sections */
.section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.section-title {
  font-size: 2rem;
  margin-bottom: 30px;
  text-align: center;
  color: var(--gold);
}
.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 40px;
  font-size: 1rem;
}

/* Grid Layouts */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Cards */
.card {
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  transition: border-color 0.3s, transform 0.3s;
}
.card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
}
.card h3 {
  color: var(--primary);
  margin-bottom: 12px;
  font-size: 1.2rem;
}
.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}
.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 15px;
}

/* List Styles */
.list-group {
  list-style: none;
}
.list-group li {
  padding: 12px 0;
  border-bottom: 1px dashed var(--border-strong);
  color: var(--text-muted);
  font-size: 0.95rem;
  display: flex;
  gap: 10px;
}
.list-group li::before {
  content: '•';
  color: var(--gold);
  font-weight: bold;
}
.list-group li:last-child {
  border-bottom: none;
}

/* Q&A Style */
.qa-block {
  background: var(--panel-1);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 15px;
  border-left: 4px solid var(--primary);
}
.qa-block h4 {
  color: var(--gold);
  margin-bottom: 10px;
  font-size: 1.05rem;
}
.qa-block p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Comment Section */
.comments {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.comment-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}
.comment-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  flex-shrink: 0;
}
.comment-content {
  background: var(--panel-1);
  padding: 15px;
  border-radius: 0 12px 12px 12px;
  flex-grow: 1;
}
.comment-name {
  font-weight: bold;
  color: var(--primary);
  font-size: 0.9rem;
  margin-bottom: 5px;
}
.comment-text {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Download Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}
.step-item {
  background: var(--panel-1);
  border: 1px solid var(--border-strong);
  padding: 20px;
  border-radius: 12px;
  text-align: center;
}
.step-num {
  display: inline-block;
  width: 30px;
  height: 30px;
  line-height: 30px;
  background: var(--grad-main);
  color: var(--bg-deep);
  border-radius: 50%;
  font-weight: bold;
  margin-bottom: 12px;
}
.step-item p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Floating Download */
.floating-download {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(46, 15, 32, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid var(--primary);
  border-radius: 50px;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 999;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}
.floating-download img {
  height: 30px;
  border-radius: 6px;
}
.floating-download .text {
  font-size: 0.9rem;
  font-weight: bold;
  color: var(--gold);
}
.floating-download .size {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* Footer */
.site-footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border-strong);
  padding: 40px 20px 100px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.footer-links {
  margin-bottom: 15px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}
.footer-links a {
  color: var(--text-muted);
  transition: color 0.3s;
}
.footer-links a:hover {
  color: var(--primary);
}
.footer-copy {
  margin-bottom: 10px;
}

/* Modal */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.8);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  padding: 20px;
}
.modal-box {
  background: var(--panel-2);
  border: 1px solid var(--primary);
  border-radius: 16px;
  width: 100%;
  max-width: 400px;
  padding: 25px;
  text-align: center;
}
.modal-box p {
  margin-bottom: 15px;
  color: var(--gold);
  font-size: 0.95rem;
}
.copy-input {
  width: 100%;
  padding: 10px;
  background: var(--panel-1);
  border: 1px solid var(--border-strong);
  color: var(--primary);
  border-radius: 8px;
  margin-bottom: 15px;
  text-align: center;
  outline: none;
}
.modal-btn {
  width: 100%;
  padding: 10px;
  background: var(--grad-main);
  border: none;
  border-radius: 8px;
  font-weight: bold;
  color: var(--bg-deep);
  cursor: pointer;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero h1 { font-size: 2.2rem; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-dark);
    flex-direction: column;
    padding: 20px;
    border-bottom: 1px solid var(--border-strong);
  }
  .nav-menu.active { display: flex; }
  .mobile-menu-btn { display: block; }
  
  .hero { padding: 40px 15px; }
  .hero h1 { font-size: 1.8rem; }
  .hero p { font-size: 0.95rem; }
  .hero-images { gap: 10px; }
  .hero-images img { width: calc(50% - 5px); }
  .hero-images img:last-child { display: none; } /* Simplify mobile hero */
  
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  
  .floating-download {
    width: 90%;
    max-width: 350px;
    padding: 8px 15px;
  }
  
  .section { padding: 40px 15px; }
  .section-title { font-size: 1.6rem; }
}