@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

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

:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #111118;
  --bg-card: #15151e;
  --bg-card-hover: #1a1a26;
  --border: #2a2a38;
  --border-glow: #d9448155;
  --accent: #d94481;
  --accent-dim: #a83465;
  --accent-light: #f06aa8;
  --purple: #9b59b6;
  --purple-light: #c084fc;
  --text: #e0e0e8;
  --text-dim: #8888a0;
  --text-bright: #f5f5ff;
  --green: #50c878;
  --gold: #fbbf24;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-primary);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── Background Effects ── */
.bg-grid {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(217,68,129,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(217,68,129,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.bg-glow {
  position: fixed; top: -200px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 500px; z-index: 0; pointer-events: none;
  background: radial-gradient(ellipse, rgba(217,68,129,0.12), rgba(155,89,182,0.06), transparent 70%);
  filter: blur(60px);
}
.bg-glow-bottom {
  position: fixed; bottom: -300px; left: 50%; transform: translateX(-50%);
  width: 1200px; height: 600px; z-index: 0; pointer-events: none;
  background: radial-gradient(ellipse, rgba(155,89,182,0.08), transparent 70%);
  filter: blur(80px);
}

/* ── Container ── */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }

/* ── Navbar ── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10,10,15,0.85); backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(42,42,56,0.4);
}
.navbar .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.nav-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo {
  height: 40px; width: auto;
  transition: transform 0.3s ease;
}
.nav-brand span { font-weight: 700; font-size: 19px; color: var(--text-bright); letter-spacing: -0.5px; }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
  color: var(--text-dim); text-decoration: none; font-size: 14px; font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text-bright); }

/* ── Hero ── */
.hero { padding: 140px 0 80px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(217,68,129,0.1); border: 1px solid rgba(217,68,129,0.25);
  border-radius: 20px; padding: 6px 16px; font-size: 12px; font-weight: 600;
  color: var(--accent-light); margin-bottom: 24px; letter-spacing: 0.5px;
}
.hero h1 { font-size: 48px; font-weight: 800; line-height: 1.1; margin-bottom: 20px; color: var(--text-bright); }
.hero h1 .gradient {
  background: linear-gradient(135deg, var(--accent), var(--purple-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p { font-size: 16px; color: var(--text-dim); max-width: 480px; margin-bottom: 24px; line-height: 1.7; }
.hero-features { list-style: none; margin-bottom: 32px; }
.hero-features li {
  display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text);
  margin-bottom: 6px;
}
.hero-features li::before { content: '✓'; color: var(--accent); font-weight: 700; }
.hero-actions { display: flex; gap: 16px; align-items: center; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: 8px; font-size: 14px; font-weight: 600;
  text-decoration: none; border: none; cursor: pointer; transition: all 0.2s;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--purple));
  color: #fff; box-shadow: 0 4px 24px rgba(217,68,129,0.3);
}
.btn-primary:hover { box-shadow: 0 6px 32px rgba(217,68,129,0.45); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--text-dim); }
.btn-ghost:hover { color: var(--text-bright); }
.btn-outline {
  background: transparent; border: 1px solid var(--border); color: var(--text);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

/* ── Stat Cards ── */
.stats-column { display: flex; flex-direction: column; gap: 16px; }
.stat-card {
  display: flex; align-items: center; gap: 16px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; padding: 20px 28px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.stat-card:hover { border-color: var(--border-glow); box-shadow: 0 0 30px rgba(217,68,129,0.08); }
.stat-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--purple));
  display: flex; align-items: center; justify-content: center;
  color: #fff; flex-shrink: 0;
}
.stat-value { font-size: 28px; font-weight: 800; color: var(--text-bright); }
.stat-label { font-size: 11px; font-weight: 600; color: var(--text-dim); letter-spacing: 1.5px; text-transform: uppercase; }

/* ── Section Headings ── */
.section-heading { text-align: center; margin-bottom: 48px; }
.section-heading h2 { font-size: 36px; font-weight: 800; color: var(--text-bright); margin-bottom: 12px; }
.section-heading p { font-size: 15px; color: var(--text-dim); max-width: 500px; margin: 0 auto; }

/* ── Reviews ── */
.reviews { padding: 80px 0; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; padding: 28px; position: relative;
  transition: border-color 0.3s;
}
.review-card:hover { border-color: var(--border-glow); }
.review-stars { color: var(--gold); font-size: 14px; margin-bottom: 12px; letter-spacing: 2px; }
.review-quote { position: absolute; top: 20px; right: 24px; font-size: 36px; color: rgba(217,68,129,0.2); font-weight: 900; }
.review-text { font-size: 14px; color: var(--text-dim); line-height: 1.7; margin-bottom: 20px; }
.review-author { font-weight: 600; font-size: 14px; color: var(--text-bright); }
.review-handle { font-size: 12px; color: var(--text-dim); margin-bottom: 10px; }
.review-badge {
  display: inline-block; background: var(--bg-secondary);
  border: 1px solid var(--border); border-radius: 6px;
  padding: 4px 12px; font-size: 11px; color: var(--text-dim); font-weight: 500;
}

/* ── Features ── */
.features { padding: 80px 0; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; padding: 28px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.feature-card:hover { border-color: var(--border-glow); box-shadow: 0 0 40px rgba(217,68,129,0.06); }
.feature-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--purple));
  display: flex; align-items: center; justify-content: center;
  color: #fff; margin-bottom: 16px;
}
.feature-card h3 { font-size: 16px; font-weight: 700; color: var(--text-bright); margin-bottom: 8px; }
.feature-card p { font-size: 13px; color: var(--text-dim); line-height: 1.7; }

/* ── Pricing ── */
.pricing { padding: 100px 0 80px; }
.pricing-highlight {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 16px; padding: 48px; margin-bottom: 40px;
  display: flex; justify-content: space-between; align-items: center;
  position: relative;
}
.pricing-highlight::before {
  content: ''; position: absolute; top: -1px; left: 0; right: 0;
  height: 1px; background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.pricing-badge {
  display: inline-block; background: linear-gradient(135deg, var(--accent), var(--purple));
  border-radius: 20px; padding: 6px 18px; font-size: 11px; font-weight: 800;
  color: #fff; letter-spacing: 1px; position: absolute; top: -14px; left: 40px;
  box-shadow: 0 4px 12px rgba(217,68,129,0.4); z-index: 2;
}
.pricing-tag { font-size: 12px; font-weight: 600; color: var(--text-dim); letter-spacing: 1.5px; text-transform: uppercase; }
.pricing-amount { font-size: 56px; font-weight: 900; color: var(--text-bright); margin: 4px 0; }
.pricing-desc { font-size: 16px; font-weight: 600; color: var(--text); }
.pricing-features { list-style: none; margin-top: 20px; }
.pricing-features li { font-size: 14px; color: var(--text); margin-bottom: 10px; display: flex; align-items: center; gap: 12px; }
.pricing-features li i { color: var(--accent); font-size: 15px; }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.price-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; padding: 28px; display: flex; flex-direction: column;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.price-card.popular { border-color: var(--border-glow); box-shadow: 0 0 40px rgba(217,68,129,0.08); }
.price-card.popular .pricing-badge { left: 50%; transform: translateX(-50%); }
.price-tier { font-size: 11px; font-weight: 700; color: var(--text-dim); letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 8px; }
.price-card h3 { font-size: 22px; font-weight: 800; color: var(--text-bright); margin-bottom: 4px; }
.price-amount { font-size: 40px; font-weight: 900; color: var(--text-bright); margin: 12px 0 4px; }
.price-subtitle { font-size: 13px; color: var(--text-dim); margin-bottom: 24px; }
.price-features { list-style: none; margin-bottom: 32px; flex-grow: 1; }
.price-features li { 
  font-size: 14px; color: var(--text); margin-bottom: 12px; 
  display: flex; align-items: center; gap: 10px; 
}
.price-features li i { color: var(--accent); font-size: 14px; }
.price-card .btn { width: 100%; justify-content: center; }

/* ── Games ── */
.games { padding: 100px 0; background: #0a0a0f; }
.games-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.game-card {
  background: #11111a; border: 1px solid #1a1a26;
  border-radius: 12px; overflow: hidden; text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s;
  display: flex; flex-direction: column;
}
.game-card:hover { 
  border-color: var(--accent); 
  transform: translateY(-8px);
}
.game-thumbnail {
  width: 100%; aspect-ratio: 16 / 9;
  background-size: cover; background-position: center; border-bottom: 1px solid #1a1a26;
}
.game-info { padding: 20px; text-align: center; }
.game-info h4 { font-size: 15px; font-weight: 800; color: #fff; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 1.5px; }
.game-status {
  display: inline-block; padding: 4px 16px; border-radius: 20px;
  font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px;
  background: rgba(80,200,120,0.06); color: var(--green); border: 1px solid rgba(80,200,120,0.25);
}
.game-status.active { background: rgba(80,200,120,0.1); color: var(--green); border: 1px solid rgba(80,200,120,0.2); }

/* ── Executors Section ── */
.executors { padding: 80px 0; background: rgba(26, 11, 54, 0.05); }
.executors-grid { 
  display: grid; 
  grid-template-columns: repeat(3, 1fr); 
  gap: 20px; 
  margin-top: 40px; 
}
.executor-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; padding: 24px; display: flex; flex-direction: column;
  transition: all 0.3s ease;
}
.executor-card:hover { border-color: var(--accent); transform: translateY(-5px); }
.executor-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.executor-header h4 { font-size: 16px; font-weight: 700; color: var(--text-bright); }
.executor-badge {
  background: rgba(251, 191, 36, 0.1); color: #fbbf24;
  font-size: 9px; font-weight: 800; padding: 4px 8px; border-radius: 4px; border: 1px solid rgba(251, 191, 36, 0.2);
}
.executor-card p { font-size: 13px; color: var(--text-dim); margin-bottom: 16px; line-height: 1.5; }
.executor-price { font-size: 14px; font-weight: 700; color: var(--text-bright); margin-bottom: 20px; margin-top: auto; }
.executor-link {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--accent-light); text-decoration: none;
  transition: color 0.2s;
}
.executor-link:hover { color: var(--accent); }
.executor-link i { width: 14px; height: 14px; }

/* ── Use In Seconds ── */
.install { 
  padding: 100px 0; 
  position: relative;
  z-index: 1;
}

.install-box {
  background: rgba(11, 11, 20, 0.4); 
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px; overflow: hidden;
  max-width: 620px; margin: 40px auto 0;
  box-shadow: 0 40px 100px rgba(0,0,0,0.5);
  position: relative; z-index: 2;
  transition: border-color 0.33s;
}
.install-box:hover { border-color: rgba(217,68,129,0.25); }

.copy-btn-small {
  position: absolute; top: 12px; right: 12px;
  width: 32px; height: 32px;
  background: rgba(255,255,255,0.03); 
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 6px; color: rgba(255,255,255,0.3);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; opacity: 0;
  transition: all 0.2s ease-out;
  z-index: 10;
}
.install-box:hover .copy-btn-small { opacity: 1; }
.copy-btn-small:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.copy-btn-small i { width: 14px; height: 14px; }

.pre-wrapper { position: relative; padding: 32px 36px; overflow-x: auto; }
pre[class*="language-"] { 
    background: transparent !important; margin: 0 !important; padding: 0 !important; 
    font-size: 14px !important; line-height: 1.6 !important;
}
code[class*="language-"] { 
    font-family: 'JetBrains Mono', 'Fira Code', monospace !important; 
    text-shadow: none !important;
}
.token.keyword { color: #f06aa8; font-weight: 700; }
.token.string { color: #50c878; }
.token.function { color: #c084fc; }
.token.punctuation { color: #a0aec0; }
.token.operator { color: #fbbf24; }

/* Prism Theme Customization */
.token.keyword { color: #d94481; font-weight: bold; }
.token.string { color: #50c878; }
.token.function { color: #9d50bb; }
.token.comment { color: #4a5568; font-style: italic; }
.token.punctuation { color: #a0aec0; }
.token.operator { color: #f6ad55; }
.token.boolean { color: #ed64a6; }

/* ── Footer ── */
.footer {
  border-top: 1px solid var(--border); padding: 40px 0;
  margin-top: 40px;
}
.footer-content { display: flex; justify-content: space-between; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-logo {
  height: 32px; width: auto; opacity: 0.8;
}
.footer-brand span { font-weight: 600; font-size: 14px; color: var(--text-dim); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--text-dim); text-decoration: none; font-size: 13px; transition: color 0.2s; }
.footer-links a:hover { color: var(--text-bright); }
.footer-copy { font-size: 12px; color: var(--text-dim); text-align: center; margin-top: 24px; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .stats-column { flex-direction: row; flex-wrap: wrap; }
  .stat-card { flex: 1; min-width: 140px; }
  .reviews-grid, .features-grid, .pricing-grid { grid-template-columns: 1fr; }
  .games-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-highlight { flex-direction: column; text-align: center; gap: 24px; }
  .hero h1 { font-size: 36px; }
  .nav-links { display: none; }
  .footer-content { flex-direction: column; gap: 16px; text-align: center; }
}
