/* Gama Gaming — shared design system */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

:root {
  --bg-deep: #0a0a12;
  --bg-card: rgba(18, 18, 32, 0.72);
  --bg-card-solid: #14141f;
  --border: rgba(255, 255, 255, 0.08);
  --border-bright: rgba(255, 255, 255, 0.14);

  --purple: #8b5cf6;
  --purple-bright: #a78bfa;
  --pink: #ec4899;
  --orange: #f97316;
  --cyan: #22d3ee;
  --mint: #34d399;

  --text: #f4f4f8;
  --text-muted: #9ca3af;
  --text-dim: #6b7280;

  --gradient-brand: linear-gradient(135deg, #8b5cf6 0%, #ec4899 50%, #f97316 100%);
  --gradient-glow: radial-gradient(ellipse at 50% 0%, rgba(139, 92, 246, 0.35) 0%, transparent 60%);

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;

  --shadow-card: 0 24px 64px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 80px rgba(139, 92, 246, 0.25);

  --font-display: 'Outfit', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;

  --nav-height: 72px;
  --max-width: 1120px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 16px);
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg-deep);
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Ambient background */
.bg-scene {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.bg-scene::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-glow);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  animation: float 18s ease-in-out infinite;
}

.orb-1 {
  width: 520px;
  height: 520px;
  background: rgba(139, 92, 246, 0.45);
  top: -120px;
  left: -80px;
}

.orb-2 {
  width: 420px;
  height: 420px;
  background: rgba(236, 72, 153, 0.35);
  top: 30%;
  right: -100px;
  animation-delay: -6s;
}

.orb-3 {
  width: 380px;
  height: 380px;
  background: rgba(249, 115, 22, 0.28);
  bottom: -80px;
  left: 25%;
  animation-delay: -12s;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 30%, black 20%, transparent 75%);
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(24px, -20px) scale(1.04); }
  66% { transform: translate(-16px, 16px) scale(0.97); }
}

/* Layout */
.page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Navigation */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border);
  background: rgba(10, 10, 18, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.site-nav .container {
  display: flex;
  align-items: center;
  height: 100%;
}

.nav-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.1rem;
  color: #fff;
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
  flex-shrink: 0;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.brand-name span {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links li {
  display: flex;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.nav-links a:focus-visible {
  outline: 2px solid var(--purple-bright);
  outline-offset: 2px;
}

.nav-toggle {
  display: none;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-bright);
  color: var(--text);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
  transition: background 0.2s;
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--purple-bright);
  outline-offset: 2px;
}

/* Hero */
.hero {
  padding: 80px 0 64px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--border-bright);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple-bright);
  margin-bottom: 28px;
}

.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 12px var(--mint);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 4.8rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero h1 .gradient-text {
  display: inline-block;
}

.hero-sub {
  font-size: clamp(1.05rem, 2.5vw, 1.3rem);
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 36px;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 14px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:focus-visible {
  outline: 2px solid var(--purple-bright);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: 0 8px 32px rgba(139, 92, 246, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 12px 40px rgba(139, 92, 246, 0.5);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border: 1px solid var(--border-bright);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.88rem;
  border-radius: 12px;
}

/* Sections */
.section {
  padding: 48px 0;
}

.section-tight {
  padding-top: 0;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--purple-bright);
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-desc {
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
  font-size: 1.02rem;
}

/* Game cards */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 28px;
  align-items: stretch;
}

.game-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.game-card:hover {
  transform: translateY(-6px);
  border-color: rgba(139, 92, 246, 0.35);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

.game-card-banner {
  position: relative;
  flex-shrink: 0;
  height: 180px;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.game-card-banner-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #7c3aed 0%, #db2777 45%, #ea580c 100%);
}

.game-card-banner-bg.spotwar {
  background: linear-gradient(135deg, #7c3aed 0%, #db2777 45%, #ea580c 100%);
}

.game-card-banner-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.15;
  background-image:
    radial-gradient(circle at 20% 50%, #fff 2px, transparent 2px),
    radial-gradient(circle at 80% 30%, #fff 2px, transparent 2px),
    radial-gradient(circle at 50% 80%, #fff 2px, transparent 2px);
  background-size: 48px 48px, 64px 64px, 56px 56px;
}

.game-card-icon {
  position: absolute;
  top: 144px;
  left: 24px;
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: var(--bg-card-solid);
  border: 3px solid var(--border-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  line-height: 1;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  z-index: 2;
}

.game-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 52px 24px 24px;
}

.game-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(139, 92, 246, 0.15);
  color: var(--purple-bright);
  border: 1px solid rgba(139, 92, 246, 0.25);
}

.tag.tag-pink {
  background: rgba(236, 72, 153, 0.15);
  color: #f472b6;
  border-color: rgba(236, 72, 153, 0.25);
}

.game-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.game-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
  line-height: 1.6;
}

.game-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.game-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.game-features li::before {
  content: '✦';
  color: var(--purple-bright);
  font-size: 0.7rem;
  flex-shrink: 0;
}

.game-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 4px;
}

.coming-soon-card {
  border-radius: var(--radius-lg);
  border: 2px dashed var(--border-bright);
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 28px;
  min-height: 100%;
}

.coming-soon-card .cs-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  opacity: 0.5;
}

.coming-soon-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dim);
  margin-bottom: 8px;
}

.coming-soon-card p {
  color: var(--text-dim);
  font-size: 0.9rem;
}

/* Stats strip */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.stat-item {
  text-align: center;
  padding: 28px 20px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
}

.stat-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Content cards (support, privacy) */
.content-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  margin-bottom: 24px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.content-card:last-child {
  margin-bottom: 0;
}

.content-card-center {
  text-align: center;
}

.content-card-lead {
  max-width: 480px;
  margin: 0 auto 16px !important;
}

.content-card-spaced {
  margin-top: 16px !important;
}

.content-card h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.content-card p {
  color: var(--text-muted);
  margin-bottom: 12px;
  font-size: 0.97rem;
}

.content-card p:last-child {
  margin-bottom: 0;
}

.content-card a {
  color: var(--purple-bright);
  font-weight: 600;
  text-decoration: none;
}

.content-card a:hover {
  text-decoration: underline;
}

.content-card a.email-btn,
.content-card a.btn {
  color: var(--text);
  text-decoration: none;
}

.content-card a.btn-primary {
  color: #fff;
}

.content-card a.email-btn:hover,
.content-card a.btn:hover {
  text-decoration: none;
}

/* Contact box */
.contact-box {
  text-align: center;
  padding: 36px 28px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.12), rgba(236, 72, 153, 0.08));
  border: 1px solid rgba(139, 92, 246, 0.2);
}

.contact-box p {
  color: var(--text-muted);
  margin-bottom: 16px;
}

.email-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 100%;
  padding: 14px 24px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-bright);
  color: var(--text);
  font-weight: 700;
  font-size: clamp(0.85rem, 2.5vw, 1rem);
  text-decoration: none;
  word-break: break-word;
  transition: background 0.2s, transform 0.2s;
}

.email-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
  text-decoration: none;
}

.contact-note {
  margin-top: 12px;
  font-size: 0.88rem;
  color: var(--text-dim);
}

/* FAQ */
.faq-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  padding: 20px 22px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  transition: border-color 0.2s;
}

.faq-item:hover {
  border-color: rgba(139, 92, 246, 0.25);
}

.faq-item strong {
  display: block;
  font-size: 0.98rem;
  color: var(--text);
  margin-bottom: 6px;
  font-weight: 700;
}

.faq-item span {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Policy list */
.policy-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.policy-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  font-size: 0.94rem;
  color: var(--text-muted);
}

.policy-list li::before {
  content: '→';
  color: var(--purple-bright);
  font-weight: 700;
  flex-shrink: 0;
}

.policy-list li strong {
  color: var(--text);
}

/* Provider cards */
.providers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 12px;
}

.provider-card {
  text-align: center;
  padding: 24px 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
}

.provider-card .icon {
  font-size: 2rem;
  margin-bottom: 10px;
}

.provider-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
}

.provider-card p {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin: 0;
}

/* Page hero (inner pages) */
.page-hero {
  padding: 56px 0 40px;
  text-align: center;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.page-hero .subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto;
}

.page-hero .updated {
  margin-top: 12px;
  font-size: 0.88rem;
  color: var(--text-dim);
}

.page-hero .hero-badge {
  margin-bottom: 20px;
}

/* Footer */
.site-footer {
  margin-top: auto;
  padding: 48px 0 32px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand .brand-mark {
  width: 32px;
  height: 32px;
  font-size: 0.9rem;
  border-radius: 10px;
}

.footer-brand span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  list-style: none;
  justify-content: center;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

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

.footer-copy {
  font-size: 0.82rem;
  color: var(--text-dim);
  max-width: 520px;
  line-height: 1.7;
  word-break: break-word;
}

.footer-copy a {
  color: var(--purple-bright);
  text-decoration: none;
}

.footer-copy a:hover {
  text-decoration: underline;
}

/* CTA banner */
.cta-banner {
  margin: 24px 0 48px;
  padding: 48px 36px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(236, 72, 153, 0.12));
  border: 1px solid rgba(139, 92, 246, 0.25);
  text-align: center;
}

.cta-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.cta-banner p {
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto 24px;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: -24px;
    right: -24px;
    flex-direction: column;
    padding: 12px 24px 20px;
    background: rgba(10, 10, 18, 0.97);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
    gap: 4px;
    z-index: 10;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    width: 100%;
    padding: 12px 16px;
  }

  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .brand-name {
    font-size: 1.05rem;
  }

  .stats-strip {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 36px;
  }

  .hero {
    padding: 48px 0 40px;
  }

  .page-hero {
    padding: 40px 0 32px;
  }

  .content-card {
    padding: 28px 20px;
  }

  .cta-banner {
    padding: 32px 20px;
    margin-bottom: 32px;
  }

  .section {
    padding: 36px 0;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .nav-links {
    left: -16px;
    right: -16px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 10vw, 2.8rem);
  }

  .game-card-body {
    padding: 48px 20px 20px;
  }

  .game-card-actions {
    flex-direction: column;
  }

  .game-card-actions .btn {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  .hero-actions .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .orb,
  .hero-badge::before {
    animation: none;
  }

  .btn,
  .game-card,
  .email-btn {
    transition: none;
  }

  .btn:hover,
  .game-card:hover,
  .email-btn:hover {
    transform: none;
  }
}
