/* ============================================================
   DK NOVA - Premium Technology & Game Studio
   Description: Unified design system - layered surfaces,
   electric-blue/cyan accents, glass panels, precise borders,
   controlled ambient lighting, serious typography.
   ============================================================ */

/* ============================================================
   1. DESIGN TOKENS
   ============================================================ */
:root {
  /* --- Layered surface palette (never pure black) --- */
  --bg-primary: #070B12;
  --bg-secondary: #0A111C;
  --bg-elevated: #101A28;
  --bg-card: #0F1B2B;
  --bg-card-hover: #152644;
  --bg-glass: rgba(13, 26, 40, 0.72);
  --bg-glass-strong: rgba(14, 25, 42, 0.9);
  --bg-glass-soft: rgba(255, 255, 255, 0.03);

  /* --- Text hierarchy --- */
  --text-primary: #F2F6FB;
  --text-secondary: #C3CFDE;
  --text-muted: #7D8CA3;
  --text-dim: #5E6E87;

  /* --- Accent (electric blue / cyan) + secondary indigo --- */
  --accent-cyan: #46D6F5;
  --accent-blue: #38A5FF;
  --accent-blue-deep: #1F6FEB;
  --accent-indigo: #8B8CF8;

  /* --- Borders / precision lines --- */
  --border-subtle: rgba(150, 170, 200, 0.13);
  --border-strong: rgba(150, 170, 200, 0.26);
  --border-accent: rgba(70, 214, 245, 0.42);
  --border-light: rgba(255, 255, 255, 0.07);

  /* --- Lighting / glows (controlled) --- */
  --glow-blue: rgba(31, 111, 235, 0.18);
  --glow-cyan: rgba(70, 214, 245, 0.16);
  --glow-indigo: rgba(81, 140, 248, 0.16);

  /* --- Typography --- */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', -apple-system, sans-serif;

  /* --- Type scale --- */
  --text-xs: 0.75rem;
  --text-sm: 0.85rem;
  --text-base: 1rem;
  --text-lg: 1.15rem;

  /* --- Spacing --- */
  --space-2xs: 0.375rem;
  --space-xs: 0.625rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --space-2xl: 8rem;

  /* --- Layout --- */
  --container-max: 1240px;
  --header-height: 80px;
  --header-height-scrolled: 66px;

  /* --- Radius --- */
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --radius-full: 999px;

  /* --- Elevation / shadow --- */
  --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.35);
  --shadow-2: 0 10px 30px -8px rgba(0, 0, 0, 0.55), 0 2px 8px rgba(0, 0, 0, 0.35);
  --shadow-3: 0 24px 60px -12px rgba(0, 0, 0, 0.65), 0 6px 18px rgba(0, 0, 0, 0.35);

  /* --- Transitions --- */
  --t-fast: 0.16s ease;
  --t-base: 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  --t-slow: 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
/* ============================================================
   2. RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-primary);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--text-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--bg-primary);
  background-image:
    radial-gradient(1100px 640px at 88% -12%, rgba(43, 116, 255, 0.10), transparent 62%),
    radial-gradient(900px 560px at -12% 26%, rgba(81, 140, 248, 0.09), transparent 60%),
    radial-gradient(900px 600px at 50% 120%, rgba(70, 214, 245, 0.05), transparent 62%),
    linear-gradient(180deg, #070B12 0%, #080E18 45%, #070B12 100%);
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

p {
  color: var(--text-secondary);
}

::selection {
  background: rgba(70, 214, 245, 0.28);
  color: #ffffff;
}

/* ============================================================
   3. UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2rem);
}

.section {
  padding: clamp(3.5rem, 9vw, var(--space-xl)) 0;
  position: relative;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 1.25rem;
  position: relative;
}

.section-label::before {
  content: '';
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan));
  opacity: 0.8;
}

.section-title {
  font-size: clamp(2rem, 4.4vw, 3.15rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: clamp(0.98rem, 1.3vw, 1.08rem);
  max-width: 620px;
  margin-bottom: var(--space-lg);
  line-height: 1.75;
}

.text-gradient {
  background: linear-gradient(118deg, #FFFFFF 0%, #DCE9F5 34%, #46D6F5 76%, #1F6FEB 104%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
/* ============================================================
   4. BUTTON SYSTEM (Primary + Secondary only)
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.82rem 1.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  position: relative;
  transition: transform var(--t-base), box-shadow var(--t-base),
    border-color var(--t-base), background var(--t-base), color var(--t-base);
  will-change: transform;
}

.btn-primary {
  color: #04070C;
  background: linear-gradient(125deg, #38C9F2 0%, #2E8BF0 58%, #1F6FEB 100%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.35) inset,
    0 10px 30px -8px rgba(31, 111, 235, 0.55);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(125deg, #57D6F7 0%, #3E9AF7 58%, #2A7CF2 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.42) inset,
    0 16px 38px -10px rgba(31, 111, 235, 0.65);
}

.btn-primary:active {
  transform: translateY(0) scale(0.99);
}

.btn-outline {
  color: var(--text-primary);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--border-strong);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 8px 24px -12px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-outline:hover {
  transform: translateY(-2px);
  border-color: var(--border-accent);
  color: #ffffff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.1) inset,
    0 14px 34px -12px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(70, 214, 245, 0.1),
    0 0 24px rgba(70, 214, 245, 0.1);
}

.btn-outline:active {
  transform: translateY(0) scale(0.99);
}

.btn-sm {
  padding: 0.6rem 1.15rem;
  font-size: 0.86rem;
  border-radius: var(--radius-xs);
}

/* ============================================================
   5. ACCESSIBILITY / FOCUS
   ============================================================ */
:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 2000;
  padding: 0.7rem 1.2rem;
  background: var(--bg-elevated);
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xs);
  transition: top var(--t-fast);
}

.skip-link:focus {
  top: 12px;
}

/* ============================================================
   6. SCROLL PROGRESS
   ============================================================ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 1500;
  background: transparent;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-blue-deep));
  box-shadow: 0 0 10px rgba(70, 214, 245, 0.5);
}

/* ============================================================
   7. HEADER & BRAND
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
  transition: height var(--t-base), background var(--t-base),
    border-color var(--t-base), box-shadow var(--t-base), backdrop-filter var(--t-base);
  background: transparent;
}

.header.scrolled {
  height: var(--header-height-scrolled);
  background: rgba(7, 11, 18, 0.78);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.8);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  z-index: 1001;
  flex-shrink: 0;
  text-decoration: none;
  padding: 0.2rem 0;
}

/* Official Logo: original JPG, undistorted, on a refined glass tile */
.logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 11px;
  background: #05070D;
  padding: 2px;
  box-shadow:
    inset 0 0 0 1px var(--border-subtle),
    0 4px 14px -6px rgba(0, 0, 0, 0.7),
    0 0 18px rgba(70, 214, 245, 0.12);
  transition: transform var(--t-base), box-shadow var(--t-base);
}

.logo:hover .logo-img {
  transform: translateY(-1px) scale(1.03);
  box-shadow:
    inset 0 0 0 1px var(--border-accent),
    0 8px 20px -8px rgba(0, 0, 0, 0.8),
    0 0 26px rgba(70, 214, 245, 0.2);
}

/* Wordmark: DK metallic silver/platinum, NOVA electric-blue/cyan metallic */
.logo-text {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.28em;
}

.logo-text .logo-dk {
  background: linear-gradient(168deg, #FFFFFF 0%, #E8EEF6 34%, #B9C6D8 68%, #94A3B8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.5));
}

.logo-text .logo-nova {
  background: linear-gradient(172deg, #BFF3FF 0%, #46D6F5 46%, #1F6FEB 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 0 9px rgba(70, 214, 245, 0.35));
}

/* ---------- Navigation ---------- */
.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-xs);
  position: relative;
  white-space: nowrap;
  transition: color var(--t-fast), background var(--t-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.22rem;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-blue-deep));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-base);
  opacity: 0.9;
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-link.active {
  color: var(--text-primary);
}

.nav-cta {
  margin-left: 0.5rem;
  flex-shrink: 0;
}

/* ---------- Hamburger (mobile) ---------- */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 10px;
  z-index: 1001;
  border-radius: var(--radius-sm);
  background: var(--bg-glass-soft);
  border: 1px solid var(--border-subtle);
  transition: background var(--t-fast), border-color var(--t-fast);
}

.hamburger:hover {
  background: rgba(70, 214, 245, 0.08);
  border-color: var(--border-strong);
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--t-base), opacity var(--t-fast);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Mobile Menu ---------- */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 998;
  background: rgba(4, 7, 12, 0.62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-base), visibility var(--t-base);
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100dvh;
  width: min(86vw, 360px);
  z-index: 999;
  padding: calc(var(--header-height) + 1rem) clamp(1.5rem, 6vw, 2rem) 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background: linear-gradient(180deg, rgba(12, 20, 32, 0.98), rgba(7, 11, 18, 0.99));
  border-left: 1px solid var(--border-subtle);
  box-shadow: -30px 0 60px -30px rgba(0, 0, 0, 0.8);
  transform: translateX(102%);
  transition: transform var(--t-base);
  overflow-y: auto;
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-menu-link {
  display: block;
  padding: 0.85rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 1.15rem;
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--text-primary);
  border: 1px solid transparent;
  transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}

.mobile-menu-link:hover {
  background: var(--bg-glass-soft);
  border-color: var(--border-subtle);
  color: var(--accent-cyan);
}

.mobile-menu-cta {
  margin-top: 0.25rem;
}

.mobile-menu-footer {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

.mobile-menu-footer p {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ============================================================
   8. SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0s);
}

.reveal-left {
  transform: translateX(-28px);
}

.reveal-right {
  transform: translateX(28px);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { --reveal-delay: 0.05s; }
.reveal-delay-2 { --reveal-delay: 0.12s; }
.reveal-delay-3 { --reveal-delay: 0.19s; }
.reveal-delay-4 { --reveal-delay: 0.26s; }

/* ============================================================
   9. HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-height) + 2rem) 0 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

/* Restrained precision grid */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(150, 180, 220, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(150, 180, 220, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, black 30%, transparent 78%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, black 30%, transparent 78%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}

.hero-glow-1 {
  width: 560px;
  height: 560px;
  background: rgba(43, 120, 255, 0.20);
  top: -140px;
  right: -80px;
}

.hero-glow-2 {
  width: 480px;
  height: 480px;
  background: rgba(139, 108, 248, 0.13);
  bottom: -120px;
  left: -90px;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  width: 100%;
}

.hero-text {
  position: relative;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.4rem;
  animation: fadeInUp 0.7s ease both;
}

.hero-eyebrow span {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.eyebrow-rule {
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
  opacity: 0.8;
  flex-shrink: 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.42rem 0.95rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  background: var(--bg-glass-soft);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: fadeInUp 0.7s ease 0.06s both;
}

.hero-title {
  font-size: clamp(2.7rem, 6.2vw, 4.9rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin-bottom: 1.75rem;
  animation: fadeInUp 0.7s ease 0.12s both;
}

.hero-title .line {
  display: block;
}

.hero-subtitle {
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 540px;
  margin-bottom: 2.2rem;
  line-height: 1.75;
  animation: fadeInUp 0.7s ease 0.18s both;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.7s ease 0.24s both;
}

/* ---------- Hero Visual (glass pedestal + logo) ---------- */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 460px;
  animation: fadeIn 1s ease 0.3s both;
}

.hero-orbit {
  position: absolute;
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  z-index: 0;
}

.hero-orbit-1 {
  width: 420px;
  height: 420px;
  animation: orbitSpin 26s linear infinite;
}

.hero-orbit-2 {
  width: 520px;
  height: 520px;
  border-color: rgba(139, 140, 248, 0.10);
  animation: orbitSpin 36s linear infinite reverse;
}

.hero-orbit::before {
  content: '';
  position: absolute;
  top: -4px;
  left: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
  opacity: 0.7;
}

.hero-orbit-2::before {
  background: var(--accent-indigo);
  box-shadow: 0 0 10px var(--accent-indigo);
  top: auto;
  bottom: -4px;
}

.hero-platform {
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
  width: 380px;
  height: 70px;
  background: radial-gradient(ellipse at center, var(--glow-blue) 0%, transparent 65%);
  filter: blur(30px);
  z-index: 1;
}

/* Glass pedestal - the logo never sits in a cheap square */
.hero-logo-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.4rem;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015) 42%),
    linear-gradient(150deg, rgba(21, 38, 68, 0.85), rgba(10, 17, 28, 0.9));
  border: 1px solid var(--border-subtle);
  box-shadow:
    0 40px 90px -30px rgba(0, 0, 0, 0.85),
    0 0 60px -18px rgba(31, 111, 235, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 -1px 0 rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.hero-logo-wrap::before {
  content: '';
  position: absolute;
  top: 4%;
  left: 8%;
  right: 32%;
  height: 40%;
  border-radius: 50%;
  background: linear-gradient(190deg, rgba(255, 255, 255, 0.14), transparent);
  filter: blur(8px);
  pointer-events: none;
}

.hero-logo {
  width: clamp(200px, 22vw, 260px);
  height: clamp(200px, 22vw, 260px);
  object-fit: contain;
  border-radius: var(--radius-lg);
  filter: drop-shadow(0 8px 26px rgba(0, 0, 0, 0.55))
    drop-shadow(0 0 22px rgba(70, 214, 245, 0.22));
}

/* ============================================================
   10. FEATURED PROJECT - DK LUDO
   ============================================================ */
.featured {
  position: relative;
  background:
    radial-gradient(760px 420px at 85% 20%, rgba(31, 111, 235, 0.10), transparent 65%),
    linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.featured-content {
  position: relative;
  z-index: 2;
}

.featured-title {
  font-size: clamp(2.4rem, 4.6vw, 3.6rem);
  margin-bottom: 1rem;
}

.featured-tagline {
  font-size: 1.18rem;
  color: var(--accent-cyan);
  margin-bottom: 0.9rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.featured-desc {
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
  font-size: clamp(0.98rem, 1.3vw, 1.06rem);
  line-height: 1.75;
  max-width: 520px;
}

.featured-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

/* Play Store badge (Coming Soon - no fake live link) */
.play-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.66rem 1.2rem;
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, #0D141F, #0A1018);
  border: 1px solid var(--border-subtle);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 6px 18px -10px rgba(0, 0, 0, 0.7);
  transition: transform var(--t-base), border-color var(--t-base), box-shadow var(--t-base);
  cursor: default;
}

.play-store-btn:hover {
  border-color: var(--border-strong);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 10px 22px -12px rgba(0, 0, 0, 0.7);
  transform: translateY(-1px);
}

.play-store-icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.play-store-text {
  text-align: left;
  line-height: 1.2;
  display: flex;
  flex-direction: column;
}

.play-store-text small {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.play-store-text strong {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* ---------- Phone showcase ---------- */
.phone-showcase {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 620px;
}

.phone-glow {
  position: absolute;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(31, 111, 235, 0.16) 0%, transparent 68%);
  filter: blur(40px);
}

.phone-frame {
  position: relative;
  z-index: 2;
  width: 300px;
  border-radius: 42px;
  padding: 12px;
  background: linear-gradient(165deg, rgba(30, 48, 74, 0.95), rgba(9, 14, 24, 0.98));
  border: 1px solid var(--border-strong);
  box-shadow:
    0 40px 90px -30px rgba(0, 0, 0, 0.85),
    0 0 50px -20px rgba(31, 111, 235, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.phone-frame::after {
  content: '';
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 6px;
  border-radius: 6px;
  background: rgba(6, 9, 15, 0.9);
  z-index: 3;
}

.phone-frame img {
  border-radius: 32px;
  width: 100%;
  height: auto;
}

.phone-frame-back {
  position: absolute;
  z-index: 1;
  width: 250px;
  border-radius: 34px;
  padding: 10px;
  background: linear-gradient(165deg, rgba(24, 40, 62, 0.8), rgba(8, 12, 20, 0.9));
  border: 1px solid var(--border-subtle);
  transform: rotate(-9deg) translateY(-18px);
  opacity: 0.9;
  box-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.8);
}

.phone-frame-back img {
  border-radius: 26px;
  width: 100%;
  height: auto;
}

/* ============================================================
   11. DK LUDO FEATURE CARDS
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.feature-card {
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(170deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01)),
    var(--bg-card);
  border: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
  transition: transform var(--t-base), border-color var(--t-base), box-shadow var(--t-base), background var(--t-base);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
  opacity: 0;
  transition: opacity var(--t-base);
}

.feature-card:hover {
  transform: translateY(-5px);
  background:
    linear-gradient(170deg, rgba(31, 111, 235, 0.06), rgba(255, 255, 255, 0.01)),
    var(--bg-card-hover);
  border-color: var(--border-strong);
  box-shadow: 0 20px 44px -18px rgba(0, 0, 0, 0.7);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: linear-gradient(160deg, rgba(70, 214, 245, 0.14), rgba(31, 111, 235, 0.06));
  border: 1px solid rgba(70, 214, 245, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  color: var(--accent-cyan);
  transition: all var(--t-base);
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--accent-cyan);
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card:hover .feature-icon {
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(70, 214, 245, 0.22);
}

.feature-title {
  font-size: 1.12rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.feature-desc {
  color: var(--text-secondary);
  font-size: 0.93rem;
  line-height: 1.7;
}

/* ============================================================
   12. WHY DK NOVA
   ============================================================ */
.why-section {
  position: relative;
  background:
    radial-gradient(800px 420px at 12% 40%, rgba(81, 140, 248, 0.08), transparent 60%),
    linear-gradient(180deg, var(--bg-secondary), var(--bg-primary));
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.why-content {
  position: relative;
  z-index: 2;
}

.why-text {
  color: var(--text-secondary);
  font-size: clamp(0.98rem, 1.3vw, 1.08rem);
  line-height: 1.8;
  margin-bottom: var(--space-md);
  max-width: 560px;
}

.why-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.why-point {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1.15rem;
  border-radius: var(--radius-md);
  background:
    linear-gradient(170deg, rgba(255, 255, 255, 0.03), transparent),
    var(--bg-card);
  border: 1px solid var(--border-subtle);
  transition: transform var(--t-base), border-color var(--t-base), box-shadow var(--t-base);
}

.why-point:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  box-shadow: 0 14px 30px -16px rgba(0, 0, 0, 0.7);
}

.why-point-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: linear-gradient(160deg, rgba(70, 214, 245, 0.13), rgba(31, 111, 235, 0.05));
  border: 1px solid rgba(70, 214, 245, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
}

.why-point-icon svg {
  width: 19px;
  height: 19px;
  stroke: var(--accent-cyan);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.why-point-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
  color: var(--text-primary);
}

.why-point-desc {
  color: var(--text-muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

/* Why visual - ring + logo core */
.why-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
}

.why-visual-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
}

.why-visual-ring-1 {
  width: 360px;
  height: 360px;
  border-color: rgba(70, 214, 245, 0.18);
}

.why-visual-ring-2 {
  width: 460px;
  height: 460px;
  border-color: rgba(139, 140, 248, 0.12);
}

.why-visual-core {
  width: 210px;
  height: 210px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01)),
    linear-gradient(150deg, rgba(18, 34, 58, 0.9), rgba(9, 14, 24, 0.95));
  border: 1px solid var(--border-subtle);
  box-shadow:
    0 30px 70px -26px rgba(0, 0, 0, 0.85),
    0 0 50px -20px rgba(31, 111, 235, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.1rem;
}

.why-visual-core img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: var(--radius-lg);
}

/* ============================================================
   13. ABOUT
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.about-content {
  position: relative;
  z-index: 2;
}

.about-text {
  color: var(--text-secondary);
  font-size: clamp(0.98rem, 1.3vw, 1.08rem);
  line-height: 1.8;
  margin-bottom: 1.6rem;
  max-width: 560px;
}

.about-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1.7rem;
}

/* Premium capability buttons — same design language as the primary CTA (btn-primary) */
.about-list-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.62rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  color: #04070C;
  white-space: nowrap;
  cursor: default;
  background: linear-gradient(125deg, #38C9F2 0%, #2E8BF0 58%, #1F6FEB 100%);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.35) inset,
    0 10px 28px -8px rgba(31, 111, 235, 0.45);
  transition: transform var(--t-base), box-shadow var(--t-base),
    background var(--t-base), border-color var(--t-base);
}

.about-list-item:hover {
  transform: translateY(-2px);
  background: linear-gradient(125deg, #57D6F7 0%, #3E9AF7 58%, #2A7CF2 100%);
  border-color: rgba(255, 255, 255, 0.42);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.42) inset,
    0 16px 34px -10px rgba(31, 111, 235, 0.6);
}

/* Built in India — refined dark-glass badge with a blue/cyan accent to match the buttons */
.about-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.62rem 1.1rem;
  border-radius: var(--radius-sm);
  background:
    linear-gradient(160deg, rgba(56, 201, 242, 0.12), rgba(31, 111, 235, 0.05) 62%),
    var(--bg-glass-soft);
  border: 1px solid rgba(56, 201, 242, 0.38);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 8px 22px -12px rgba(0, 0, 0, 0.6);
  color: var(--text-primary);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: transform var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast);
}

.about-badge:hover {
  transform: translateY(-1px);
  border-color: rgba(56, 201, 242, 0.6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 10px 26px -12px rgba(31, 111, 235, 0.4);
}

.about-badge .india-flag {
  width: 1.1em;
  height: 0.72em;
}

.about-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-visual-glow {
  position: absolute;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(31, 111, 235, 0.16) 0%, transparent 66%);
  filter: blur(40px);
}

.about-visual-card {
  position: relative;
  z-index: 2;
  width: 280px;
  padding: 2rem;
  text-align: center;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01)),
    linear-gradient(165deg, rgba(18, 34, 58, 0.92), rgba(9, 14, 24, 0.95));
  border: 1px solid var(--border-subtle);
  box-shadow:
    0 32px 70px -28px rgba(0, 0, 0, 0.85),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.about-visual-card img {
  width: 110px;
  height: 110px;
  object-fit: contain;
  border-radius: var(--radius-lg);
  margin: 0 auto 1.2rem;
}

.about-visual-card h3 {
  font-size: 1.3rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.35rem;
}

.about-visual-card p {
  color: var(--text-muted);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ============================================================
   14. PROJECT CARDS
   ============================================================ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.35rem;
}

.project-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(170deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01)),
    var(--bg-card);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  transition: transform var(--t-base), border-color var(--t-base), box-shadow var(--t-base);
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-strong);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.75);
}

.project-card-image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(160deg, #0A1424, #0D1524);
}

.project-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--t-base);
}

.project-card:hover .project-card-image img {
  transform: scale(1.05);
}

/* Status badge (real, not fake metrics) */
.project-card-overlay {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
}

.project-status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.34rem 0.75rem;
  border-radius: var(--radius-full);
  background: rgba(6, 10, 18, 0.72);
  border: 1px solid rgba(70, 214, 245, 0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-cyan);
}

.project-status::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan);
}

.project-card-body {
  display: flex;
  flex-direction: column;
  padding: 1.4rem 1.5rem 1.5rem;
  flex: 1;
}

.project-card-category {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.project-card-title {
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 0.45rem;
  color: var(--text-primary);
}

.project-card-desc {
  color: var(--text-secondary);
  font-size: 0.93rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

/* CTA link */
.project-card-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-cyan);
  transition: gap var(--t-base), color var(--t-fast);
}

.project-card-link svg {
  transition: transform var(--t-base);
}

.project-card-link:hover {
  color: #ffffff;
  gap: 0.7rem;
}

/* Placeholder cards */
.project-card-placeholder {
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  padding: 1.5rem;
  min-height: 200px;
  border-style: dashed;
  border-color: var(--border-subtle);
  background:
    radial-gradient(400px 200px at 20% 0%, rgba(31, 111, 235, 0.05), transparent 60%),
    var(--bg-card);
}

.project-card-placeholder:hover {
  border-color: var(--border-strong);
}

.placeholder-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-glass-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.placeholder-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.placeholder-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--text-primary);
}

.placeholder-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ============================================================
   15. CONTACT
   ============================================================ */
.contact-section {
  position: relative;
  background:
    radial-gradient(760px 460px at 85% 30%, rgba(31, 111, 235, 0.08), transparent 62%),
    linear-gradient(180deg, var(--bg-secondary), var(--bg-primary));
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}

.contact-info {
  position: relative;
}

/* ============================================================
   16. PREMIUM SOCIAL ICONS
   Recognizable platform branding — brand colour in the
   default state on a subtle glass tile; restrained elevation
   and platform glow on hover/focus. Applies to the contact
   page and the footer consistently.
   ============================================================ */
.social-link,
.social-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012) 60%);
  border: 1px solid var(--border-subtle);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 4px 14px -8px rgba(0, 0, 0, 0.7);
  transition: transform var(--t-base), border-color var(--t-base),
    box-shadow var(--t-base), background var(--t-base), color var(--t-fast), filter var(--t-base);
}

.social-link svg,
.social-icon-btn svg {
  width: 20px;
  height: 20px;
  transition: transform var(--t-base);
}

.social-link:hover,
.social-icon-btn:hover,
.social-link:focus-visible,
.social-icon-btn:focus-visible {
  transform: translateY(-3px) scale(1.04);
  border-color: var(--border-strong);
}

.social-link:hover svg,
.social-icon-btn:hover svg {
  transform: scale(1.1);
}

/* Default brand colours (recognizable in resting state, not monochrome) */
.social-x {
  color: #FFFFFF;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02) 60%);
}
.social-x:hover {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04) 60%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 12px 26px -12px rgba(255, 255, 255, 0.4);
}

.social-fb {
  color: #1877F2;
  background: linear-gradient(160deg, rgba(24, 119, 242, 0.16), rgba(24, 119, 242, 0.04) 60%);
}
.social-fb:hover {
  background: linear-gradient(160deg, rgba(24, 119, 242, 0.28), rgba(24, 119, 242, 0.08) 60%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 12px 26px -12px rgba(24, 119, 242, 0.6);
}

.social-ig {
  color: #E1306C;
  background: linear-gradient(160deg, rgba(225, 48, 108, 0.14), rgba(129, 52, 175, 0.05) 60%);
}
.social-ig:hover {
  background: linear-gradient(160deg, rgba(225, 48, 108, 0.26), rgba(129, 52, 175, 0.1) 60%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 12px 26px -12px rgba(225, 48, 108, 0.6);
}

.social-yt {
  color: #FF0000;
  background: linear-gradient(160deg, rgba(255, 0, 0, 0.16), rgba(255, 0, 0, 0.04) 60%);
}
.social-yt:hover {
  background: linear-gradient(160deg, rgba(255, 0, 0, 0.28), rgba(255, 0, 0, 0.08) 60%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 12px 26px -12px rgba(255, 0, 0, 0.6);
}

.social-wa {
  color: #25D366;
  background: linear-gradient(160deg, rgba(37, 211, 102, 0.16), rgba(37, 211, 102, 0.04) 60%);
}
.social-wa:hover {
  background: linear-gradient(160deg, rgba(37, 211, 102, 0.28), rgba(37, 211, 102, 0.08) 60%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 12px 26px -12px rgba(37, 211, 102, 0.6);
}


/* ============================================================
   17. FOOTER
   ============================================================ */
.footer {
  position: relative;
  margin-top: var(--space-xl);
  background:
    linear-gradient(180deg, transparent, rgba(10, 17, 28, 0.9)),
    #060A12;
  border-top: 1px solid var(--border-subtle);
  padding: 0 0 2rem;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: -140px;
  left: 50%;
  transform: translateX(-50%);
  width: 640px;
  height: 220px;
  background: radial-gradient(ellipse, rgba(70, 214, 245, 0.07), transparent 70%);
  filter: blur(30px);
  pointer-events: none;
}

.footer-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding: 3.5rem 0 2.5rem;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.9rem;
}

.footer-logo img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 10px;
  background: #05070D;
  padding: 2px;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 0 16px rgba(70, 214, 245, 0.1);
}

.footer-tagline {
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 0.6rem;
}

.footer-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 300px;
}

.footer-heading {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 1.1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color var(--t-fast), transform var(--t-fast);
  width: fit-content;
}

.footer-link::before {
  content: '';
  width: 0;
  height: 1px;
  background: var(--accent-cyan);
  transition: width var(--t-base);
}

.footer-link:hover {
  color: var(--text-primary);
  transform: translateX(2px);
}

.footer-link:hover::before {
  width: 14px;
}

.footer-bottom {
  position: relative;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.footer-copyright {
  font-size: 0.82rem;
  color: var(--text-dim);
}

.footer-social {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

/* ============================================================
   18. PAGE HERO (subpages: About, Contact, DK Ludo, etc.)
   ============================================================ */
.page-hero {
  position: relative;
  padding: calc(var(--header-height) + clamp(3rem, 8vw, 6rem)) 0 clamp(2.5rem, 6vw, 4rem);
  overflow: hidden;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.page-hero-title {
  font-size: clamp(2.3rem, 5.4vw, 3.9rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.06;
  margin-top: 0.6rem;
  margin-bottom: 1.1rem;
}

.page-hero-subtitle {
  color: var(--text-secondary);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.75;
  max-width: 600px;
}

/* ============================================================
   19. CONTENT / POLICY PAGES
   ============================================================ */
.content-page {
  position: relative;
  /* Clear the fixed header before the first content (privacy / terms / dkludo pages) */
  padding: calc(var(--header-height) + clamp(2.5rem, 5vw, 4rem)) 0 var(--space-xl);
}

.content-site {
  max-width: 820px;
  margin: 0 auto;
}

.content-section {
  padding: clamp(1.4rem, 3vw, 2rem);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(170deg, rgba(255, 255, 255, 0.03), transparent),
    var(--bg-card);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-1);
  margin-bottom: 1.5rem;
}

.content-section-inner {
  margin-bottom: 1.25rem;
}

.content-section h2 {
  font-size: clamp(1.35rem, 2.6vw, 1.7rem);
  font-weight: 600;
  margin-bottom: 0.8rem;
  color: var(--text-primary);
}

.content-section h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 1.2rem 0 0.6rem;
  color: var(--text-primary);
}

.content-section p {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.75;
  margin-bottom: 0.9rem;
}

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

.content-section ul {
  list-style: disc;
  padding-left: 1.3rem;
  margin-bottom: 1rem;
  display: grid;
  gap: 0.4rem;
}

.content-section ul li {
  color: var(--text-secondary);
  font-size: 0.97rem;
  line-height: 1.7;
}

.content-section a {
  color: var(--accent-cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.content-section a:hover {
  color: #ffffff;
}

.content-updated {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 1.6rem;
}

/* ============================================================
   19.5 CONTACT PAGE — EDITORIAL COMPOSITION
   ============================================================ */
.contact-page {
  position: relative;
  /* Always clear the fixed header before the editorial content on all viewports */
  padding: calc(var(--header-height) + clamp(3rem, 8vw, 6rem)) 0 clamp(3rem, 6vw, 5rem);
  overflow: hidden;
}

.contact-page-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
  min-height: min(72vh, 760px);
}

/* ---------- Left: editorial content ---------- */
.contact-col {
  position: relative;
}

.contact-editorial {
  max-width: 560px;
}

.contact-title {
  font-size: clamp(2.6rem, 5.6vw, 4.4rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin-bottom: 1.6rem;
}

.contact-intro {
  color: var(--text-secondary);
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  line-height: 1.8;
  margin-bottom: 2.4rem;
  max-width: 480px;
}

/* Email — direct CTA, not a box */
.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.4rem;
  border-radius: var(--radius-md);
  background:
    linear-gradient(160deg, rgba(31, 111, 235, 0.16), rgba(70, 214, 245, 0.05) 62%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.03), transparent);
  border: 1px solid rgba(70, 214, 245, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 14px 34px -18px rgba(0, 0, 0, 0.7);
  transition: transform var(--t-base), border-color var(--t-base), box-shadow var(--t-base);
  max-width: 100%;
}

.contact-email:hover {
  transform: translateY(-2px);
  border-color: var(--border-accent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 18px 44px -18px rgba(31, 111, 235, 0.5);
}

.contact-email:hover .contact-email-arrow {
  transform: translateX(4px);
}

.contact-email-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact-email-address {
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text-primary);
  word-break: break-all;
}

.contact-email-arrow {
  color: var(--accent-cyan);
  display: inline-flex;
  flex-shrink: 0;
  transition: transform var(--t-base);
}

.contact-email-arrow svg {
  width: 20px;
  height: 20px;
}

.contact-location {
  margin-top: 1.4rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

/* ---------- Official Channels (Follow Our Work) ---------- */
.contact-channels {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: clamp(1.5rem, 3vw, 2rem);
  border-top: 1px solid var(--border-subtle);
  max-width: 560px;
}

.channels-icons {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  align-items: center;
}

/* Prominent Instagram CTA */
.channel-instagram {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.05rem 1.2rem;
  margin-bottom: 1.2rem;
  border-radius: var(--radius-md);
  background:
    linear-gradient(130deg, rgba(129, 52, 175, 0.16), rgba(220, 39, 67, 0.10) 55%, rgba(240, 149, 51, 0.06) 100%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.03), transparent);
  border: 1px solid rgba(220, 39, 67, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 14px 34px -18px rgba(0, 0, 0, 0.7);
  transition: transform var(--t-base), border-color var(--t-base), box-shadow var(--t-base);
}

.channel-instagram:hover {
  transform: translateY(-2px);
  border-color: rgba(188, 24, 136, 0.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 18px 40px -18px rgba(188, 24, 136, 0.45);
}

.channel-instagram:hover .channel-ig-arrow {
  transform: translateX(4px);
}

.channel-ig-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.channel-ig-icon svg {
  width: 24px;
  height: 24px;
}

.channel-ig-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
  min-width: 0;
}

.channel-ig-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
}

.channel-ig-sub {
  font-size: 0.86rem;
  color: var(--text-secondary);
}

.channel-ig-arrow {
  margin-left: auto;
  color: var(--text-muted);
  flex-shrink: 0;
  display: inline-flex;
  transition: transform var(--t-base), color var(--t-fast);
}

.channel-ig-arrow svg {
  width: 20px;
  height: 20px;
}

/* ---------- India flag component (safe inline SVG, not emoji) ---------- */
.india-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* 64:42 waving cloth; ~18-24px wide, crisp at small sizes */
  width: 1.15em;
  height: 0.755em;
  flex-shrink: 0;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35), 0 1px 2px rgba(0, 0, 0, 0.4);
  vertical-align: -0.14em;
}

.india-flag svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* .india-flag component replaces the old emoji-only .flag */


/* ============================================================
   19.6 CONTACT PAGE — TECHNOLOGY VISUAL (right side)
   ============================================================ */
.contact-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 520px;
}

.cv-aura {
  position: absolute;
  width: 480px;
  height: 480px;
  background:
    radial-gradient(circle at 38% 30%, rgba(43, 120, 255, 0.22), transparent 58%),
    radial-gradient(circle at 70% 70%, rgba(139, 108, 248, 0.14), transparent 55%);
  filter: blur(42px);
}

.cv-grid {
  position: absolute;
  inset: 8% 6%;
  background-image:
    linear-gradient(rgba(150, 180, 220, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(150, 180, 220, 0.06) 1px, transparent 1px);
  background-size: 50px 50px;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, black 20%, transparent 74%);
  mask-image: radial-gradient(circle at 50% 50%, black 20%, transparent 74%);
}

.cv-orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
}

.cv-orbit-1 {
  width: 380px;
  height: 380px;
  border-color: rgba(70, 214, 245, 0.2);
  animation: orbitSpin 30s linear infinite;
}

.cv-orbit-2 {
  width: 480px;
  height: 480px;
  border-color: rgba(139, 140, 248, 0.12);
  animation: orbitSpin 42s linear infinite reverse;
}

.cv-dot {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.cv-dot-1 {
  top: 14%;
  left: 20%;
  background: var(--accent-cyan);
  box-shadow: 0 0 12px var(--accent-cyan);
}

.cv-dot-2 {
  bottom: 18%;
  right: 22%;
  background: var(--accent-indigo);
  box-shadow: 0 0 12px var(--accent-indigo);
}

.cv-brand {
  position: relative;
  z-index: 2;
  width: 196px;
  height: 196px;
  border-radius: var(--radius-xl);
  padding: 1rem;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01) 42%),
    linear-gradient(150deg, rgba(18, 34, 58, 0.9), rgba(9, 14, 24, 0.92));
  border: 1px solid var(--border-subtle);
  box-shadow:
    0 36px 80px -30px rgba(0, 0, 0, 0.85),
    0 0 60px -20px rgba(31, 111, 235, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: floatLogo 7s ease-in-out infinite;
}

.cv-brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: var(--radius-lg);
}

/* ============================================================
   20. DK LUDO PAGE
   ============================================================ */
.dkludo-hero {
  position: relative;
  padding: calc(var(--header-height) + clamp(3rem, 8vw, 6rem)) 0 clamp(2.5rem, 6vw, 4rem);
  overflow: hidden;
}

.dkludo-hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.dkludo-hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.42rem 0.95rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(70, 214, 245, 0.28);
  background: rgba(70, 214, 245, 0.07);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 1.4rem;
}

.dkludo-hero-tagline::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 9px var(--accent-cyan);
}

.dkludo-hero-title {
  font-size: clamp(2.3rem, 5.4vw, 3.9rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.06;
  margin-bottom: 1.1rem;
}

.dkludo-hero-desc {
  color: var(--text-secondary);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.75;
  max-width: 620px;
  margin-bottom: 1.8rem;
}

.dkludo-hero-grid {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* DKLudo hero phone showcase container */
.dkludo-hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 520px;
}

.dkludo-hero-visual .phone-frame-back {
  left: 50%;
  top: 52%;
}

.dkludo-hero-visual .phone-frame {
  box-shadow:
    0 40px 90px -30px rgba(0, 0, 0, 0.85),
    0 0 50px -20px rgba(31, 111, 235, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

/* Game gallery */
.game-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 0.5rem;
}

.game-gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: linear-gradient(160deg, #0A1424, #0D1524);
  box-shadow: var(--shadow-2);
  transition: transform var(--t-base), border-color var(--t-base), box-shadow var(--t-base);
}

.game-gallery-item:hover {
  transform: translateY(-5px);
  border-color: var(--border-strong);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.75);
}

.game-gallery-item img {
  width: 100%;
  height: auto;
  display: block;
}

.game-gallery-caption {
  padding: 0.85rem 1rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  border-top: 1px solid var(--border-subtle);
  background: rgba(8, 13, 22, 0.7);
}

/* ============================================================
   21. BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 900;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: linear-gradient(160deg, rgba(21, 38, 68, 0.9), rgba(9, 14, 24, 0.95));
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--t-base), transform var(--t-base), visibility var(--t-base), background var(--t-fast);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: linear-gradient(160deg, rgba(31, 111, 235, 0.4), rgba(9, 14, 24, 0.95));
  border-color: var(--border-accent);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

/* Particles canvas is intentionally left in the DOM but no longer
   animated (kept for layout stability; invisible). */
#particles-canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

/* ============================================================
   22. KEYFRAMES
   ============================================================ */
@keyframes floatLogo {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes glowFloat {
  0%, 100% { transform: translate(0, 0); opacity: 0.9; }
  50% { transform: translate(18px, -16px); opacity: 0.7; }
}

@keyframes platformPulse {
  0%, 100% { opacity: 0.75; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.08); }
}

@keyframes orbitSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(70, 214, 245, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(70, 214, 245, 0); }
  100% { box-shadow: 0 0 0 0 rgba(70, 214, 245, 0); }
}

/* ============================================================
   23. RESPONSIVE (mobile-first)
   ============================================================ */
@media (max-width: 1080px) {
  .hero-content,
  .featured-grid,
  .why-grid,
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: left;
  }

  .hero {
    padding-top: calc(var(--header-height) + 1.5rem);
  }

  .hero-visual {
    order: -1;
    min-height: 360px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-visual {
    min-height: 360px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-page-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    min-height: 0;
  }

  .contact-visual {
    min-height: 360px;
    max-height: 460px;
  }
}

@media (max-width: 900px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .game-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- Mobile performance: lighter decorative motion on small screens ---------- */
@media (max-width: 768px) {
  /* Stop large rotational decorations — transform-only but still compositing cost on
     small devices; the premium static look is preserved. */
  .hero-orbit-1,
  .hero-orbit-2,
  .cv-orbit-1,
  .cv-orbit-2,
  .hero-logo-wrap {
    animation: none;
  }

  /* Cap large blur radii on small screens to reduce paint cost while keeping the soft glow. */
  .hero-glow,
  .cv-aura {
    filter: blur(46px);
  }
}

@media (max-width: 640px) {
  .section {
    padding: 3rem 0;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .why-points {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .game-gallery {
    grid-template-columns: 1fr;
  }

  .phone-showcase {
    min-height: 460px;
  }

  .phone-frame {
    width: 260px;
  }

  .phone-frame-back {
    width: 220px;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .hero-orbit-1 { width: 300px; height: 300px; }
  .hero-orbit-2 { width: 360px; height: 360px; }

  /* Contact page mobile refinements */
  .contact-email {
    width: 100%;
    flex-wrap: wrap;
    gap: 0.5rem 0.85rem;
  }

  .contact-email-address {
    width: 100%;
    order: 3;
  }

  .contact-email-arrow {
    margin-left: auto;
  }

  .channels-icons {
    gap: 0.55rem;
  }

  .channel-instagram {
    width: 100%;
  }

  .cv-brand {
    width: 168px;
    height: 168px;
  }

  .cv-orbit-1 { width: 300px; height: 300px; }
  .cv-orbit-2 { width: 380px; height: 380px; }
}

@media (max-width: 420px) {
  .logo-text {
    font-size: 1.08rem;
    letter-spacing: 0.1em;
  }

  .contact-title {
    font-size: 2.3rem;
  }
}

/* ============================================================
   24. REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .reveal,
  .reveal-left,
  .reveal-right {
    opacity: 1;
    transform: none;
  }
}
