:root {
  --bg-dark: #050816;
  --bg-card: rgba(15, 23, 42, 0.9);
  --accent: #6366f1;
  --accent-soft: rgba(99, 102, 241, 0.2);
  --text-main: #e5e7eb;
  --text-muted: #9ca3af;
  --danger: #f97373;
  --success: #22c55e;
  --border-subtle: rgba(148, 163, 184, 0.25);
  --radius-xl: 22px;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.8);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #1e293b 0, #020617 45%, #000 100%);
  color: var(--text-main);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Animated background blobs */
.bg-orbit {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.bg-blob {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 999px;
  filter: blur(60px);
  opacity: 0.36;
  mix-blend-mode: screen;
  animation: float 18s ease-in-out infinite alternate;
}

.bg-blob:nth-child(1) {
  background: #6366f1;
  top: -80px;
  left: -120px;
}

.bg-blob:nth-child(2) {
  background: #ec4899;
  bottom: -100px;
  right: -80px;
  animation-delay: 4s;
}

.bg-blob:nth-child(3) {
  background: #22c55e;
  top: 40%;
  left: 60%;
  animation-delay: 8s;
}

@keyframes float {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(40px, -30px, 0) scale(1.1);
  }
}

/* Layout */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 20px 16px 80px;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  backdrop-filter: blur(20px);
  background: linear-gradient(
    to bottom,
    rgba(15, 23, 42, 0.92),
    rgba(15, 23, 42, 0.75),
    transparent
  );
  z-index: 40;
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  width: 40px;              /* circle size – chaahe to 34px kar sakte ho */
  height: 40px;
  border-radius: 999px;     /* full circle */
  background: #000;         /* black background – logo ka bg match karega */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;         /* image circle ke andar hi रहे */
}

/* image inside logo */
.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;        /* image ko nicely crop karega */
  display: block;
}


.brand-text-main {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand-text-sub {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  position: relative;
  padding-bottom: 2px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(to right, #38bdf8, #a855f7, #f97316);
  transition: width 0.22s ease-out;
}

.nav-links a:hover {
  color: #e5e7eb;
}

.nav-links a:hover::after {
  width: 100%;
}

/* active link for current page */
.nav-links a.active {
  color: #e5e7eb;
}

.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.18), rgba(15, 23, 42, 0.92));
  font-size: 13px;
  text-decoration: none;
  color: #e5e7eb;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.4);
}

.nav-cta span {
  font-size: 18px;
}

/* Sections */
section {
  margin-top: 56px;
}

.section-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #a5b4fc;
  margin-bottom: 6px;
}

.section-title {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 10px;
}

.section-sub {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 520px;
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  margin-top: 38px;
}

.hero-kicker {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 12px;
}

.hero-title {
  font-size: clamp(32px, 4vw, 40px);
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 12px;
}

.hero-title span {
  background: linear-gradient(to right, #38bdf8, #a855f7, #f97316);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-tagline {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 460px;
  margin-bottom: 18px;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.pill {
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(15, 23, 42, 0.85);
}

.pill-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  margin-right: 6px;
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.9);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.btn {
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 13px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: transform 0.15s ease-out, box-shadow 0.15s ease-out, background 0.2s ease-out;
}

.btn-primary {
  background: radial-gradient(circle at top left, #38bdf8, #6366f1);
  color: white;
  box-shadow: 0 16px 32px rgba(37, 99, 235, 0.65);
}

.btn-outline {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.5);
  color: var(--text-main);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.85);
}

.helper-text {
  font-size: 12px;
  color: var(--text-muted);
}

/* Hero visual card */
.hero-visual {
  position: relative;
  padding: 16px;
}

.hero-card {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 18px 18px 14px;
  background: radial-gradient(circle at top, rgba(30, 64, 175, 0.7), rgba(15, 23, 42, 0.96));
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.35);
  backdrop-filter: blur(18px);
}

.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.hero-chip {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.hero-chip span {
  font-size: 15px;
  margin-right: 6px;
}

.hero-badge {
  font-size: 11px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(22, 163, 74, 0.1);
  border: 1px solid rgba(22, 163, 74, 0.4);
  color: #bbf7d0;
}

.code-lines {
  margin-top: 6px;
  border-radius: 16px;
  padding: 12px 12px 10px;
  background: rgba(15, 23, 42, 0.82);
  border: 1px solid rgba(30, 64, 175, 0.7);
  font-family: "JetBrains Mono", ui-monospace, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 11px;
  position: relative;
  overflow: hidden;
}

.code-lines::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(56, 189, 248, 0.16), transparent);
  mix-blend-mode: screen;
  opacity: 0;
  animation: shimmer 3.6s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 60%, 100% {
    opacity: 0;
    transform: translateX(-80%);
  }
  20% {
    opacity: 1;
    transform: translateX(80%);
  }
}

.code-line {
  display: flex;
  gap: 6px;
  margin-bottom: 3px;
}

.code-line span {
  opacity: 0.75;
}

.code-comment {
  color: #6b7280;
}

.code-key {
  color: #38bdf8;
}

.code-str {
  color: #a855f7;
}

.code-fn {
  color: #22c55e;
}

.code-num {
  color: #facc15;
}

.hero-stats {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.hero-stat {
  flex: 1;
  min-width: 120px;
  border-radius: 14px;
  padding: 8px 10px;
  background: rgba(15, 23, 42, 0.82);
  border: 1px solid rgba(148, 163, 184, 0.35);
  font-size: 11px;
}

.hero-stat-label {
  color: var(--text-muted);
  margin-bottom: 3px;
}

.hero-stat-value {
  font-size: 15px;
  font-weight: 600;
}

.orbit-ring {
  position: absolute;
  inset: -16px;
  border-radius: 999px;
  border: 1px dashed rgba(148, 163, 184, 0.25);
  opacity: 0.8;
  animation: spin 36s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.orbit-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #38bdf8;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.8);
  top: 18%;
  right: 12%;
}


/* Games grid */
.games-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.game-card {
  border-radius: var(--radius-xl);
  padding: 14px 14px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.7);
  position: relative;
  overflow: hidden;
}

.game-tag {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.5);
  display: inline-block;
  margin-bottom: 8px;
}

.game-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.game-meta {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.game-desc {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.game-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
}

.pill-small {
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: rgba(15, 23, 42, 0.9);
}

.btn-mini {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  border: none;
  text-decoration: none;
  background: radial-gradient(circle at top left, #22d3ee, #6366f1);
  color: white;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.6);
}

.btn-mini span {
  font-size: 13px;
}

/* Home page featured games layout */
.games-grid-home {
  margin-top: 22px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}

/* Only home cards with video get this layout */
.game-card-home {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.3fr);
  gap: 14px;
  align-items: stretch;
}

.game-video {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: #020617;
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.9);
}

.game-video video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.game-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Mobile: stack video on top */
@media (max-width: 768px) {
  .game-card-home {
    grid-template-columns: minmax(0, 1fr);
  }

  .game-video {
    max-height: 220px;
  }
}

/* About / Founder */
.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 24px;
  margin-top: 22px;
}

.card {
  border-radius: var(--radius-xl);
  padding: 18px 16px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.card-highlight {
  position: absolute;
  inset: -40%;
  opacity: 0.16;
  background: radial-gradient(circle at top, #38bdf8, transparent 55%);
  mix-blend-mode: screen;
  pointer-events: none;
}

.card-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}

.card-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.list {
  list-style: none;
  margin-top: 6px;
  font-size: 13px;
  color: var(--text-muted);
}

.list li {
  display: flex;
  gap: 8px;
  margin-bottom: 6px;
}

.list li::before {
  content: "◆";
  font-size: 9px;
  margin-top: 4px;
  color: #a855f7;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.badge {
  font-size: 11px;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.96);
}

.founder-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.avatar {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: radial-gradient(circle at 20% 20%, #22c55e, #3b82f6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  box-shadow: 0 0 30px rgba(34, 197, 94, 0.8);
}

.founder-name {
  font-size: 15px;
  font-weight: 600;
}

.founder-role {
  font-size: 12px;
  color: var(--text-muted);
}

.founder-tagline {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

/* Tools / stack cards on About page */
.tools-section {
  margin-top: 48px;
}

.tool-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
}

.tool-card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  padding: 14px 14px 12px;
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.tool-icon {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  overflow: hidden;
  background: #020617;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tool-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.tool-card h3 {
  font-size: 14px;
  margin-bottom: 4px;
}

.tool-card p {
  font-size: 12px;
  color: var(--text-muted);
}

.tool-tag {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Join form */
.form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 24px;
  margin-top: 22px;
  align-items: flex-start;
}

.form {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

label {
  font-size: 12px;
  color: var(--text-muted);
}

input,
textarea,
select {
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.55);
  background: rgba(15, 23, 42, 0.95);
  padding: 7px 10px;
  font-size: 13px;
  color: var(--text-main);
  outline: none;
  transition: border 0.15s ease-out, box-shadow 0.15s ease-out, background 0.15s ease-out;
}

input:focus,
textarea:focus,
select:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.6);
  background: rgba(15, 23, 42, 0.98);
}

textarea {
  resize: vertical;
  min-height: 80px;
}

.hint {
  font-size: 11px;
  color: var(--text-muted);
}

.error {
  font-size: 11px;
  color: var(--danger);
  display: none;
}

.success-msg {
  font-size: 12px;
  color: var(--success);
  display: none;
  margin-top: 6px;
}

.timeline {
  margin-top: 10px;
  font-size: 12px;
  color: var(--text-muted);
}

.timeline-item {
  display: flex;
  gap: 10px;
  margin-bottom: 8px;
}

.timeline-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  margin-top: 4px;
  background: #38bdf8;
}

.timeline-label {
  font-weight: 500;
  font-size: 12px;
  color: #e5e7eb;
}

/* BIG FOOTER */ 
.site-footer { 
  margin-top: 40px; 
  padding: 32px 24px 24px; 
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.98), #020617);
  border-top: 1px solid rgba(51, 65, 85, 0.9); 
} 
.footer-inner { 
  max-width: 1120px; margin: 0 auto 18px; display: grid; grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 0.8fr)); gap: 22px; } .footer-col h4 { font-size: 14px; margin-bottom: 8px; } .footer-col ul { list-style: none; padding-left: 0; font-size: 13px; } .footer-col ul li { margin-bottom: 4px; } .footer-col ul li a { color: var(--text-muted); text-decoration: none; } .footer-col ul li a:hover { color: #e5e7eb; } .footer-brand-col h3 { font-size: 18px; margin-bottom: 6px; } .footer-brand-col p { font-size: 13px; color: var(--text-muted); } .footer-tagline { margin-top: 8px; font-style: italic; } .footer-logo { margin-bottom: 10px; box-shadow: 0 0 32px rgba(56, 189, 248, 0.8); } .footer-bottom { max-width: 1120px; margin: 0 auto; border-top: 1px solid rgba(30, 41, 59, 0.9); padding-top: 10px; font-size: 12px; color: var(--text-muted); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; } /* Footer responsive */ @media (max-width: 900px) { .footer-inner { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); } }

/* Responsive */
@media (max-width: 900px) {
  .hero,
  .two-col,
  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-visual {
    order: -1;
  }
}

@media (max-width: 640px) {
  .nav-links {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .hero {
    margin-top: 26px;
  }
}

.full-bleed {
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  box-sizing: border-box;

  padding-left: calc((100vw - 1120px) / 2 + 20px);
  padding-right: calc((100vw - 1120px) / 2 + 20px);

  background: linear-gradient(180deg, rgba(15,23,42,0.92), rgba(2,6,23,0.85));
  border-top: 1px solid rgba(148,163,184,0.04);
  border-bottom: 1px solid rgba(148,163,184,0.04);

  /* NEW: create new stacking context so background/overlap won't bleed into siblings */
  isolation: isolate;
  z-index: 0;

  /* NEW: ensure there's clear spacing for next elements (footer etc.) */
  padding-bottom: 48px; /* tweak as needed */
}

/* ensure the inner constraint wrapper exists */
.full-bleed > .container-inner {
  max-width: 1120px;
  margin: 0 auto;
}

/* fallback for small screens */
@media (max-width:1120px){
  .full-bleed {
    left:0; right:0; width:100%; margin-left:0; margin-right:0;
    padding-left:20px; padding-right:20px;
  }
}
