/* HERO SECTION */
#hero {
  position: relative;
  width: 100%;
  height: 100vh; /* Fallback */
  height: 100dvh; /* Mobile friendly */
  background: #000;
}

.v-container {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #000;
}

/* HUD & DETAILS */
.hero-hud {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 2.5rem;
  z-index: 25;
  pointer-events: none;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.hud-top-left, .hud-top-right, .hud-bottom-right {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hud-top-left { top: 120px; left: 3rem; }
.hud-top-right { top: 120px; right: 3rem; text-align: right; }
.hud-bottom-right { bottom: 3rem; right: 3rem; text-align: right; }

.hud-label {
  font-size: 0.6rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.2em;
  font-weight: 400;
}

.hud-value {
  font-size: 0.7rem;
  color: #fff;
  letter-spacing: 0.1em;
  font-weight: 500;
}

.dot-active {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--color-primary);
  border-radius: 50%;
  margin-right: 6px;
  box-shadow: 0 0 10px var(--color-primary);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { opacity: 0.4; }
  50% { opacity: 1; }
  100% { opacity: 0.4; }
}

.micro-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 0);
  background-size: 40px 40px;
  z-index: 3;
  pointer-events: none;
}

#hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

/* OVERLAY UNIFICADO */
.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(7, 7, 7, 0.55); 
  z-index: 2;
  pointer-events: none;
}

.hero-content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
  pointer-events: none;
  padding: 0 1rem; /* Prevent text touching edges on mobile */
}

.hero-text {
  position: absolute;
  text-align: center;
  width: 100%;
  max-width: 1200px;
  opacity: 0;
  transform: translateY(30px);
  pointer-events: auto;
}

.hero-text h1 {
  font-size: clamp(2.5rem, 8vw, 6.5rem); /* Reduced min size for mobile */
  line-height: 1.1;
  margin-bottom: 2rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.hero-text p {
  font-size: clamp(0.7rem, 1.5vw, 1.1rem);
  color: var(--color-primary);
  font-family: var(--font-primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em; /* Reduced spacing for mobile */
  margin-bottom: 1.5rem;
  display: inline-block;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(5px);
  padding: 0.5rem 1rem;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.1);
}

/* HERO CTA BUTTON */
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background-color: var(--color-primary) !important;
  border: none;
  padding: 1.2rem 3rem;
  border-radius: 100px;
  text-decoration: none;
  color: var(--color-secondary) !important;
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all 0.3s ease;
  box-shadow: 0 10px 40px rgba(242, 192, 31, 0.3);
  pointer-events: auto;
  position: relative;
  z-index: 50;
  margin-top: 1rem;
}

.hero-cta i {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.hero-cta:hover {
  background-color: var(--color-primary) !important;
  transform: translateY(-4px);
  box-shadow: 0 15px 50px rgba(242, 192, 31, 0.5);
}

.hero-cta:hover i {
  transform: translateX(5px);
}

/* Cards Sociais no rodapé */
.social-cards-container {
  position: absolute;
  bottom: 3rem;
  left: 3rem;
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.glass-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.05); 
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.8rem 1.8rem;
  border-radius: 100px;
  text-decoration: none;
  color: #fff;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  width: fit-content;
  pointer-events: auto;
}

.glass-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-primary);
  transform: translateY(-5px) scale(1.02);
}

.glass-card i {
  font-size: 1.1rem;
}

.glass-card span {
  font-family: var(--font-primary);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
}

.glass-card .icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  color: var(--color-primary);
  transition: all 0.3s ease;
}

.glass-card:hover .icon-box {
  background: var(--color-primary);
  color: var(--color-secondary);
}

.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  color: rgba(255,255,255,0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.scroll-hint span {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  font-family: var(--font-primary);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero-hud {
    padding: 1.5rem;
  }
  
  /* Hide non-essential HUD elements on mobile to reduce clutter */
  .hud-top-right, .hud-bottom-right {
    display: none;
  }
  
  .hud-top-left {
    top: 100px; /* Below header */
    left: 1.5rem;
  }

  .hero-text h1 {
    font-size: 2.2rem; /* Even smaller for very narrow screens if clamp fails */
  }
  
  .hero-text br {
    display: block; /* Ensure breaks work */
  }

  .social-cards-container {
    left: 50%;
    transform: translateX(-50%);
    bottom: 5rem;
    flex-direction: row;
    width: 90%;
    justify-content: center;
    gap: 0.5rem;
  }
  
  .glass-card {
    padding: 0.6rem 1rem;
    gap: 0.5rem;
  }
  
  .glass-card span {
    display: none; /* Icon-only on mobile to save space */
  }
  
  .glass-card .icon-box {
    width: 28px;
    height: 28px;
    font-size: 0.9rem;
  }

  .hero-cta {
    padding: 1rem 2rem;
    font-size: 0.8rem;
    width: 90%;
    justify-content: center;
  }
}

@media (max-width: 380px) {
    .hero-text h1 {
        font-size: 1.8rem;
    }
}