/* Neithercraft Stylesheet */
:root {
  --primary-color: #ff521d;
  --primary-hover: #ff7243;
  --primary-glow: rgba(255, 82, 29, 0.45);
  --accent-gold: #ffb703;
  --bg-dark: #0a0b0e;
  --bg-card: rgba(18, 20, 29, 0.82);
  --bg-card-hover: rgba(26, 29, 43, 0.92);
  --border-card: rgba(255, 255, 255, 0.1);
  --border-card-hover: rgba(255, 82, 29, 0.55);
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --text-dim: #6b7280;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --font-main: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --font-display: 'Segoe UI', system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--text-main);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Background Layer */
.bg-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -2;
  transition: background-image 0.5s ease-in-out;
}

.bg-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: radial-gradient(circle at center, rgba(10, 11, 14, 0.65) 0%, rgba(10, 11, 14, 0.92) 100%),
              linear-gradient(180deg, rgba(10, 11, 14, 0.4) 0%, rgba(10, 11, 14, 0.95) 100%);
  z-index: -1;
  pointer-events: none;
}

/* Header & Navigation */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(12, 13, 18, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 100;
  padding: 0.75rem 2rem;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: inherit;
}

.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  box-shadow: 0 0 14px var(--primary-glow);
  border: 1px solid rgba(255, 82, 29, 0.4);
  transition: transform 0.25s ease;
}

.brand:hover .brand-logo {
  transform: scale(1.05) rotate(2deg);
}

.brand-name {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, #ffffff 40%, var(--primary-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
}

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

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s, transform 0.2s;
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-sm);
}

.nav-link:hover {
  color: #fff;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-bg-picker {
  background: rgba(255, 82, 29, 0.15);
  border: 1px solid rgba(255, 82, 29, 0.4);
  color: #fff;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.25s ease;
}

.btn-bg-picker:hover {
  background: var(--primary-color);
  box-shadow: 0 0 16px var(--primary-glow);
  transform: translateY(-1px);
}

/* Developer Pill */
.dev-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 183, 3, 0.12);
  border: 1px solid rgba(255, 183, 3, 0.35);
  color: #ffca3a;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Hero Section */
.hero {
  padding: 4rem 1rem 3rem;
  text-align: center;
  position: relative;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 82, 29, 0.12);
  border: 1px solid rgba(255, 82, 29, 0.3);
  color: var(--primary-color);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.hero-title span {
  background: linear-gradient(135deg, #ff7a45, #ffb703);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 2.5rem;
}

/* Platform Switcher Tabs */
.platform-switch-container {
  display: flex;
  justify-content: center;
  margin-bottom: 3rem;
}

.platform-switch {
  display: inline-flex;
  background: rgba(15, 17, 24, 0.85);
  padding: 0.4rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.platform-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 0.75rem 2rem;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  transition: all 0.25s ease;
}

.platform-btn:hover {
  color: #fff;
}

.platform-btn.active {
  background: linear-gradient(135deg, var(--primary-color), #d9381e);
  color: #fff;
  box-shadow: 0 4px 18px var(--primary-glow);
}

/* Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.launcher-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.8rem;
  display: flex;
  flex-direction: column;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.launcher-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.launcher-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-card-hover);
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55), 0 0 20px rgba(255, 82, 29, 0.2);
}

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

.card-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.card-logo-wrap {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.card-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.card-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.35rem;
}

.badge-official {
  background: rgba(255, 82, 29, 0.2);
  color: #ff7243;
  border: 1px solid rgba(255, 82, 29, 0.4);
}

.badge-classic {
  background: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.4);
}

.badge-fast {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.badge-mobile {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.4);
}

.card-title {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.25;
}

.card-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.card-features {
  list-style: none;
  margin-bottom: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.card-features li {
  font-size: 0.88rem;
  color: #d1d5db;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.card-features li::before {
  content: '✓';
  color: var(--primary-color);
  font-weight: bold;
}

.btn-card-download {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, var(--primary-color), #cf361b);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-sm);
  transition: all 0.25s ease;
  box-shadow: 0 4px 15px rgba(255, 82, 29, 0.3);
  text-align: center;
}

.btn-card-download:hover {
  background: linear-gradient(135deg, var(--primary-hover), var(--primary-color));
  box-shadow: 0 6px 20px var(--primary-glow);
  transform: translateY(-2px);
}

/* Sections for Informational Content */
.info-section {
  padding: 4rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.section-head {
  text-align: center;
  margin-bottom: 3rem;
}

.section-subtitle {
  color: var(--primary-color);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.info-card {
  background: rgba(18, 20, 28, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  transition: transform 0.25s, border-color 0.25s;
}

.info-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 82, 29, 0.35);
}

.info-icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.info-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #fff;
}

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

/* Author Spotlight Banner */
.author-spotlight {
  margin: 3rem auto;
  padding: 2.5rem 2rem;
  background: linear-gradient(135deg, rgba(255, 82, 29, 0.12) 0%, rgba(18, 20, 28, 0.85) 100%);
  border: 1px solid rgba(255, 82, 29, 0.3);
  border-radius: var(--radius-lg);
  text-align: center;
  backdrop-filter: blur(10px);
}

.author-spotlight h3 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.author-spotlight p {
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto;
}

/* Footer */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 11, 15, 0.92);
  padding: 3rem 0 2rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-bottom {
  text-align: center;
  color: var(--text-dim);
  font-size: 0.85rem;
}

/* Modal - Background Switcher */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-backdrop.open {
  display: flex;
}

.modal-content {
  background: #12141c;
  border: 1px solid rgba(255, 82, 29, 0.3);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 850px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(255, 82, 29, 0.25);
  animation: modalIn 0.25s ease-out;
}

@keyframes modalIn {
  from {
    transform: scale(0.94);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.modal-header {
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-modal-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

.btn-modal-close:hover {
  color: #fff;
}

.modal-body {
  padding: 1.75rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.custom-upload-box {
  background: rgba(255, 255, 255, 0.03);
  border: 2px dashed rgba(255, 82, 29, 0.4);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.custom-upload-box:hover {
  background: rgba(255, 82, 29, 0.08);
  border-color: var(--primary-color);
}

.custom-upload-box p {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.custom-upload-box small {
  color: var(--text-dim);
}

.bg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
}

.bg-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition: all 0.25s ease;
  background: #000;
}

.bg-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.bg-thumb:hover {
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

.bg-thumb:hover img {
  transform: scale(1.08);
}

.bg-thumb.active {
  border-color: var(--primary-color);
  box-shadow: 0 0 14px var(--primary-glow);
}

.bg-thumb.active::after {
  content: '✓ Selected';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 82, 29, 0.9);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  text-align: center;
  padding: 2px 0;
}

.modal-footer {
  padding: 1rem 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  background: rgba(14, 15, 22, 0.95);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 600;
  transition: background 0.2s;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* ========================================================
   Product Detail & Download Subpage Styles
   ======================================================== */
.product-hero {
  padding: 3rem 0 2rem;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.breadcrumb a {
  color: var(--primary-color);
  text-decoration: none;
}

.product-header-card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
}

.product-meta-left {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.product-page-logo {
  width: 96px;
  height: 96px;
  border-radius: var(--radius-md);
  object-fit: contain;
  background: rgba(0, 0, 0, 0.4);
  border: 2px solid rgba(255, 82, 29, 0.35);
  padding: 6px;
  box-shadow: 0 0 20px var(--primary-glow);
}

.product-title-group h1 {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.product-badges {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.badge-tag {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #d1d5db;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
}

.download-cta-box {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}

.btn-hero-download {
  background: linear-gradient(135deg, var(--primary-color), #cf361b);
  color: #fff;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 800;
  padding: 1rem 2.25rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 6px 25px var(--primary-glow);
  transition: all 0.25s ease;
}

.btn-hero-download:hover {
  background: linear-gradient(135deg, var(--primary-hover), var(--primary-color));
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(255, 82, 29, 0.6);
}

.download-notice {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* Empty Screenshot Showcase */
.screenshot-section {
  margin-bottom: 3.5rem;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

/* Strict requirement: Empty placeholder containers where user will add images later */
.empty-screenshot-placeholder {
  aspect-ratio: 16 / 9;
  background: rgba(18, 20, 30, 0.6);
  border: 2px dashed rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
  color: var(--text-muted);
  transition: all 0.25s ease;
  position: relative;
}

.empty-screenshot-placeholder:hover {
  border-color: var(--primary-color);
  background: rgba(255, 82, 29, 0.05);
}

.empty-screenshot-placeholder .placeholder-icon {
  font-size: 2.4rem;
  margin-bottom: 0.5rem;
  opacity: 0.75;
}

.empty-screenshot-placeholder .placeholder-title {
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.25rem;
  font-size: 0.95rem;
}

.empty-screenshot-placeholder .placeholder-hint {
  font-size: 0.75rem;
  color: var(--text-dim);
  background: rgba(0, 0, 0, 0.3);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

/* Product Content Grid */
.product-content-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  margin-bottom: 4rem;
}

@media (max-width: 900px) {
  .product-content-grid {
    grid-template-columns: 1fr;
  }
  .download-cta-box {
    align-items: flex-start;
    width: 100%;
  }
}

.content-card {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 2rem;
  margin-bottom: 2rem;
}

.content-card h2 {
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 0.75rem;
}

.features-detailed {
  list-style: none;
}

.features-detailed li {
  margin-bottom: 1.2rem;
  padding-left: 1.75rem;
  position: relative;
}

.features-detailed li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-size: 1.1rem;
}

.features-detailed strong {
  color: #fff;
  display: block;
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.features-detailed p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Requirements Table */
.req-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.req-table th, .req-table td {
  padding: 0.75rem 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
}

.req-table th {
  color: var(--text-dim);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
}

.req-table td:first-child {
  color: #fff;
  font-weight: 600;
}

.req-table td:last-child {
  color: var(--text-muted);
}

/* Setup Steps */
.setup-steps {
  list-style: none;
  counter-reset: step-counter;
}

.setup-steps li {
  counter-increment: step-counter;
  position: relative;
  padding-left: 2.8rem;
  margin-bottom: 1.4rem;
}

.setup-steps li::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  background: var(--primary-color);
  color: #fff;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  box-shadow: 0 0 10px var(--primary-glow);
}

.setup-steps strong {
  color: #fff;
  display: block;
  margin-bottom: 0.2rem;
}

.setup-steps p {
  color: var(--text-muted);
  font-size: 0.88rem;
}

/* Responsiveness */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem;
  }
  .nav-links {
    display: none;
  }
  .platform-btn {
    padding: 0.65rem 1.25rem;
    font-size: 0.95rem;
  }
  .product-header-card {
    padding: 1.5rem;
  }
  .product-page-logo {
    width: 72px;
    height: 72px;
  }
}


/* ==========================================================================
   PREMIUM GAMER VISUAL ANIMATIONS & PARTICLES SUITE
   ========================================================================== */

/* Particle Canvas Layer */
.particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
}

/* Molten Magma Heading Shimmer */
@keyframes moltenShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero-title span {
  background: linear-gradient(135deg, #ff4500, #ff8c00, #ffb703, #ff3c00);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: moltenShift 6s ease infinite;
}

/* Pulsing Ember Glow for Developer Pill & Badges */
@keyframes pulseEmber {
  0%, 100% {
    box-shadow: 0 0 10px rgba(255, 82, 29, 0.25);
    border-color: rgba(255, 82, 29, 0.35);
  }
  50% {
    box-shadow: 0 0 22px rgba(255, 82, 29, 0.65), 0 0 8px rgba(255, 183, 3, 0.4);
    border-color: rgba(255, 82, 29, 0.75);
  }
}

.dev-pill {
  animation: pulseEmber 3.5s ease-in-out infinite;
}

/* Radiant Shimmer Sweep for Download Buttons */
@keyframes buttonShimmerSweep {
  0% {
    transform: translateX(-150%) skewX(-25deg);
  }
  20%, 100% {
    transform: translateX(250%) skewX(-25deg);
  }
}

.btn-card-download,
.btn-hero-download {
  position: relative;
  overflow: hidden;
}

.btn-card-download::after,
.btn-hero-download::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 60px;
  height: 200%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.45) 50%, rgba(255, 255, 255, 0) 100%);
  animation: buttonShimmerSweep 4.5s ease-in-out infinite;
  pointer-events: none;
}

.btn-card-download:hover::after,
.btn-hero-download:hover::after {
  animation: buttonShimmerSweep 1.8s ease-in-out infinite;
}

/* 3D Perspective & Radiant Border for Cards */
.cards-grid {
  perspective: 1200px;
}

.launcher-card {
  transform-style: preserve-3d;
  will-change: transform, box-shadow;
  transition: transform 0.18s ease-out, box-shadow 0.28s ease, border-color 0.28s ease, background 0.28s ease;
}

.launcher-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 82, 29, 0.6), rgba(255, 183, 3, 0.4), transparent, transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.35;
  transition: opacity 0.35s ease;
}

.launcher-card:hover::after {
  opacity: 1;
}

.card-logo-wrap {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.launcher-card:hover .card-logo-wrap {
  transform: translateZ(25px) scale(1.08) rotate(-3deg);
  box-shadow: 0 8px 24px var(--primary-glow);
}

.launcher-card:hover .card-title {
  color: #ff9d6c;
  transition: color 0.25s ease;
}

/* Tab Switch Animation */
@keyframes tabSwitchFade {
  0% {
    opacity: 0;
    transform: translateY(14px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.cards-grid.tab-animated {
  animation: tabSwitchFade 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Scroll Reveal Classes */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }
.delay-3 { transition-delay: 0.36s; }

/* Product Page Logo 3D Depth */
.product-page-logo {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
}

.product-page-logo:hover {
  transform: scale(1.08) rotate(3deg);
  box-shadow: 0 0 30px rgba(255, 82, 29, 0.65);
}

/* Screenshot Placeholders Micro-Interactions */
.empty-screenshot-placeholder {
  overflow: hidden;
  transition: all 0.35s ease;
}

.empty-screenshot-placeholder .placeholder-icon {
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.empty-screenshot-placeholder:hover {
  transform: translateY(-5px);
  border-color: var(--primary-color);
  box-shadow: 0 10px 28px rgba(255, 82, 29, 0.25);
}

.empty-screenshot-placeholder:hover .placeholder-icon {
  transform: scale(1.3) rotate(-6deg);
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
