:root {
  --bg-main: #0a0d14;
  --bg-card: rgba(18, 25, 38, 0.75);
  --bg-card-hover: rgba(26, 36, 54, 0.85);
  --bg-elevated: #141c2b;
  --border-subtle: rgba(46, 230, 255, 0.15);
  --border-glow: rgba(46, 230, 255, 0.45);
  --border-gold: rgba(255, 171, 46, 0.35);

  --accent-cyan: #2ee6ff;
  --accent-cyan-dim: #1ea3b5;
  --accent-amber: #ffab2e;
  --accent-emerald: #00e676;
  --accent-crimson: #ff3366;

  --text-primary: #f0f4f8;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;

  --shadow-glow: 0 0 25px rgba(46, 230, 255, 0.25);
  --shadow-gold-glow: 0 0 25px rgba(255, 171, 46, 0.25);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
  --container-max: 1140px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-main);
  color: var(--text-primary);
}

body {
  font-family: var(--font-main);
  line-height: 1.6;
  background: radial-gradient(circle at 50% 0%, #162438 0%, var(--bg-main) 65%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header & Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 13, 20, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.3s ease;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  box-shadow: 0 0 14px rgba(46, 230, 255, 0.35);
  transition: transform 0.25s ease;
}

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

.brand-title {
  background: linear-gradient(135deg, #ffffff 40%, var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}

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

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent-cyan);
}

.nav-cta {
  background: linear-gradient(135deg, #1e90ff, #00d2ff);
  color: #050b14 !important;
  font-weight: 700 !important;
  padding: 0.5rem 1.15rem;
  border-radius: var(--radius-full);
  box-shadow: 0 0 15px rgba(0, 210, 255, 0.4);
  transition: all 0.25s ease !important;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 22px rgba(0, 210, 255, 0.65);
}

/* Mobile Nav Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.6rem;
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.8rem 1.6rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, #0088ff 100%);
  color: #030a14;
  box-shadow: var(--shadow-glow);
  font-weight: 700;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(46, 230, 255, 0.5);
}

.btn-secondary {
  background: rgba(30, 41, 59, 0.6);
  border-color: var(--border-subtle);
  color: var(--text-primary);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  border-color: var(--accent-cyan);
  background: rgba(30, 41, 59, 0.9);
  color: var(--accent-cyan);
  transform: translateY(-2px);
}

.badge-playstore {
  display: inline-flex;
  align-items: center;
  background: #000000;
  border: 1px solid #334155;
  border-radius: var(--radius-md);
  padding: 0.5rem 1.2rem;
  gap: 0.8rem;
  color: #fff;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.badge-playstore:hover {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 20px rgba(46, 230, 255, 0.3);
  transform: translateY(-2px);
}

.badge-playstore svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.badge-text-sub {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #94a3b8;
  line-height: 1.1;
}

.badge-text-main {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
}

/* Hero Section */
.hero-section {
  padding: 5rem 0 4rem;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  background: rgba(46, 230, 255, 0.1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-cyan);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-tag .dot {
  width: 8px;
  height: 8px;
  background: var(--accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-cyan);
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hero-title span {
  background: linear-gradient(135deg, #ffffff 30%, var(--accent-cyan) 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 2rem;
}

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

.hero-meta {
  display: flex;
  gap: 1.8rem;
  margin-top: 2.25rem;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.meta-item {
  display: flex;
  flex-direction: column;
}

.meta-val {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}

.meta-lbl {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Hero Phone Mockup */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-phone-stage {
  position: relative;
  width: 100%;
  max-width: 310px;
  display: flex;
  justify-content: center;
}

.hero-phone-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  height: 90%;
  background: radial-gradient(circle, rgba(46, 230, 255, 0.35) 0%, rgba(0, 136, 255, 0.15) 45%, transparent 70%);
  filter: blur(35px);
  z-index: 1;
  pointer-events: none;
}

.hero-phone-device {
  position: relative;
  z-index: 2;
  width: 100%;
  aspect-ratio: 9 / 19.5;
  background: #0d131f;
  border-radius: 38px;
  border: 11px solid #172133;
  box-shadow: 
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 0 0 2px rgba(46, 230, 255, 0.35),
    0 25px 60px -15px rgba(0, 0, 0, 0.9),
    0 0 35px rgba(46, 230, 255, 0.25);
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  overflow: visible;
}

.hero-phone-device:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 
    0 0 0 1px rgba(255, 255, 255, 0.2),
    0 0 0 2px rgba(46, 230, 255, 0.6),
    0 35px 70px -15px rgba(0, 0, 0, 0.95),
    0 0 45px rgba(46, 230, 255, 0.4);
}

/* Hardware Buttons */
.device-btn-volume {
  position: absolute;
  left: -15px;
  top: 110px;
  width: 4px;
  height: 52px;
  background: #25334a;
  border-radius: 3px 0 0 3px;
  box-shadow: -1px 0 3px rgba(0, 0, 0, 0.5);
}

.device-btn-power {
  position: absolute;
  right: -15px;
  top: 135px;
  width: 4px;
  height: 38px;
  background: #25334a;
  border-radius: 0 3px 3px 0;
  box-shadow: 1px 0 3px rgba(0, 0, 0, 0.5);
}

/* Speaker & Punch hole */
.device-speaker {
  position: absolute;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
  width: 46px;
  height: 3px;
  background: #202b3c;
  border-radius: 3px;
  z-index: 5;
}

.device-camera-hole {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 11px;
  height: 11px;
  background: #03060a;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.8);
  z-index: 5;
}

/* Screen Area */
.device-screen-wrap {
  width: 100%;
  height: 100%;
  border-radius: 26px;
  overflow: hidden;
  position: relative;
  background: #000;
}

.device-screen-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.device-screen-glare {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.03) 30%, transparent 60%);
  pointer-events: none;
  z-index: 3;
}

.device-overlay-hint {
  position: absolute;
  inset: 0;
  background: rgba(10, 15, 25, 0.5);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
  backdrop-filter: blur(2px);
  transition: opacity 0.25s ease;
  z-index: 4;
}

.hero-phone-device:hover .device-overlay-hint {
  opacity: 1;
}

/* Feature Cards Grid */
.section {
  padding: 5rem 0;
  position: relative;
}

.section-alt {
  background: rgba(13, 19, 29, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.section-subtitle {
  color: var(--accent-cyan);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.9rem;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 1.8rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-card), 0 0 20px rgba(46, 230, 255, 0.15);
}

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

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: rgba(46, 230, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  font-size: 1.5rem;
  margin-bottom: 1.3rem;
  border: 1px solid rgba(46, 230, 255, 0.2);
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #fff;
}

.card-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* PowerUps & Brick Types Grid */
.pill-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.2rem;
  margin-top: 2rem;
}

.pill-card {
  background: rgba(16, 23, 36, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 1.2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.pill-card-indicator {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  flex-shrink: 0;
}

.ind-steel { background: #94a3b8; box-shadow: 0 0 8px #94a3b8; }
.ind-gold { background: #ffc107; box-shadow: 0 0 10px #ffc107; }
.ind-red { background: #ff3366; box-shadow: 0 0 10px #ff3366; }
.ind-power { background: #2ee6ff; box-shadow: 0 0 12px #2ee6ff; }
.ind-titan { background: #475569; box-shadow: 0 0 6px #334155; }
.ind-reinf { background: #8b5cf6; box-shadow: 0 0 10px #8b5cf6; }

/* Specs / Requirements Table */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.specs-table th,
.specs-table td {
  padding: 1rem 1.4rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.specs-table th {
  background: rgba(255, 255, 255, 0.03);
  color: var(--accent-cyan);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.specs-table td {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.specs-table td:first-child {
  font-weight: 600;
  color: #fff;
  width: 35%;
}

/* Legal & Policy Pages Layout */
.legal-content-wrap {
  padding: 4rem 0 6rem;
  max-width: 860px;
  margin: 0 auto;
}

.legal-header {
  margin-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 2rem;
}

.legal-header h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.8rem;
  color: #ffffff;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.legal-meta span strong {
  color: var(--accent-cyan);
}

.legal-body {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #cbd5e1;
}

.legal-body h2 {
  font-size: 1.5rem;
  color: #fff;
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.legal-body h3 {
  font-size: 1.2rem;
  color: var(--accent-cyan);
  margin: 1.8rem 0 0.75rem;
}

.legal-body p {
  margin-bottom: 1.25rem;
}

.legal-body ul,
.legal-body ol {
  margin: 0 0 1.5rem 1.8rem;
}

.legal-body li {
  margin-bottom: 0.5rem;
}

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

.legal-body a:hover {
  color: #ffffff;
}

.callout-box {
  background: rgba(46, 230, 255, 0.07);
  border-left: 4px solid var(--accent-cyan);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1.25rem 1.5rem;
  margin: 1.8rem 0;
  color: #e2e8f0;
}

.callout-box.warning {
  background: rgba(255, 171, 46, 0.08);
  border-left-color: var(--accent-amber);
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}

.step-number {
  display: inline-block;
  background: var(--accent-cyan);
  color: #000;
  font-weight: 800;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  text-align: center;
  line-height: 28px;
  font-size: 0.9rem;
  margin-right: 0.6rem;
}

/* FAQ Accordion */
.faq-grid {
  display: grid;
  gap: 1rem;
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.3rem 1.6rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-icon {
  font-size: 1.2rem;
  color: var(--accent-cyan);
  transition: transform 0.25s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.6rem 1.4rem;
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.65;
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

/* Contact Form / Support */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 2rem;
}

.form-group {
  margin-bottom: 1.4rem;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #e2e8f0;
}

.form-input,
.form-textarea {
  width: 100%;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(46, 230, 255, 0.25);
}

/* Footer */
.site-footer {
  margin-top: auto;
  background: #06090e;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 4rem 0 2rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  margin-top: 0.9rem;
  color: var(--text-secondary);
  max-width: 320px;
  line-height: 1.6;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.footer-links a {
  text-decoration: none;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--accent-cyan);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.85rem;
}

/* Gallery Section */
.gallery-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-btn {
  background: rgba(18, 25, 38, 0.8);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover {
  color: var(--text-primary);
  border-color: var(--border-glow);
}

.filter-btn.active {
  background: var(--accent-cyan);
  color: #050b14;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 14px rgba(46, 230, 255, 0.4);
}

.gallery-arrows {
  display: flex;
  gap: 0.5rem;
}

.gallery-nav-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(18, 25, 38, 0.9);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.gallery-nav-btn:hover {
  border-color: var(--accent-cyan);
  background: rgba(30, 41, 59, 1);
  color: var(--accent-cyan);
  box-shadow: 0 0 12px rgba(46, 230, 255, 0.3);
}

/* Screenshot Track & Cards */
.gallery-track-wrap {
  position: relative;
  overflow: hidden;
  margin: 0 -0.5rem;
  padding: 0.5rem 0.5rem 1.5rem;
}

.gallery-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 0.5rem 0.5rem 1rem;
  scrollbar-width: thin;
  scrollbar-color: var(--border-glow) rgba(10, 13, 20, 0.8);
}

.gallery-track::-webkit-scrollbar {
  height: 6px;
}

.gallery-track::-webkit-scrollbar-track {
  background: rgba(10, 13, 20, 0.8);
  border-radius: 10px;
}

.gallery-track::-webkit-scrollbar-thumb {
  background: var(--border-glow);
  border-radius: 10px;
}

.screenshot-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 1rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.screenshot-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.7), 0 0 20px rgba(46, 230, 255, 0.2);
}

.screenshot-card.hidden {
  display: none !important;
}

.phone-shell {
  width: 100%;
  aspect-ratio: 9 / 19.5;
  background: #03060a;
  border-radius: 24px;
  border: 3px solid #1a2436;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.9);
  cursor: pointer;
}

.phone-shell-screen {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.phone-shell:hover .phone-shell-screen {
  transform: scale(1.04);
}

.phone-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  background: #000;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 2;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.8);
}

.phone-overlay-zoom {
  position: absolute;
  inset: 0;
  background: rgba(10, 15, 25, 0.55);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  backdrop-filter: blur(2px);
  transition: opacity 0.25s ease;
  z-index: 3;
}

.phone-shell:hover .phone-overlay-zoom {
  opacity: 1;
}

.screenshot-info {
  margin-top: 1rem;
}

.screenshot-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-cyan);
  margin-bottom: 0.3rem;
}

.screenshot-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.35rem;
}

.screenshot-desc {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(5, 8, 14, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.lightbox-modal.open {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 94vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-glow);
  box-shadow: 0 0 40px rgba(46, 230, 255, 0.3), 0 25px 50px rgba(0, 0, 0, 0.95);
  max-height: 80vh;
}

.lightbox-img {
  max-height: 76vh;
  max-width: 85vw;
  width: auto;
  display: block;
  object-fit: contain;
}

.lightbox-caption {
  margin-top: 1rem;
  text-align: center;
  color: #fff;
}

.lightbox-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.lightbox-subtitle {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.lightbox-close {
  position: absolute;
  top: -46px;
  right: 0;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.lightbox-close:hover {
  background: var(--accent-cyan);
  color: #000;
}

.lightbox-nav-prev,
.lightbox-nav-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(18, 25, 38, 0.88);
  border: 1px solid var(--border-subtle);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 10;
}

.lightbox-nav-prev { left: -64px; }
.lightbox-nav-next { right: -64px; }

.lightbox-nav-prev:hover,
.lightbox-nav-next:hover {
  border-color: var(--accent-cyan);
  background: #090e17;
  color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(46, 230, 255, 0.4);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-tag {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-meta {
    justify-content: center;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .lightbox-nav-prev { left: 10px; }
  .lightbox-nav-next { right: 10px; }
  .lightbox-close { top: 10px; right: 10px; z-index: 20; }
}

@media (max-width: 640px) {
  .screenshot-card { flex: 0 0 240px; }
  .nav-menu {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #090e17;
    flex-direction: column;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
    gap: 1.2rem;
  }
  .nav-menu.open {
    display: flex;
  }
  .mobile-toggle {
    display: block;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

