/* Premium Silicon Valley–style hero & navbar overlays */

:root {
  --hero-red: #ef0107;
  --hero-red-dark: #c70101;
  --hero-gold: #f5c518;
  --hero-glass: rgba(8, 8, 12, 0.55);
  --hero-glass-border: rgba(255, 255, 255, 0.08);
  --hero-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Navbar over hero — always readable (dark glass, solid link colors) */
body.page-hero .modern-navbar {
  background: rgba(6, 6, 10, 0.72) !important;
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

body.page-hero .modern-navbar .navbar-nav .nav-link {
  color: #ffffff !important;
  opacity: 1 !important;
  font-weight: 600;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

body.page-hero .modern-navbar .navbar-nav .nav-link:hover,
body.page-hero .modern-navbar .navbar-nav .nav-link:focus,
body.page-hero .modern-navbar .navbar-nav .nav-link.active {
  color: #ffffff !important;
  background: rgba(239, 1, 7, 0.35) !important;
}

body.page-hero .modern-navbar .navbar-contact {
  color: #ffffff !important;
  background: rgba(239, 1, 7, 0.2);
  border-color: rgba(239, 1, 7, 0.45);
}

body.page-hero .modern-navbar .social-icons a {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.1);
}

body.page-hero .modern-navbar.scrolled,
body.page-hero .modern-navbar.navbar-hero-solid {
  background: rgba(6, 6, 10, 0.92) !important;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--hero-glass-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}

body.page-hero {
  padding-top: 0 !important;
}

.premium-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
}

.premium-hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/arsenal-pl-victory-2026.jpg');
  background-size: cover;
  background-position: center 35%;
  background-repeat: no-repeat;
  transform: scale(1.05);
  animation: heroKenBurns 18s ease-in-out infinite alternate;
  z-index: 0;
}

@keyframes heroKenBurns {
  from { transform: scale(1.05); }
  to { transform: scale(1.12); }
}

.premium-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.25) 35%, rgba(0, 0, 0, 0.75) 100%),
    linear-gradient(105deg, rgba(239, 1, 7, 0.18) 0%, transparent 45%),
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(239, 1, 7, 0.25), transparent 70%);
  z-index: 1;
}

.premium-hero__grain {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  z-index: 2;
  pointer-events: none;
}

.premium-hero__content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 920px;
  padding: 120px 24px 80px;
  animation: heroFadeUp 1s var(--hero-ease) both;
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.premium-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  margin-bottom: 28px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  background: var(--hero-glass);
  border: 1px solid var(--hero-glass-border);
  border-radius: 100px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.premium-hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--hero-red);
  box-shadow: 0 0 12px var(--hero-red);
  animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.2); }
}

.premium-hero__title {
  font-size: clamp(2.5rem, 7vw, 4.75rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 0 0 20px;
}

.premium-hero__title .accent {
  background: linear-gradient(135deg, #fff 0%, var(--hero-red) 50%, #ff6b6b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.premium-hero__subtitle {
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  font-weight: 400;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
  max-width: 560px;
  margin: 0 auto 40px;
}

.premium-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
}

.premium-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(135deg, var(--hero-red) 0%, var(--hero-red-dark) 100%);
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(239, 1, 7, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  transition: transform 0.25s var(--hero-ease), box-shadow 0.25s var(--hero-ease);
  cursor: pointer;
}

.premium-hero__cta:hover {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(239, 1, 7, 0.55);
}

.premium-hero__cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 28px;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  background: var(--hero-glass);
  border: 1px solid var(--hero-glass-border);
  border-radius: 12px;
  backdrop-filter: blur(12px);
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}

.premium-hero__cta-secondary:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.premium-hero__stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.premium-hero__stat {
  text-align: center;
}

.premium-hero__stat-value {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

.premium-hero__stat-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

.premium-hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: heroBounce 2s ease-in-out infinite;
}

.premium-hero__scroll i {
  font-size: 1rem;
}

@keyframes heroBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

@media (max-width: 768px) {
  .premium-hero__content {
    padding-top: 100px;
  }

  .premium-hero__stats {
    gap: 24px;
  }

  .premium-hero__actions {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  .premium-hero__cta,
  .premium-hero__cta-secondary {
    width: 100%;
    justify-content: center;
  }
}
