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

:root {
  --bg-deep: #030305;
  --bg-base: #07070a;
  --bg-surface: #0c0d14;
  --bg-elevated: #12131c;
  --bg-card: rgba(12, 13, 20, 0.4);
  --border-subtle: rgba(255, 255, 255, 0.03);
  --border-default: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(230, 57, 70, 0.5);
  --red-primary: #f02d3f;
  --red-light: #ff5463;
  --red-dark: #9e1422;
  --red-glow: rgba(240, 45, 63, 0.25);
  --red-glow-strong: rgba(240, 45, 63, 0.45);
  --text-primary: #f0f0f5;
  --text-secondary: #8b8da0;
  --text-muted: #53556a;
  --green: #40c87a;
  --amber: #f5a623;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --font-sans: 'Inter', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--bg-deep);
  color: var(--text-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: var(--red-dark); border-radius: 3px; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}
@keyframes pulse-green {
  0%, 100% { box-shadow: 0 0 0 0 rgba(64, 200, 122, 0.5); }
  50% { box-shadow: 0 0 0 6px rgba(64, 200, 122, 0); }
}
@keyframes pulse-amber {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245, 166, 35, 0.5); }
  50% { box-shadow: 0 0 0 6px rgba(245, 166, 35, 0); }
}
@keyframes pulse-red {
  0%, 100% { box-shadow: 0 0 0 0 rgba(230, 57, 70, 0.5); }
  50% { box-shadow: 0 0 0 6px rgba(230, 57, 70, 0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}
@keyframes glow-border {
  0%, 100% { border-color: rgba(230, 57, 70, 0.3); }
  50% { border-color: rgba(230, 57, 70, 0.6); }
}

[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* NAVBAR */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 2rem;
  transition: var(--transition);
  background: rgba(6, 6, 12, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
}
header.scrolled {
  background: rgba(6, 6, 12, 0.92);
  border-bottom-color: var(--border-default);
}
nav {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 2px;
  color: var(--red-primary);
  text-shadow: 0 0 20px var(--red-glow);
}
.logo span { color: var(--text-muted); font-weight: 600; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
  position: relative;
}
.nav-links a:hover { color: var(--text-primary); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--red-primary);
  transition: width var(--transition);
}
.nav-links a:hover::after { width: 100%; }
.btn-nav {
  background: var(--red-primary) !important;
  color: #fff !important;
  padding: 0.55rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  transition: all var(--transition) !important;
}
.btn-nav:hover {
  background: var(--red-light) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px var(--red-glow-strong);
}
.btn-nav::after { display: none !important; }

/* BUTTONS */
.btn-primary {
  display: inline-block;
  background: var(--red-primary);
  color: #fff;
  padding: 0.9rem 2.5rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  font-family: var(--font-sans);
}
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: -100%; right: 0; bottom: 0;
  width: 200%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.5s;
}
.btn-primary:hover::before { left: 100%; }
.btn-primary:hover {
  background: var(--red-light);
  transform: translateY(-3px);
  box-shadow: 0 10px 40px var(--red-glow-strong);
}
.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--red-primary);
  border: 1px solid var(--red-primary);
  padding: 0.85rem 2.5rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-sans);
}
.btn-secondary:hover {
  background: var(--red-glow);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px var(--red-glow);
}

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 0 2rem;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(230, 57, 70, 0.08) 0%, transparent 70%),
    radial-gradient(circle at 20% 80%, rgba(74, 158, 255, 0.03) 0%, transparent 40%),
    radial-gradient(circle at 80% 60%, rgba(230, 57, 70, 0.04) 0%, transparent 40%);
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 50% at 50% 50%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 50% at 50% 50%, black 30%, transparent 80%);
}
.hero-content {
  position: relative;
  z-index: 2;
  animation: fadeInUp 0.8s ease;
}
.hero-content h1 {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}
.hero-content h1 span {
  background: linear-gradient(135deg, var(--red-primary), var(--red-light), var(--red-primary));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
}
.hero-content p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 4rem;
  flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.hero-stat .number {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--red-primary);
  display: block;
}
.hero-stat .label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* SECTIONS */
section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 7rem 2rem;
}
section h2 {
  font-size: 2.5rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}
section h2 span { color: var(--red-primary); }
.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 500px;
  margin: 0 auto 3.5rem;
}

/* FEATURES */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--red-primary), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}
.feature-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px var(--red-glow);
}
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--red-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  transition: all var(--transition);
}
.feature-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--red-primary);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.feature-card:hover .feature-icon { background: var(--red-primary); }
.feature-card:hover .feature-icon svg { stroke: #fff; }
.feature-card h3 {
  color: var(--text-primary);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}
.feature-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* INTERACTIVE GUI DEMO */
.gui-demo-section {
  padding: 7rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}
.gui-demo-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.gui-demo-text h2 { text-align: left; margin-bottom: 1rem; }
.gui-demo-text p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.gui-demo-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.gui-demo-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}
.gui-demo-features li svg {
  width: 18px; height: 18px;
  stroke: var(--green);
  fill: none;
  stroke-width: 2.5;
  flex-shrink: 0;
}

/* CHEAT GUI WINDOW */
.cheat-gui {
  width: 580px;
  max-width: 100%;
  background: #0d0e11;
  border: 1px solid #2a2d35;
  border-radius: 4px;
  overflow: hidden;
  font-family: var(--font-sans);
  user-select: none;
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.6), 0 0 120px rgba(230, 57, 70, 0.06);
  animation: float 6s ease-in-out infinite;
  position: relative;
}
.gui-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  height: 36px;
  background: #13151a;
  border-bottom: 1px solid #22252e;
}
.gui-title { display: flex; align-items: center; gap: 8px; }
.gui-title .name {
  font-size: 13px; font-weight: 800;
  color: #e84040; letter-spacing: 1px;
}
.gui-title .version { font-size: 11px; color: #555; }
.gui-dots { display: flex; gap: 4px; }
.gui-dots span { width: 11px; height: 11px; }
.gui-dots .dot-green { background: #40c87a; }
.gui-dots .dot-amber { background: #e8a840; }
.gui-dots .dot-red { background: #e84040; }

.gui-tabs {
  display: flex;
  background: #10121a;
  border-bottom: 1px solid #22252e;
  height: 34px;
}
.gui-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #555;
  cursor: pointer;
  position: relative;
  transition: color 0.2s;
}
.gui-tab:hover { color: #888; }
.gui-tab.active { color: #e84040; }
.gui-tab.active::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: #e84040;
}

.gui-content {
  padding: 16px 20px;
  min-height: 380px;
  max-height: 380px;
  overflow-y: auto;
  overflow-x: hidden;
}
.gui-content::-webkit-scrollbar { width: 4px; }
.gui-content::-webkit-scrollbar-track { background: #0f1014; }
.gui-content::-webkit-scrollbar-thumb { background: #e84040; border-radius: 2px; }

.gui-section-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #e84040;
  margin-bottom: 4px;
  padding-bottom: 6px;
  border-bottom: 1px solid #1e2028;
}
.gui-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
}
.gui-row-label { font-size: 12px; color: #b0b3bc; }
.gui-toggle {
  width: 36px; height: 19px;
  background: #23262e;
  position: relative;
  cursor: pointer;
  transition: background 0.2s;
  flex-shrink: 0;
}
.gui-toggle.on { background: #e84040; }
.gui-toggle .knob {
  position: absolute;
  top: 3px; left: 3px;
  width: 13px; height: 13px;
  background: #fff;
  transition: left 0.2s;
}
.gui-toggle.on .knob { left: 20px; }
.gui-slider-row { padding: 8px 0; }
.gui-slider-header { display: flex; justify-content: space-between; margin-bottom: 6px; }
.gui-slider-label { font-size: 12px; color: #b0b3bc; }
.gui-slider-value { font-size: 12px; color: #e84040; font-weight: 600; }
.gui-slider-track {
  width: 100%; height: 4px;
  background: #23262e;
  position: relative;
  cursor: pointer;
}
.gui-slider-fill {
  height: 100%;
  background: #e84040;
  transition: width 0.1s;
}
.gui-row-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.gui-section-spacer { height: 16px; }
.gui-statusbar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 16px;
  height: 26px;
  background: #0b0c0f;
  border-top: 1px solid #1e2028;
  font-size: 11px;
  color: #444;
}
.gui-statusbar .status-dot {
  width: 7px; height: 7px;
  background: #40c87a;
  border-radius: 50%;
}

/* SUPPORTED GAMES */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}
.game-card {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all var(--transition);
  backdrop-filter: blur(10px);
}
.game-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.game-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.game-dot.online { background: var(--green); animation: pulse-green 2s infinite; }
.game-dot.maintenance { background: var(--amber); animation: pulse-amber 2s infinite; }
.game-dot.offline { background: var(--red-primary); animation: pulse-red 2s infinite; }
.game-info h4 { font-size: 0.95rem; font-weight: 600; color: var(--text-primary); }
.game-info span { font-size: 0.75rem; color: var(--text-muted); }

/* PRODUCTS */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  align-items: start;
}
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  position: relative;
}
.product-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}
.product-card.featured {
  border-color: var(--red-primary);
  transform: scale(1.03);
  box-shadow: 0 0 40px var(--red-glow);
  animation: glow-border 3s ease-in-out infinite;
}
.product-card.featured:hover { transform: scale(1.03) translateY(-8px); }
.product-header {
  background: rgba(0, 0, 0, 0.3);
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
}
.badge {
  position: absolute;
  top: 1rem; right: 1rem;
  background: var(--red-primary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.3rem 0.85rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
.product-header h3 {
  font-size: 1.5rem; font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}
.price { font-size: 2.5rem; font-weight: 900; color: var(--red-primary); }
.price span { font-size: 1rem; font-weight: 400; color: var(--text-muted); }
.product-card ul { padding: 2rem; }
.product-card ul li {
  padding: 0.6rem 0;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
}
.product-card ul li:last-child { border-bottom: none; }
.product-card ul li::before {
  content: '\2713';
  color: var(--red-primary);
  font-weight: 700;
  font-size: 0.85rem;
}
.product-card .btn-primary,
.product-card .btn-secondary {
  display: block;
  margin: 0 2rem 2rem;
  text-align: center;
}

/* FAQ */
.faq-list { max-width: 700px; margin: 0 auto; }
details {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all var(--transition);
  backdrop-filter: blur(10px);
}
details:hover { border-color: var(--border-hover); }
details[open] { border-color: rgba(230, 57, 70, 0.25); }
summary {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1rem;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  outline: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
summary::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--red-primary);
  transition: transform var(--transition);
}
details[open] summary::after { content: '\2212'; }
summary::-webkit-details-marker { display: none; }
details p {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* CTA */
.contact { text-align: center; position: relative; }
.contact p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* ERROR BANNER */
.error-banner {
  position: fixed;
  top: 80px; left: 50%;
  transform: translateX(-50%);
  background: rgba(127, 29, 29, 0.9);
  color: #fca5a5;
  padding: 0.75rem 2rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  z-index: 200;
  border: 1px solid #991b1b;
  max-width: 600px;
  text-align: center;
  backdrop-filter: blur(10px);
}

/* FOOTER */
footer {
  text-align: center;
  padding: 2rem;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* CAPTCHA */
.verify-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 2rem 2rem;
  position: relative;
}
.verify-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 40% at 50% 30%, rgba(230, 57, 70, 0.06) 0%, transparent 70%);
  pointer-events: none;
}
.verify-card {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  padding: 3rem;
  max-width: 460px;
  width: 100%;
  text-align: center;
  backdrop-filter: blur(20px);
  animation: fadeInUp 0.6s ease;
}
.verify-icon { font-size: 3rem; margin-bottom: 1rem; }
.verify-card h1 {
  font-size: 1.8rem; font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}
.verify-card h1 span { color: var(--red-primary); }
#verifyText {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}
.captcha-box {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--red-primary);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.captcha-expr {
  font-size: 2.5rem; font-weight: 900;
  color: var(--red-primary);
  letter-spacing: 4px;
  user-select: none;
  font-family: var(--font-mono);
}
.verify-form { display: flex; flex-direction: column; gap: 1rem; }
.verify-input {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  padding: 1rem;
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  letter-spacing: 8px;
  color: var(--text-primary);
  outline: none;
  transition: border-color var(--transition);
  font-family: var(--font-mono);
}
.verify-input:focus { border-color: var(--red-primary); }
.verify-btn { width: 100%; border: none; cursor: pointer; }
.verify-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.verify-error {
  color: #ef4444;
  font-size: 0.9rem;
  margin-top: 0.75rem;
  min-height: 1.5rem;
}
.btn-refresh {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border-default);
  padding: 0.5rem 1.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  cursor: pointer;
  margin-top: 0.5rem;
  font-family: var(--font-sans);
  transition: all var(--transition);
}
.btn-refresh:hover {
  color: var(--text-primary);
  border-color: var(--border-hover);
}

/* DASHBOARD */
.dashboard-hero { padding-top: 120px; padding-bottom: 2rem; }
.dashboard-user { display: flex; align-items: center; gap: 1.5rem; }
.dash-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  border: 3px solid var(--red-primary);
  box-shadow: 0 0 20px var(--red-glow);
}
.dashboard-user h1 { font-size: 2rem; font-weight: 800; color: var(--text-primary); }
.dashboard-user h1 span { color: var(--red-primary); }
.dash-sub { color: var(--text-secondary); font-size: 0.9rem; margin-top: 0.25rem; }
.dash-section { padding-top: 2rem; padding-bottom: 4rem; }
.dash-section h2 { margin-bottom: 2rem; }
.keys-list {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  overflow: hidden;
  backdrop-filter: blur(10px);
}
.keys-header {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr 1fr;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid var(--border-default);
  font-weight: 700;
  color: var(--text-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
.key-row {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr 1fr;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  align-items: center;
  transition: background var(--transition);
}
.key-row:last-child { border-bottom: none; }
.key-row:hover { background: rgba(255, 255, 255, 0.02); }
.key-product { color: var(--text-primary); font-weight: 600; }
.key-value {
  font-family: var(--font-mono);
  color: var(--red-primary);
  font-size: 0.85rem;
}
.key-status {
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.status-active { color: var(--green); }
.status-expired { color: #ef4444; }
.key-expires { color: var(--text-muted); font-size: 0.85rem; }
.loading { text-align: center; padding: 3rem; color: var(--text-muted); }
.empty-state { text-align: center; padding: 3rem; color: var(--text-muted); }
.empty-state a { color: var(--red-primary); }
.cheats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}
.cheat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all var(--transition);
  backdrop-filter: blur(10px);
}
.cheat-card:hover { border-color: var(--border-hover); transform: translateY(-3px); }
.cheat-dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }
.cheat-info { flex: 1; }
.cheat-info h3 { color: var(--text-primary); font-size: 1rem; margin-bottom: 0.15rem; }
.cheat-version { color: var(--text-muted); font-size: 0.8rem; }
.cheat-status-label { font-weight: 700; font-size: 0.75rem; letter-spacing: 1px; }

/* DASHBOARD ACTIONS */
.btn-reset-hwid {
  background: rgba(230, 57, 70, 0.1);
  color: var(--red-light);
  border: 1px solid rgba(230, 57, 70, 0.2);
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-sans);
}
.btn-reset-hwid:hover {
  background: rgba(230, 57, 70, 0.2);
  border-color: rgba(230, 57, 70, 0.4);
}
.btn-reset-hwid:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .gui-demo-layout { grid-template-columns: 1fr; gap: 2rem; }
  .gui-demo-text h2 { text-align: center; }
  .gui-demo-text { text-align: center; }
  .gui-demo-features { align-items: center; }
  .cheat-gui { margin: 0 auto; animation: none; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero-content h1 { font-size: 2.5rem; letter-spacing: -1px; }
  .hero-content p { font-size: 1rem; }
  .hero-stats { gap: 2rem; }
  .product-card.featured { transform: none; }
  .product-card.featured:hover { transform: translateY(-5px); }
  section { padding: 4rem 1.5rem; }
  .keys-header, .key-row { grid-template-columns: 1fr 1fr; }
  .key-value, .key-expires { display: none; }
}

/* ============= ADMIN DASHBOARD STYLES ============= */

.admin-badge-nav {
  display: inline-block;
  background: linear-gradient(135deg, var(--red-primary), #ff6b6b);
  color: #fff;
  font-size: 0.55rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 1.5px;
  vertical-align: super;
  margin-left: 6px;
  text-transform: uppercase;
}

/* Admin Hero */
.admin-hero {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 80px;
  overflow: hidden;
}

.admin-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 0%, rgba(230, 57, 70, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 100%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-base) 100%);
  z-index: 0;
}

.admin-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  animation: fadeInUp 0.6s ease;
}

.admin-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(230, 57, 70, 0.15), rgba(230, 57, 70, 0.05));
  border: 1px solid rgba(230, 57, 70, 0.25);
  margin-bottom: 16px;
  animation: float 4s ease-in-out infinite;
}

.admin-shield-icon {
  width: 36px;
  height: 36px;
  color: var(--red-primary);
}

.admin-hero-content h1 {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.admin-hero-content h1 span { color: var(--red-primary); }

.admin-subtitle {
  color: var(--text-secondary);
  font-size: 1.05rem;
  font-weight: 400;
}

/* Admin Sections */
.admin-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.admin-section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.admin-section h2 span:not(.section-icon) { color: var(--red-primary); }

.section-icon {
  margin-right: 8px;
  font-size: 1.2rem;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 1.5rem;
}

.section-header h2 { margin-bottom: 0; }

.section-tools {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Admin Stats Grid */
.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px;
  animation: fadeInUp 0.5s ease;
}

.admin-stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: var(--transition);
  backdrop-filter: blur(12px);
}

.admin-stat-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.stat-glow-blue:hover { box-shadow: 0 8px 32px rgba(99, 102, 241, 0.15); }
.stat-glow-green:hover { box-shadow: 0 8px 32px rgba(64, 200, 122, 0.15); }
.stat-glow-emerald:hover { box-shadow: 0 8px 32px rgba(52, 211, 153, 0.15); }
.stat-glow-red:hover { box-shadow: 0 8px 32px rgba(230, 57, 70, 0.15); }
.stat-glow-purple:hover { box-shadow: 0 8px 32px rgba(168, 85, 247, 0.15); }
.stat-glow-amber:hover { box-shadow: 0 8px 32px rgba(245, 166, 35, 0.15); }

.stat-icon {
  font-size: 2rem;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-sm);
}

.stat-info {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--text-primary);
  line-height: 1;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-top: 4px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Admin Search */
.admin-search {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  outline: none;
  transition: var(--transition);
  min-width: 200px;
}

.admin-search:focus {
  border-color: var(--red-primary);
  box-shadow: 0 0 0 3px var(--red-glow);
}

.admin-search::placeholder { color: var(--text-muted); }

/* Admin Input */
.admin-input {
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition);
}

.admin-input:focus {
  border-color: var(--red-primary);
  box-shadow: 0 0 0 3px var(--red-glow);
}

.admin-input::placeholder { color: var(--text-muted); }

.admin-input-sm {
  padding: 6px 10px;
  font-size: 0.82rem;
}

select.admin-input {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238b8da0' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 30px;
}

/* Admin Table */
.admin-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  backdrop-filter: blur(12px);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.admin-table thead {
  background: rgba(255,255,255,0.02);
}

.admin-table th {
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  color: var(--text-secondary);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  border-bottom: 1px solid var(--border-subtle);
  white-space: nowrap;
}

.admin-table td {
  padding: 10px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.02);
  vertical-align: middle;
}

.admin-row {
  transition: background 0.2s ease;
}

.admin-row:hover {
  background: rgba(255,255,255,0.02);
}

.admin-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--border-subtle);
}

.user-name { font-weight: 600; }

.user-id-cell code {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  background: rgba(255,255,255,0.03);
  padding: 2px 6px;
  border-radius: 4px;
}

.license-key-cell {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-secondary);
  word-break: break-all;
}

.hwid-short {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  background: rgba(255,255,255,0.03);
  padding: 2px 6px;
  border-radius: 4px;
  cursor: help;
}

.loading-cell, .empty-cell {
  text-align: center;
  color: var(--text-muted);
  padding: 2rem !important;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 22px;
  padding: 0 8px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font-mono);
}

.badge-green { background: rgba(64, 200, 122, 0.15); color: #40c87a; }
.badge-red { background: rgba(230, 57, 70, 0.15); color: #e63946; }
.badge-blue { background: rgba(99, 102, 241, 0.15); color: #6366f1; }
.badge-amber { background: rgba(245, 166, 35, 0.15); color: #f5a623; }

/* Status Select */
.status-select {
  background: transparent;
  border: 1px solid var(--border-default);
  border-radius: 6px;
  padding: 4px 24px 4px 8px;
  font-size: 0.78rem;
  font-weight: 600;
  font-family: var(--font-sans);
  outline: none;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath fill='%238b8da0' d='M5 7L1 3h8z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 6px center;
  transition: var(--transition);
}

.status-select.status-active { color: #40c87a; border-color: rgba(64, 200, 122, 0.3); }
.status-select.status-expired { color: #e63946; border-color: rgba(230, 57, 70, 0.3); }
.status-select.status-revoked { color: #f5a623; border-color: rgba(245, 166, 35, 0.3); }

.status-select:focus { box-shadow: 0 0 0 2px var(--red-glow); }

.status-select option {
  background: var(--bg-surface);
  color: var(--text-primary);
}

/* Action Buttons */
.actions-cell {
  display: flex;
  gap: 6px;
  align-items: center;
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  border: 1px solid var(--border-default);
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
}

.btn-icon svg { width: 14px; height: 14px; }

.btn-icon-danger {
  color: var(--text-muted);
}
.btn-icon-danger:hover {
  background: rgba(230, 57, 70, 0.15);
  border-color: rgba(230, 57, 70, 0.4);
  color: #e63946;
}

.btn-icon-amber {
  color: var(--text-muted);
}
.btn-icon-amber:hover {
  background: rgba(245, 166, 35, 0.15);
  border-color: rgba(245, 166, 35, 0.4);
  color: #f5a623;
}

/* Admin Buttons */
.btn-admin-primary {
  background: linear-gradient(135deg, var(--red-primary), var(--red-light));
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 9px 18px;
  font-weight: 600;
  font-size: 0.85rem;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.btn-admin-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(230, 57, 70, 0.35);
}

.btn-admin-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.btn-sm { padding: 6px 14px; font-size: 0.8rem; }

.btn-admin-secondary {
  background: var(--bg-surface);
  color: var(--text-secondary);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  padding: 9px 18px;
  font-weight: 500;
  font-size: 0.85rem;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: var(--transition);
}

.btn-admin-secondary:hover {
  background: var(--bg-elevated);
  border-color: var(--border-hover);
  color: var(--text-primary);
}

.btn-admin-danger {
  background: linear-gradient(135deg, #dc2626, #ef4444);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 9px 18px;
  font-weight: 600;
  font-size: 0.85rem;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: var(--transition);
}

.btn-admin-danger:hover {
  box-shadow: 0 4px 16px rgba(220, 38, 38, 0.35);
  transform: translateY(-1px);
}

/* Admin Cheat Cards */
.admin-cheats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}

.admin-cheat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  backdrop-filter: blur(12px);
}

.admin-cheat-card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.cheat-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.cheat-card-header h3 {
  font-size: 1rem;
  font-weight: 700;
  flex: 1;
}

.cheat-version-badge {
  background: rgba(255,255,255,0.05);
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: var(--text-secondary);
  font-weight: 600;
}

.cheat-card-body {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-group-inline {
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-group-inline label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  min-width: 60px;
}

.form-group-inline .admin-input { flex: 1; }

.cheat-card-footer {
  padding: 10px 20px;
  font-size: 0.72rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-subtle);
  text-align: right;
}

/* Admin Modals */
.admin-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.admin-modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.admin-modal {
  background: var(--bg-elevated);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  width: 90%;
  max-width: 480px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
  transform: scale(0.95) translateY(10px);
  transition: transform 0.25s ease;
}

.admin-modal-overlay.active .admin-modal {
  transform: scale(1) translateY(0);
}

.admin-modal-sm { max-width: 400px; }

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-subtle);
}

.modal-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
}

.modal-header-danger { border-bottom-color: rgba(230, 57, 70, 0.3); }
.modal-header-danger h3 { color: #e63946; }

.modal-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.2s;
  line-height: 1;
}

.modal-close:hover { color: var(--text-primary); }

.modal-body {
  padding: 20px 24px;
}

.modal-body p {
  color: var(--text-secondary);
  line-height: 1.6;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.modal-error {
  color: #e63946;
  font-size: 0.82rem;
  font-weight: 500;
  margin-top: 8px;
}

.modal-success {
  color: #40c87a;
  font-size: 0.82rem;
  font-weight: 500;
  margin-top: 8px;
}

.modal-success code {
  background: rgba(64, 200, 122, 0.1);
  padding: 2px 8px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  word-break: break-all;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 16px 24px;
  border-top: 1px solid var(--border-subtle);
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  top: 80px;
  right: 20px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  font-family: var(--font-sans);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  transform: translateX(120%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: all;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.toast.show { transform: translateX(0); }

.toast-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  flex-shrink: 0;
}

.toast-success {
  background: rgba(10, 20, 14, 0.9);
  border-color: rgba(64, 200, 122, 0.3);
  color: #a7f3d0;
}
.toast-success .toast-icon { background: #40c87a; color: #052e16; }

.toast-error {
  background: rgba(20, 10, 10, 0.9);
  border-color: rgba(230, 57, 70, 0.3);
  color: #fecaca;
}
.toast-error .toast-icon { background: #e63946; color: #450a0a; }

.toast-info {
  background: rgba(10, 10, 20, 0.9);
  border-color: rgba(99, 102, 241, 0.3);
  color: #c7d2fe;
}
.toast-info .toast-icon { background: #6366f1; color: #1e1b4b; }

.text-muted { color: var(--text-muted); }

/* Admin Responsive */
@media (max-width: 768px) {
  .admin-section { padding: 2rem 1rem; }
  .section-header { flex-direction: column; align-items: flex-start; }
  .section-tools { width: 100%; }
  .admin-search { flex: 1; min-width: 0; }
  .admin-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-cheats-grid { grid-template-columns: 1fr; }
  .admin-hero-content h1 { font-size: 1.8rem; }
}

@media (max-width: 480px) {
  .admin-stats-grid { grid-template-columns: 1fr; }
}
