* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

:root {
  --bg: #0b0b0d;
  --panel: rgba(255, 255, 255, 0.05);
  --panel-2: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.08);
  --text: #f4f4f4;
  --muted: #b8b8b8;
  --muted-2: #8d8d8d;
  --shadow: 0 20px 45px rgba(0, 0, 0, 0.28);
  --radius: 24px;
  --sidebar-width: 260px;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

.animated-bg {
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.05), transparent 25%),
    radial-gradient(circle at 80% 25%, rgba(255,255,255,0.04), transparent 25%),
    radial-gradient(circle at 50% 80%, rgba(160,160,160,0.05), transparent 28%),
    linear-gradient(135deg, #0a0a0c, #121216, #0d0d10);
  background-size: 200% 200%;
  animation: bgMove 14s ease infinite;
}

.animated-bg::before,
.animated-bg::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.12;
}

.animated-bg::before {
  width: 360px;
  height: 360px;
  background: #ffffff;
  top: -100px;
  left: -120px;
  animation: floatOne 10s ease-in-out infinite;
}

.animated-bg::after {
  width: 460px;
  height: 460px;
  background: #717171;
  bottom: -140px;
  right: -140px;
  animation: floatTwo 13s ease-in-out infinite;
}

@keyframes bgMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes floatOne {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(50px, 30px); }
}

@keyframes floatTwo {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-55px, -35px); }
}

.mobile-topbar {
  display: none;
  position: sticky;
  top: 0;
  z-index: 1200;
  padding: 16px 18px;
  background: rgba(10, 10, 12, 0.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  align-items: center;
  justify-content: space-between;
}

.mobile-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: white;
  font-weight: 800;
  letter-spacing: 1px;
}

.mobile-brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: cover;
}

.menu-toggle {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
}

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--sidebar-width);
  height: 100vh;
  padding: 24px 18px;
  background: rgba(13, 13, 16, 0.9);
  backdrop-filter: blur(16px);
  border-right: 1px solid var(--border);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sidebar-top {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: white;
}

.brand img {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  object-fit: cover;
}

.brand-text h2 {
  font-size: 1rem;
  letter-spacing: 1px;
}

.brand-text p {
  color: var(--muted-2);
  font-size: 0.85rem;
  margin-top: 4px;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sidebar-nav a {
  text-decoration: none;
  color: #d7d7d7;
  padding: 14px 16px;
  border-radius: 16px;
  transition: 0.25s ease;
  border: 1px solid transparent;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
  background: rgba(255,255,255,0.06);
  border-color: var(--border);
  color: white;
}

.sidebar-info {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
}

.sidebar-info p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 14px;
}

.sidebar-btn,
.btn-primary,
.btn-secondary,
.card-btn,
.submit-btn {
  display: inline-block;
  text-decoration: none;
  transition: 0.25s ease;
}

.sidebar-btn,
.btn-primary,
.card-btn,
.submit-btn {
  background: linear-gradient(135deg, #696969, #a2a2a2);
  color: white;
}

.sidebar-btn {
  width: 100%;
  text-align: center;
  padding: 12px 16px;
  border-radius: 14px;
  font-weight: 700;
}

.sidebar-btn:hover,
.btn-primary:hover,
.btn-secondary:hover,
.card-btn:hover,
.submit-btn:hover {
  transform: translateY(-2px);
}

.content {
  margin-left: var(--sidebar-width);
  min-height: 100vh;
  padding: 42px;
}

.badge {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  color: #dddddd;
  font-size: 0.88rem;
  margin-bottom: 16px;
}

.page-header {
  margin-bottom: 32px;
}

.page-header h1 {
  font-size: 3rem;
  line-height: 1.05;
  margin-bottom: 14px;
}

.page-header p {
  color: var(--muted);
  line-height: 1.7;
  max-width: 720px;
}

.card,
.info-card,
.feature-card,
.review-card,
.shop-card,
.contact-card,
.dev-card,
.stat-card,
.faq-item {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  transition: 0.28s ease;
}

.card:hover,
.info-card:hover,
.feature-card:hover,
.review-card:hover,
.shop-card:hover,
.contact-card:hover,
.dev-card:hover,
.stat-card:hover,
.faq-item:hover {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,0.14);
}

.footer {
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.06);
  color: var(--muted-2);
  font-size: 0.95rem;
}

.sidebar-overlay {
  display: none;
}

@media (max-width: 900px) {
  .mobile-topbar {
    display: flex;
  }

  .sidebar-overlay.active {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 1090;
  }

  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.28s ease;
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .content {
    margin-left: 0;
    padding: 24px 18px 28px;
  }

  .page-header h1 {
    font-size: 2.2rem;
  }
}