:root {
  --bg: #06070c;
  --text: #f1f3f9;
  --muted: #8b92a8;
  --accent: #fbbf24;
  --accent2: #00d4aa;
  --accent3: #6366f1;
  --radius: 18px;
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
}

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

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
}

.qg-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.qg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.4;
  animation: qg-float 20s ease-in-out infinite;
}

.qg-orb-1 {
  width: 400px;
  height: 400px;
  background: var(--accent);
  top: -100px;
  right: -60px;
}

.qg-orb-2 {
  width: 380px;
  height: 380px;
  background: var(--accent2);
  bottom: -80px;
  left: -100px;
  animation-delay: -8s;
}

.qg-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, black, transparent);
}

@keyframes qg-float {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(24px, -20px);
  }
}

.qg-header {
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem 1.25rem 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.qg-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
}

.qg-logo-icon {
  font-size: 1.75rem;
}

.qg-accent {
  color: var(--accent);
}

.qg-tagline {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 600;
}

.qg-main {
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}

.qg-hero {
  text-align: center;
  margin-bottom: 2.5rem;
}

.qg-hero h1 {
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.qg-gradient {
  background: linear-gradient(120deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.qg-lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 36rem;
  margin: 0 auto;
}

.qg-section-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 1rem;
  font-weight: 700;
}

.qg-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

.qg-card {
  position: relative;
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(18, 20, 32, 0.65);
  backdrop-filter: blur(12px);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.qg-card-active:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 212, 170, 0.45);
  box-shadow: 0 20px 50px rgba(0, 212, 170, 0.12);
}

.qg-card-soon {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

.qg-card-flag {
  font-size: 2rem;
  line-height: 1;
}

.qg-card-body h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.15rem;
}

.qg-card-lang {
  font-size: 0.8rem;
  color: var(--accent2);
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.qg-card-desc {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.qg-card-cta {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent2);
}

.qg-card-soon .qg-card-cta {
  color: var(--muted);
}

.qg-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
}

.qg-badge-live {
  background: rgba(0, 212, 170, 0.2);
  color: #6ee7b7;
  border: 1px solid rgba(0, 212, 170, 0.35);
}

.qg-badge-soon {
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.qg-note {
  margin-top: 2rem;
  padding: 1rem 1.15rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
  color: var(--muted);
}

.qg-note a {
  color: var(--accent2);
}

.qg-note code {
  font-size: 0.78rem;
  background: rgba(0, 0, 0, 0.35);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
}

.qg-footer {
  text-align: center;
  padding: 1.5rem;
  font-size: 0.8rem;
  color: var(--muted);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

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

.qg-footer a:hover {
  color: var(--text);
}

@media (max-width: 520px) {
  .qg-cards {
    grid-template-columns: 1fr;
  }
}
