/* Шрифты */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700;900&family=Inter:wght@300;400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --neon-blue: #00f3ff;
  --neon-purple: #bc13fe;
  --bg-dark: #030308;
  --bg-card: rgba(12, 12, 20, 0.6);
  --glass-border: rgba(255, 255, 255, 0.06);
  --glass-border-hover: rgba(0, 243, 255, 0.15);
}

* { -webkit-tap-highlight-color: transparent; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-dark);
  color: #ffffff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, .brand { font-family: 'Orbitron', sans-serif; }

/* ===== Canvas ===== */
#bg-canvas {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  z-index: -1; pointer-events: none;
  will-change: transform;
}

/* ===== Навигация ===== */
.nav-glass {
  background: rgba(3, 3, 8, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 8px;
  transition: all 0.3s ease;
}
.nav-link:hover { color: #fff; background: rgba(255, 255, 255, 0.05); }
.nav-link-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--neon-blue);
  box-shadow: 0 0 6px var(--neon-blue);
}
.nav-link-dot.purple {
  background: var(--neon-purple);
  box-shadow: 0 0 6px var(--neon-purple);
}

@media (min-width: 640px) {
  .nav-link { font-size: 0.8rem; padding: 6px 14px; }
}

/* ===== Градиентный текст ===== */
.gradient-text {
  background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ===== Скроллбар ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: rgba(188, 19, 254, 0.4); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--neon-blue); }

/* ===== HERO CTA BUTTON ===== */
.hero-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  padding: 14px 36px;
  border-radius: 60px;
  isolation: isolate;
  transition: transform 0.3s ease;
}
.hero-cta:hover { transform: translateY(-3px); }
.hero-cta:active { transform: translateY(0) scale(0.97); }

.hero-cta-glow {
  position: absolute; inset: -2px;
  border-radius: 60px;
  background: conic-gradient(
    from 0deg,
    var(--neon-blue),
    var(--neon-purple),
    var(--neon-blue),
    var(--neon-purple),
    var(--neon-blue)
  );
  filter: blur(12px);
  opacity: 0.4;
  z-index: -2;
  animation: rotateGlow 4s linear infinite;
  transition: opacity 0.3s ease;
}
.hero-cta:hover .hero-cta-glow { opacity: 0.7; }

@keyframes rotateGlow {
  to { filter: blur(14px) hue-rotate(360deg); }
}

.hero-cta-border {
  position: absolute; inset: 0;
  border-radius: 60px;
  padding: 1.5px;
  background: conic-gradient(
    from 0deg,
    var(--neon-blue),
    transparent 30%,
    var(--neon-purple) 50%,
    transparent 70%,
    var(--neon-blue)
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: -1;
  animation: rotateBorder 3s linear infinite;
}

@keyframes rotateBorder {
  to { transform: rotate(360deg); }
}

.hero-cta-content {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
}

.hero-cta-icon {
  width: 18px; height: 18px;
  filter: drop-shadow(0 0 4px var(--neon-blue));
  color: var(--neon-blue);
}

@media (min-width: 640px) {
  .hero-cta { padding: 16px 48px; }
  .hero-cta-content { font-size: 0.85rem; gap: 12px; }
  .hero-cta-icon { width: 20px; height: 20px; }
}

/* ===== Секции ===== */
#stream { padding-top: 4rem; padding-bottom: 0; }
#alerts-examples { padding-top: 1rem; padding-bottom: 4rem; }

/* ===== LIVE BADGE ===== */
.stream-frame {
  position: relative;
  border-radius: 16px;
}

.stream-frame-glow {
  position: absolute; inset: -1px;
  border-radius: 17px;
  background: linear-gradient(135deg, rgba(0, 243, 255, 0.15), rgba(188, 19, 254, 0.15));
  z-index: 0;
  filter: blur(1px);
  opacity: 0.6;
  transition: opacity 0.4s ease;
}
.stream-frame:hover .stream-frame-glow { opacity: 1; }

.stream-frame-inner {
  position: relative;
  z-index: 1;
  border-radius: 16px;
  overflow: hidden;
  background: #0a0a12;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* Верхняя панель — стиль macOS */
.stream-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: rgba(15, 15, 25, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.topbar-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.topbar-dot.red { background: #ff5f57; }
.topbar-dot.yellow { background: #ffbd2e; }
.topbar-dot.green { background: #27c93f; }

.stream-topbar-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.35);
}

.topbar-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.4);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  transition: all 0.2s ease;
}
.topbar-action-btn:hover {
  color: var(--neon-blue);
  background: rgba(0, 243, 255, 0.08);
}

@media (min-width: 640px) {
  .stream-topbar { padding: 12px 20px; }
}

/* Embed iframe */
.stream-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.stream-embed iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: none;
}

/* ===== NEURO FRAME EFFECTS ===== */
.neuro-frame {
  position: relative;
  border-radius: 20px;
  padding: 2px;
  background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple), var(--neon-blue));
  background-size: 200% 200%;
  animation: neuroGlow 4s linear infinite;
  box-shadow: 0 0 20px rgba(0, 243, 255, 0.2), 
              inset 0 0 20px rgba(188, 19, 254, 0.2);
}

.neuro-inner {
  background: #06060c;
  border-radius: 18px;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.neon-float {
  position: absolute;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, var(--neon-blue) 0%, transparent 70%);
  filter: blur(40px);
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
  animation: floatNeon 10s ease-in-out infinite;
}

.neon-float.purple {
  background: radial-gradient(circle, var(--neon-purple) 0%, transparent 70%);
  animation-delay: -5s;
}

@keyframes neuroGlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes floatNeon {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(50px, -30px) scale(1.2); }
  66% { transform: translate(-30px, 40px) scale(0.8); }
}

/* Loader */
.stream-loader {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.85);
  z-index: 2;
  transition: opacity 0.5s ease;
}
.stream-loader.hidden {
  opacity: 0;
  pointer-events: none;
}

.loader-spinner {
  width: 40px; height: 40px;
  border: 2px solid rgba(0, 243, 255, 0.15);
  border-top-color: var(--neon-blue);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== INFO CARDS GRID ===== */
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 640px) {
  .info-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
}

.info-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 14px;
  border-radius: 14px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  overflow: hidden;
  transition: all 0.35s ease;
}
.info-card:hover {
  border-color: var(--glass-border-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.info-card-glow {
  position: absolute;
  bottom: -20px; left: 50%; transform: translateX(-50%);
  width: 60%; height: 40px;
  border-radius: 50%;
  filter: blur(20px);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.info-card-glow.blue { background: var(--neon-blue); }
.info-card-glow.purple { background: var(--neon-purple); }
.info-card:hover .info-card-glow { opacity: 0.15; }

.info-card-icon-wrap {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.info-card-icon-wrap.blue {
  background: rgba(0, 243, 255, 0.08);
  color: var(--neon-blue);
}
.info-card-icon-wrap.purple {
  background: rgba(188, 19, 254, 0.08);
  color: var(--neon-purple);
}

.info-card-label {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
}

.info-card-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
}
.info-card-value.blue {
  color: var(--neon-blue);
  text-shadow: 0 0 12px rgba(0, 243, 255, 0.3);
}

@media (min-width: 640px) {
  .info-card { padding: 24px 16px; gap: 10px; }
  .info-card-icon-wrap { width: 46px; height: 46px; }
  .info-card-value { font-size: 1rem; }
}

/* ===== STREAM DESC ===== */
.stream-desc {
  position: relative;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
}
.stream-desc-line {
  position: absolute;
  top: 0; left: -100%;
  width: 200%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--neon-blue), var(--neon-purple), transparent);
  animation: scanLine 5s linear infinite;
}
@keyframes scanLine {
  0% { left: -100%; }
  100% { left: 100%; }
}

.text-neon-blue {
  color: var(--neon-blue);
  text-shadow: 0 0 8px rgba(0, 243, 255, 0.4);
}

/* ===== TELEGRAM CARD ===== */
.tg-card {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 36px 48px;
  border-radius: 20px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  text-decoration: none;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
}
.tg-card-glow {
  position: absolute;
  bottom: -30px; left: 50%; transform: translateX(-50%);
  width: 70%; height: 60px;
  border-radius: 50%;
  background: #2AABEE;
  filter: blur(30px);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.tg-card:hover .tg-card-glow { opacity: 0.2; }
.tg-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(42, 171, 238, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.tg-card:active { transform: scale(0.97); }

@media (min-width: 640px) {
  .tg-card { padding: 48px 72px; gap: 20px; }
}

/* ===== ANIMATION HELPERS ===== */
.hero-anim, .section-anim {
  will-change: transform, opacity;
}

/* ===== STREAM LAYOUT WITH CAROUSELS ===== */
.stream-layout-container {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 2rem;
}

.side-carousel {
  flex: 0 0 150px;
  height: 480px; /* Фиксированная высота для карусели */
  overflow: hidden;
  position: relative;
  border-radius: 12px;
  border: 1px solid var(--glass-border);
  background: var(--bg-card);
  display: none; /* Скрыто по умолчанию на мобилках */
}

@media (min-width: 1024px) {
  .side-carousel { display: block; }
}

.carousel-track {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px;
}

.carousel-item {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.05);
  transition: transform 0.3s ease;
}

.carousel-item.shadow-neon {
  box-shadow: 0 0 15px rgba(0, 243, 255, 0.1);
}

.carousel-item:hover {
  transform: scale(1.05);
  border-color: var(--neon-blue);
  box-shadow: 0 0 25px rgba(0, 243, 255, 0.3);
}

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

.stream-frame {
  flex: 1;
}

/* ===== NOTIFICATION CAROUSEL ===== */
.notification-carousel {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
  padding: 20px 0;
}

.notif-track {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.notif-item {
  flex: 0 0 300px;
}

.notif-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  transition: all 0.4s ease;
}

.notif-card:hover {
  transform: translateY(-8px);
  border-color: var(--neon-purple);
  box-shadow: 0 15px 45px rgba(188, 19, 254, 0.2);
}

.notif-card img {
  width: 100%;
  height: auto;
  display: block;
}

.notif-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.notif-card:hover .notif-overlay { opacity: 1; }

.notif-overlay span {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--neon-purple);
}

/* ===== Mobile Adjustments ===== */
@media (max-width: 768px) {
  .stream-layout-container { flex-direction: column; }
  .notif-item { flex: 0 0 85%; }
  .notif-track { 
    overflow-x: auto; 
    justify-content: flex-start;
    padding-bottom: 20px;
  }
}

/* ===== Shimmer ===== */
.shimmer-text {
  background: linear-gradient(90deg, var(--neon-blue) 0%, var(--neon-purple) 25%, #fff 50%, var(--neon-blue) 75%, var(--neon-purple) 100%);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 4s ease-in-out infinite;
}
@keyframes shimmer {
  0% { background-position: 100% 50%; }
  50% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

/* ===== Mobile ===== */
/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  padding: 20px;
}
.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}
.lightbox-content {
  max-width: 90%;
  max-height: 90vh;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 50px rgba(0, 243, 255, 0.3);
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.lightbox.active .lightbox-content {
  transform: scale(1);
}
.lightbox-content img, .lightbox-content video {
  width: 100%;
  height: auto;
  max-height: 85vh;
  display: block;
}
.lightbox-close {
  position: absolute;
  top: 30px;
  right: 30px;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
  z-index: 1001;
  width: 50px;
  height: 50px;
  line-height: 44px;
  text-align: center;
  transition: all 0.3s ease;
}
.lightbox-close:hover {
  color: var(--neon-blue);
  transform: rotate(90deg);
}

/* ===== NOTIFICATION GRID ===== */
.notif-grid-inner {
  width: 100%;
}
.notif-item-static {
  cursor: pointer;
  transition: transform 0.3s ease;
}
.notif-item-static:hover {
  transform: translateY(-8px);
}

@media (max-width: 768px) {
  h1 { font-size: 2rem !important; line-height: 1.2; }
  .stream-frame { border-radius: 12px; }
  .stream-frame-inner { border-radius: 12px; }
  .stream-frame-glow { border-radius: 13px; }
}

/* ===== CUSTOM PORTFOLIO STYLES ===== */
.text-neon-cyan {
  color: var(--neon-blue);
  text-shadow: 0 0 8px rgba(0, 243, 255, 0.4);
}

.shadow-neon {
  box-shadow: 0 0 20px rgba(0, 243, 255, 0.15);
}

.fade-up-text {
  will-change: transform, opacity;
}

/* Stack Buttons */
.stack-btn {
  position: relative;
  border-radius: 12px;
  background: rgba(12, 12, 20, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  z-index: 1;
}

.stack-btn-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--neon-blue);
  filter: blur(15px);
  opacity: 0;
  transition: all 0.5s ease;
  z-index: -1;
}

.stack-btn-glow.purple {
  background: var(--neon-purple);
}

.stack-btn:hover .stack-btn-glow {
  width: 120%; height: 120%;
  opacity: 0.25;
}

.stack-btn:hover {
  border-color: rgba(0, 243, 255, 0.4);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* Specific hover color for purple glow button */
.stack-btn:hover:has(.stack-btn-glow.purple) {
  border-color: rgba(188, 19, 254, 0.4);
}

.stack-btn-inner {
  position: relative;
  z-index: 2;
}

/* Telegram Button Hover FX */
.tg-hero-btn:hover svg {
  animation: pulse-icon 0.8s infinite alternate ease-in-out;
}

@keyframes pulse-icon {
  from { transform: scale(1); filter: drop-shadow(0 0 5px rgba(42, 171, 238, 0.4)); }
  to { transform: scale(1.15); filter: drop-shadow(0 0 15px rgba(42, 171, 238, 0.8)); }
}

/* ===== STATISTICS CARDS ===== */
.stat-card {
  position: relative;
  height: 100%;
  border-radius: 16px;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  will-change: transform;
  transform: translateZ(0); /* Hardware acceleration */
}

.stat-card:hover {
  transform: translateY(-8px);
}

.stat-card-glow {
  position: absolute;
  inset: -2px;
  background: var(--neon-blue);
  border-radius: 17px;
  filter: blur(15px);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.stat-card-glow.purple {
  background: var(--neon-purple);
}

.stat-card:hover .stat-card-glow {
  opacity: 0.25;
}

/* Holographic / Scanline effect */
.stat-scanline {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  z-index: 5;
  pointer-events: none;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
  mix-blend-mode: overlay;
}

.stat-card:hover .stat-scanline {
  opacity: 1;
}

.stat-scanline::before {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 200%;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(255, 255, 255, 0.05) 50%,
    transparent 100%
  );
  background-size: 100% 10px;
  animation: hologramScan 3s linear infinite;
}

@keyframes hologramScan {
  0% { transform: translateY(0); }
  100% { transform: translateY(50%); }
}

/* ===== PREMIUM EFFECTS ===== */
.hero-premium-title {
  color: #f0f0f0;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.premium-gradient {
  background: linear-gradient(
    90deg,
    #00f3ff,
    #bc13fe,
    #00f3ff,
    #bc13fe
  );
  background-size: 300% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: shimmerGradient 8s linear infinite;
  display: inline-block;
}

@keyframes shimmerGradient {
  0% { background-position: 0% center; }
  100% { background-position: 300% center; }
}

.magnetic-item {
  display: inline-block;
  transition: transform 0.2s cubic-bezier(0.23, 1, 0.32, 1);
}

.parallax-card {
  transition: transform 0.1s ease-out;
  transform-style: preserve-3d;
}

.animate-flicker {
  animation: neonFlicker 3s infinite;
}

.animate-flicker {
  animation: neonFlicker 3s infinite;
}

@keyframes neonFlicker {
  0%, 100% { opacity: 1; }
  33% { opacity: 0.8; }
  34% { opacity: 0.2; }
  35% { opacity: 0.9; }
  60% { opacity: 1; }
  61% { opacity: 0.4; }
  62% { opacity: 1; }
  80% { opacity: 0.9; }
  81% { opacity: 0.3; }
  82% { opacity: 1; }
}

/* ===== MOBILE MENU (Overlay) ===== */
#mobile-menu {
  transition: opacity 0.4s ease, visibility 0.4s;
}

#mobile-menu-bg {
  will-change: opacity;
}

#mobile-menu-content {
  will-change: transform, opacity;
}

.mobile-nav-link {
  position: relative;
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.mobile-nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--neon-cyan);
  transition: width 0.3s ease;
}

.mobile-nav-link:hover::after {
  width: 100%;
}

.mobile-nav-link:nth-of-type(even)::after {
  background: var(--neon-purple);
}

#mobile-menu-close {
  cursor: pointer;
  z-index: 100;
}

.service-card-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 0px; height: 0px;
  border-radius: 50%;
  background: var(--neon-blue);
  filter: blur(40px);
  opacity: 0;
  transition: all 0.5s ease;
  z-index: -1;
}

.service-card:hover .service-card-glow {
  width: 150%; height: 150%;
  opacity: 0.15;
}

.service-card:hover {
  transform: scale(1.02) translateY(-5px);
  border-color: rgba(0, 243, 255, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(0, 243, 255, 0.05);
}

.service-card-lens {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 0%, rgba(12,12,20, 0.8) 150%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.service-card:hover .service-card-lens {
  opacity: 1;
}

/* Text reveal */
.text-reveal-line {
  border-left: 2px solid var(--neon-blue);
  padding-left: 10px;
}

