/* ==========================================================================
   VEOSTA — Modern Luxury Design System
   Tagline: THE NEXT NEVER ENDS
   ========================================================================== */

/* Fonts loaded via preconnected HTML link in <head> for maximum speed */

:root {
  /* Colors */
  --bg-deep: #05070d;
  --bg-surface: #0a0e19;
  --bg-card: rgba(14, 21, 37, 0.78);
  --bg-card-hover: rgba(20, 30, 52, 0.92);
  --border-glass: rgba(255, 255, 255, 0.1);
  --border-glass-bright: rgba(255, 255, 255, 0.22);
  --border-gold: rgba(212, 175, 55, 0.5);
  
  --gold-primary: #d4af37;
  --gold-light: #f5e197;
  --gold-dark: #997519;
  --gold-gradient: linear-gradient(135deg, #faebb5 0%, #d4af37 50%, #aa8222 100%);
  
  --cyan-primary: #38bdf8;
  --cyan-gradient: linear-gradient(135deg, #7dd3fc 0%, #0284c7 100%);
  
  --text-white: #ffffff;
  --text-platinum: #e2e8f0;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  /* Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 9999px;
  
  /* Shadows & Glows */
  --shadow-card: 0 16px 36px -10px rgba(0, 0, 0, 0.65);
  --glow-gold: 0 0 25px rgba(212, 175, 55, 0.3);
  --glow-cyan: 0 0 30px rgba(56, 189, 248, 0.22);
  --glow-subtle: 0 0 15px rgba(255, 255, 255, 0.08);

  /* Fonts */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ==========================================================================
   Base & Reset
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: auto;
  font-size: 16px;
  background-color: var(--bg-deep);
  width: 100%;
  margin: 0;
  padding: 0;
  scroll-padding-top: calc(76px + env(safe-area-inset-top, 0px));
  overscroll-behavior-y: none;
}

body {
  font-family: var(--font-body);
  color: var(--text-platinum);
  background-color: var(--bg-deep);
  background-image: 
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(30, 58, 138, 0.28), transparent 70%),
    radial-gradient(ellipse 60% 40% at 90% 20%, rgba(212, 175, 55, 0.1), transparent 60%),
    radial-gradient(ellipse 50% 30% at 10% 80%, rgba(14, 165, 233, 0.08), transparent 50%);
  min-height: 100vh;
  min-height: 100dvh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  width: 100%;
  margin: 0;
  padding: 0;
  overscroll-behavior-y: none;
}

#main-content {
  position: relative;
  width: 100%;
  overflow-x: clip;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

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

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

/* Widescreen Fluid Containers (Eliminating Empty Borders) */
.container {
  width: 100%;
  max-width: 1560px;
  margin: 0 auto;
  padding: 0 36px;
}

@media (min-width: 1800px) {
  .container {
    max-width: 1720px;
    padding: 0 48px;
  }
}

/* Starfield Background Canvas */
#starfield-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.85;
}

/* ==========================================================================
   Header & Navbar
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  background: rgba(5, 7, 13, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: env(safe-area-inset-top, 0px);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  background: rgba(5, 7, 13, 0.95);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  padding: 0 36px;
  max-width: 1560px;
  margin: 0 auto;
}

@media (min-width: 1800px) {
  .nav-container {
    max-width: 1720px;
    padding: 0 48px;
  }
}

/* Brand Logo */
.brand-link {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-emblem-wrap {
  position: relative;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-emblem-wrap svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.5));
}

.brand-text-block {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  color: var(--text-white);
  line-height: 1.1;
}

.brand-a-lambda {
  font-family: system-ui, -apple-system, sans-serif;
  font-weight: 700;
  display: inline-block;
  letter-spacing: 0.02em;
  color: inherit;
}

.brand-tagline {
  font-family: var(--font-heading);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  background: linear-gradient(135deg, #ffffff 0%, #faebb5 25%, #d4af37 60%, #e5a93b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
  filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.45));
  display: block;
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
}

.nav-item > a {
  position: relative;
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--text-platinum);
  padding: 8px 4px;
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-item > a:hover {
  color: var(--text-white);
}

.nav-item.active > a {
  color: var(--gold-light);
  font-weight: 600;
}

.nav-item.active > a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold-gradient);
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.7);
}

/* Nav Item Link with Chevron Arrow */
.nav-has-dropdown {
  position: relative;
}

.nav-chevron {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0.7;
}

.nav-has-dropdown:hover .nav-chevron,
.nav-has-dropdown:focus-within .nav-chevron {
  transform: rotate(180deg);
  opacity: 1;
  color: var(--gold-light);
}

/* Nav Dropdown Menu */
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 290px;
  background: rgba(11, 16, 27, 0.96);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  padding: 10px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.8), 0 0 25px rgba(212, 175, 55, 0.12);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 200;
}

/* Invisible bridge so hover never breaks when moving mouse down */
.nav-has-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 18px;
}

.nav-has-dropdown:hover .nav-dropdown-menu,
.nav-has-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-header {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  padding: 6px 10px 8px;
}

.nav-dropdown-menu.apps-dropdown-menu {
  min-width: 530px;
}

.apps-dropdown-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(240px, 1fr));
  gap: 4px 8px;
}

.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 10px;
  border-radius: 12px;
  text-decoration: none;
  transition: background 0.18s ease, transform 0.18s ease;
  cursor: pointer;
}

.nav-dropdown-item:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(3px);
}

.dropdown-item-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}

.dropdown-item-info {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  flex: 1;
  min-width: 0;
}

.dropdown-item-title {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
}

.dropdown-item-desc {
  font-size: 0.72rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dropdown-item-badge {
  font-size: 0.65rem;
  font-weight: 700;
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.3);
  padding: 2px 6px;
  border-radius: 6px;
  flex-shrink: 0;
}

.dropdown-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 6px 4px;
}

.nav-dropdown-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold-light);
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.18s ease, color 0.18s ease;
}

.nav-dropdown-footer:hover {
  background: rgba(212, 175, 55, 0.12);
  color: #ffffff;
}

.nav-dropdown-footer .arrow {
  transition: transform 0.2s ease;
}

.nav-dropdown-footer:hover .arrow {
  transform: translateX(4px);
}

/* Action Button & Search */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-search-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  color: #cbd5e1;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.22s ease;
}

.nav-search-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(212, 175, 55, 0.5);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.25);
}

.search-btn-kbd {
  font-size: 0.65rem;
  font-weight: 600;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  letter-spacing: 0.05em;
}

.btn-get-apps {
  padding: 10px 24px;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-white);
  background: rgba(14, 21, 37, 0.85);
  border: 1.2px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-get-apps:hover {
  border-color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.15);
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.4);
  transform: translateY(-2px);
}

/* Mobile Nav Controls (Search + Hamburger) */
.mobile-nav-controls {
  display: none;
  align-items: center;
  gap: 10px;
}

.mobile-search-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mobile-search-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--gold-primary);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--text-white);
  font-size: 1.4rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
}

/* ==========================================================================
   SPA Views Management
   ========================================================================== */
.view-section {
  display: none;
  opacity: 0;
}

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

.view-section.active {
  display: block;
  animation: viewFadeIn 0.15s ease-out forwards;
}

/* ==========================================================================
   VIEW 1: HOMEPAGE (Realistic, Movable, High-Fidelity)
   ========================================================================== */

/* ==========================================================================
   VIEW 1: HOMEPAGE (Widespread Cinematic Realm & Floatable VEOSTA Crest)
   ========================================================================== */

/* Widespread Panoramic Hero (Fluid Responsive Viewport-Height Scaling) */
.home-hero-widespread {
  position: relative;
  width: 100%;
  min-height: clamp(390px, 52vh, 520px);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: clamp(32px, 4.5vh, 54px) clamp(26px, 4vw, 60px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background-color: #05070d;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85);
  margin-top: 10px;
}

.hero-panoramic-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
  object-fit: cover;
  object-position: right center;
  pointer-events: none;
  z-index: 1;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-atmospheric-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    rgba(5, 7, 13, 0.45) 0%, 
    rgba(5, 7, 13, 0.25) 35%, 
    transparent 70%);
  z-index: 2;
  pointer-events: none;
}

/* Floatable & Rotating 3D VEOSTA Official Logo (Image 3 Reference) */
.hero-celestial-floating-logo {
  position: absolute;
  top: clamp(6%, 1.2vh, 8.5%);
  right: 19.8%;
  width: clamp(118px, 9vw, 136px);
  height: clamp(98px, 7.5vw, 112px);
  z-index: 4;
  pointer-events: auto;
  cursor: grab;
  transform-style: preserve-3d;
  animation: celestialLogoFlow 10s ease-in-out infinite;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes celestialLogoFlow {
  0% {
    transform: perspective(1000px) translate3d(0px, -14px, 0px) rotateY(-16deg) rotateX(8deg);
    filter: drop-shadow(0 0 28px rgba(212, 175, 55, 0.85)) drop-shadow(0 0 65px rgba(56, 189, 248, 0.55));
  }
  12.5% {
    transform: perspective(1000px) translate3d(10px, -10px, 6px) rotateY(-8deg) rotateX(4deg);
    filter: drop-shadow(0 0 35px rgba(212, 175, 55, 0.9)) drop-shadow(0 0 75px rgba(56, 189, 248, 0.65));
  }
  25% {
    transform: perspective(1000px) translate3d(14px, 0px, 10px) rotateY(0deg) rotateX(-4deg);
    filter: drop-shadow(0 0 42px rgba(212, 175, 55, 0.95)) drop-shadow(0 0 85px rgba(56, 189, 248, 0.75));
  }
  37.5% {
    transform: perspective(1000px) translate3d(10px, 10px, 6px) rotateY(8deg) rotateX(4deg);
    filter: drop-shadow(0 0 38px rgba(212, 175, 55, 0.92)) drop-shadow(0 0 80px rgba(56, 189, 248, 0.7));
  }
  50% {
    transform: perspective(1000px) translate3d(0px, 14px, 0px) rotateY(16deg) rotateX(8deg);
    filter: drop-shadow(0 0 48px rgba(212, 175, 55, 1)) drop-shadow(0 0 95px rgba(56, 189, 248, 0.85));
  }
  62.5% {
    transform: perspective(1000px) translate3d(-10px, 10px, -6px) rotateY(8deg) rotateX(4deg);
    filter: drop-shadow(0 0 38px rgba(212, 175, 55, 0.92)) drop-shadow(0 0 80px rgba(56, 189, 248, 0.7));
  }
  75% {
    transform: perspective(1000px) translate3d(-14px, 0px, -10px) rotateY(0deg) rotateX(-4deg);
    filter: drop-shadow(0 0 42px rgba(212, 175, 55, 0.95)) drop-shadow(0 0 85px rgba(56, 189, 248, 0.75));
  }
  87.5% {
    transform: perspective(1000px) translate3d(-10px, -10px, -6px) rotateY(-8deg) rotateX(4deg);
    filter: drop-shadow(0 0 35px rgba(212, 175, 55, 0.9)) drop-shadow(0 0 75px rgba(56, 189, 248, 0.65));
  }
  100% {
    transform: perspective(1000px) translate3d(0px, -14px, 0px) rotateY(-16deg) rotateX(8deg);
    filter: drop-shadow(0 0 28px rgba(212, 175, 55, 0.85)) drop-shadow(0 0 65px rgba(56, 189, 248, 0.55));
  }
}

.crest-3d-emblem-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  user-select: none;
  pointer-events: none;
}

.hero-celestial-floating-logo svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Radiant celestial aura behind the crest */
.crest-light-shafts {
  position: absolute;
  top: -30%;
  left: -30%;
  width: 160%;
  height: 160%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.45) 0%, rgba(56, 189, 248, 0.28) 45%, transparent 70%);
  filter: blur(35px);
  z-index: -1;
  pointer-events: none;
  animation: pulseAura 4s ease-in-out infinite;
}

@keyframes pulseAura {
  0%, 100% { opacity: 0.8; transform: scale(0.96); }
  50% { opacity: 1; transform: scale(1.14); }
}

/* Left side text */
.home-hero-text-side {
  position: relative;
  z-index: 3;
  max-width: 580px;
}

.home-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 4.5vw, 4.4rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--text-white);
  line-height: 1.05;
  margin-bottom: 8px;
  text-shadow: 0 4px 25px rgba(0, 0, 0, 0.9);
}

.home-hero-tagline {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 1.7vw, 1.6rem);
  font-weight: 800;
  letter-spacing: 0.22em;
  background: linear-gradient(135deg, #ffffff 0%, #faebb5 25%, #d4af37 60%, #e5a93b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
  margin-bottom: 18px;
  filter: drop-shadow(0 0 22px rgba(212, 175, 55, 0.45));
  display: inline-block;
}

.home-hero-desc {
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  color: var(--text-platinum);
  font-weight: 400;
  line-height: 1.6;
  max-width: 500px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

/* Bento Top Badge Pill (Matching Image 1) */
.bento-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(10, 15, 28, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.22);
  margin-bottom: 14px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold-light);
  text-transform: uppercase;
}

.bento-badge-pill .pill-icon {
  font-size: 0.95rem;
  line-height: 1;
}

/* Bento Feature Tags Row (Matching Image 1) */
.bento-tag-pills-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.bento-tag-pill {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: rgba(14, 21, 37, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #e2e8f0;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.25s ease;
}

.bento-card:hover .bento-tag-pill {
  background: rgba(212, 175, 55, 0.18);
  border-color: rgba(212, 175, 55, 0.4);
  color: #ffffff;
}

/* Bento Navigation Showcase (Explore Games & Explore Apps - Clean Original Art) */
.bento-showcase {
  margin-top: clamp(20px, 3vh, 36px);
  margin-bottom: clamp(36px, 5vh, 60px);
}

.bento-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(18px, 2.5vw, 28px);
}

.bento-card {
  position: relative;
  height: clamp(260px, 34vh, 320px);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(24px, 3.2vh, 34px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background-color: var(--bg-surface);
  box-shadow: var(--shadow-card);
  cursor: pointer;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
  outline: none;
}

@media (hover: hover) and (pointer: fine) and (min-width: 1025px) {
  .bento-card {
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, box-shadow 0.35s ease;
  }
  .bento-card:hover {
    transform: translateY(-7px);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 25px 50px -10px rgba(0, 0, 0, 0.8), 0 0 35px rgba(255, 255, 255, 0.12);
  }
}

@media (max-width: 1024px), (hover: none), (pointer: coarse) {
  .bento-card,
  .bento-card:hover,
  .bento-card:focus,
  .bento-card:active,
  .bento-card:focus-visible,
  .bento-card:visited {
    transform: none !important;
    transition: none !important;
    outline: none !important;
    -webkit-tap-highlight-color: transparent !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    top: 0 !important;
  }
}

.bento-card-bg-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.bento-card-bg-wrap img,
.bento-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

@media (hover: hover) and (pointer: fine) and (min-width: 1025px) {
  .bento-card:hover .bento-card-bg-wrap img,
  .bento-card:hover .bento-card-bg {
    transform: scale(1.06);
  }
}

.bento-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(5, 7, 13, 0) 0%, rgba(5, 7, 13, 0.08) 45%, rgba(5, 7, 13, 0.5) 75%, rgba(5, 7, 13, 0.9) 100%);
  z-index: 2;
}

.bento-card-content {
  position: relative;
  z-index: 3;
  width: 100%;
}

/* Bento Badge Pill (Matching Image 1) */
.bento-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(10, 15, 28, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.22);
  margin-bottom: 12px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold-light);
  text-transform: uppercase;
  width: fit-content;
}

.bento-badge-pill .pill-icon {
  font-size: 0.95rem;
  line-height: 1;
}

/* Bento Heading & Arrow Row (Side-by-side title and circle button) */
.bento-heading-arrow-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 2px;
  margin-bottom: 14px;
}

.bento-text-headings {
  display: flex;
  flex-direction: column;
}

.bento-title {
  font-family: var(--font-heading);
  font-size: 2.15rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7);
}

.bento-subtitle {
  font-size: 1.05rem;
  color: #cbd5e1;
  font-weight: 400;
  margin-top: 4px;
  opacity: 0.95;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.bento-arrow-btn {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #ffffff;
  color: #0b0f19;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 800;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.25s ease;
}

@media (hover: hover) and (pointer: fine) and (min-width: 1025px) {
  .bento-card:hover .bento-arrow-btn {
    transform: translateX(4px) scale(1.05);
    background: #ffffff;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.7);
  }
}

/* Popular Apps & Games Section (5 Core Applications) */
.popular-section {
  padding: 40px 0 60px;
}

.section-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-white);
  letter-spacing: -0.01em;
}

.title-our-popular {
  display: inline;
}

.view-all-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold-primary);
  transition: gap 0.2s ease, color 0.2s ease;
}

.view-all-link:hover {
  color: var(--gold-light);
  gap: 10px;
}

/* 5-Card Popular Grid */
.popular-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.app-card-compact {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 26px 16px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow-card);
  cursor: pointer;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

@media (hover: hover) and (pointer: fine) and (min-width: 1025px) {
  .app-card-compact:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 22px 45px -10px rgba(0, 0, 0, 0.85), 0 0 30px rgba(56, 189, 248, 0.18);
  }

  .app-card-compact:hover .app-card-icon-wrap {
    transform: scale(1.06);
  }
}

.app-card-icon-wrap {
  width: 86px;
  height: 86px;
  border-radius: 22px;
  overflow: hidden;
  margin-bottom: 16px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.6);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.app-card-icon-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-card-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

.app-card-genre {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 18px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

.app-card-badges {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  margin-top: auto;
}

/* Store Badges */
.btn-store-badge {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  width: 100%;
  height: 40px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  color: var(--text-white);
  text-align: left;
  text-decoration: none;
  transition: all 0.22s ease;
}

.btn-store-badge:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-1px);
}

.btn-store-badge.under-review {
  border-color: rgba(212, 175, 55, 0.45);
  background: rgba(212, 175, 55, 0.08);
}

.btn-store-badge.under-review .store-sub {
  color: #fbbf24;
  font-weight: 700;
}

.btn-store-badge svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-store-badge .store-badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.btn-store-badge .store-sub {
  font-size: 0.52rem;
  text-transform: uppercase;
  color: #94a3b8;
  letter-spacing: 0.04em;
  font-weight: 500;
}

.btn-store-badge .store-main {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.01em;
}

/* Why VEOSTA? Section (Clean Curved Earth - Zero Double Text!) */
.why-veosta-section {
  position: relative;
  padding: 80px 0 85px;
  margin-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background-color: #020409;
  background-image: url('../assets/images/banners/why_veosta_earth_clean.webp');
  background-image: image-set(
    url('../assets/images/banners/why_veosta_earth_clean.webp') type('image/webp') 1x
  );
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85);
}

.why-veosta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(5, 7, 13, 0.8) 0%, rgba(5, 7, 13, 0.25) 45%, rgba(5, 7, 13, 0.92) 100%);
  z-index: 1;
}

.why-veosta-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.why-veosta-title {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--text-white);
  letter-spacing: 0.05em;
  margin-bottom: 48px;
  text-shadow: 0 4px 25px rgba(0, 0, 0, 0.9);
}

.why-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.why-pillar-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 20px;
  background: linear-gradient(165deg, rgba(16, 24, 42, 0.84) 0%, rgba(10, 15, 28, 0.90) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  transition: transform 0.28s ease, border-color 0.28s ease, background 0.28s ease, box-shadow 0.28s ease;
}

.why-pillar-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-gold);
  background: linear-gradient(165deg, rgba(20, 30, 52, 0.92) 0%, rgba(12, 18, 34, 0.96) 100%);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.65);
}

/* Luxury Vector SVG Icons for Pillars */
.why-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.12);
  border: 1.5px solid var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  margin-bottom: 18px;
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.3);
}

.why-icon-wrap svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.why-pillar-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 8px;
}

.why-pillar-desc {
  font-size: 0.92rem;
  color: var(--text-platinum);
  opacity: 0.88;
}

/* ==========================================================================
   VIEW 2 & 3: GAMES & APPS LISTINGS
   ========================================================================== */
.listing-hero-card {
  position: relative;
  min-height: clamp(200px, 28vh, 260px);
  min-height: clamp(200px, 28dvh, 260px);
  border-radius: var(--radius-xl);
  overflow: hidden;
  padding: clamp(32px, 4vh, 48px) clamp(28px, 3.8vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: clamp(14px, 2vh, 24px);
  margin-bottom: clamp(26px, 3.8vh, 40px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow-card);
  background-color: var(--bg-surface);
  isolation: isolate;
}

.listing-hero-bg {
  position: absolute;
  inset: -1px;
  background-size: cover;
  background-position: center center;
  z-index: 1;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.listing-hero-card.games-theme,
.listing-hero-card.all-theme {
  min-height: clamp(300px, 36vh, 360px);
  min-height: clamp(300px, 36dvh, 360px);
}

.listing-hero-card.games-theme .listing-hero-bg,
.listing-hero-card.all-theme .listing-hero-bg {
  background-image: url('../assets/images/banners/bento_games_clean.webp?v=v70');
  background-position: center top;
}

.listing-hero-card.apps-theme .listing-hero-bg {
  background-image: url('../assets/images/banners/bento_apps_clean.webp?v=v70');
  background-position: right center;
}

.listing-hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(5, 7, 13, 0.72) 0%,
    rgba(5, 7, 13, 0.48) 32%,
    rgba(5, 7, 13, 0.18) 60%,
    rgba(5, 7, 13, 0.04) 80%,
    transparent 100%
  );
  z-index: 2;
  pointer-events: none;
}

.listing-hero-content {
  position: relative;
  z-index: 3;
  max-width: 620px;
}

.listing-hero-title {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.1;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8), 0 4px 24px rgba(0, 0, 0, 0.65);
}

.listing-hero-desc {
  font-size: 1.2rem;
  color: var(--text-platinum);
  font-weight: 400;
  line-height: 1.5;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8), 0 2px 16px rgba(0, 0, 0, 0.6);
}

/* Grid for Listings */
.listing-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 26px;
  margin-bottom: 70px;
}

.listing-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 26px 24px 22px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.listing-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 22px 48px -10px rgba(0, 0, 0, 0.85), 0 0 35px rgba(56, 189, 248, 0.16);
}

.listing-card-header {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 22px;
}

.listing-card-icon {
  width: 76px;
  height: 76px;
  border-radius: 20px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.listing-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.listing-card-meta {
  flex: 1;
}

.listing-card-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.2;
}

.listing-card-tagline {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--gold-primary);
  margin-bottom: 6px;
}

.listing-card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.listing-card-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  font-size: 1.15rem;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.listing-card:hover .listing-card-arrow {
  background: var(--gold-primary);
  border-color: var(--gold-primary);
  color: #0b0f19;
  transform: scale(1.08) rotate(45deg);
}

.listing-card-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: auto;
}

/* ==========================================================================
   VIEW 4 & 5: DETAIL PAGES
   ========================================================================== */
.detail-view-container {
  padding: 26px 52px 70px;
}

.detail-view-container .subpage-back-row {
  padding-left: 8px;
}

.breadcrumb-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  color: var(--text-dim);
  margin-bottom: 24px;
  padding-left: 8px;
}

.breadcrumb-bar a {
  color: var(--text-muted);
}

.breadcrumb-bar a:hover {
  color: var(--text-white);
}

.breadcrumb-bar .separator {
  color: var(--text-dim);
}

.breadcrumb-bar .current {
  color: var(--gold-light);
  font-weight: 600;
}

.detail-showcase-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.3fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 40px 44px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-card);
}

.detail-info-pane {
  display: flex;
  flex-direction: column;
}

.detail-header-block {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 12px;
}

.detail-header-block .detail-app-icon {
  margin-bottom: 0;
  flex-shrink: 0;
}

.detail-header-block .detail-title-meta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.detail-header-block .detail-app-title {
  margin-bottom: 0;
}

.detail-app-icon {
  width: 96px;
  height: 96px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.75);
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  margin-bottom: 20px;
}

.detail-app-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-app-title {
  font-family: var(--font-heading);
  font-size: 2.7rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.1;
  margin-bottom: 4px;
}

.detail-app-genre {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--gold-primary);
  margin-bottom: 16px;
}

.detail-app-desc {
  font-size: 1.05rem;
  color: var(--text-platinum);
  line-height: 1.6;
  margin-bottom: 26px;
  max-width: 520px;
}

.detail-download-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.detail-download-row .btn-store-badge {
  width: auto;
  min-width: 165px;
  height: 44px;
  padding: 0 18px;
}

.detail-download-row .btn-store-badge .store-sub {
  font-size: 0.55rem;
}

.detail-download-row .btn-store-badge .store-main {
  font-size: 0.88rem;
}

.detail-preview-pane {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #080c14;
  aspect-ratio: 2 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.detail-preview-pane:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.95), 0 0 25px rgba(212, 175, 55, 0.25);
  border-color: rgba(212, 175, 55, 0.5);
}

.detail-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}

.detail-preview-pane:hover .detail-preview-img {
  transform: scale(1.02);
}

.video-play-overlay,
.preview-badge-overlay {
  display: none !important;
}

/* Portrait Device Screenshot Carousels */
.carousel-section {
  margin-bottom: 45px;
}

.carousel-container {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
}

.carousel-nav-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(14, 21, 37, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  cursor: pointer;
  flex-shrink: 0;
  backdrop-filter: blur(10px);
  transition: all 0.2s ease;
}

.carousel-nav-btn:hover {
  background: var(--gold-primary);
  border-color: var(--gold-primary);
  color: #0b0f19;
  transform: scale(1.08);
}

.carousel-track-wrapper {
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  flex: 1;
}

.carousel-track-wrapper::-webkit-scrollbar {
  display: none;
}

.carousel-track {
  display: flex;
  gap: 18px;
  padding: 10px 4px;
  width: max-content;
  margin: 0 auto;
}

.carousel-item {
  flex: 0 0 170px;
  height: 300px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.65);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  background: #0b101b; /* Dark neutral base */
}

.carousel-item:hover {
  transform: scale(1.05);
  border-color: var(--gold-primary);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.85), 0 0 25px rgba(212, 175, 55, 0.3);
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Key Features Grid */
.features-section {
  margin-top: 24px;
  margin-bottom: 30px;
  padding: 0 8px;
}

.features-heading {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 22px;
  padding-left: 4px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.feature-pill-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 14px 18px;
  min-height: 72px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.38);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-pill-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55);
}

.feature-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0b0f19;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.feature-text-box {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.feature-title {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.2;
}

.feature-desc {
  font-size: 0.82rem;
  color: #64748b;
  font-weight: 500;
  line-height: 1.25;
}

/* ==========================================================================
   SUBPAGE NAVIGATION & BACK BUTTONS (Global Across All Subpages)
   ========================================================================== */
.subpage-back-row {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  padding-top: 6px;
}

.subpage-header-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  margin-bottom: 20px;
  padding-top: 0;
  flex-wrap: wrap;
}

.subpage-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text-platinum);
  padding: 8px 18px;
  border-radius: 9999px;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.subpage-back-btn:hover {
  background: rgba(212, 175, 55, 0.16);
  border-color: var(--gold-primary);
  color: var(--gold-light);
  transform: translateX(-3px);
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.25);
}

.subpage-back-btn svg {
  transition: transform var(--transition-fast);
}

.subpage-back-btn:hover svg {
  transform: translateX(-2px);
}

/* Category Switcher Pills on /games and /apps */
.listing-category-switch {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 4px;
  border-radius: 9999px;
  gap: 6px;
}

.category-switch-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  border-radius: 9999px;
  font-family: var(--font-heading);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-muted);
  background: transparent;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.category-switch-pill:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.category-switch-pill.active {
  background: var(--gold-gradient);
  color: #0b0f19;
  box-shadow: 0 2px 10px rgba(212, 175, 55, 0.35);
}

/* Home Section Dual View All Group */
.section-view-all-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-view-all-group .view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--gold-light);
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.section-view-all-group .view-all-link:hover {
  background: rgba(212, 175, 55, 0.16);
  border-color: var(--gold-primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
}

.legal-title {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.15;
  margin-bottom: 12px;
}

/* ==========================================================================
   VIEW 6: ABOUT VEOSTA PAGE
   ========================================================================== */
.about-view-container {
  padding: 50px 0 80px;
}

.about-hero {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 60px;
}

.about-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--gold-primary);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.about-title {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.15;
  margin-bottom: 20px;
}

.about-subtitle {
  font-size: 1.25rem;
  color: var(--text-platinum);
  line-height: 1.6;
}

.about-pillars-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-bottom: 60px;
}

.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 38px 32px;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-card);
}

.about-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.about-card h3 {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 12px;
}

.about-card p {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.about-stats-banner {
  background: linear-gradient(135deg, rgba(14, 21, 37, 0.85) 0%, rgba(30, 58, 138, 0.35) 100%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-xl);
  padding: 44px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
  box-shadow: var(--shadow-card);
}

.stat-item h4 {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-item p {
  font-size: 0.92rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ==========================================================================
   VIEW 7 & 8: LEGAL SUITE (Comprehensive Privacy & Terms)
   ========================================================================== */
.legal-view-container {
  padding: 40px 0 90px;
}

.legal-header-block {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 40px;
}

.legal-badge-tag {
  display: inline-block;
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--gold-primary);
  color: var(--gold-light);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.legal-main-title {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.15;
  margin-bottom: 12px;
}

.legal-meta-info {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.legal-card-body {
  background: var(--bg-card);
  border: 1px solid var(--border-glass-bright);
  border-radius: var(--radius-xl);
  padding: 50px 60px;
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
  max-width: 1200px;
  margin: 0 auto;
}

.legal-section-block {
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-section-block:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.legal-section-heading {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.legal-section-heading span.num {
  color: var(--gold-primary);
  font-size: 1.3rem;
}

.legal-text {
  font-size: 1rem;
  color: var(--text-platinum);
  line-height: 1.75;
  margin-bottom: 16px;
}

.legal-list {
  list-style: disc;
  padding-left: 26px;
  margin-bottom: 18px;
  color: var(--text-platinum);
  line-height: 1.7;
}

.legal-list li {
  margin-bottom: 8px;
}

/* Callout Box for Highlights (GDPR, COPPA, Arbitration) */
.legal-callout-box {
  background: rgba(30, 58, 138, 0.25);
  border-left: 4px solid var(--gold-primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 20px 24px;
  margin: 20px 0;
}

.legal-callout-box strong {
  color: var(--gold-light);
  display: block;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.legal-callout-box p {
  font-size: 0.95rem;
  color: var(--text-platinum);
  line-height: 1.6;
}

.legal-contact-card {
  background: rgba(14, 21, 37, 0.85);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin-top: 30px;
}

.legal-contact-card h4 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--text-white);
  margin-bottom: 8px;
}

.legal-contact-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.legal-contact-card a {
  color: var(--gold-light);
  font-weight: 600;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #020409;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 70px 0 30px;
  margin-top: 40px;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr 1.6fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-col-brand .brand-link {
  margin-bottom: 18px;
}

.footer-mission {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 360px;
}

.footer-social-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.social-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-platinum);
  font-size: 1.05rem;
  transition: all 0.2s ease;
}

.social-icon-btn:hover {
  background: var(--gold-primary);
  border-color: var(--gold-primary);
  color: #0b0f19;
  transform: translateY(-2px);
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-links-list a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.footer-links-list a:hover {
  color: var(--gold-light);
  transform: translateX(3px);
}

.footer-col-subscribe p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
}

.subscribe-form {
  display: flex;
  align-items: center;
  background: rgba(14, 21, 37, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  padding: 4px;
  transition: border-color 0.25s ease;
}

.subscribe-form:focus-within {
  border-color: var(--gold-primary);
}

.subscribe-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 10px 14px;
  color: var(--text-white);
  font-family: inherit;
  font-size: 0.9rem;
}

.subscribe-input::placeholder {
  color: var(--text-dim);
}

.subscribe-btn {
  width: 38px;
  height: 38px;
  border-radius: 6px;
  background: var(--gold-primary);
  color: #0b0f19;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  font-weight: 700;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.subscribe-btn:hover {
  background: var(--gold-light);
  transform: translateX(2px);
}

.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.85rem;
  color: var(--text-dim);
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.footer-legal-links a {
  color: var(--text-dim);
  transition: color 0.2s ease;
}

.footer-legal-links a:hover {
  color: var(--gold-light);
}

/* ==========================================================================
   Modals & Overlays
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-backdrop.active {
  display: flex;
  opacity: 1;
}

.modal-card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-glass-bright);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 520px;
  padding: 36px 32px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9);
  transform: translateY(20px) scale(0.96);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.active .modal-card {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-platinum);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--text-white);
}

.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: rgba(0, 0, 0, 0.94);
  backdrop-filter: blur(20px);
  z-index: 1100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.9);
}

.toast-notice {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1200;
  background: rgba(14, 21, 37, 0.95);
  border: 1px solid var(--gold-primary);
  border-radius: var(--radius-md);
  padding: 14px 22px;
  color: var(--text-white);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  transform: translateY(100px);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.toast-notice.show {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   Mobile Navigation Drawer (Glassmorphic Slide-Out Menu)
   ========================================================================== */
.mobile-drawer-backdrop {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
}

.mobile-drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: absolute;
  top: 0;
  right: 0;
  width: min(85vw, 340px);
  height: 100%;
  background: rgba(10, 14, 25, 0.96);
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: -15px 0 45px rgba(0, 0, 0, 0.85);
  display: flex;
  flex-direction: column;
  padding: 20px 18px 24px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body.drawer-open {
  overflow: hidden !important;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 16px;
}

.mobile-drawer-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-white);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mobile-drawer-close:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--gold-light);
}

.mobile-drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.drawer-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
  color: var(--text-white);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.2s ease;
  text-decoration: none;
}

.drawer-nav-item:hover, .drawer-nav-item:active {
  background: rgba(212, 175, 55, 0.12);
  border-color: rgba(212, 175, 55, 0.35);
  color: var(--gold-light);
  transform: translateX(4px);
}

.drawer-nav-icon {
  font-size: 1.1rem;
  width: 22px;
  text-align: center;
}

.drawer-nav-label {
  flex: 1;
}

.drawer-nav-badge {
  font-size: 0.65rem;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: rgba(212, 175, 55, 0.16);
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: var(--gold-light);
}

/* Sub-items for Games and Apps */
.drawer-nav-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.drawer-sublinks {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 20px;
  margin-top: 2px;
  margin-bottom: 6px;
}

.drawer-sublink {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border-radius: 8px;
  background: rgba(14, 21, 37, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-platinum);
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}

.drawer-sublink:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: rgba(212, 175, 55, 0.3);
  color: var(--text-white);
}

.drawer-mini-icon {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}

.drawer-sub-badge {
  font-size: 0.6rem;
  color: var(--text-dim);
  margin-left: auto;
}

.mobile-drawer-footer {
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.btn-drawer-action {
  width: 100%;
  padding: 12px;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  color: #0b0f19;
  background: var(--gold-gradient);
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 18px rgba(212, 175, 55, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  display: block;
}

.btn-drawer-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(212, 175, 55, 0.6);
}

.drawer-socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1200px) {
  .popular-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  
  .why-pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-top-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 920px) {
  .nav-links, .nav-actions {
    display: none;
  }
  
  .mobile-nav-controls {
    display: flex;
  }

  .mobile-toggle {
    display: flex;
  }

  .home-hero-widespread {
    padding: clamp(24px, 3.8vh, 36px) clamp(22px, 3.5vw, 36px);
    min-height: clamp(260px, 36vh, 340px);
    min-height: clamp(260px, 36dvh, 340px);
  }

  .home-hero-title {
    font-size: clamp(2.2rem, 4vw, 3rem);
  }

  .home-hero-tagline {
    font-size: clamp(0.85rem, 1.8vw, 1.15rem);
    white-space: nowrap;
  }

  .home-hero-desc {
    font-size: clamp(0.85rem, 1.6vw, 1.05rem);
    max-width: 440px;
  }

  .hero-celestial-floating-logo {
    width: clamp(75px, 8.5vw, 95px);
    height: clamp(62px, 7vw, 78px);
    right: 20%;
    top: 7.5%;
    opacity: 0.95;
  }

  /* Bento Grid stays 2 columns side-by-side like desktop */
  .bento-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .bento-card {
    min-height: 220px;
    height: auto;
    padding: 20px 18px;
  }

  .bento-title {
    font-size: clamp(1.15rem, 2.2vw, 1.45rem);
    font-weight: 700;
  }

  .bento-subtitle {
    font-size: clamp(0.75rem, 1.3vw, 0.85rem);
    margin-top: 3px;
  }

  .bento-tag-pills-row {
    display: flex;
    gap: 6px;
    margin-top: 10px;
    flex-wrap: wrap;
  }

  .bento-tag-pill {
    font-size: 0.7rem;
    padding: 3px 9px;
  }

  .detail-showcase-grid {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .about-pillars-row {
    grid-template-columns: 1fr;
  }

  .about-stats-banner {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .legal-card-body {
    padding: 30px 24px;
  }
}

@keyframes celestialLogoFlowMobile {
  0% {
    transform: perspective(600px) translate3d(0px, -5px, 0px) rotateY(-12deg) rotateX(6deg);
    filter: drop-shadow(0 0 14px rgba(212, 175, 55, 0.85)) drop-shadow(0 0 28px rgba(56, 189, 248, 0.5));
  }
  25% {
    transform: perspective(600px) translate3d(4px, 0px, 3px) rotateY(0deg) rotateX(-3deg);
    filter: drop-shadow(0 0 18px rgba(212, 175, 55, 0.95)) drop-shadow(0 0 34px rgba(56, 189, 248, 0.6));
  }
  50% {
    transform: perspective(600px) translate3d(0px, 5px, 0px) rotateY(12deg) rotateX(6deg);
    filter: drop-shadow(0 0 22px rgba(212, 175, 55, 1)) drop-shadow(0 0 38px rgba(56, 189, 248, 0.7));
  }
  75% {
    transform: perspective(600px) translate3d(-4px, 0px, -3px) rotateY(0deg) rotateX(-3deg);
    filter: drop-shadow(0 0 18px rgba(212, 175, 55, 0.95)) drop-shadow(0 0 34px rgba(56, 189, 248, 0.6));
  }
  100% {
    transform: perspective(600px) translate3d(0px, -5px, 0px) rotateY(-12deg) rotateX(6deg);
    filter: drop-shadow(0 0 14px rgba(212, 175, 55, 0.85)) drop-shadow(0 0 28px rgba(56, 189, 248, 0.5));
  }
}

@media (max-width: 640px) {
  html {
    scroll-padding-top: calc(60px + env(safe-area-inset-top, 0px));
  }

  #main-content {
    padding-top: 0;
  }

  #view-home {
    padding-top: 10px;
  }

  .container {
    padding: 0 12px;
  }

  .site-header {
    padding-top: env(safe-area-inset-top, 0px);
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0;
  }

  .nav-container {
    padding: 0 14px;
    height: 60px;
  }

  .brand-emblem-wrap {
    width: 32px;
    height: 32px;
  }

  .brand-name {
    font-size: 1.12rem;
    letter-spacing: 0.22em;
  }

  .brand-tagline {
    font-size: 0.52rem;
  }

  /* Listing hero card for /games and /apps */
  .listing-hero-card,
  .listing-hero-card.games-theme,
  .listing-hero-card.all-theme {
    padding: 18px 18px;
    min-height: 135px;
    margin-top: 14px;
    margin-bottom: 20px;
    border-radius: 14px;
  }

  .listing-hero-card.games-theme .listing-hero-bg,
  .listing-hero-card.all-theme .listing-hero-bg {
    background-position: center center;
  }

  .listing-hero-title {
    font-size: 1.55rem;
    margin-bottom: 6px;
  }

  .listing-hero-desc {
    font-size: 0.78rem;
    line-height: 1.35;
  }

  .listing-cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* HERO BANNER: Scaled landscape proportions matching laptop look */
  .home-hero-widespread {
    padding: 24px 18px 16px;
    min-height: 185px;
    height: clamp(185px, 48vw, 225px);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: 10px;
  }

  .hero-panoramic-bg {
    object-position: 100% 20%;
    background-position: 100% 20%;
  }

  .subpage-header-nav-row {
    margin-top: 10px;
    margin-bottom: 20px;
    gap: 12px;
    padding-top: 0;
  }

  .subpage-back-row {
    margin-top: 10px;
    margin-bottom: 20px;
    padding-top: 0;
  }

  .home-hero-text-side {
    max-width: 56%;
    z-index: 3;
  }

  .home-hero-title {
    font-size: clamp(1.25rem, 5vw, 1.55rem);
    letter-spacing: 0.08em;
    line-height: 1.05;
    margin-bottom: 2px;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.95);
  }

  .home-hero-tagline {
    font-size: clamp(0.55rem, 2.2vw, 0.72rem);
    letter-spacing: 0.14em;
    white-space: nowrap;
    margin-bottom: 5px;
    background: linear-gradient(135deg, #ffffff 0%, #faebb5 25%, #d4af37 60%, #e5a93b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.5));
  }

  .home-hero-desc {
    font-size: clamp(0.6rem, 2vw, 0.72rem);
    line-height: 1.32;
    max-width: 175px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
  }

  /* 3D Crest Emblem: Centered in the middle of the celestial sky gap */
  .hero-celestial-floating-logo {
    width: clamp(46px, 12.5vw, 54px);
    height: clamp(38px, 10.5vw, 44px);
    right: 30%;
    top: 8.5%;
    opacity: 0.95;
    animation: celestialLogoFlowMobile 8s ease-in-out infinite;
  }

  .crest-light-shafts {
    filter: blur(18px);
  }

  /* Bento Showcase: Side-by-Side (2 Columns) on Mobile with Full Panoramic Artwork & Compact Typography */
  .bento-showcase {
    margin-top: 12px;
    margin-bottom: 22px;
  }

  .bento-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    align-items: stretch;
  }

  .bento-card {
    min-height: 0 !important;
    height: clamp(168px, 46vw, 205px) !important;
    max-height: clamp(168px, 46vw, 205px) !important;
    padding: 10px 8px;
    border-radius: 14px;
    transform: none !important;
    transition: none !important;
    outline: none !important;
    -webkit-tap-highlight-color: transparent !important;
    align-self: stretch;
    box-sizing: border-box;
  }

  .bento-card:hover,
  .bento-card:focus,
  .bento-card:active,
  .bento-card:focus-visible {
    transform: none !important;
    border-color: rgba(255, 255, 255, 0.14) !important;
    box-shadow: var(--shadow-card) !important;
    outline: none !important;
    transition: none !important;
  }

  .bento-card-bg-wrap {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
  }

  .bento-card-bg-wrap img,
  .bento-card-bg,
  .bento-card:hover .bento-card-bg-wrap img,
  .bento-card:hover .bento-card-bg,
  .bento-card:focus .bento-card-bg-wrap img,
  .bento-card:focus .bento-card-bg,
  .bento-card:active .bento-card-bg-wrap img,
  .bento-card:active .bento-card-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    object-position: center center !important;
    transform: none !important;
    transition: none !important;
  }

  .bento-arrow-btn,
  .bento-card:hover .bento-arrow-btn,
  .bento-card:focus .bento-arrow-btn,
  .bento-card:active .bento-arrow-btn {
    transform: none !important;
    transition: none !important;
  }

  .bento-card-content {
    position: relative;
    z-index: 3;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    transition: none !important;
  }

  .app-card-compact,
  .app-card-compact:hover,
  .app-card-compact:focus,
  .app-card-compact:active,
  .app-card-compact:focus-visible {
    transform: none !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    box-shadow: var(--shadow-card) !important;
  }

  .app-card-compact:hover .app-card-icon-wrap,
  .app-card-compact:focus .app-card-icon-wrap,
  .app-card-compact:active .app-card-icon-wrap {
    transform: none !important;
  }

  .bento-card-overlay {
    background: linear-gradient(180deg, rgba(5, 7, 13, 0) 0%, rgba(5, 7, 13, 0.05) 55%, rgba(5, 7, 13, 0.65) 80%, rgba(5, 7, 13, 0.94) 100%);
  }

  .bento-badge-pill {
    padding: 2.5px 7px;
    gap: 3px;
    margin-bottom: 4px;
    font-size: 0.52rem;
    letter-spacing: 0.04em;
    border-radius: var(--radius-pill);
  }

  .bento-badge-pill .pill-icon {
    font-size: 0.62rem;
  }

  .bento-heading-arrow-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
    margin-top: 0;
    margin-bottom: 1px;
  }

  .bento-text-headings {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
    overflow: hidden;
  }

  .bento-title {
    font-size: clamp(0.82rem, 2.6vw, 0.95rem);
    font-weight: 800;
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .bento-subtitle {
    font-size: clamp(0.52rem, 1.7vw, 0.6rem);
    margin-top: 1px;
    color: #cbd5e1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .bento-arrow-btn {
    width: 24px;
    height: 24px;
    min-width: 24px;
    border-radius: 50%;
    font-size: 0.72rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: #0b0f19;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  }

  .bento-tag-pills-row,
  .bento-card:hover .bento-tag-pills-row,
  .bento-card:focus .bento-tag-pills-row,
  .bento-card:active .bento-tag-pills-row {
    display: none !important;
  }

  /* Hide words "Our Popular" on mobile view only (displays cleanly as "Apps & Games") */
  .title-our-popular {
    display: none !important;
  }

  .popular-section {
    padding: 24px 0 16px;
  }

  .section-header-row {
    margin-bottom: 16px;
  }

  .section-title {
    font-size: 1.35rem;
  }

  .view-all-link {
    font-size: 0.82rem;
  }

  .popular-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .popular-grid .card-votewar,
  .popular-grid .card-daypouch,
  .popular-grid .app-card-compact:last-child {
    display: none !important;
  }

  .app-card-compact {
    padding: 12px 8px 10px;
    border-radius: 12px;
  }

  .app-card-icon-wrap {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    margin-bottom: 6px;
  }

  .app-card-name {
    font-size: 0.85rem;
    margin-bottom: 2px;
  }

  .app-card-genre {
    font-size: 0.65rem;
    margin-bottom: 8px;
  }

  .app-card-badges {
    gap: 5px;
  }

  .btn-store-badge {
    height: 28px;
    padding: 0 5px;
    gap: 4px;
    border-radius: 6px;
  }

  .btn-store-badge svg {
    width: 12px;
    height: 12px;
  }

  .btn-store-badge .store-sub {
    font-size: 0.4rem;
  }

  .btn-store-badge .store-main {
    font-size: 0.58rem;
  }

  /* Completely Remove Why VEOSTA on Phone View */
  .why-veosta-section {
    display: none !important;
  }

  /* Site Footer Mobile Refinements: Clean spacing after Apps & Games */
  .site-footer {
    padding: 18px 0 24px;
    margin-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .footer-top-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px 10px;
    margin-bottom: 26px;
  }

  .footer-col-brand {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .footer-col-brand .brand-link {
    justify-content: center;
    margin: 0 auto 12px;
  }

  .footer-mission {
    text-align: center;
    margin: 0 auto 16px;
    max-width: 330px;
    font-size: 0.82rem;
    line-height: 1.5;
  }

  .footer-social-row {
    justify-content: center;
    gap: 12px;
    margin: 0 auto;
  }

  .footer-col-title {
    font-size: 0.88rem;
    margin-bottom: 12px;
  }

  .footer-links-list {
    gap: 9px;
  }

  .footer-links-list a {
    font-size: 0.78rem;
    white-space: nowrap;
  }

  .footer-col-subscribe {
    grid-column: 1 / -1;
    text-align: center;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    max-width: 320px;
    margin: 0 auto;
    width: 100%;
  }

  .footer-col-subscribe .footer-col-title {
    margin-bottom: 6px;
  }

  .footer-col-subscribe p {
    font-size: 0.78rem;
    margin-bottom: 12px;
  }

  .subscribe-form {
    max-width: 300px;
    margin: 0 auto;
  }

  .subscribe-input {
    font-size: 0.82rem;
    padding: 8px 12px;
  }

  .footer-bottom-bar {
    flex-direction: column;
    gap: 10px;
    text-align: center;
    font-size: 0.76rem;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }

  .footer-legal-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }

  /* About Us Mobile Refinements (Proportional like Laptop View) */
  .about-view-container {
    padding: 12px 0 36px;
  }

  .about-hero {
    margin: 0 auto 20px;
    max-width: 100%;
  }

  .about-title {
    font-size: 1.7rem;
    line-height: 1.22;
    margin-bottom: 8px;
    font-weight: 800;
  }

  .about-subtitle {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--text-platinum);
    max-width: 95%;
    margin: 0 auto;
  }

  .about-pillars-row {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 20px;
  }

  .about-card {
    padding: 16px 14px;
    border-radius: 14px;
  }

  .about-card-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    font-size: 1.15rem;
    margin-bottom: 10px;
  }

  .about-card h3 {
    font-size: 1.02rem;
    margin-bottom: 4px;
  }

  .about-card p {
    font-size: 0.78rem;
    line-height: 1.45;
  }

  .about-stats-banner {
    padding: 18px 12px;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    border-radius: 14px;
  }

  .stat-item h4 {
    font-size: 1.6rem;
    margin-bottom: 3px;
  }

  .stat-item p {
    font-size: 0.72rem;
  }

  /* Legal Pages Mobile Refinements (Terms of Service & Privacy Policy) */
  .legal-view-container {
    padding: 14px 0 36px;
  }

  .legal-header-block {
    margin: 0 auto 18px;
  }

  .legal-title,
  .legal-main-title {
    font-size: 1.7rem;
    line-height: 1.22;
    margin-bottom: 8px;
  }

  .legal-meta-info {
    font-size: 0.76rem;
    line-height: 1.4;
  }

  .legal-card-body {
    padding: 16px 14px;
    border-radius: 14px;
  }

  .legal-callout-box {
    padding: 12px 14px;
    font-size: 0.78rem;
    line-height: 1.5;
    border-radius: 12px;
    margin-bottom: 18px;
  }

  .legal-section-block {
    margin-bottom: 20px;
    padding-bottom: 16px;
  }

  .legal-section-heading {
    font-size: 1.05rem;
    margin-bottom: 8px;
    gap: 8px;
  }

  .legal-section-heading span.num {
    font-size: 0.95rem;
  }

  .legal-text {
    font-size: 0.78rem;
    line-height: 1.55;
    margin-bottom: 10px;
  }

  .legal-list {
    font-size: 0.78rem;
    line-height: 1.5;
    padding-left: 18px;
    margin-bottom: 12px;
  }

  .legal-contact-card {
    padding: 12px;
    border-radius: 10px;
    font-size: 0.78rem;
  }

  /* Subpage Navigation Bar on Mobile */
  .subpage-back-btn {
    padding: 6px 12px;
    font-size: 0.78rem;
    gap: 6px;
  }

  .subpage-back-btn svg {
    width: 15px;
    height: 15px;
  }

  .category-switch-pill {
    padding: 5px 11px;
    font-size: 0.74rem;
  }

  .section-view-all-group .view-all-link {
    font-size: 0.72rem;
    padding: 4px 9px;
  }

  /* Key Features Mobile Layout: Sleek Uniform Horizontal Pills */
  .features-section {
    margin-top: 18px;
    margin-bottom: 24px;
  }

  .features-heading {
    font-size: 1.45rem;
    margin-bottom: 14px;
  }

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

  .feature-pill-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #ffffff;
    border-radius: 14px;
    padding: 12px 16px;
    min-height: 58px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  }

  .feature-icon-box {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
  }

  .feature-text-box {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
  }

  .feature-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .feature-desc {
    font-size: 0.78rem;
    color: #64748b;
    font-weight: 500;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Detail Showcase Page on Mobile */
  .detail-view-container {
    padding-top: 8px;
    padding-bottom: 24px;
  }

  .detail-showcase-grid {
    grid-template-columns: 1fr;
    padding: 18px 16px;
    gap: 18px;
    border-radius: 16px;
    margin-bottom: 24px;
  }

  .detail-header-block {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 8px;
  }

  .detail-header-block .detail-app-icon {
    width: 68px;
    height: 68px;
    border-radius: 16px;
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .detail-header-block .detail-title-meta {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
  }

  .detail-header-block .detail-app-title {
    font-size: 1.65rem;
    line-height: 1.18;
    margin-bottom: 0;
    font-weight: 800;
  }

  .detail-app-icon {
    width: 68px;
    height: 68px;
    border-radius: 16px;
    margin-bottom: 0;
  }

  .detail-app-title {
    font-size: 1.65rem;
    line-height: 1.18;
    margin-bottom: 0;
    font-weight: 800;
  }

  .detail-app-genre {
    font-size: 0.92rem;
    margin-bottom: 10px;
  }

  .detail-app-desc {
    font-size: 0.82rem;
    line-height: 1.5;
    margin-bottom: 16px;
    max-width: 100%;
  }

  .detail-download-row {
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
    width: 100%;
  }

  .detail-download-row .btn-store-badge {
    flex: 1;
    min-width: 0;
    height: 40px;
    padding: 0 10px;
    gap: 6px;
  }

  .detail-download-row .btn-store-badge svg {
    width: 16px;
    height: 16px;
  }

  .detail-download-row .btn-store-badge .store-sub {
    font-size: 0.45rem;
  }

  .detail-download-row .btn-store-badge .store-main {
    font-size: 0.72rem;
  }

  .detail-preview-pane {
    width: 100%;
    aspect-ratio: 2 / 1;
    border-radius: 14px;
    margin-top: 2px;
  }

  .detail-preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

}

/* ==========================================================================
   Spotlight Search Modal (Cmd+K / Search Button)
   ========================================================================== */
.search-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(5, 7, 13, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 80px 20px 40px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.search-modal-backdrop.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.search-modal-card {
  width: 100%;
  max-width: 620px;
  background: #0d121f;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9), 0 0 40px rgba(212, 175, 55, 0.15);
  overflow: hidden;
  transform: translateY(-20px) scale(0.96);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.search-modal-backdrop.active .search-modal-card {
  transform: translateY(0) scale(1);
}

.search-modal-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.search-input-icon {
  color: var(--gold-primary);
  flex-shrink: 0;
}

.spotlight-search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: #ffffff;
}

.spotlight-search-input::placeholder {
  color: #64748b;
}

.search-modal-action-btn {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 1;
}

.search-modal-action-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.28);
}

.search-modal-action-btn .search-btn-esc-label {
  display: inline-block;
}

.search-modal-action-btn .search-btn-cross-icon {
  display: none;
  font-size: 0.95rem;
}

.search-modal-action-btn.has-text {
  padding: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.search-modal-action-btn.has-text .search-btn-esc-label {
  display: none;
}

.search-modal-action-btn.has-text .search-btn-cross-icon {
  display: inline-flex;
}

.search-filter-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(5, 7, 13, 0.4);
}

.search-filter-pill {
  padding: 5px 12px;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  color: #94a3b8;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.18s ease;
}

.search-filter-pill:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
}

.search-filter-pill.active {
  color: #0b0f19;
  background: var(--gold-primary);
  border-color: var(--gold-primary);
}

.search-results-container {
  max-height: 380px;
  overflow-y: auto;
  padding: 10px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.18s ease, transform 0.18s ease;
}

.search-result-item:hover,
.search-result-item.highlighted {
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(4px);
}

.search-result-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.search-result-info {
  flex: 1;
  min-width: 0;
}

.search-result-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-result-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
}

.search-result-category-badge {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

.search-result-category-badge.game {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.search-result-category-badge.app {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.search-result-desc {
  font-size: 0.8rem;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}

.search-result-arrow {
  color: var(--gold-light);
  font-size: 1.1rem;
  opacity: 0.7;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.search-result-item:hover .search-result-arrow {
  transform: translateX(3px);
  opacity: 1;
}

.search-empty-state {
  padding: 40px 20px;
  text-align: center;
  color: #64748b;
  font-size: 0.95rem;
}

.search-modal-footer {
  display: none !important;
}

/* ==========================================================================
   Mobile Search Modal Overrides (@media max-width: 640px)
   - Fullscreen coverage (no homepage showing underneath)
   - Native cross '✕' button for phone
   ========================================================================== */
@media (max-width: 640px) {
  body.search-open {
    overflow: hidden !important;
  }

  .search-modal-backdrop {
    position: fixed !important;
    inset: 0 !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    padding: 0 !important;
    margin: 0 !important;
    background: #05070d !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    z-index: 99999 !important;
  }

  .search-modal-card {
    width: 100% !important;
    max-width: 100% !important;
    height: 100vh !important;
    height: 100dvh !important;
    border: none !important;
    border-radius: 0 !important;
    background: #080c16 !important;
    box-shadow: none !important;
    transform: none !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .search-modal-header {
    padding: calc(env(safe-area-inset-top, 12px) + 12px) 16px 14px;
    gap: 12px;
    background: #0d121f;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .spotlight-search-input {
    font-size: 1.02rem;
  }

  /* Phone Cross Icon replaces ESC button */
  .search-modal-action-btn {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    color: #e2e8f0 !important;
    font-size: 1.15rem !important;
  }

  .search-modal-action-btn .search-btn-esc-label {
    display: none !important;
  }

  .search-modal-action-btn .search-btn-cross-icon {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
  }

  .search-modal-action-btn.has-text {
    background: rgba(212, 175, 55, 0.22) !important;
    border-color: rgba(212, 175, 55, 0.45) !important;
    color: #ffffff !important;
  }

  .search-filter-pills {
    padding: 10px 16px;
    background: #090e1a;
  }

  .search-results-container {
    flex: 1;
    max-height: none !important;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 12px 14px calc(env(safe-area-inset-bottom, 20px) + 30px);
  }
}

/* ==========================================================================
   Product Detail Custom Themed Backgrounds & Glass Cards (11 Products)
   ========================================================================== */
.detail-themed-section {
  position: relative;
  isolation: isolate;
  min-height: auto;
  overflow: hidden;
  margin-top: -76px;
  padding-top: 76px !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.detail-pane-entry {
  display: none;
  position: relative;
  padding-bottom: 0 !important;
}

.detail-pane-entry.active {
  display: block;
}

.detail-ambient-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100% auto;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.detail-ambient-backdrop::after {
  display: none;
}

.detail-ambient-backdrop-picture,
.detail-ambient-backdrop-img {
  display: none !important;
}

.detail-themed-section .detail-view-container {
  position: relative;
  z-index: 2;
  max-width: 1672px;
  width: 100%;
  padding: 14px clamp(72px, 8.15vw, 138px) 14px !important;
}

.detail-themed-section .features-section {
  margin-top: 18px;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* Connect detail pages seamlessly to footer with zero blank void */
body.detail-view-active .site-footer,
main:has(#view-game-detail.active) + .site-footer,
main:has(#view-app-detail.active) + .site-footer {
  margin-top: 0 !important;
  padding-top: 24px !important;
  padding-bottom: 24px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Translucent site header over top of background artwork */
body.detail-view-active .site-header {
  background: rgba(5, 7, 13, 0.40);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body.detail-view-active .site-header.scrolled {
  background: rgba(5, 7, 13, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.detail-themed-section .subpage-back-row {
  padding-top: 0;
  margin-bottom: 10px;
}

.detail-themed-section .breadcrumb-bar {
  margin-bottom: 14px;
}

.detail-themed-section .detail-showcase-grid {
  margin-top: 6px;
  margin-bottom: 26px;
  padding: 28px 36px;
  gap: 32px;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: border-color 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
}

.detail-themed-section .detail-header-block {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 12px;
}

.detail-themed-section .detail-app-icon {
  width: 86px;
  height: 86px;
  border-radius: 22px;
  margin-bottom: 0;
  flex-shrink: 0;
}

.detail-themed-section .detail-title-meta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.detail-themed-section .detail-app-title {
  font-size: 2.45rem;
  line-height: 1.15;
  margin-bottom: 0;
}

.detail-themed-section .detail-app-genre {
  font-size: 1.12rem;
  margin-bottom: 12px;
}

.detail-themed-section .detail-app-desc {
  font-size: 0.98rem;
  line-height: 1.55;
  margin-bottom: 20px;
}

.detail-themed-section .carousel-section {
  margin-bottom: 32px;
}

.detail-themed-section .feature-pill-card {
  background: rgba(18, 22, 38, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

.detail-themed-section .feature-pill-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.65);
}

.detail-themed-section .feature-icon-box {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.10);
}

.detail-themed-section .feature-title {
  color: #ffffff;
}

.detail-themed-section .feature-desc {
  color: rgba(255, 255, 255, 0.72);
}

/* Light themes specific overrides */
.detail-theme-cupcue .feature-pill-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 12px 30px rgba(7, 89, 133, 0.14);
}
.detail-theme-cupcue .feature-icon-box {
  background: rgba(224, 242, 254, 0.85);
  color: #0369a1;
  border: 1px solid rgba(56, 189, 248, 0.25);
}
.detail-theme-cupcue .feature-title {
  color: #082f49;
}
.detail-theme-cupcue .feature-desc {
  color: #0284c7;
}

.detail-theme-tickmelo .feature-pill-card {
  background: rgba(255, 252, 245, 0.95);
  border: 1px solid rgba(16, 107, 67, 0.25);
  box-shadow: 0 12px 30px rgba(11, 41, 24, 0.12);
}
.detail-theme-tickmelo .feature-icon-box {
  background: rgba(236, 253, 245, 0.90);
  color: #15803d;
  border: 1px solid rgba(16, 107, 67, 0.20);
}
.detail-theme-tickmelo .feature-title {
  color: #0b2918;
}
.detail-theme-tickmelo .feature-desc {
  color: #166534;
}

/* 1. Pockivo — Purple & Gold Finance Showcase */
.detail-theme-pockivo .detail-ambient-backdrop {
  background-color: #0c081e;
  background-image: url('../assets/images/backgrounds/pockivo_bg_2x.webp?v=v70');
  background-image: image-set(
    url('../assets/images/backgrounds/pockivo_bg_1x.webp?v=v70') type('image/webp') 1x,
    url('../assets/images/backgrounds/pockivo_bg_2x.webp?v=v70') type('image/webp') 2x
  );
}
.detail-theme-pockivo .detail-showcase-grid {
  background: linear-gradient(145deg, rgba(24, 13, 46, 0.84) 0%, rgba(14, 9, 30, 0.90) 100%);
  border: 1.5px solid rgba(192, 132, 252, 0.52);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.72), 0 0 38px rgba(168, 85, 247, 0.24), inset 0 1px 0 rgba(253, 230, 138, 0.28);
}

/* 2. HabitLover — 3D Floating Icons & Neon Waves (pushed down so top 3D icons stay 100% visible) */
.detail-theme-habitlover .detail-ambient-backdrop {
  background-color: #08122c;
  background-position: center top;
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-image: url('../assets/images/backgrounds/habitlover_bg_2x.webp?v=v70');
  background-image: image-set(
    url('../assets/images/backgrounds/habitlover_bg_1x.webp?v=v70') type('image/webp') 1x,
    url('../assets/images/backgrounds/habitlover_bg_2x.webp?v=v70') type('image/webp') 2x
  );
}
.detail-theme-habitlover .detail-showcase-grid {
  margin-top: clamp(52px, 5.8vw, 74px);
  background: linear-gradient(145deg, rgba(12, 22, 44, 0.80) 0%, rgba(8, 15, 32, 0.88) 100%);
  border: 1.5px solid rgba(56, 189, 248, 0.55);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.72), 0 0 38px rgba(56, 189, 248, 0.25), inset 0 1px 0 rgba(134, 239, 172, 0.32);
}

/* 3. Gamenzo — Arcade Neon Galaxy */
.detail-theme-gamenzo .detail-ambient-backdrop {
  background-color: #0a081e;
  background-position: center top;
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-image: url('../assets/images/backgrounds/gamenzo_bg_2x.webp?v=v70');
  background-image: image-set(
    url('../assets/images/backgrounds/gamenzo_bg_1x.webp?v=v70') type('image/webp') 1x,
    url('../assets/images/backgrounds/gamenzo_bg_2x.webp?v=v70') type('image/webp') 2x
  );
}
.detail-theme-gamenzo .detail-showcase-grid {
  background: linear-gradient(145deg, rgba(20, 14, 48, 0.82) 0%, rgba(10, 12, 34, 0.88) 100%);
  border: 1.5px solid rgba(168, 85, 247, 0.55);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.75), 0 0 40px rgba(168, 85, 247, 0.28), inset 0 1px 0 rgba(56, 189, 248, 0.32);
}

/* 4. WAD Blast 3D — Cosmic Cannon Fire & Blue Energy */
.detail-theme-wadblast .detail-ambient-backdrop {
  background-color: #0e081e;
  background-image: url('../assets/images/backgrounds/wadblast_bg_2x.webp?v=v70');
  background-image: image-set(
    url('../assets/images/backgrounds/wadblast_bg_1x.webp?v=v70') type('image/webp') 1x,
    url('../assets/images/backgrounds/wadblast_bg_2x.webp?v=v70') type('image/webp') 2x
  );
}
.detail-theme-wadblast .detail-showcase-grid {
  background: linear-gradient(145deg, rgba(28, 14, 42, 0.82) 0%, rgba(12, 14, 36, 0.88) 100%);
  border: 1.5px solid rgba(249, 115, 22, 0.52);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.75), 0 0 40px rgba(249, 115, 22, 0.24), inset 0 1px 0 rgba(56, 189, 248, 0.30);
}

/* 5. VoteWar — Purple & Gold Shield Arena */
.detail-theme-votewar .detail-ambient-backdrop {
  background-color: #0c0822;
  background-image: url('../assets/images/backgrounds/votewar_bg_2x.webp?v=v70');
  background-image: image-set(
    url('../assets/images/backgrounds/votewar_bg_1x.webp?v=v70') type('image/webp') 1x,
    url('../assets/images/backgrounds/votewar_bg_2x.webp?v=v70') type('image/webp') 2x
  );
}
.detail-theme-votewar .detail-showcase-grid {
  background: linear-gradient(145deg, rgba(22, 13, 46, 0.82) 0%, rgba(11, 10, 30, 0.88) 100%);
  border: 1.5px solid rgba(168, 85, 247, 0.55);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.75), 0 0 40px rgba(139, 92, 246, 0.28), inset 0 1px 0 rgba(250, 204, 21, 0.30);
}

/* 6. Calkio — Emerald & Blue Math Symbols */
.detail-theme-calkio .detail-ambient-backdrop {
  background-color: #041224;
  background-position: center top;
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-image: url('../assets/images/backgrounds/calkio_bg_2x.webp?v=v70');
  background-image: image-set(
    url('../assets/images/backgrounds/calkio_bg_1x.webp?v=v70') type('image/webp') 1x,
    url('../assets/images/backgrounds/calkio_bg_2x.webp?v=v70') type('image/webp') 2x
  );
}
.detail-theme-calkio .detail-showcase-grid {
  margin-top: clamp(48px, 5.2vw, 68px);
  background: linear-gradient(145deg, rgba(8, 26, 42, 0.82) 0%, rgba(6, 18, 30, 0.88) 100%);
  border: 1.5px solid rgba(56, 189, 248, 0.52);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.75), 0 0 40px rgba(56, 189, 248, 0.24), inset 0 1px 0 rgba(186, 230, 253, 0.28);
}

/* 7. LoveSwap PDF — Ruby Red & Rose Glow */
.detail-theme-loveswap .detail-ambient-backdrop {
  background-color: #0c0408;
  background-position: center top;
  background-image: url('../assets/images/backgrounds/loveswap_bg_2x.webp?v=v70');
  background-image: image-set(
    url('../assets/images/backgrounds/loveswap_bg_1x.webp?v=v70') type('image/webp') 1x,
    url('../assets/images/backgrounds/loveswap_bg_2x.webp?v=v70') type('image/webp') 2x
  );
}
.detail-theme-loveswap .detail-showcase-grid {
  margin-top: clamp(48px, 5.5vw, 68px);
  background: linear-gradient(145deg, rgba(38, 10, 22, 0.82) 0%, rgba(20, 8, 18, 0.88) 100%);
  border: 1.5px solid rgba(244, 63, 94, 0.52);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.75), 0 0 40px rgba(225, 29, 72, 0.26), inset 0 1px 0 rgba(254, 205, 211, 0.28);
}

/* 8. Setmigo — Electric Cyan & Violet Gym Waves */
.detail-theme-setmigo .detail-ambient-backdrop {
  background-color: #061c22;
  background-position: center top;
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-image: url('../assets/images/backgrounds/setmigo_bg_2x.webp?v=v70');
  background-image: image-set(
    url('../assets/images/backgrounds/setmigo_bg_1x.webp?v=v70') type('image/webp') 1x,
    url('../assets/images/backgrounds/setmigo_bg_2x.webp?v=v70') type('image/webp') 2x
  );
}
.detail-theme-setmigo .detail-showcase-grid {
  margin-top: clamp(48px, 5.2vw, 68px);
  background: linear-gradient(145deg, rgba(10, 28, 36, 0.82) 0%, rgba(8, 18, 26, 0.88) 100%);
  border: 1.5px solid rgba(45, 212, 191, 0.52);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.75), 0 0 40px rgba(20, 184, 166, 0.26), inset 0 1px 0 rgba(153, 246, 228, 0.30);
}

.detail-theme-setmigo .breadcrumb-bar,
.detail-theme-daypouch .breadcrumb-bar {
  display: inline-flex !important;
  align-items: center !important;
  background: rgba(3, 20, 18, 0.78) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  padding: 6px 14px !important;
  border-radius: 9999px !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5) !important;
  width: fit-content !important;
  max-width: 100% !important;
}
.detail-theme-setmigo .breadcrumb-bar,
.detail-theme-setmigo .breadcrumb-bar a,
.detail-theme-setmigo .breadcrumb-bar .separator,
.detail-theme-daypouch .breadcrumb-bar,
.detail-theme-daypouch .breadcrumb-bar a,
.detail-theme-daypouch .breadcrumb-bar .separator {
  color: #ffffff !important;
  font-weight: 600 !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.95), 0 2px 8px rgba(0, 0, 0, 0.85) !important;
}
.detail-theme-setmigo .breadcrumb-bar a:hover,
.detail-theme-daypouch .breadcrumb-bar a:hover {
  color: #a7f3d0 !important;
}
.detail-theme-setmigo .breadcrumb-bar .current,
.detail-theme-daypouch .breadcrumb-bar .current {
  color: #fde047 !important;
  font-weight: 700 !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.95), 0 2px 8px rgba(0, 0, 0, 0.85) !important;
}

/* 9. DayPouch — Warm Sunrise Hills & Teal Waves */
.detail-theme-daypouch .detail-ambient-backdrop {
  background-color: #0c3636;
  background-position: center top;
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-image: url('../assets/images/backgrounds/daypouch_bg_2x.webp?v=v70');
  background-image: image-set(
    url('../assets/images/backgrounds/daypouch_bg_1x.webp?v=v70') type('image/webp') 1x,
    url('../assets/images/backgrounds/daypouch_bg_2x.webp?v=v70') type('image/webp') 2x
  );
}
.detail-theme-daypouch .detail-showcase-grid {
  margin-top: clamp(48px, 5.2vw, 68px);
  background: linear-gradient(145deg, rgba(16, 36, 38, 0.82) 0%, rgba(10, 24, 28, 0.88) 100%);
  border: 1.5px solid rgba(251, 191, 36, 0.48);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.72), 0 0 40px rgba(20, 184, 166, 0.24), inset 0 1px 0 rgba(253, 230, 138, 0.32);
}

/* 10. CupCue — Daylight Aqua Water Splash & Ocean Glass Card */
.detail-theme-cupcue .detail-ambient-backdrop {
  background-color: #8ee2f8;
  background-image: url('../assets/images/backgrounds/cupcue_bg_2x.webp?v=v70');
  background-image: image-set(
    url('../assets/images/backgrounds/cupcue_bg_1x.webp?v=v70') type('image/webp') 1x,
    url('../assets/images/backgrounds/cupcue_bg_2x.webp?v=v70') type('image/webp') 2x
  );
}
.detail-theme-cupcue .detail-ambient-backdrop::after {
  background: linear-gradient(180deg, rgba(8, 47, 73, 0) 0%, rgba(8, 47, 73, 0.14) 100%);
}
.detail-theme-cupcue .subpage-back-btn {
  background: rgba(8, 47, 73, 0.82);
  border-color: rgba(125, 211, 252, 0.55);
  color: #f0f9ff;
  box-shadow: 0 8px 20px rgba(3, 105, 161, 0.3);
}
.detail-theme-cupcue .breadcrumb-bar,
.detail-theme-cupcue .breadcrumb-bar a,
.detail-theme-cupcue .breadcrumb-bar .separator {
  color: #0c4a6e;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.65);
}
.detail-theme-cupcue .breadcrumb-bar .current {
  color: #082f49;
  font-weight: 700;
}
.detail-theme-cupcue .detail-showcase-grid {
  background: linear-gradient(145deg, rgba(7, 42, 74, 0.86) 0%, rgba(6, 28, 54, 0.92) 100%);
  border: 1.5px solid rgba(56, 189, 248, 0.68);
  box-shadow: 0 26px 60px rgba(3, 43, 76, 0.55), 0 0 40px rgba(56, 189, 248, 0.35), inset 0 1px 0 rgba(224, 242, 254, 0.45);
}
.detail-theme-cupcue .features-heading {
  color: #082f49;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.75);
}
.detail-theme-cupcue .carousel-nav-btn {
  background: rgba(8, 47, 73, 0.85);
  border-color: rgba(125, 211, 252, 0.55);
  color: #ffffff;
}

/* 11. Tickmelo — Daylight Warm Cream Botanical Waves & Light Glass Card */
.detail-theme-tickmelo .detail-ambient-backdrop {
  background-color: #ecdec6;
  background-position: right top;
  background-image: url('../assets/images/backgrounds/tickmelo_bg_2x.webp?v=v70');
  background-image: image-set(
    url('../assets/images/backgrounds/tickmelo_bg_1x.webp?v=v70') type('image/webp') 1x,
    url('../assets/images/backgrounds/tickmelo_bg_2x.webp?v=v70') type('image/webp') 2x
  );
}
.detail-theme-tickmelo .detail-ambient-backdrop::after {
  background: linear-gradient(180deg, rgba(11, 41, 24, 0) 0%, rgba(11, 41, 24, 0.12) 100%);
}
.detail-theme-tickmelo .subpage-back-btn {
  background: rgba(255, 252, 245, 0.92);
  border-color: rgba(16, 107, 67, 0.38);
  color: #0b2918;
  box-shadow: 0 6px 18px rgba(15, 61, 38, 0.14);
}
.detail-theme-tickmelo .subpage-back-btn:hover {
  background: #ffffff;
  border-color: #106b43;
}
.detail-theme-tickmelo .breadcrumb-bar,
.detail-theme-tickmelo .breadcrumb-bar a,
.detail-theme-tickmelo .breadcrumb-bar .separator {
  color: #3f5246;
  font-weight: 600;
}
.detail-theme-tickmelo .breadcrumb-bar .current {
  color: #0b2918;
  font-weight: 700;
}
.detail-theme-tickmelo .detail-showcase-grid {
  margin-top: 14px;
  background: linear-gradient(145deg, rgba(255, 252, 245, 0.88) 0%, rgba(248, 243, 231, 0.94) 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 24px 55px rgba(24, 58, 39, 0.18), 0 0 35px rgba(245, 158, 11, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}
.detail-theme-tickmelo .detail-app-title {
  color: #0b2918;
  text-shadow: none;
}
.detail-theme-tickmelo .detail-app-genre {
  color: #c96a1b;
  font-weight: 700;
}
.detail-theme-tickmelo .detail-app-desc {
  color: #233b2d;
}
.detail-theme-tickmelo .btn-store-badge,
.detail-theme-tickmelo .btn-store-badge.under-review {
  background: #0d261a;
  border-color: rgba(212, 175, 55, 0.65);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(11, 41, 24, 0.22);
}
.detail-theme-tickmelo .btn-store-badge:hover,
.detail-theme-tickmelo .btn-store-badge.under-review:hover {
  background: #133524;
  border-color: var(--gold-primary);
}
.detail-theme-tickmelo .features-heading {
  color: #0b2918;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.75);
}
.detail-theme-tickmelo .carousel-nav-btn {
  background: rgba(11, 41, 24, 0.85);
  border-color: rgba(16, 107, 67, 0.45);
  color: #ffffff;
}

/* Responsive Detail Page Overrides across iPad Pro, Tablets, and Mobile Phones */
@media (max-width: 1200px) {
  .detail-themed-section .detail-view-container {
    padding: 16px clamp(36px, 6vw, 72px) 32px;
  }
}

/* Responsive Detail Page Overrides across iPad Pro, Tablets, and Laptops (<= 1024px) */
@media (max-width: 1024px) {
  .detail-header-block {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 10px;
  }

  .detail-header-block .detail-app-icon {
    width: 76px;
    height: 76px;
    border-radius: 18px;
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .detail-header-block .detail-app-title {
    font-size: 2.1rem;
    line-height: 1.15;
    margin-bottom: 0;
  }

  .detail-themed-section {
    min-height: auto;
    margin-top: -76px;
    padding-top: 76px !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  .detail-ambient-backdrop {
    background-size: 100% auto;
    background-position: center top;
    background-repeat: no-repeat;
  }

  .detail-themed-section .detail-view-container {
    padding: 16px clamp(28px, 4.8vw, 56px) 24px !important;
  }

  .detail-themed-section .features-section {
    margin-bottom: 0 !important;
  }

  .detail-pane-entry {
    padding-bottom: 0 !important;
  }

  .detail-themed-section .detail-showcase-grid {
    grid-template-columns: 1fr;
    margin-top: clamp(22px, 5vw, 48px);
    padding: clamp(20px, 3.5vw, 30px);
    gap: 20px;
  }

  .detail-preview-pane {
    max-width: 540px;
    margin: 16px auto 0 auto;
  }

  .detail-theme-habitlover .detail-ambient-backdrop {
    background-position: center top;
  }

  .detail-theme-habitlover .detail-showcase-grid {
    margin-top: clamp(22px, 4.5vw, 38px);
  }

  .detail-theme-calkio .detail-showcase-grid,
  .detail-theme-daypouch .detail-showcase-grid,
  .detail-theme-setmigo .detail-showcase-grid {
    margin-top: clamp(20px, 4vw, 36px);
  }

  .detail-theme-tickmelo .detail-showcase-grid {
    margin-top: clamp(16px, 3.5vw, 28px);
  }
}

@media (max-width: 920px) {
  .detail-themed-section {
    min-height: auto;
    margin-top: -76px;
    padding-top: 76px !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }
  .detail-pane-entry {
    padding-bottom: 0 !important;
  }
  .detail-themed-section .detail-view-container {
    padding: 14px 20px 20px !important;
  }
  .detail-themed-section .features-section {
    margin-bottom: 0 !important;
  }
  .carousel-item {
    flex: 0 0 156px;
    height: 276px;
  }
}

/* Dedicated Vertical Mobile Phone Backgrounds (<= 767px) */
@media (max-width: 767px) {
  .detail-ambient-backdrop {
    background-size: cover !important;
    background-position: center top !important;
    background-repeat: no-repeat !important;
  }
  .detail-theme-pockivo .detail-ambient-backdrop {
    background-image: url('../assets/images/backgrounds/pockivo_mobile_bg_2x.webp?v=v70');
    background-image: image-set(
      url('../assets/images/backgrounds/pockivo_mobile_bg_1x.webp?v=v70') type('image/webp') 1x,
      url('../assets/images/backgrounds/pockivo_mobile_bg_2x.webp?v=v70') type('image/webp') 2x
    );
  }
  .detail-theme-habitlover .detail-ambient-backdrop {
    background-image: url('../assets/images/backgrounds/habitlover_mobile_bg_2x.webp?v=v70');
    background-image: image-set(
      url('../assets/images/backgrounds/habitlover_mobile_bg_1x.webp?v=v70') type('image/webp') 1x,
      url('../assets/images/backgrounds/habitlover_mobile_bg_2x.webp?v=v70') type('image/webp') 2x
    );
  }
  .detail-theme-gamenzo .detail-ambient-backdrop {
    background-image: url('../assets/images/backgrounds/gamenzo_mobile_bg_2x.webp?v=v70');
    background-image: image-set(
      url('../assets/images/backgrounds/gamenzo_mobile_bg_1x.webp?v=v70') type('image/webp') 1x,
      url('../assets/images/backgrounds/gamenzo_mobile_bg_2x.webp?v=v70') type('image/webp') 2x
    );
  }
  .detail-theme-wadblast .detail-ambient-backdrop {
    background-image: url('../assets/images/backgrounds/wadblast_mobile_bg_2x.webp?v=v70');
    background-image: image-set(
      url('../assets/images/backgrounds/wadblast_mobile_bg_1x.webp?v=v70') type('image/webp') 1x,
      url('../assets/images/backgrounds/wadblast_mobile_bg_2x.webp?v=v70') type('image/webp') 2x
    );
  }
  .detail-theme-votewar .detail-ambient-backdrop {
    background-image: url('../assets/images/backgrounds/votewar_mobile_bg_2x.webp?v=v70');
    background-image: image-set(
      url('../assets/images/backgrounds/votewar_mobile_bg_1x.webp?v=v70') type('image/webp') 1x,
      url('../assets/images/backgrounds/votewar_mobile_bg_2x.webp?v=v70') type('image/webp') 2x
    );
  }
  .detail-theme-calkio .detail-ambient-backdrop {
    background-image: url('../assets/images/backgrounds/calkio_mobile_bg_2x.webp?v=v70');
    background-image: image-set(
      url('../assets/images/backgrounds/calkio_mobile_bg_1x.webp?v=v70') type('image/webp') 1x,
      url('../assets/images/backgrounds/calkio_mobile_bg_2x.webp?v=v70') type('image/webp') 2x
    );
  }
  .detail-theme-loveswap .detail-ambient-backdrop {
    background-image: url('../assets/images/backgrounds/loveswap_mobile_bg_2x.webp?v=v70');
    background-image: image-set(
      url('../assets/images/backgrounds/loveswap_mobile_bg_1x.webp?v=v70') type('image/webp') 1x,
      url('../assets/images/backgrounds/loveswap_mobile_bg_2x.webp?v=v70') type('image/webp') 2x
    );
  }
  .detail-theme-setmigo .detail-ambient-backdrop {
    background-image: url('../assets/images/backgrounds/setmigo_mobile_bg_2x.webp?v=v70');
    background-image: image-set(
      url('../assets/images/backgrounds/setmigo_mobile_bg_1x.webp?v=v70') type('image/webp') 1x,
      url('../assets/images/backgrounds/setmigo_mobile_bg_2x.webp?v=v70') type('image/webp') 2x
    );
  }
  .detail-theme-daypouch .detail-ambient-backdrop {
    background-image: url('../assets/images/backgrounds/daypouch_mobile_bg_2x.webp?v=v70');
    background-image: image-set(
      url('../assets/images/backgrounds/daypouch_mobile_bg_1x.webp?v=v70') type('image/webp') 1x,
      url('../assets/images/backgrounds/daypouch_mobile_bg_2x.webp?v=v70') type('image/webp') 2x
    );
  }
  .detail-theme-cupcue .detail-ambient-backdrop {
    background-image: url('../assets/images/backgrounds/cupcue_mobile_bg_2x.webp?v=v70');
    background-image: image-set(
      url('../assets/images/backgrounds/cupcue_mobile_bg_1x.webp?v=v70') type('image/webp') 1x,
      url('../assets/images/backgrounds/cupcue_mobile_bg_2x.webp?v=v70') type('image/webp') 2x
    );
  }
  .detail-theme-tickmelo .detail-ambient-backdrop {
    background-image: url('../assets/images/backgrounds/tickmelo_mobile_bg_2x.webp?v=v70');
    background-image: image-set(
      url('../assets/images/backgrounds/tickmelo_mobile_bg_1x.webp?v=v70') type('image/webp') 1x,
      url('../assets/images/backgrounds/tickmelo_mobile_bg_2x.webp?v=v70') type('image/webp') 2x
    );
  }
}

@media (max-width: 640px) {
  .detail-themed-section {
    min-height: auto;
    margin-top: -60px;
    padding-top: 60px !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }
  .detail-pane-entry {
    padding-bottom: 0 !important;
  }
  .detail-themed-section .detail-view-container {
    padding: 10px 14px 18px !important;
  }
  .detail-header-block {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 8px;
  }
  .detail-header-block .detail-app-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    margin-bottom: 0;
    flex-shrink: 0;
  }
  .detail-header-block .detail-app-title {
    font-size: 1.55rem;
    line-height: 1.15;
    margin-bottom: 0;
  }
  .detail-preview-pane {
    width: 100%;
    max-width: 480px;
    margin: 10px auto 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .detail-preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0 auto;
  }
  .detail-view-container .subpage-back-row,
  .breadcrumb-bar,
  .features-section {
    padding-left: 2px;
    padding-right: 2px;
  }
  .detail-themed-section .subpage-back-row {
    margin-bottom: 6px;
  }
  .detail-themed-section .breadcrumb-bar {
    margin-bottom: 8px;
  }
  .detail-themed-section .features-section {
    margin-bottom: 0 !important;
  }
  .detail-themed-section .detail-showcase-grid,
  .detail-theme-calkio .detail-showcase-grid,
  .detail-theme-setmigo .detail-showcase-grid,
  .detail-theme-daypouch .detail-showcase-grid,
  .detail-theme-tickmelo .detail-showcase-grid {
    margin-top: 6px;
    padding: 18px 16px;
    gap: 16px;
  }
  .detail-theme-loveswap .detail-showcase-grid {
    margin-top: clamp(14px, 3.8vw, 20px);
    padding: 18px 16px;
    gap: 16px;
  }
  .detail-theme-habitlover .detail-showcase-grid {
    margin-top: clamp(26px, 6.5vw, 34px);
    padding: 18px 16px;
    gap: 16px;
  }
  .detail-theme-habitlover .detail-ambient-backdrop {
    background-position: center top;
  }
  .carousel-container {
    gap: 8px;
    margin-bottom: 26px;
  }
  .carousel-nav-btn {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
  .carousel-track {
    gap: 12px;
    padding: 6px 2px;
  }
  .carousel-item {
    flex: 0 0 142px;
    height: 252px;
  }
}

