/* ==========================================================================
   Getout Studio - Premium Architecture
   Style: Dark Cinematic / Cyberpunk Touches / Neon Green Accents
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-deep: #050914;
  --bg-surface: #0a1122;
  --bg-card: #101a2e;
  --bg-card-hover: #15223d;
  --neon-primary: #65E211;
  --neon-dark: #4ca80c;
  --neon-glow: rgba(101, 226, 17, 0.3);

  /* Typography */
  --text-main: #e2e8f0;
  --text-muted: #8b9bb4;
  --font-heading: 'Cairo', sans-serif;
  --font-body: 'Tajawal', sans-serif;

  /* Borders & Shadows */
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-accent: rgba(101, 226, 17, 0.3);
  --shadow-cinematic: 0 20px 40px rgba(0, 0, 0, 0.6);
  --shadow-neon: 0 0 18px var(--neon-glow);

  /* Transitions */
  --ease-out: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --ease-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html.i18n-loading body { opacity: 0; }
html { scroll-behavior: smooth; font-size: 16px; width: 100%; overflow-x: clip; }
body {
  background-color: var(--bg-deep);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.8;
  overflow-x: clip;
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Cinematic Animated Background Grid & Crisscross Lines */
@keyframes bgGridDrift {
  0% { background-position: 0 0, 0 0; }
  100% { background-position: 44px 44px, 44px 44px; }
}
@keyframes bgCrossDrift {
  0% { background-position: 0 0, 0 0; }
  100% { background-position: 64px -64px, -64px -64px; }
}
@keyframes headerCrossDrift {
  0% { background-position: 0 0, 0 0; }
  100% { background-position: 48px 0, -48px 0; }
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.024) 1px, transparent 1px);
  background-size: 44px 44px;
  z-index: -3;
  pointer-events: none;
  animation: bgGridDrift 18s linear infinite;
}
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg, rgba(101, 226, 17, 0.032) 0 1px, transparent 1px 32px),
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 32px);
  background-size: 64px 64px;
  z-index: -2;
  pointer-events: none;
  animation: bgCrossDrift 24s linear infinite;
}

/* Glowing Orbs */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(150px);
  z-index: -1;
  pointer-events: none;
}
.orb-1 { width: 500px; height: 500px; background: rgba(101, 226, 17, 0.09); top: -100px; left: -100px; }
.orb-2 { width: 600px; height: 600px; background: rgba(101, 226, 17, 0.05); bottom: 20%; right: -200px; }

h1, h2, h3, h4 { font-family: var(--font-heading); color: #fff; line-height: 1.3; }
a { text-decoration: none; color: inherit; transition: all var(--ease-out); }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.wrapper { width: 100%; max-width: 1250px; margin: 0 auto; padding: 0 20px; }

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  top: -100px;
  right: 20px;
  background: var(--neon-primary);
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 700;
  z-index: 2000;
}
.skip-link:focus { top: 20px; }

/* ==========================================================================
   Navbar (Pro Glassmorphism & Floating Pill Dock)
   ========================================================================== */
.premium-navbar {
  position: fixed;
  top: 0; width: 100%; left: 0; right: 0;
  background: rgba(5, 9, 20, 0.78);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  z-index: 1000;
  padding: 12px 0;
  transition: transform 0.35s ease, background var(--ease-out), padding var(--ease-out), box-shadow var(--ease-out), border-color var(--ease-out);
}
.premium-navbar::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(101, 226, 17, 0.45), transparent);
  pointer-events: none;
  z-index: 1;
}
.premium-navbar::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg, rgba(101, 226, 17, 0.065) 0 1px, transparent 1px 24px),
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 24px);
  background-size: 48px 48px;
  opacity: 0.65;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  pointer-events: none;
  z-index: 0;
  animation: headerCrossDrift 14s linear infinite;
}
.premium-navbar.scrolled {
  background: rgba(5, 9, 20, 0.94);
  border-bottom-color: rgba(101, 226, 17, 0.16);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.78);
  padding: 9px 0;
}
.premium-navbar.nav-hidden {
  transform: translateY(-100%);
}
.nav-progress {
  position: absolute;
  bottom: 0;
  right: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--neon-dark), var(--neon-primary), #9eff59);
  box-shadow: 0 0 10px var(--neon-glow);
  transition: width 0.1s linear;
  pointer-events: none;
  z-index: 3;
}
html[dir="ltr"] .nav-progress {
  right: auto;
  left: 0;
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  position: relative;
  z-index: 2;
}

.studio-logo {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  order: 1;
}
.studio-logo span {
  color: var(--neon-primary);
  text-shadow: var(--shadow-neon);
}

.nav-links {
  display: flex;
  gap: 4px;
  align-items: center;
  background: rgba(16, 26, 46, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  border-radius: 999px;
  padding: 5px;
  order: 2;
}
.nav-links a {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  position: relative;
  padding: 7px 14px;
  border-radius: 999px;
  color: var(--text-main);
  border: 1px solid transparent;
  white-space: nowrap;
  transition: var(--ease-out);
}
.nav-links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}
.nav-links a.active {
  color: var(--neon-primary);
  background: rgba(101, 226, 17, 0.13);
  border-color: rgba(101, 226, 17, 0.28);
}

.nav-cta {
  padding: 7px 18px !important;
  background: linear-gradient(135deg, var(--neon-primary), var(--neon-dark)) !important;
  border: 1px solid rgba(101, 226, 17, 0.5) !important;
  border-radius: 999px !important;
  color: #fff !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
  box-shadow: 0 4px 16px rgba(101, 226, 17, 0.22);
}
.nav-cta:hover,
.nav-cta.active {
  transform: translateY(-1px);
  box-shadow: var(--shadow-neon) !important;
  filter: brightness(1.06);
}

/* Navbar Actions: Support Button & 12-Language Switcher */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  order: 3;
  flex-shrink: 0;
}
.support-switcher {
  position: relative;
}
.support-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 15px;
  border-radius: 30px;
  background: rgba(101, 226, 17, 0.1);
  border: 1px solid var(--border-accent);
  color: var(--neon-primary);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  white-space: nowrap;
  cursor: pointer;
  transition: var(--ease-out);
}
.support-btn .heart-icon {
  width: 16px;
  height: 16px;
  fill: var(--neon-primary);
  transition: transform 0.25s ease, fill 0.25s ease;
}
.support-btn .chevron-icon {
  width: 13px;
  height: 13px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.3;
  opacity: 0.85;
  transition: transform 0.25s ease;
}
.support-btn[aria-expanded="true"] .chevron-icon {
  transform: rotate(180deg);
}
.support-btn:hover,
.support-btn[aria-expanded="true"] {
  background: var(--neon-primary);
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
  box-shadow: var(--shadow-neon);
  transform: translateY(-1px);
}
.support-btn:hover .heart-icon,
.support-btn[aria-expanded="true"] .heart-icon {
  fill: #fff;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.45));
  transform: scale(1.12);
}

.support-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  width: 278px;
  background: rgba(10, 17, 34, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-accent);
  border-radius: 16px;
  padding: 10px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.78);
  display: none;
  flex-direction: column;
  gap: 8px;
  z-index: 1500;
}
html[dir="ltr"] .support-dropdown {
  left: auto;
  right: 0;
}
.support-dropdown.open {
  display: flex;
  animation: supportDropIn 0.2s var(--ease-out);
}
@keyframes supportDropIn {
  from { opacity: 0; transform: translateY(-6px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.support-dropdown-header {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  padding: 4px 8px 6px;
  border-bottom: 1px solid var(--border-subtle);
  letter-spacing: 0.3px;
}
.support-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  transition: var(--ease-out);
  text-align: start;
}
.support-opt-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.support-opt-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.support-option.kofi .support-opt-icon {
  background: rgba(255, 94, 91, 0.14);
  color: #ff6b68;
  border: 1px solid rgba(255, 94, 91, 0.28);
}
.support-option.paypal .support-opt-icon {
  background: rgba(0, 156, 222, 0.14);
  color: #38bdf8;
  border: 1px solid rgba(0, 156, 222, 0.28);
}
.support-opt-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.support-opt-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.96rem;
  color: #fff;
  line-height: 1.25;
}
.support-opt-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.35;
}
.support-opt-arrow {
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 700;
  transition: transform 0.2s ease, color 0.2s ease;
}
.support-option:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.06);
}
.support-option.kofi:hover {
  border-color: rgba(255, 94, 91, 0.55);
  box-shadow: 0 8px 22px rgba(255, 94, 91, 0.16);
}
.support-option.kofi:hover .support-opt-arrow { color: #ff6b68; }
.support-option.paypal:hover {
  border-color: rgba(56, 189, 248, 0.55);
  box-shadow: 0 8px 22px rgba(0, 156, 222, 0.18);
}
.support-option.paypal:hover .support-opt-arrow { color: #38bdf8; }
html[dir="rtl"] .support-opt-arrow {
  transform: scaleX(-1);
}
.support-option:hover .support-opt-arrow {
  transform: translate(2px, -2px);
}
html[dir="rtl"] .support-option:hover .support-opt-arrow {
  transform: scaleX(-1) translate(2px, -2px);
}

.lang-switcher {
  position: relative;
}
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  border-radius: 30px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: var(--ease-out);
}
.lang-btn:hover,
.lang-btn[aria-expanded="true"] {
  border-color: var(--neon-primary);
  color: #fff;
  box-shadow: 0 0 12px rgba(101, 226, 17, 0.18);
}
.lang-btn .globe-icon {
  width: 17px;
  height: 17px;
  stroke: var(--neon-primary);
  fill: none;
  stroke-width: 2;
}
.lang-btn .chevron-icon {
  width: 14px;
  height: 14px;
  stroke: var(--text-muted);
  fill: none;
  stroke-width: 2.2;
  transition: transform 0.25s ease;
}
.lang-btn[aria-expanded="true"] .chevron-icon {
  transform: rotate(180deg);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  width: 340px;
  background: rgba(10, 17, 34, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-accent);
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.75);
  display: none;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  z-index: 1500;
}
html[dir="ltr"] .lang-dropdown {
  left: auto;
  right: 0;
}
.lang-dropdown.open {
  display: grid;
}
.lang-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--ease-out);
  text-align: inherit;
}
.lang-option .lang-code {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}
.lang-option:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-subtle);
  color: #fff;
}
.lang-option.active {
  background: rgba(101, 226, 17, 0.14);
  border-color: var(--border-accent);
  color: var(--neon-primary);
}
.lang-option.active .lang-code {
  color: var(--neon-primary);
}

/* Hamburger Icon */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  transition: var(--ease-out);
  order: 4;
  flex-shrink: 0;
}
.menu-toggle:hover,
.menu-toggle.active {
  border-color: var(--neon-primary);
}
.menu-toggle span {
  width: 20px;
  height: 2.5px;
  background: #fff;
  border-radius: 3px;
  transition: 0.3s ease;
}
.menu-toggle.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); background: var(--neon-primary); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); background: var(--neon-primary); }

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 9, 20, 0.65);
  backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.nav-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn-transition {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(45deg, var(--neon-primary), var(--neon-dark));
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
  padding: 16px 36px;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.15rem;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  clip-path: polygon(8% 0, 100% 0, 100% 72%, 92% 100%, 0 100%, 0 28%);
  transition: var(--ease-out);
  border: none;
  cursor: pointer;
}
.btn-transition::after {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.55), transparent);
  transform: skewX(-25deg);
  transition: 0.5s ease;
}
.btn-transition:hover { transform: scale(1.04); box-shadow: var(--shadow-neon); }
.btn-transition:hover::after { left: 150%; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 30px;
  border: 1px solid var(--neon-primary);
  color: var(--neon-primary);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  border-radius: 8px;
  background: transparent;
  transition: var(--ease-out);
  cursor: pointer;
}
.btn-ghost:hover {
  background: var(--neon-primary);
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
  box-shadow: var(--shadow-neon);
}

/* ==========================================================================
   Hero & Page Headers
   ========================================================================== */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 110px 0 70px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 50px;
  align-items: center;
}
.hero-content { z-index: 2; }
.hero-tagline {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(101, 226, 17, 0.1);
  border: 1px solid var(--border-accent);
  color: var(--neon-primary);
  border-radius: 30px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 20px;
}
.hero-content h1 { font-size: 4rem; margin-bottom: 20px; text-shadow: var(--shadow-cinematic); }
.hero-content p { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 35px; max-width: 650px; }
.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }

.hero-stats-card {
  background: rgba(16, 26, 46, 0.75);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-accent);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow-cinematic);
}
.hero-stat-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.hero-stat-item:last-child { border-bottom: none; padding-bottom: 0; }
.hero-stat-item:first-child { padding-top: 0; }
.hero-stat-num {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--neon-primary);
}
.hero-stat-num.hero-stat-tech {
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1.45;
  text-align: end;
}
.hero-stat-label { color: var(--text-muted); font-size: 0.95rem; }

/* Inner Page Hero */
.page-hero {
  padding: 140px 0 60px;
  background: linear-gradient(180deg, rgba(10, 17, 34, 0.8) 0%, var(--bg-deep) 100%);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}
.breadcrumb {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 16px;
}
.breadcrumb a:hover { color: var(--neon-primary); }
.breadcrumb span.sep { color: var(--neon-primary); }
.page-hero h1 { font-size: 2.9rem; margin-bottom: 12px; }
.page-hero h1 span { color: var(--neon-primary); }
.page-hero p { color: var(--text-muted); font-size: 1.15rem; max-width: 700px; }

/* ==========================================================================
   Section Titles
   ========================================================================== */
.section-header { margin-bottom: 55px; text-align: center; }
.section-title { font-size: 2.8rem; margin-bottom: 12px; }
.section-title span { color: var(--neon-primary); }
.section-desc { color: var(--text-muted); font-size: 1.08rem; max-width: 620px; margin: 0 auto; }

/* ==========================================================================
   Services Grid
   ========================================================================== */
.services-area { padding: 95px 0; background: var(--bg-surface); }
.services-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}
.service-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 36px 26px;
  border-radius: 12px;
  position: relative;
  transition: var(--ease-out);
  overflow: hidden;
}
.service-box::before {
  content: ''; position: absolute; top: 0; right: 0; width: 100%; height: 3px;
  background: linear-gradient(90deg, transparent, var(--neon-primary));
  transform: scaleX(0); transform-origin: right; transition: var(--ease-out);
}
.service-box:hover { transform: translateY(-8px); border-color: var(--border-accent); }
.service-box:hover::before { transform: scaleX(1); }
.svc-icon { width: 48px; height: 48px; fill: var(--neon-primary); margin-bottom: 18px; }
.service-box h3 { font-size: 1.35rem; margin-bottom: 12px; }
.service-box p { color: var(--text-muted); font-size: 0.95rem; }

/* ==========================================================================
   Pricing / Order Service
   ========================================================================== */
.pricing-area { padding: 95px 0; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 40px 28px;
  text-align: center;
  transition: var(--ease-out);
  position: relative;
  display: flex;
  flex-direction: column;
}
.pricing-card.featured {
  border-color: var(--border-accent);
  background: linear-gradient(180deg, rgba(101, 226, 17, 0.06) 0%, var(--bg-card) 100%);
}
.pricing-badge {
  position: absolute;
  top: 16px;
  inset-inline-end: 16px;
  background: rgba(101, 226, 17, 0.15);
  color: var(--neon-primary);
  border: 1px solid var(--border-accent);
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
}
.pricing-card:hover {
  transform: translateY(-10px);
  border-color: var(--neon-primary);
  box-shadow: var(--shadow-neon);
}
.pricing-icon { width: 56px; height: 56px; fill: var(--neon-primary); margin: 0 auto 18px; }
.pricing-title { font-size: 1.7rem; margin-bottom: 8px; }
.pricing-price { font-size: 2.5rem; color: var(--neon-primary); font-weight: 900; margin-bottom: 16px; font-family: var(--font-heading); }
.pricing-desc { color: var(--text-muted); margin-bottom: 24px; font-size: 0.95rem; }
.pricing-features {
  text-align: start;
  margin-bottom: 28px;
  flex-grow: 1;
}
.pricing-features li {
  color: var(--text-main);
  font-size: 0.92rem;
  padding: 7px 0;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 8px;
}
.pricing-features li::before {
  content: '✓';
  color: var(--neon-primary);
  font-weight: 900;
}
.pricing-btn {
  display: inline-block;
  width: 100%;
  padding: 14px 0;
  background: var(--bg-surface);
  border: 1px solid var(--neon-primary);
  color: var(--neon-primary);
  font-family: var(--font-heading);
  font-weight: 700;
  border-radius: 8px;
  transition: var(--ease-out);
}
.pricing-card:hover .pricing-btn { background: var(--neon-primary); color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45); }

/* ==========================================================================
   Portfolio / Projects
   ========================================================================== */
.portfolio-area { padding: 95px 0; background: var(--bg-surface); }
.portfolio-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}
.project-card {
  background: var(--bg-card);
  border-radius: 14px;
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--ease-out);
}
.project-card:hover {
  transform: translateY(-8px);
  border-color: rgba(101, 226, 17, 0.45);
  box-shadow: 0 12px 32px rgba(0,0,0,0.55);
}
.project-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg-deep);
}
.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.project-card:hover .project-thumb img {
  transform: scale(1.08);
}
.project-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.project-status {
  font-size: 0.82rem;
  font-weight: 700;
  font-family: var(--font-heading);
  margin-bottom: 14px;
  display: inline-block;
  padding: 4px 14px;
  border-radius: 20px;
  width: fit-content;
}
.status-active {
  background: rgba(101, 226, 17, 0.1);
  color: var(--neon-primary);
  border: 1px solid rgba(101, 226, 17, 0.25);
}
.status-dev {
  background: rgba(255, 77, 77, 0.1);
  color: #ff6b6b;
  border: 1px solid rgba(255, 77, 77, 0.25);
}
.project-content h3 { font-size: 1.45rem; margin-bottom: 10px; }
.project-content p {
  color: var(--text-muted);
  font-size: 0.94rem;
  margin-bottom: 22px;
  line-height: 1.7;
  flex-grow: 1;
}
.project-link {
  align-self: flex-start;
  padding: 9px 22px;
  border: 1px solid var(--neon-primary);
  color: var(--neon-primary);
  font-family: var(--font-heading);
  font-weight: 700;
  border-radius: 30px;
  transition: var(--ease-out);
}
.project-link:hover {
  background: var(--neon-primary);
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
  box-shadow: var(--shadow-neon);
}

/* ==========================================================================
   Tools Section (naztools)
   ========================================================================== */
.tools-area {
  padding: 95px 0;
  background: var(--bg-deep);
}
.tool-spotlight-card {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 0;
  max-width: 1060px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-cinematic);
  transition: var(--ease-out);
}
.tool-spotlight-card:hover {
  border-color: var(--neon-primary);
  transform: translateY(-6px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.65), 0 0 24px rgba(101, 226, 17, 0.16);
}
.tool-spotlight-thumb {
  position: relative;
  min-height: 310px;
  background: var(--bg-surface);
  overflow: hidden;
  border-inline-end: 1px solid var(--border-subtle);
}
.tool-spotlight-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.45s ease;
}
.tool-spotlight-card:hover .tool-spotlight-thumb img {
  transform: scale(1.03);
}
.tool-spotlight-body {
  padding: 36px 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.tool-spotlight-body h3 {
  font-size: 2rem;
  margin-bottom: 12px;
  color: #fff;
}
.tool-spotlight-body p {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.8;
  margin-bottom: 20px;
}
.tool-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}
.tool-tag {
  padding: 5px 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  font-size: 0.82rem;
  font-weight: 600;
}
@media (max-width: 900px) {
  .tool-spotlight-card {
    grid-template-columns: 1fr;
  }
  .tool-spotlight-thumb {
    min-height: 220px;
    max-height: 320px;
    border-inline-end: none;
    border-bottom: 1px solid var(--border-subtle);
  }
  .tool-spotlight-body {
    padding: 26px 22px;
  }
}

/* ==========================================================================
   Roadmap (Timeline)
   ========================================================================== */
.roadmap-area { padding: 95px 0; }
.studio-timeline { position: relative; max-width: 820px; margin: 0 auto; padding-inline-start: 32px; }
.studio-timeline::before {
  content: ''; position: absolute; top: 0; inset-inline-start: 15px; width: 2px; height: 100%; background: var(--border-subtle);
}
.timeline-node { position: relative; margin-bottom: 32px; }
.timeline-node:last-child { margin-bottom: 0; }
.timeline-node::before {
  content: ''; position: absolute; top: 8px; inset-inline-start: -23px; width: 14px; height: 14px;
  background: var(--bg-deep); border: 2px solid var(--neon-primary); border-radius: 50%; z-index: 2;
  box-shadow: 0 0 10px var(--neon-glow);
}
.timeline-content {
  background: var(--bg-card); padding: 25px; border-radius: 12px;
  border: 1px solid var(--border-subtle); transition: var(--ease-out);
}
.timeline-content:hover { border-color: var(--border-accent); }
.timeline-content h3 { font-size: 1.35rem; margin-bottom: 8px; }
.timeline-content p { color: var(--text-muted); }
.time-badge { color: var(--neon-primary); font-family: var(--font-heading); font-weight: 900; margin-bottom: 8px; display: block; }

/* ==========================================================================
   Latest News / Blog Cards
   ========================================================================== */
.latest-news-area { padding: 95px 0; background: var(--bg-surface); }
.simple-blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.blog-card-simple {
  background: var(--bg-card); border-radius: 12px; overflow: hidden;
  border: 1px solid var(--border-subtle); transition: var(--ease-out);
  display: flex; flex-direction: column;
}
.blog-card-simple:hover { transform: translateY(-6px); border-color: var(--neon-primary); }
.blog-thumb-simple { height: 210px; overflow: hidden; position: relative; }
.blog-thumb-simple img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.blog-card-simple:hover .blog-thumb-simple img { transform: scale(1.06); }
.blog-cat-badge {
  position: absolute; top: 14px; inset-inline-start: 14px;
  background: rgba(5, 9, 20, 0.85); color: var(--neon-primary);
  border: 1px solid var(--border-accent); padding: 4px 12px;
  border-radius: 20px; font-size: 0.78rem; font-weight: 700;
}
.blog-meta-simple { padding: 24px; display: flex; flex-direction: column; flex-grow: 1; }
.blog-date-simple { font-size: 0.85rem; color: var(--neon-primary); margin-bottom: 8px; display: block; }
.blog-meta-simple h3 { font-size: 1.3rem; margin-bottom: 12px; line-height: 1.45; }
.blog-meta-simple p { color: var(--text-muted); font-size: 0.94rem; margin-bottom: 18px; flex-grow: 1; }
.read-more-link { color: var(--neon-primary); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.read-more-link:hover { gap: 10px; }

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-area { padding: 95px 0; }
.faq-accordion { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: var(--bg-card); margin-bottom: 14px; border-radius: 10px;
  border: 1px solid var(--border-subtle); overflow: hidden; transition: border-color var(--ease-out);
}
.faq-item.open { border-color: var(--border-accent); }
.faq-question {
  width: 100%; text-align: start; background: transparent; border: none;
  padding: 20px 24px; font-family: var(--font-heading); font-size: 1.15rem; font-weight: 700;
  display: flex; justify-content: space-between; align-items: center; gap: 12px; cursor: pointer; color: #fff;
}
.faq-item.open .faq-question { color: var(--neon-primary); }
.faq-icon { color: var(--neon-primary); font-size: 1.4rem; line-height: 1; transition: transform 0.25s ease; }
.faq-answer {
  padding: 0 24px 20px; color: var(--text-muted); display: none; line-height: 1.85;
}
.faq-item.open .faq-answer { display: block; }

/* ==========================================================================
   Inner Content Sections (Contact, Legal, Project Details, News)
   ========================================================================== */
.content-section { padding: 70px 0 95px; flex-grow: 1; }
.card-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 36px;
  box-shadow: var(--shadow-cinematic);
}
.two-col-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 35px;
  align-items: start;
}

/* Forms */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-family: var(--font-heading); font-weight: 700;
  margin-bottom: 8px; color: #fff; font-size: 0.98rem;
}
.form-control {
  width: 100%; padding: 13px 16px;
  background: var(--bg-surface); border: 1px solid var(--border-subtle);
  border-radius: 8px; color: var(--text-main);
  font-family: var(--font-body); font-size: 1rem;
  transition: border-color var(--ease-out), box-shadow var(--ease-out);
}
.form-control:focus {
  outline: none;
  border-color: var(--neon-primary);
  box-shadow: 0 0 0 3px rgba(101, 226, 17, 0.15);
}
textarea.form-control { min-height: 140px; resize: vertical; }
.form-feedback {
  margin-top: 16px; padding: 14px 18px; border-radius: 8px;
  display: none; font-weight: 600;
}
.form-feedback.success {
  display: block;
  background: rgba(101, 226, 17, 0.12);
  border: 1px solid var(--border-accent);
  color: var(--neon-primary);
}

/* Filter Pills */
.filter-bar {
  display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-bottom: 40px;
}
.filter-btn {
  padding: 9px 22px; border-radius: 30px;
  background: var(--bg-card); border: 1px solid var(--border-subtle);
  color: var(--text-muted); font-family: var(--font-heading); font-weight: 700;
  cursor: pointer; transition: var(--ease-out);
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--neon-primary); color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45); border-color: var(--neon-primary);
}

/* Legal Document Typography */
.legal-doc h2 { font-size: 1.55rem; color: var(--neon-primary); margin: 28px 0 12px; }
.legal-doc h2:first-child { margin-top: 0; }
.legal-doc p, .legal-doc li { color: var(--text-muted); margin-bottom: 12px; line-height: 1.9; }
.legal-doc ul { padding-inline-start: 22px; list-style: disc; }

/* Project Detail Layout */
.project-detail-hero {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
}
.project-detail-img {
  border-radius: 16px; overflow: hidden; border: 1px solid var(--border-accent);
  box-shadow: var(--shadow-cinematic);
}
.specs-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin: 28px 0;
}
.spec-box {
  background: var(--bg-surface); border: 1px solid var(--border-subtle);
  padding: 16px; border-radius: 10px;
}
.spec-label { color: var(--text-muted); font-size: 0.85rem; display: block; margin-bottom: 4px; }
.spec-value { color: #fff; font-family: var(--font-heading); font-weight: 700; font-size: 1.05rem; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border-subtle);
  padding: 75px 0 24px;
  margin-top: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 0.9fr 1fr;
  gap: 40px;
  margin-bottom: 45px;
}
.footer-col h4 {
  font-family: var(--font-heading);
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 10px;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0; inset-inline-start: 0;
  width: 40px; height: 2px;
  background: var(--neon-primary);
}
.footer-about p { color: var(--text-muted); margin-bottom: 16px; font-size: 0.95rem; }
.footer-links li { margin-bottom: 11px; }
.footer-links a {
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
}
.footer-links a:hover { color: var(--neon-primary); transform: translateX(-6px); }
html[dir="ltr"] .footer-links a:hover { transform: translateX(6px); }

.social-dock { display: flex; gap: 12px; flex-wrap: wrap; }
.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(16, 26, 46, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border-subtle);
  transition: var(--ease-bounce);
}
.social-btn svg { width: 20px; height: 20px; fill: var(--text-muted); transition: var(--ease-out); }
.social-btn:hover {
  transform: translateY(-5px) scale(1.06);
  border-color: #18F488;
  box-shadow: 0 0 18px rgba(11, 252, 3, 0.32), 0 8px 20px rgba(0, 0, 0, 0.45);
}
.social-btn.fb:hover, .social-btn.plat-facebook:hover { background: #1877F2; }
.social-btn.tw:hover, .social-btn.plat-x:hover { background: #111827; }
.social-btn.ig:hover, .social-btn.plat-instagram:hover { background: #E1306C; }
.social-btn.yt:hover, .social-btn.plat-youtube:hover { background: #FF0000; }
.social-btn.tg:hover, .social-btn.plat-telegram:hover { background: #229ED9; }
.social-btn.gh:hover, .social-btn.plat-github:hover { background: #24292f; }
.social-btn.plat-discord:hover { background: #5865F2; }
.social-btn.plat-tiktok:hover { background: #111827; }
.social-btn.plat-whatsapp:hover { background: #25D366; }
.social-btn.plat-kofi:hover { background: #FF5E5B; }
.social-btn.em:hover, .social-btn.plat-email:hover, .social-btn.plat-website:hover {
  background: linear-gradient(135deg, #0bfc03, #18F488);
}
.social-btn:hover svg { fill: #fff; }
.social-btn.em:hover svg,
.social-btn.plat-email:hover svg,
.social-btn.plat-website:hover svg {
  fill: #050914;
}
html[data-theme="light"] .social-btn {
  background: rgba(255, 255, 255, 0.85);
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* ==========================================================================
   Cookie Consent Banner
   ========================================================================== */
.cookie-consent {
  position: fixed;
  bottom: -160px;
  left: 50%;
  transform: translateX(-50%);
  width: 92%;
  max-width: 720px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-top: 2px solid var(--neon-primary);
  padding: 18px 22px;
  border-radius: 12px;
  box-shadow: var(--shadow-cinematic);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  z-index: 9999;
  opacity: 0;
  transition: all 0.55s var(--ease-bounce);
}
.cookie-consent.show { bottom: 22px; opacity: 1; }
.cookie-text { font-size: 0.92rem; color: var(--text-muted); line-height: 1.6; }
.cookie-text strong { color: #fff; font-family: var(--font-heading); font-size: 1.05rem; }
.cookie-btn {
  background: var(--neon-primary);
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
  border: none;
  padding: 11px 26px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--ease-out);
  white-space: nowrap;
}
.cookie-btn:hover { background: var(--neon-dark); color: #fff; transform: scale(1.04); }

/* ==========================================================================
   Modal (for News Articles)
   ========================================================================== */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(5, 9, 20, 0.85);
  backdrop-filter: blur(8px);
  z-index: 5000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: 16px;
  max-width: 760px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  padding: 36px;
  position: relative;
  box-shadow: var(--shadow-cinematic);
}
.modal-close {
  position: sticky; float: left; top: 0;
  background: var(--bg-surface); border: 1px solid var(--border-subtle);
  color: #fff; width: 38px; height: 38px; border-radius: 8px;
  font-size: 1.3rem; cursor: pointer;
}
.modal-close:hover { border-color: var(--neon-primary); color: var(--neon-primary); }

/* Scroll Reveal */
.reveal-elem {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.45s ease-out, transform 0.45s ease-out;
}
.reveal-elem.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   App Store Game Page (Google Play / App Store Inspired)
   ========================================================================== */
.store-hero {
  position: relative;
  padding: 125px 0 55px;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
  background: radial-gradient(circle at 20% 20%, rgba(101, 226, 17, 0.12), transparent 55%),
              linear-gradient(180deg, rgba(10, 17, 34, 0.92) 0%, var(--bg-deep) 100%);
}
.store-header-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
}
.store-app-icon {
  width: 126px;
  height: 126px;
  border-radius: 28px;
  overflow: hidden;
  border: 2px solid var(--border-accent);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.65), 0 0 24px rgba(101, 226, 17, 0.2);
  background: var(--bg-card);
  flex-shrink: 0;
}
.store-app-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.store-title-wrap h1 {
  font-size: 2.5rem;
  margin-bottom: 6px;
}
.store-dev-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.store-dev-name {
  color: var(--neon-primary);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.verified-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--neon-primary);
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
  font-size: 0.72rem;
  font-weight: 900;
}
.store-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.store-tag {
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
}
.store-metrics {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 22px;
  flex-wrap: wrap;
}
.store-metric {
  padding: 0 22px;
  border-left: 1px solid var(--border-subtle);
  text-align: center;
}
.store-metric:first-child { padding-right: 0; }
.store-metric:last-child { border-left: none; }
html[dir="ltr"] .store-metric {
  border-left: none;
  border-right: 1px solid var(--border-subtle);
}
html[dir="ltr"] .store-metric:first-child { padding-left: 0; padding-right: 22px; }
html[dir="ltr"] .store-metric:last-child { border-right: none; }

.store-metric-val {
  display: block;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.15rem;
  color: #fff;
}
.store-metric-lbl {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.store-cta-panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 268px;
}
.store-install-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--neon-primary), var(--neon-dark));
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.08rem;
  white-space: nowrap;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(101, 226, 17, 0.28);
  transition: var(--ease-out);
}
.store-install-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(101, 226, 17, 0.45);
}
.store-secondary-actions {
  display: flex;
  gap: 8px;
}
.store-mini-btn {
  flex: 1;
  padding: 9px 12px;
  border-radius: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: var(--ease-out);
}
.store-mini-btn:hover {
  border-color: var(--neon-primary);
  color: var(--neon-primary);
}
.store-safety-note {
  font-size: 0.8rem;
  color: var(--neon-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 2px;
  text-align: center;
}

/* Main Store Content Layout */
.store-body-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: start;
}
.store-body-grid > *,
.two-col-grid > *,
.hero-grid > *,
.project-detail-hero > *,
.footer-grid > * {
  min-width: 0;
}
.store-section {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 28px;
  margin-bottom: 26px;
  min-width: 0;
}
.store-section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.store-section-head h2 {
  font-size: 1.4rem;
}

/* Screenshots Carousel */
.slider-wrapper-relative {
  position: relative;
  display: flex;
  align-items: center;
}
.premium-slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 16px;
  padding: 8px 0 14px;
  scrollbar-width: none;
  scroll-behavior: smooth;
  width: 100%;
}
.premium-slider::-webkit-scrollbar { display: none; }
.premium-screenshot {
  flex: 0 0 calc(25% - 12px);
  min-width: 170px;
  height: 350px;
  border-radius: 18px;
  object-fit: cover;
  scroll-snap-align: start;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.premium-screenshot:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: var(--neon-primary);
}
.slider-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(5, 9, 20, 0.9);
  backdrop-filter: blur(8px);
  color: var(--neon-primary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.8);
  border: 1px solid var(--border-accent);
  transition: var(--ease-out);
}
.slider-nav-btn svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2.5; fill: none; }
.slider-nav-btn:hover { background: var(--neon-primary); color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45); }
.slider-nav-btn.prev-btn { right: 8px; }
.slider-nav-btn.next-btn { left: 8px; }

/* Alt Stores Badges */
.stores-grid {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.store-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-surface);
  color: #fff;
  padding: 12px 22px;
  border-radius: 12px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  border: 1px solid var(--border-subtle);
  transition: var(--ease-out);
}
.store-badge:hover {
  border-color: var(--neon-primary);
  background: rgba(101, 226, 17, 0.08);
  transform: translateY(-2px);
}

/* Data Safety & Changelog */
.safety-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.safety-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
}
.safety-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(101, 226, 17, 0.12);
  color: var(--neon-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 900;
}

/* Ratings & Reviews */
.ratings-overview {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 28px;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border-subtle);
}
.rating-big-score {
  text-align: center;
}
.rating-big-score .score-num {
  font-family: var(--font-heading);
  font-size: 3.4rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}
.rating-stars {
  color: var(--neon-primary);
  font-size: 1.15rem;
  margin: 6px 0;
  letter-spacing: 2px;
}
.rating-bars {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.rating-bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.bar-track {
  flex: 1;
  height: 8px;
  border-radius: 99px;
  background: var(--bg-surface);
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  background: var(--neon-primary);
  border-radius: 99px;
}
.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.review-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 16px 18px;
}
.review-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.review-user {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  color: #fff;
}
.review-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(101, 226, 17, 0.16);
  color: var(--neon-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}

/* Sidebar Specs & Related Apps */
.spec-list-table {
  display: flex;
  flex-direction: column;
}
.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.92rem;
}
.spec-row:last-child { border-bottom: none; }
.spec-row span:first-child { color: var(--text-muted); flex-shrink: 0; }
.spec-row span:last-child { color: #fff; font-weight: 700; text-align: end; }

.related-app-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: var(--ease-out);
}
.related-app-item > div {
  flex: 1;
  min-width: 0;
}
.related-app-item:hover {
  background: var(--bg-surface);
  border-color: var(--border-accent);
}
.related-app-item img {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
}
.safety-row strong,
.related-app-item strong {
  color: #fff;
}

/* Star Picker */
.star-picker {
  display: inline-flex;
  gap: 6px;
  margin-bottom: 12px;
}
.star-pick-btn {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: transform 0.15s ease, color 0.15s ease;
}
.star-pick-btn.active,
.star-pick-btn:hover {
  color: var(--neon-primary);
  transform: scale(1.15);
}

/* ==========================================================================
   Terms of Use (Dark Cinematic UI)
   ========================================================================== */
.terms-getout-container {
  max-width: 960px;
  margin: 0 auto;
  width: 100%;
}
.code-badge {
  background: var(--bg-card);
  color: var(--neon-primary);
  font-family: 'Courier New', Courier, monospace;
  padding: 8px 16px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  margin-top: 16px;
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--neon-primary);
  direction: ltr;
}
.terms-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 28px;
}
.terms-toc a {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  transition: var(--ease-out);
}
.terms-toc a:hover {
  border-color: var(--neon-primary);
  color: var(--neon-primary);
  background: rgba(101, 226, 17, 0.08);
}
.terms-intro {
  font-size: 1.08rem;
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 34px;
  padding: 26px 28px;
  background: linear-gradient(145deg, rgba(16, 26, 46, 0.9), rgba(10, 17, 34, 0.9));
  border-radius: 16px;
  border: 1px solid var(--border-accent);
  box-shadow: var(--shadow-cinematic);
}
.terms-intro b {
  color: #fff;
  font-family: var(--font-heading);
}
.terms-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.terms-card {
  background: var(--bg-card);
  padding: 28px 30px;
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
  border-inline-start: 4px solid var(--neon-primary);
  box-shadow: var(--shadow-cinematic);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s ease, border-color 0.35s ease;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  position: relative;
  scroll-margin-top: 100px;
}
.terms-card:hover {
  transform: translateX(-6px);
  box-shadow: 0 15px 35px rgba(101, 226, 17, 0.14);
  border-color: rgba(101, 226, 17, 0.4);
}
html[dir="ltr"] .terms-card:hover {
  transform: translateX(6px);
}
.terms-icon-wrapper {
  background: rgba(101, 226, 17, 0.1);
  width: 58px;
  height: 58px;
  min-width: 58px;
  border-radius: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid rgba(101, 226, 17, 0.25);
  box-shadow: 0 0 18px rgba(101, 226, 17, 0.12);
}
.terms-icon-wrapper svg {
  color: var(--neon-primary);
}
.terms-content {
  flex: 1;
  min-width: 0;
}
.terms-content h2 {
  font-family: var(--font-heading);
  color: #fff;
  font-size: 1.38rem;
  margin: 0 0 12px 0;
  font-weight: 900;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.terms-num {
  color: var(--neon-primary);
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.95rem;
}
.terms-tag {
  font-size: 0.72rem;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  padding: 3px 9px;
  border-radius: 6px;
  font-family: 'Courier New', Courier, monospace;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  direction: ltr;
}
.terms-content p {
  font-size: 0.98rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.85;
}
.terms-content ul {
  margin: 14px 0 0 0;
  padding-inline-start: 20px;
  color: var(--text-muted);
  font-size: 0.96rem;
  list-style: disc;
}
.terms-content ul li {
  margin-bottom: 8px;
  line-height: 1.8;
}
.terms-content ul li::marker {
  color: var(--neon-primary);
}
.terms-content ul li b {
  color: #fff;
}
.terms-contact {
  margin-top: 46px;
  padding: 40px 30px;
  background: linear-gradient(160deg, var(--bg-surface) 0%, var(--bg-card) 100%);
  color: #fff;
  border-radius: 20px;
  text-align: center;
  border: 1px solid var(--border-accent);
  box-shadow: var(--shadow-cinematic);
  position: relative;
  overflow: hidden;
}
.terms-contact::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(101, 226, 17, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.terms-contact h2 {
  font-family: var(--font-heading);
  color: var(--neon-primary);
  margin: 0 0 12px 0;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.terms-contact p {
  color: var(--text-muted);
  margin: 0 auto 24px auto;
  font-size: 1.02rem;
  max-width: 600px;
}
.terms-contact-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}
.contact-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--neon-primary), var(--neon-dark));
  color: #fff !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
  padding: 13px 28px;
  border-radius: 10px;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.05rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  gap: 10px;
}
.contact-action-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-neon);
}

/* ==========================================================================
   Upgraded FAQ Page (Search, Categories & Details Accordion)
   ========================================================================== */
.faq-getout-container {
  max-width: 960px;
  margin: 0 auto;
  width: 100%;
}
.faq-search-wrap {
  position: relative;
  margin-bottom: 22px;
}
.faq-search-input {
  width: 100%;
  padding: 15px 48px 15px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: 14px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 1.02rem;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
  transition: border-color var(--ease-out), box-shadow var(--ease-out);
}
html[dir="ltr"] .faq-search-input {
  padding: 15px 20px 15px 48px;
}
.faq-search-input:focus {
  outline: none;
  border-color: var(--neon-primary);
  box-shadow: 0 0 0 3px rgba(101, 226, 17, 0.16);
}
.faq-search-icon {
  position: absolute;
  top: 50%;
  inset-inline-start: 16px;
  transform: translateY(-50%);
  color: var(--neon-primary);
  pointer-events: none;
}
.faq-category-group {
  margin-bottom: 34px;
}
.faq-category-title {
  font-family: var(--font-heading);
  font-size: 1.42rem;
  color: #fff;
  font-weight: 900;
  margin: 10px 0 18px 0;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(101, 226, 17, 0.28);
  display: flex;
  align-items: center;
  gap: 10px;
}
.faq-category-title svg {
  color: var(--neon-primary);
  flex-shrink: 0;
}
.faq-getout-container details {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  margin-bottom: 12px;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
  width: 100%;
}
.faq-getout-container details:hover {
  border-color: rgba(101, 226, 17, 0.38);
}
.faq-getout-container details[open] {
  border-color: var(--neon-primary);
  background: var(--bg-card);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}
.faq-getout-container summary {
  padding: 18px 22px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.08rem;
  color: #fff;
  cursor: pointer;
  list-style: none;
  user-select: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.faq-getout-container summary::-webkit-details-marker {
  display: none;
}
.faq-getout-container summary::after {
  content: '+';
  font-family: 'Courier New', monospace;
  font-size: 1.55rem;
  color: var(--neon-primary);
  font-weight: 900;
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
.faq-getout-container details[open] summary {
  color: var(--neon-primary);
}
.faq-getout-container details[open] summary::after {
  content: '−';
}
.faq-getout-container .faq-answer {
  padding: 16px 22px 20px;
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.85;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
  display: block;
}
.faq-empty-msg {
  display: none;
  text-align: center;
  padding: 36px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  color: var(--text-muted);
}

/* ==========================================================================
   Responsive (All Devices: Desktop, Laptop, Tablet, Mobile)
   ========================================================================== */
@media (max-width: 1220px) {
  .nav-links a { padding: 6px 11px; font-size: 0.86rem; }
  .support-btn { padding: 7px 12px; font-size: 0.84rem; }
  .lang-btn { padding: 7px 10px; font-size: 0.84rem; }
}

@media (max-width: 1060px) {
  .menu-toggle { display: flex; }
  .nav-actions { margin-inline-start: auto; }
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 78%; max-width: 320px; height: 100vh;
    background: rgba(5, 9, 20, 0.98);
    backdrop-filter: blur(18px);
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    transition: 0.35s ease-in-out;
    border-radius: 0;
    border: none;
    border-left: 1px solid var(--border-accent);
    box-shadow: -15px 0 35px rgba(0,0,0,0.7);
    padding: 28px 22px;
    gap: 10px;
    z-index: 1000;
  }
  html[dir="ltr"] .nav-links {
    right: auto;
    left: -100%;
    border-left: none;
    border-right: 1px solid var(--border-accent);
    box-shadow: 15px 0 35px rgba(0,0,0,0.7);
  }
  .nav-links.active { right: 0; }
  html[dir="ltr"] .nav-links.active { right: auto; left: 0; }
  .nav-links a {
    font-size: 1.08rem;
    padding: 12px 18px;
    text-align: center;
  }
}

@media (max-width: 1024px) {
  .hero-grid, .project-detail-hero, .two-col-grid, .store-body-grid { grid-template-columns: 1fr; }
  .store-header-grid { grid-template-columns: 1fr; text-align: center; }
  .store-app-icon { margin: 0 auto; }
  .store-dev-row, .store-tags, .store-metrics { justify-content: center; }
  .store-cta-panel { max-width: 340px; margin: 0 auto; width: 100%; min-width: 0; }
  .services-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid, .simple-blog-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .premium-screenshot { flex: 0 0 210px; height: 360px; }
}

@media (max-width: 768px) {
  .ratings-overview { grid-template-columns: 1fr; text-align: center; }
  .store-hero { padding: 105px 0 40px; }
  .store-title-wrap h1 { font-size: 1.9rem; }
  .store-section { padding: 20px 16px; }
  .slider-nav-btn { display: none; }
  .store-metric { padding: 8px 14px; }
  .hero-content h1 { font-size: 2.35rem; }
  .page-hero { padding: 115px 0 42px; }
  .page-hero h1 { font-size: 1.95rem; }
  .section-title { font-size: 2rem; }
  .services-grid-4, .pricing-grid, .simple-blog-grid, .portfolio-showcase, .footer-grid { grid-template-columns: 1fr; }
  .cookie-consent { flex-direction: column; text-align: center; }
  .card-panel { padding: 22px 18px; }
  .nav-actions { gap: 7px; }
  .support-btn { padding: 7px 11px; font-size: 0.82rem; }
  .lang-btn { padding: 7px 10px; font-size: 0.82rem; }
  .terms-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 18px;
  }
  .terms-card:hover,
  html[dir="ltr"] .terms-card:hover {
    transform: translateY(-4px);
  }
  .terms-content h2 {
    justify-content: center;
  }
  .terms-content ul {
    text-align: start;
  }
  .contact-action-btn {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .studio-logo { font-size: 1.4rem; }
  .menu-toggle { width: 38px; height: 38px; }
  .support-btn { padding: 6px 9px; font-size: 0.78rem; gap: 5px; }
  .support-btn .heart-icon { width: 14px; height: 14px; }
  .support-btn .chevron-icon { width: 12px; height: 12px; }
  .lang-btn { padding: 6px 8px; font-size: 0.78rem; gap: 5px; }
  .lang-dropdown,
  .support-dropdown {
    position: fixed;
    top: 66px;
    left: 14px;
    right: 14px;
    width: auto;
  }
  html[dir="ltr"] .lang-dropdown,
  html[dir="ltr"] .support-dropdown { left: 14px; right: 14px; }
  .store-metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    width: 100%;
  }
  .store-metric,
  html[dir="ltr"] .store-metric {
    border: 1px solid var(--border-subtle) !important;
    border-radius: 10px;
    padding: 10px !important;
    background: rgba(255, 255, 255, 0.02);
  }
  .premium-screenshot { flex: 0 0 76%; height: 360px; }
}

@media (prefers-reduced-motion: reduce) {
  body::before,
  body::after,
  .premium-navbar::after {
    animation: none;
  }
}

/* Theme Toggle Button */
.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  cursor: pointer;
  flex-shrink: 0;
  transition: var(--ease-out);
}
.theme-toggle-btn:hover {
  border-color: var(--neon-primary);
  color: var(--neon-primary);
  box-shadow: 0 0 12px var(--neon-glow);
  transform: translateY(-1px);
}
.theme-toggle-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.25s ease;
}
.theme-toggle-btn:hover svg {
  transform: rotate(15deg) scale(1.08);
}
.theme-toggle-btn .icon-sun {
  display: block;
  stroke: var(--neon-primary);
}
.theme-toggle-btn .icon-moon {
  display: none;
}
html[data-theme="light"] .theme-toggle-btn .icon-sun {
  display: none;
}
html[data-theme="light"] .theme-toggle-btn .icon-moon {
  display: block;
  stroke: var(--neon-primary);
}
@media (max-width: 768px) {
  .theme-toggle-btn { width: 34px; height: 34px; }
  .theme-toggle-btn svg { width: 16px; height: 16px; }
}
@media (max-width: 520px) {
  .theme-toggle-btn { width: 32px; height: 32px; }
  .theme-toggle-btn svg { width: 15px; height: 15px; }
}

/* ==========================================================================
   Day / Light Mode Theme (html[data-theme="light"])
   ========================================================================== */
html[data-theme="light"] {
  color-scheme: light;
  --bg-deep: #f4f7fb;
  --bg-surface: #eaf0f8;
  --bg-card: #ffffff;
  --bg-card-hover: #f8fbff;
  --neon-primary: #2e8502;
  --neon-dark: #216301;
  --neon-glow: rgba(46, 133, 2, 0.22);

  --text-main: #0f172a;
  --text-muted: #475569;

  --border-subtle: rgba(15, 23, 42, 0.09);
  --border-accent: rgba(46, 133, 2, 0.34);
  --shadow-cinematic: 0 16px 36px rgba(15, 23, 42, 0.08);
  --shadow-neon: 0 6px 20px rgba(46, 133, 2, 0.24);
}

html[data-theme="light"] body::before {
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.032) 1px, transparent 1px);
}
html[data-theme="light"] body::after {
  background-image:
    repeating-linear-gradient(45deg, rgba(46, 133, 2, 0.05) 0 1px, transparent 1px 32px),
    repeating-linear-gradient(-45deg, rgba(15, 23, 42, 0.024) 0 1px, transparent 1px 32px);
}
html[data-theme="light"] .orb-1 { background: rgba(46, 133, 2, 0.08); }
html[data-theme="light"] .orb-2 { background: rgba(46, 133, 2, 0.045); }

html[data-theme="light"] h1,
html[data-theme="light"] h2,
html[data-theme="light"] h3,
html[data-theme="light"] h4,
html[data-theme="light"] .studio-logo,
html[data-theme="light"] .spec-value,
html[data-theme="light"] .spec-row span:last-child,
html[data-theme="light"] .footer-col h4,
html[data-theme="light"] .cookie-text strong,
html[data-theme="light"] .store-title-wrap h1,
html[data-theme="light"] .store-section-head h2,
html[data-theme="light"] .store-dev-row,
html[data-theme="light"] .store-metric-val,
html[data-theme="light"] .store-badge,
html[data-theme="light"] .related-app-item strong,
html[data-theme="light"] .safety-row strong,
html[data-theme="light"] .rating-big-score .score-num,
html[data-theme="light"] .review-user,
html[data-theme="light"] .faq-question,
html[data-theme="light"] .faq-category-title,
html[data-theme="light"] .faq-getout-container summary,
html[data-theme="light"] .faq-search-input,
html[data-theme="light"] .form-group label,
html[data-theme="light"] .form-control,
html[data-theme="light"] .terms-content h2,
html[data-theme="light"] .terms-content ul li b,
html[data-theme="light"] .terms-intro b,
html[data-theme="light"] .modal-close,
html[data-theme="light"] .breadcrumb {
  color: #0f172a;
}

html[data-theme="light"] .faq-getout-container details[open] summary {
  color: var(--neon-primary);
}
html[data-theme="light"] .form-control::placeholder,
html[data-theme="light"] .faq-search-input::placeholder {
  color: var(--text-muted);
  opacity: 0.85;
}
html[data-theme="light"] .hero-content h1 {
  text-shadow: none;
}

html[data-theme="light"] .premium-navbar {
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}
html[data-theme="light"] .premium-navbar::before {
  background: linear-gradient(90deg, transparent, rgba(46, 133, 2, 0.45), transparent);
}
html[data-theme="light"] .premium-navbar::after {
  background-image:
    repeating-linear-gradient(45deg, rgba(46, 133, 2, 0.075) 0 1px, transparent 1px 24px),
    repeating-linear-gradient(-45deg, rgba(15, 23, 42, 0.035) 0 1px, transparent 1px 24px);
}
html[data-theme="light"] .premium-navbar.scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.1);
}
html[data-theme="light"] .nav-progress {
  background: linear-gradient(90deg, var(--neon-dark), var(--neon-primary), #4fb80c);
}
html[data-theme="light"] .nav-links {
  background: rgba(241, 245, 249, 0.92);
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
html[data-theme="light"] .nav-links a:hover {
  color: #0f172a;
  background: rgba(15, 23, 42, 0.06);
}
html[data-theme="light"] .nav-links a.active {
  background: rgba(46, 133, 2, 0.12);
}
html[data-theme="light"] .nav-links a.active:hover {
  color: #fff;
}
html[data-theme="light"] .support-btn {
  background: rgba(46, 133, 2, 0.1);
}
html[data-theme="light"] .support-btn:hover,
html[data-theme="light"] .support-btn[aria-expanded="true"] {
  background: var(--neon-primary);
  color: #fff;
}
html[data-theme="light"] .support-dropdown {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.16);
}
html[data-theme="light"] .support-option {
  background: #f8fafc;
}
html[data-theme="light"] .support-option:hover {
  background: #ffffff;
}
html[data-theme="light"] .support-opt-title {
  color: #0f172a;
}
html[data-theme="light"] .support-option.paypal .support-opt-icon {
  background: rgba(0, 112, 186, 0.11);
  color: #0070ba;
  border-color: rgba(0, 112, 186, 0.25);
}
html[data-theme="light"] .support-option.kofi .support-opt-icon {
  background: rgba(225, 48, 56, 0.1);
  color: #e13038;
  border-color: rgba(225, 48, 56, 0.24);
}
html[data-theme="light"] .lang-btn:hover,
html[data-theme="light"] .lang-btn[aria-expanded="true"] {
  color: #0f172a;
  box-shadow: 0 0 12px rgba(46, 133, 2, 0.16);
}
html[data-theme="light"] .lang-dropdown {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.16);
}
html[data-theme="light"] .lang-option:hover {
  background: rgba(15, 23, 42, 0.05);
  color: #0f172a;
}
html[data-theme="light"] .lang-option.active {
  background: rgba(46, 133, 2, 0.12);
}
html[data-theme="light"] .menu-toggle span {
  background: #0f172a;
}
html[data-theme="light"] .nav-backdrop {
  background: rgba(15, 23, 42, 0.35);
}

html[data-theme="light"] .hero-tagline,
html[data-theme="light"] .status-active,
html[data-theme="light"] .pricing-badge,
html[data-theme="light"] .form-feedback.success,
html[data-theme="light"] .safety-icon,
html[data-theme="light"] .review-avatar,
html[data-theme="light"] .terms-icon-wrapper {
  background: rgba(46, 133, 2, 0.11);
}
html[data-theme="light"] .status-dev {
  background: rgba(220, 38, 38, 0.08);
  color: #dc2626;
  border-color: rgba(220, 38, 38, 0.25);
}
html[data-theme="light"] .hero-stats-card {
  background: rgba(255, 255, 255, 0.9);
}
html[data-theme="light"] .page-hero {
  background: linear-gradient(180deg, #e6edf7 0%, var(--bg-deep) 100%);
}
html[data-theme="light"] .store-hero {
  background: radial-gradient(circle at 20% 20%, rgba(46, 133, 2, 0.09), transparent 55%),
              linear-gradient(180deg, #e6edf7 0%, var(--bg-deep) 100%);
}
html[data-theme="light"] .store-app-icon {
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12), 0 0 20px rgba(46, 133, 2, 0.15);
}
html[data-theme="light"] .store-tag {
  background: rgba(15, 23, 42, 0.05);
  color: #334155;
}
html[data-theme="light"] .store-install-btn {
  box-shadow: 0 8px 22px rgba(46, 133, 2, 0.28);
}
html[data-theme="light"] .store-install-btn:hover {
  box-shadow: 0 12px 28px rgba(46, 133, 2, 0.38);
}
html[data-theme="light"] .store-badge:hover {
  background: rgba(46, 133, 2, 0.08);
}
html[data-theme="light"] .slider-nav-btn {
  background: rgba(255, 255, 255, 0.94);
  color: var(--neon-dark);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.16);
}
html[data-theme="light"] .slider-nav-btn:hover {
  background: var(--neon-primary);
  color: #fff;
}
html[data-theme="light"] .premium-screenshot {
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
}
html[data-theme="light"] .portfolio-card:hover {
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.12);
}
html[data-theme="light"] .tool-spotlight-card:hover {
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.12), 0 0 22px rgba(46, 133, 2, 0.14);
}
html[data-theme="light"] .tool-spotlight-body h3 {
  color: #0f172a;
}
html[data-theme="light"] .tool-tag {
  background: rgba(15, 23, 42, 0.05);
  color: #334155;
}
html[data-theme="light"] .blog-cat-badge {
  background: rgba(255, 255, 255, 0.94);
  color: var(--neon-dark);
  border: 1px solid var(--border-accent);
}
html[data-theme="light"] .pricing-card.featured {
  background: linear-gradient(180deg, rgba(46, 133, 2, 0.06) 0%, #ffffff 100%);
}
html[data-theme="light"] .terms-toc a:hover {
  background: rgba(46, 133, 2, 0.08);
}
html[data-theme="light"] .terms-intro {
  background: linear-gradient(145deg, #ffffff, #f1f6fc);
}
html[data-theme="light"] .terms-tag {
  background: rgba(15, 23, 42, 0.05);
  border-color: rgba(15, 23, 42, 0.1);
}
html[data-theme="light"] .terms-contact {
  background: linear-gradient(160deg, #ffffff 0%, #eff5fd 100%);
  color: #0f172a;
}
html[data-theme="light"] .terms-contact::after {
  background: radial-gradient(circle, rgba(46, 133, 2, 0.08) 0%, transparent 70%);
}
html[data-theme="light"] .faq-search-input {
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.07);
}
html[data-theme="light"] .faq-getout-container details {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.09);
}
html[data-theme="light"] .faq-getout-container details:hover {
  border-color: rgba(46, 133, 2, 0.36);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
}
html[data-theme="light"] .faq-getout-container details[open] {
  background: #ffffff;
  border-color: var(--neon-primary);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
}
html[data-theme="light"] .faq-answer {
  border-top-color: rgba(15, 23, 42, 0.08);
}
html[data-theme="light"] .modal-overlay {
  background: rgba(15, 23, 42, 0.52);
}

@media (max-width: 1220px) {
  html[data-theme="light"] .nav-links {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: -15px 0 35px rgba(15, 23, 42, 0.16);
  }
  html[data-theme="light"][dir="ltr"] .nav-links {
    box-shadow: 15px 0 35px rgba(15, 23, 42, 0.16);
  }
}
@media (max-width: 520px) {
  html[data-theme="light"] .store-metric,
  html[data-theme="light"][dir="ltr"] .store-metric {
    background: rgba(15, 23, 42, 0.03);
  }
}

/* ==========================================================================
   Account Button, Portal & Auth Gate
   ========================================================================== */
.account-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  flex-shrink: 0;
  position: relative;
  transition: var(--ease-out);
}
.account-nav-btn .user-icon {
  width: 18px;
  height: 18px;
  stroke: var(--neon-primary);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.25s ease;
}
.account-nav-initial {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 0.96rem;
  color: var(--neon-primary);
  line-height: 1;
  text-transform: uppercase;
}
.account-nav-btn.linked {
  border-color: var(--border-accent);
  background: rgba(101, 226, 17, 0.12);
  box-shadow: 0 0 12px rgba(101, 226, 17, 0.18);
}
.account-nav-btn.has-photo {
  padding: 0;
  border-color: var(--neon-primary);
}
.account-nav-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
.account-nav-avatar.hidden,
.account-avatar-img.hidden {
  display: none !important;
}
.account-nav-btn:hover {
  border-color: var(--neon-primary);
  box-shadow: 0 0 12px var(--neon-glow);
  transform: translateY(-1px);
}
.account-nav-btn:hover .user-icon {
  transform: scale(1.08);
}
.account-badge {
  position: absolute;
  top: -4px;
  inset-inline-end: -4px;
  z-index: 2;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 20px;
  background: var(--neon-primary);
  border: 2px solid var(--bg-deep);
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.user-icon.hidden,
.account-nav-initial.hidden,
.account-badge.hidden,
.hidden {
  display: none !important;
}

.auth-mode-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 5px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
}
.auth-mode-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.86rem;
  line-height: 1.3;
  cursor: pointer;
  transition: var(--ease-out);
  text-align: center;
}
.auth-mode-btn:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.04);
}
.auth-mode-btn.active {
  background: linear-gradient(135deg, var(--neon-primary), var(--neon-dark));
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
  border-color: rgba(101, 226, 17, 0.45);
  box-shadow: 0 4px 14px rgba(101, 226, 17, 0.22);
}
html[data-theme="light"] .auth-mode-btn:not(.active):hover {
  background: rgba(0, 0, 0, 0.04);
}

.form-auth-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--neon-primary), var(--neon-dark));
  border: 1px solid rgba(101, 226, 17, 0.5);
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--ease-out);
}
.form-auth-btn-primary:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(101, 226, 17, 0.24);
}
.form-feedback-action {
  display: inline-block;
  margin-inline-start: 8px;
  padding: 4px 10px;
  border-radius: 8px;
  border: 1px solid var(--border-accent);
  background: rgba(101, 226, 17, 0.14);
  color: var(--neon-primary);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.84rem;
  cursor: pointer;
}
.form-feedback-action:hover {
  background: var(--neon-primary);
  color: #fff;
}

.account-auth-box {
  max-width: 1020px;
  margin: 0 auto;
}
.account-auth-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 28px;
  align-items: stretch;
}
.account-auth-card,
.auth-modal-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid var(--border-accent);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.55), 0 0 32px rgba(101, 226, 17, 0.08);
}
.account-auth-card::before,
.auth-modal-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--neon-primary), transparent);
}
.account-auth-aside {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  padding: 32px 28px;
  border-radius: 22px;
  background: radial-gradient(circle at 15% 15%, rgba(101, 226, 17, 0.14), transparent 55%), var(--bg-card);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-cinematic);
}
.auth-aside-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 6px 14px;
  border-radius: 30px;
  background: rgba(101, 226, 17, 0.12);
  border: 1px solid var(--border-accent);
  color: var(--neon-primary);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.82rem;
}
.auth-aside-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neon-primary);
  box-shadow: 0 0 8px var(--neon-primary);
}
.account-auth-aside h2 {
  font-size: 1.55rem;
  line-height: 1.35;
  margin-bottom: 8px;
}
.account-auth-aside > div > p {
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.7;
}
.auth-perk-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.auth-perk-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  transition: var(--ease-out);
}
.auth-perk-item:hover {
  border-color: var(--border-accent);
  transform: translateY(-1px);
}
.auth-perk-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: rgba(101, 226, 17, 0.12);
  border: 1px solid var(--border-accent);
  color: var(--neon-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.auth-perk-icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.auth-perk-text strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.96rem;
  margin-bottom: 3px;
}
.auth-perk-text span {
  display: block;
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.55;
}
.auth-trust-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px dashed var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
}
.otp-code-input {
  font-family: var(--font-heading);
  font-size: 1.45rem !important;
  font-weight: 900;
  letter-spacing: 8px;
  text-align: center;
  padding: 12px 16px !important;
}
.otp-hint-text {
  margin-top: 6px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.account-google-box {
  min-height: 46px;
  margin-bottom: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.account-google-note {
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--bg-surface);
  border: 1px dashed var(--border-accent);
  color: var(--text-muted);
  font-size: 0.88rem;
  text-align: center;
  width: 100%;
}
.account-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
  color: var(--text-muted);
  font-size: 0.86rem;
}
.account-divider::before,
.account-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-subtle);
}

/* Organized Professional Profile Dashboard */
.profile-hero-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid var(--border-accent);
  background: radial-gradient(circle at 90% 10%, rgba(101, 226, 17, 0.12), transparent 45%), var(--bg-card);
  margin-bottom: 20px;
}
.profile-hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.account-user-meta {
  display: flex;
  align-items: center;
  gap: 16px;
}
.profile-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}
.account-avatar {
  position: relative;
  overflow: hidden;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--neon-primary), var(--neon-dark));
  border: 3px solid rgba(101, 226, 17, 0.35);
  box-shadow: 0 0 22px rgba(101, 226, 17, 0.25);
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
}
.account-avatar.has-photo {
  background: var(--bg-surface);
}
.account-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}
.profile-status-dot {
  position: absolute;
  bottom: 2px;
  inset-inline-end: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #22c55e;
  border: 2.5px solid var(--bg-card);
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.65);
}
.account-email-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.account-provider-pill {
  padding: 3px 11px;
  border-radius: 20px;
  background: rgba(101, 226, 17, 0.12);
  border: 1px solid var(--border-accent);
  color: var(--neon-primary);
  font-size: 0.78rem;
  font-weight: 700;
  font-family: var(--font-heading);
}
.profile-since-pill {
  padding: 3px 10px;
  border-radius: 20px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 600;
}
.account-profile-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.account-rename-form {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed var(--border-subtle);
}
.account-rename-form .form-control {
  max-width: 280px;
  padding: 9px 14px;
}
.profile-danger-btn {
  border-color: rgba(239, 68, 68, 0.35) !important;
  color: #f87171 !important;
}
.profile-danger-btn:hover {
  background: rgba(239, 68, 68, 0.14) !important;
  border-color: #ef4444 !important;
}

.profile-kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.profile-kpi-card {
  padding: 20px 22px;
  border-radius: 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  transition: var(--ease-out);
}
.profile-kpi-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-2px);
}
.profile-kpi-card.is-accent {
  border-color: var(--border-accent);
}
.profile-kpi-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.profile-kpi-label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-muted);
}
.account-quota-num,
.profile-kpi-val {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.65rem;
  color: var(--neon-primary);
  direction: ltr;
  line-height: 1.1;
}
.profile-kpi-sub {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.profile-view-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
  padding: 8px;
  border-radius: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
}
.profile-view-tabs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.profile-view-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 11px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--ease-out);
}
.profile-view-tab:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.04);
}
.profile-view-tab.active {
  background: linear-gradient(135deg, var(--neon-primary), var(--neon-dark));
  color: #fff;
  border-color: rgba(101, 226, 17, 0.45);
  box-shadow: 0 4px 14px rgba(101, 226, 17, 0.22);
}
.profile-tab-count {
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 0.76rem;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.profile-view-tab:not(.active) .profile-tab-count {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
}
.profile-workspace-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  align-items: start;
}
.profile-workspace-grid.single-col {
  grid-template-columns: 1fr;
}
.profile-panel {
  border-radius: 20px;
  padding: 24px;
}
.profile-empty-box {
  padding: 28px 18px;
  border-radius: 14px;
  background: var(--bg-surface);
  border: 1px dashed var(--border-subtle);
  text-align: center;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.account-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.account-item {
  padding: 15px 17px;
  border-radius: 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  transition: var(--ease-out);
}
.account-item:hover {
  border-color: var(--border-accent);
}
.account-item.unread {
  border-color: var(--border-accent);
  border-inline-start: 4px solid var(--neon-primary);
}
.account-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
.account-item-date {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: block;
  margin-top: 6px;
}
.account-reply-box {
  margin-top: 12px;
  padding: 11px 14px;
  border-radius: 10px;
  background: rgba(101, 226, 17, 0.08);
  border: 1px solid var(--border-accent);
}
.account-reply-box strong {
  color: var(--neon-primary);
  display: block;
  font-size: 0.85rem;
  margin-bottom: 4px;
}
.account-thread-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.account-mini-btn {
  padding: 5px 12px;
  border-radius: 9px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  transition: var(--ease-out);
}
.account-mini-btn:hover {
  border-color: var(--neon-primary);
  color: var(--neon-primary);
}
.account-mini-btn.danger:hover {
  border-color: rgba(239, 68, 68, 0.55);
  color: #f87171;
}
.account-thread-edit-form {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Inline Form Auth Gate */
.form-auth-gate {
  margin-bottom: 18px;
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border-accent);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.form-auth-gate p {
  margin: 0;
  color: var(--text-main);
  font-size: 0.94rem;
}
.form-auth-gate-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.form-auth-status {
  margin-bottom: 16px;
  padding: 11px 14px;
  border-radius: 10px;
  background: rgba(101, 226, 17, 0.1);
  border: 1px solid var(--border-accent);
  color: var(--text-main);
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.form-auth-status a {
  color: var(--neon-primary);
  font-weight: 700;
  text-decoration: underline;
}
.form-feedback.is-error {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.35);
  color: #f87171;
}
html[data-theme="light"] .form-feedback.is-error {
  background: rgba(220, 38, 38, 0.08);
  color: #dc2626;
}
html[data-theme="light"] .account-nav-btn.linked,
html[data-theme="light"] .account-provider-pill,
html[data-theme="light"] .account-reply-box,
html[data-theme="light"] .form-auth-status,
html[data-theme="light"] .auth-aside-badge,
html[data-theme="light"] .auth-perk-icon {
  background: rgba(46, 133, 2, 0.1);
}
html[data-theme="light"] .account-auth-aside,
html[data-theme="light"] .profile-hero-card {
  background: radial-gradient(circle at 85% 15%, rgba(46, 133, 2, 0.08), transparent 52%), var(--bg-card);
}
html[data-theme="light"] .account-auth-card,
html[data-theme="light"] .auth-modal-card {
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.1);
}
html[data-theme="light"] .profile-view-tab:not(.active):hover {
  background: rgba(15, 23, 42, 0.05);
}
html[data-theme="light"] .profile-danger-btn {
  color: #dc2626 !important;
  border-color: rgba(220, 38, 38, 0.32) !important;
}
@media (max-width: 960px) {
  .account-auth-shell {
    grid-template-columns: 1fr;
    max-width: 540px;
    margin: 0 auto;
  }
  .profile-kpi-grid {
    grid-template-columns: 1fr;
  }
  .profile-workspace-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .account-nav-btn { width: 34px; height: 34px; }
  .account-nav-btn .user-icon { width: 16px; height: 16px; }
  .account-rename-form { width: 100%; flex-wrap: wrap; }
  .account-rename-form .form-control { flex: 1; max-width: none; width: auto; }
  .profile-view-bar { padding: 6px; }
  .profile-view-tab { flex: 1; justify-content: center; padding: 8px 10px; font-size: 0.84rem; }
}
@media (max-width: 520px) {
  .account-nav-btn { width: 32px; height: 32px; }
  .account-nav-btn .user-icon { width: 15px; height: 15px; }
  .account-nav-initial { font-size: 0.84rem; }
  .account-auth-aside { padding: 22px 18px; }
}

/* ==========================================================================
   Legendary Broadcast Showcase (Offers, Announcements, Images & Videos)
   ========================================================================== */
.broadcast-showcase-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 18px;
}
.broadcast-showcase-head h2 {
  font-size: 1.65rem;
}
.broadcast-showcase-head .filter-bar {
  margin-bottom: 0;
}
.broadcast-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-bottom: 28px;
}
.broadcast-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-cinematic);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}
.broadcast-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--neon-primary), transparent);
  opacity: 0.75;
}
.broadcast-card.kind-offer::before {
  background: linear-gradient(90deg, #ff5e5b, var(--neon-primary), #ffb703);
  opacity: 1;
}
.broadcast-card.kind-giveaway::before {
  background: linear-gradient(90deg, #a855f7, #ec4899, var(--neon-primary));
  opacity: 1;
}
.broadcast-card.is-pinned {
  grid-column: 1 / -1;
  border-color: var(--border-accent);
  background: linear-gradient(145deg, rgba(101, 226, 17, 0.06) 0%, var(--bg-card) 55%);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.65), 0 0 28px rgba(101, 226, 17, 0.14);
}
.broadcast-card:hover {
  transform: translateY(-4px);
  border-color: var(--neon-primary);
}
.broadcast-card.highlight-pulse {
  box-shadow: 0 0 0 3px var(--neon-primary), 0 20px 44px var(--neon-glow);
}
.broadcast-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.broadcast-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.broadcast-kind-pill {
  padding: 4px 12px;
  border-radius: 30px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 800;
  background: rgba(101, 226, 17, 0.12);
  color: var(--neon-primary);
  border: 1px solid var(--border-accent);
}
.broadcast-hot-badge {
  padding: 4px 12px;
  border-radius: 30px;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 900;
  background: linear-gradient(135deg, #ff5e5b, #f97316);
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}
.broadcast-pin-pill {
  padding: 4px 10px;
  border-radius: 30px;
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
}
.broadcast-title {
  font-size: 1.45rem;
  color: #fff;
  line-height: 1.35;
}
.broadcast-card.is-pinned .broadcast-title {
  font-size: 1.72rem;
}
.broadcast-media-box {
  position: relative;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-deep);
  border: 1px solid var(--border-subtle);
}
.broadcast-media-box img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
  transition: transform 0.35s ease;
}
.broadcast-media-box img:hover {
  transform: scale(1.02);
}
.broadcast-media-box video {
  width: 100%;
  max-height: 440px;
  display: block;
  background: #000;
}
.broadcast-media-box iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  display: block;
}
.broadcast-body {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.85;
  white-space: pre-wrap;
  word-break: break-word;
}
.broadcast-expiry {
  font-size: 0.82rem;
  color: #fbbf24;
  font-family: var(--font-heading);
  font-weight: 700;
}
.broadcast-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
  margin-top: auto;
}
.broadcast-actions-left,
.broadcast-reactions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.broadcast-promo-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 10px;
  background: rgba(101, 226, 17, 0.1);
  border: 1.5px dashed var(--neon-primary);
  color: var(--neon-primary);
  font-family: 'Courier New', monospace;
  font-weight: 900;
  font-size: 0.96rem;
  cursor: pointer;
  transition: var(--ease-out);
  direction: ltr;
}
.broadcast-promo-chip:hover {
  background: var(--neon-primary);
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}
.broadcast-react-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 30px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.86rem;
  cursor: pointer;
  transition: var(--ease-out);
}
.broadcast-react-btn:hover {
  border-color: var(--neon-primary);
  transform: translateY(-1px);
}
.broadcast-react-btn.reacted {
  background: rgba(101, 226, 17, 0.14);
  border-color: var(--neon-primary);
  color: var(--neon-primary);
}
html[data-theme="light"] .broadcast-title {
  color: #0f172a;
}
html[data-theme="light"] .broadcast-card.is-pinned {
  background: linear-gradient(145deg, rgba(46, 133, 2, 0.06) 0%, #ffffff 55%);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.1);
}
html[data-theme="light"] .broadcast-kind-pill,
html[data-theme="light"] .broadcast-react-btn.reacted {
  background: rgba(46, 133, 2, 0.11);
}
html[data-theme="light"] .broadcast-pin-pill {
  background: rgba(15, 23, 42, 0.05);
}
html[data-theme="light"] .broadcast-expiry {
  color: #b45309;
}
@media (max-width: 900px) {
  .broadcast-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Studio Articles Bento Grid, Reader Page & Copyable Code Blocks
   ========================================================================== */
.studio-articles-section {
  padding: 80px 0;
  position: relative;
  border-top: 1px solid var(--border-subtle);
  background: radial-gradient(circle at 80% 10%, rgba(11, 252, 3, 0.05), transparent 45%), transparent;
}
.studio-articles-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
}
.studio-articles-controls .filter-bar {
  margin-bottom: 0;
  justify-content: flex-start;
}
.articles-search-box {
  position: relative;
  min-width: 260px;
  flex: 0 1 320px;
}
.articles-search-box svg {
  position: absolute;
  top: 50%;
  inset-inline-start: 14px;
  transform: translateY(-50%);
  width: 17px;
  height: 17px;
  stroke: var(--text-muted);
  fill: none;
  stroke-width: 2.2;
  pointer-events: none;
}
.articles-search-box .form-control {
  padding-inline-start: 42px;
  border-radius: 30px;
}
.bento-articles-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 22px;
}
.bento-article-card {
  grid-column: span 4;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}
.bento-article-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #0bfc03, #18F488);
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 2;
}
.bento-article-card:hover {
  transform: translateY(-5px);
  border-color: var(--neon-primary);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.45), 0 0 24px rgba(24, 244, 136, 0.14);
}
.bento-article-card:hover::before {
  opacity: 1;
}
.bento-article-card:first-child {
  grid-column: span 8;
}
.bento-article-card:only-child {
  grid-column: span 12;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
}
.bento-article-card:first-child:nth-last-child(2),
.bento-article-card:nth-child(2):last-child {
  grid-column: span 6;
}
.bento-cover {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(16, 26, 46, 0.95), rgba(11, 252, 3, 0.12));
  display: flex;
  align-items: center;
  justify-content: center;
}
.bento-article-card:only-child .bento-cover {
  height: 100%;
  aspect-ratio: auto;
  min-height: 290px;
}
.bento-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.bento-article-card:hover .bento-cover img {
  transform: scale(1.04);
}
.bento-cover-fallback {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.4rem;
  color: rgba(24, 244, 136, 0.45);
  letter-spacing: 2px;
}
.bento-cat-pill {
  position: absolute;
  top: 14px;
  inset-inline-start: 14px;
  padding: 5px 13px;
  border-radius: 30px;
  background: rgba(5, 9, 20, 0.84);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(24, 244, 136, 0.45);
  color: #18F488;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.78rem;
  z-index: 2;
}
.bento-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
}
.bento-meta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--text-muted);
  font-size: 0.82rem;
}
.bento-title {
  font-size: 1.25rem;
  line-height: 1.4;
  color: var(--text-main);
}
.bento-article-card:first-child .bento-title {
  font-size: 1.48rem;
}
.bento-excerpt {
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.bento-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.bento-tag {
  padding: 2px 9px;
  border-radius: 20px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.76rem;
  font-weight: 600;
}
.bento-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
  margin-top: 4px;
}
.bento-read-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 30px;
  background: rgba(24, 244, 136, 0.1);
  border: 1px solid rgba(24, 244, 136, 0.35);
  color: var(--neon-primary);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.86rem;
  transition: var(--ease-out);
}
.bento-read-btn:hover {
  background: linear-gradient(135deg, #0bfc03, #18F488);
  color: #050914;
  border-color: #18F488;
}
.articles-empty-state {
  grid-column: 1 / -1;
  padding: 48px 24px;
  border-radius: 20px;
  background: var(--bg-card);
  border: 1px dashed var(--border-accent);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.articles-empty-state p {
  color: var(--text-muted);
  font-size: 1rem;
}

/* Reading Progress Bar & Dedicated Article Reader Page */
.reading-progress-track {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(255, 255, 255, 0.06);
  z-index: 2500;
  pointer-events: none;
}
.reading-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #0bfc03, #18F488);
  box-shadow: 0 0 10px rgba(24, 244, 136, 0.55);
  transition: width 0.08s linear;
}
.article-reader-hero {
  padding: 132px 0 36px;
  position: relative;
}
.article-header-wrap {
  max-width: 880px;
  margin: 0 auto;
}
.article-header-wrap h1 {
  font-size: clamp(1.9rem, 4vw, 2.85rem);
  line-height: 1.3;
  margin: 14px 0 18px;
}
.article-meta-pills {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 18px;
}
.article-cover-stage {
  max-width: 960px;
  margin: 0 auto 38px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--border-accent);
  box-shadow: var(--shadow-cinematic);
  aspect-ratio: 16 / 9;
  background: var(--bg-card);
}
.article-cover-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article-prose {
  max-width: 780px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.95;
  color: var(--text-main);
  word-break: break-word;
}
.article-prose h2 {
  font-size: 1.65rem;
  color: var(--neon-primary);
  margin: 34px 0 14px;
  line-height: 1.35;
}
.article-prose h3 {
  font-size: 1.32rem;
  margin: 26px 0 10px;
}
.article-prose p {
  margin-bottom: 18px;
}
.article-prose ul,
.article-prose ol {
  padding-inline-start: 26px;
  margin-bottom: 18px;
}
.article-prose ul { list-style: disc; }
.article-prose ol { list-style: decimal; }
.article-prose li { margin-bottom: 8px; }
.article-prose blockquote {
  margin: 24px 0;
  padding: 16px 20px;
  border-inline-start: 4px solid #18F488;
  background: rgba(24, 244, 136, 0.08);
  border-radius: 12px;
  font-size: 1.04rem;
}
.article-prose figure {
  margin: 26px 0;
  text-align: center;
}
.article-prose img {
  max-width: 100%;
  max-height: 540px;
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
  object-fit: contain;
  margin: 0 auto;
}
.article-prose a {
  color: var(--neon-primary);
  text-decoration: underline;
  font-weight: 700;
}
.article-prose :not(pre) > code {
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(24, 244, 136, 0.12);
  color: var(--neon-primary);
  font-family: Consolas, Monaco, monospace;
  font-size: 0.92em;
  direction: ltr;
  display: inline-block;
}
.article-code-wrap {
  margin: 24px 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-accent);
  background: #050914;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
  direction: ltr;
  text-align: left;
}
.article-code-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 16px;
  background: #0d1629;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #18F488;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 800;
}
.article-copy-btn {
  padding: 4px 12px;
  border-radius: 8px;
  border: 1px solid rgba(24, 244, 136, 0.4);
  background: rgba(24, 244, 136, 0.12);
  color: #18F488;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--ease-out);
}
.article-copy-btn:hover {
  background: #18F488;
  color: #050914;
}
.article-code-wrap pre {
  margin: 0;
  padding: 18px;
  overflow-x: auto;
  color: #e2e8f0;
  font-family: Consolas, Monaco, monospace;
  font-size: 0.92rem;
  line-height: 1.65;
}
.article-share-card {
  max-width: 780px;
  margin: 36px auto 0;
  padding: 20px 24px;
  border-radius: 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
.article-share-btns {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.article-related-section {
  padding: 56px 0 80px;
  border-top: 1px solid var(--border-subtle);
}
.article-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 20px;
  margin-top: 24px;
}
html[data-theme="light"] .bento-cat-pill {
  background: rgba(255, 255, 255, 0.92);
  color: #15803d;
  border-color: rgba(46, 133, 2, 0.45);
}
html[data-theme="light"] .bento-article-card:hover {
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.1);
}
html[data-theme="light"] .article-prose blockquote {
  background: rgba(46, 133, 2, 0.08);
}
.reviews-empty-msg {
  color: var(--text-muted);
  font-size: 0.94rem;
  padding: 16px;
  border-radius: 12px;
  background: var(--bg-surface);
  border: 1px dashed var(--border-subtle);
  text-align: center;
}
.project-card-rating {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  align-self: flex-start;
  padding: 3px 10px;
  border-radius: 20px;
  background: rgba(101, 226, 17, 0.12);
  border: 1px solid var(--border-accent);
  color: var(--neon-primary);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.8rem;
  margin-bottom: 8px;
}
@media (max-width: 1024px) {
  .bento-article-card,
  .bento-article-card:first-child { grid-column: span 6; }
  .bento-article-card:only-child { grid-template-columns: 1fr; grid-column: span 12; }
}
@media (max-width: 680px) {
  .bento-article-card,
  .bento-article-card:first-child,
  .bento-article-card:first-child:nth-last-child(2),
  .bento-article-card:nth-child(2):last-child {
    grid-column: span 12;
  }
  .articles-search-box { width: 100%; flex: 1 1 100%; }
}

/* ==========================================================================
   Dynamic Multi-Template Project Showcase & Detail Architecture
   ========================================================================== */
.project-card-top-badges {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.project-card-top-badges .project-status {
  margin-bottom: 0;
}
.prj-kind-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 700;
  font-family: var(--font-heading);
}
html[data-theme="light"] .prj-kind-chip {
  background: rgba(15, 23, 42, 0.05);
}

.project-dynamic-root {
  --project-accent: var(--neon-primary);
  --project-accent-rgb: 101, 226, 17;
  --project-accent-contrast: #ffffff;
}
.project-dynamic-root .store-hero {
  background: radial-gradient(circle at 20% 20%, rgba(var(--project-accent-rgb), 0.14), transparent 55%),
              linear-gradient(180deg, rgba(10, 17, 34, 0.92) 0%, var(--bg-deep) 100%);
}
html[data-theme="light"] .project-dynamic-root .store-hero {
  background: radial-gradient(circle at 20% 20%, rgba(var(--project-accent-rgb), 0.1), transparent 55%),
              var(--bg-deep);
}
.project-dynamic-root .store-app-icon {
  border-color: rgba(var(--project-accent-rgb), 0.45);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.55), 0 0 24px rgba(var(--project-accent-rgb), 0.22);
}
.project-dynamic-root .store-dev-name,
.project-dynamic-root .store-safety-note,
.project-dynamic-root .rating-stars,
.project-dynamic-root .review-avatar,
.project-dynamic-root .star-pick-btn.active,
.project-dynamic-root .star-pick-btn:hover {
  color: var(--project-accent);
}
.project-dynamic-root .verified-badge,
.project-dynamic-root .bar-fill {
  background: var(--project-accent);
}
.project-dynamic-root .store-install-btn {
  background: linear-gradient(135deg, var(--project-accent), rgba(var(--project-accent-rgb), 0.72));
  color: var(--project-accent-contrast);
  text-shadow: none;
  box-shadow: 0 8px 25px rgba(var(--project-accent-rgb), 0.3);
}
.project-dynamic-root .store-install-btn:hover {
  box-shadow: 0 12px 32px rgba(var(--project-accent-rgb), 0.48);
}
.project-dynamic-root .store-mini-btn:hover,
.project-dynamic-root .related-app-item:hover,
.project-dynamic-root .prj-feature-card:hover {
  border-color: var(--project-accent);
}

.prj-type-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 20px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 800;
  background: rgba(var(--project-accent-rgb), 0.12);
  border: 1px solid rgba(var(--project-accent-rgb), 0.38);
  color: var(--project-accent);
}
html[data-theme="light"] .prj-type-pill,
html[data-theme="light"] .project-dynamic-root .store-dev-name,
html[data-theme="light"] .project-dynamic-root .store-safety-note {
  color: var(--neon-dark);
}

.prj-coming-soon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 24px;
  border-radius: 12px;
  background: rgba(245, 158, 11, 0.12);
  border: 1.5px dashed rgba(245, 158, 11, 0.55);
  color: #fbbf24;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.02rem;
  text-align: center;
  cursor: default;
}
html[data-theme="light"] .prj-coming-soon-btn {
  color: #b45309;
  background: rgba(245, 158, 11, 0.12);
}

.prj-server-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 800;
  font-family: var(--font-heading);
}
.prj-server-pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
}
.prj-server-pill.is-online { background: rgba(34, 197, 94, 0.14); color: #22c55e; border: 1px solid rgba(34, 197, 94, 0.35); }
.prj-server-pill.is-beta { background: rgba(56, 189, 248, 0.14); color: #38bdf8; border: 1px solid rgba(56, 189, 248, 0.35); }
.prj-server-pill.is-maintenance { background: rgba(245, 158, 11, 0.14); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.35); }

/* Mobile 9:16 Phone Screenshot Frames */
.prj-phone-card {
  flex: 0 0 calc(25% - 12px);
  min-width: 175px;
  border-radius: 22px;
  padding: 8px;
  background: #060a14;
  border: 2px solid var(--border-subtle);
  scroll-snap-align: start;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55);
  transition: transform 0.25s ease, border-color 0.25s ease;
  position: relative;
}
.prj-phone-card:hover {
  transform: translateY(-4px);
  border-color: var(--project-accent, var(--neon-primary));
}
.prj-phone-notch {
  width: 44px;
  height: 5px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.16);
  margin: 0 auto 6px;
}
.prj-phone-card img {
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: 350px;
  object-fit: cover;
  border-radius: 15px;
  display: block;
}

/* Website Browser Mockup Frame (16:9) */
.mockup-browser-card,
.mockup-desktop-card {
  flex: 0 0 min(100%, 580px);
  border-radius: 16px;
  overflow: hidden;
  background: #080d1a;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.55);
  scroll-snap-align: start;
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.mockup-browser-card:only-child,
.mockup-desktop-card:only-child {
  flex: 1 1 100%;
}
.mockup-browser-card:hover,
.mockup-desktop-card:hover {
  transform: translateY(-4px);
  border-color: var(--project-accent, var(--neon-primary));
}
.mockup-browser-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: #0f172a;
  border-bottom: 1px solid var(--border-subtle);
  direction: ltr;
}
.mockup-dots {
  display: inline-flex;
  gap: 6px;
  flex-shrink: 0;
}
.mockup-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.mockup-dots span:nth-child(1) { background: #ef4444; }
.mockup-dots span:nth-child(2) { background: #f59e0b; }
.mockup-dots span:nth-child(3) { background: #22c55e; }
.mockup-url-pill {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 5px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  font-size: 0.78rem;
  font-family: Consolas, monospace;
}

/* Software Desktop Window Mockup Frame (16:9) */
.mockup-desktop-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 14px;
  background: #111827;
  border-bottom: 1px solid var(--border-subtle);
  direction: ltr;
}
.mockup-desktop-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #e2e8f0;
  font-size: 0.82rem;
  font-weight: 700;
  font-family: var(--font-heading);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mockup-desktop-title img {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  object-fit: cover;
}
.mockup-win-controls {
  display: inline-flex;
  gap: 8px;
  color: #94a3b8;
  font-size: 0.76rem;
  flex-shrink: 0;
}
.mockup-stage-16x9 {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #050914;
  overflow: hidden;
}
.mockup-stage-16x9 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.prj-features-bento {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
  margin-top: 18px;
}
.prj-feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  transition: var(--ease-out);
}
.prj-feature-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(var(--project-accent-rgb), 0.12);
  border: 1px solid rgba(var(--project-accent-rgb), 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}
.prj-feature-card strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1rem;
  margin-bottom: 4px;
  color: var(--text-main);
}
.prj-feature-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.prj-changelog-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.prj-changelog-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-inline-start: 3px solid var(--project-accent, var(--neon-primary));
  border-radius: 12px;
  padding: 14px 16px;
}
.prj-changelog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}
.prj-ver-pill {
  padding: 3px 10px;
  border-radius: 20px;
  background: rgba(var(--project-accent-rgb), 0.14);
  color: var(--project-accent);
  font-family: Consolas, monospace;
  font-weight: 800;
  font-size: 0.82rem;
}
html[data-theme="light"] .prj-ver-pill {
  color: var(--neon-dark);
}
.screen-modal-box {
  max-width: 440px;
  text-align: center;
  padding: 24px;
}
.screen-modal-box.is-wide {
  max-width: 920px;
  width: 92vw;
}
@media (max-width: 768px) {
  .prj-phone-card { flex: 0 0 205px; }
  .mockup-browser-card, .mockup-desktop-card { flex: 0 0 92%; }
}
