/* =============================================
   BIVOJ — Neon Layer
   Orange-amber neon effects over the brown base
   ============================================= */

:root {
  --neon:        #ff7000;
  --neon-bright: #ff9a3c;
  --neon-dim:    #c95200;
  --neon-glow-sm:  0 0 6px #ff7000, 0 0 14px #ff700055;
  --neon-glow-md:  0 0 8px #ff7000, 0 0 24px #ff700066, 0 0 48px #ff700033;
  --neon-glow-lg:  0 0 10px #ff9a3c, 0 0 32px #ff700088, 0 0 80px #ff700044, 0 0 140px #ff700022;
}

/* =============================================
   LOGO — flickering neon sign (Pirata One)
   ============================================= */
.nav__logo {
  animation: neonFlicker 6s infinite;
  color: var(--gold);
}

.footer__logo {
  animation: neonFlicker 6s infinite 1.5s;
  color: var(--gold);
}

@keyframes neonFlicker {
  0%, 18%, 20%, 22%, 25%, 53%, 57%, 100% {
    text-shadow:
      0 0 4px #ffd580,
      0 0 14px var(--neon-bright),
      0 0 32px var(--neon),
      0 0 70px var(--neon-dim),
      0 0 120px rgba(255,112,0,0.2);
  }
  19%, 21%, 54%, 56% {
    text-shadow: none;
  }
}

/* =============================================
   HERO — neon light streaks & ambient glow
   ============================================= */

/* Diagonal neon streak 1 */
.hero::after {
  content: '';
  position: absolute;
  top: -10%;
  left: 30%;
  width: 2px;
  height: 140%;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(255, 112, 0, 0) 20%,
    rgba(255, 112, 0, 0.35) 45%,
    rgba(255, 154, 60, 0.6) 50%,
    rgba(255, 112, 0, 0.35) 55%,
    rgba(255, 112, 0, 0) 80%,
    transparent 100%
  );
  transform: rotate(-28deg) translateX(-50%);
  pointer-events: none;
  filter: blur(1px);
  animation: streakMove 8s ease-in-out infinite;
  z-index: 1;
}

/* Diagonal neon streak 2 */
.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  left: 55%;
  width: 1px;
  height: 140%;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(255, 112, 0, 0) 30%,
    rgba(255, 154, 60, 0.4) 50%,
    rgba(255, 112, 0, 0) 70%,
    transparent 100%
  );
  transform: rotate(-28deg) translateX(-50%);
  pointer-events: none;
  filter: blur(0.5px);
  animation: streakMove 8s ease-in-out infinite 1.5s;
  z-index: 1;
}

@keyframes streakMove {
  0%, 100% { opacity: 0.7; transform: rotate(-28deg) translateX(-50%) scaleY(1); }
  50%       { opacity: 0.3; transform: rotate(-28deg) translateX(-50%) scaleY(0.92); }
}

/* Neon ambient pool at bottom-right of hero */
.hero__bg::after {
  content: '';
  position: absolute;
  bottom: -80px;
  right: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(255, 112, 0, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: neonPulse 4s ease-in-out infinite;
}

@keyframes neonPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.65; transform: scale(1.08); }
}

/* Hero eyebrow line glow */
.hero__eyebrow::before {
  box-shadow: var(--neon-glow-sm);
  background: var(--neon-bright);
}

/* Hero italic title — neon orange */
.hero__title em {
  color: var(--neon-bright);
  text-shadow:
    0 0 8px rgba(255, 154, 60, 0.7),
    0 0 24px rgba(255, 112, 0, 0.45),
    0 0 60px rgba(255, 112, 0, 0.2);
}

/* Hero CTA button — neon glow on hover */
.hero__content .btn--gold {
  position: relative;
  overflow: hidden;
}
.hero__content .btn--gold::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,154,60,0.3) 50%, transparent 100%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}
.hero__content .btn--gold:hover::before {
  transform: translateX(100%);
}
.hero__content .btn--gold:hover {
  box-shadow:
    0 0 12px rgba(255, 154, 60, 0.7),
    0 0 32px rgba(255, 112, 0, 0.5),
    0 0 64px rgba(255, 112, 0, 0.25);
}

/* Scroll line — neon orange */
.hero__scroll-line {
  background: linear-gradient(to bottom, var(--neon) 0%, transparent 100%);
  box-shadow: 0 0 6px var(--neon), 0 0 12px rgba(255,112,0,0.4);
}
.hero__scroll span { color: var(--neon-bright); }

/* =============================================
   MARQUEE — glowing dots
   ============================================= */
.marquee__dot {
  color: var(--neon) !important;
  text-shadow: var(--neon-glow-sm);
  animation: dotPulse 2.5s ease-in-out infinite;
}
.marquee__dot:nth-child(4n) { animation-delay: 0.5s; }
.marquee__dot:nth-child(4n+2) { animation-delay: 1s; }
.marquee__dot:nth-child(4n+3) { animation-delay: 1.5s; }

@keyframes dotPulse {
  0%, 100% { text-shadow: var(--neon-glow-sm); opacity: 1; }
  50%       { text-shadow: var(--neon-glow-md); opacity: 0.7; }
}

/* =============================================
   SECTION LABELS — neon underline
   ============================================= */
.section-label {
  color: var(--neon-bright);
  text-shadow: 0 0 8px rgba(255,112,0,0.5);
  position: relative;
}

/* =============================================
   PRODUCT CARDS — neon border glow on hover
   ============================================= */
.product-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  border: 1px solid transparent;
  pointer-events: none;
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
}
.product-card:hover::after {
  border-color: rgba(255, 112, 0, 0.45);
  box-shadow:
    inset 0 0 20px rgba(255, 112, 0, 0.06),
    0 0 24px rgba(255, 112, 0, 0.25),
    0 0 60px rgba(255, 112, 0, 0.1);
}

/* Badge — neon glow */
.product-card__badge {
  box-shadow: 0 0 10px rgba(255,112,0,0.4), 0 0 24px rgba(255,112,0,0.2);
}

/* Price — subtle neon on hover */
.product-card:hover .product-card__price {
  color: var(--neon-bright);
  text-shadow: 0 0 8px rgba(255,154,60,0.5);
  transition: color 0.35s, text-shadow 0.35s;
}

/* Add to cart button hover */
.btn--outline-light:hover {
  background: transparent !important;
  color: var(--neon-bright) !important;
  border-color: var(--neon) !important;
  box-shadow: var(--neon-glow-sm), inset 0 0 12px rgba(255,112,0,0.1);
}

/* =============================================
   MATERIAL CARDS — neon icon glow on hover
   ============================================= */
.material-card:hover .material-card__icon {
  color: var(--neon-bright);
  filter: drop-shadow(0 0 6px rgba(255,112,0,0.7)) drop-shadow(0 0 16px rgba(255,112,0,0.4));
}
.material-card:hover {
  box-shadow:
    0 16px 40px rgba(0,0,0,0.4),
    0 0 32px rgba(255,112,0,0.12),
    0 0 1px rgba(255,112,0,0.4);
  border-color: rgba(255,112,0,0.3);
}
.material-card:hover h3 {
  color: var(--neon-bright);
  text-shadow: 0 0 10px rgba(255,154,60,0.4);
}

/* =============================================
   FILTER BUTTONS — neon active state
   ============================================= */
.filter-btn--active,
.filter-btn:hover {
  background: transparent !important;
  color: var(--neon-bright) !important;
  border-color: var(--neon) !important;
  box-shadow:
    0 0 10px rgba(255, 112, 0, 0.5),
    0 0 24px rgba(255, 112, 0, 0.25),
    inset 0 0 10px rgba(255, 112, 0, 0.08);
  text-shadow: 0 0 8px rgba(255, 154, 60, 0.7);
}

/* =============================================
   NAV LINKS — neon underline on hover
   ============================================= */
.nav__links a::after {
  background: var(--neon);
  box-shadow: var(--neon-glow-sm);
}
.nav__links a:hover {
  color: var(--neon-bright) !important;
  text-shadow: 0 0 8px rgba(255,154,60,0.5);
}

/* Cart count — neon pulse */
.nav__cart-count {
  background: var(--neon);
  box-shadow: 0 0 8px rgba(255,112,0,0.8), 0 0 16px rgba(255,112,0,0.4);
  animation: cartPulse 3s ease-in-out infinite;
}
@keyframes cartPulse {
  0%, 100% { box-shadow: 0 0 8px rgba(255,112,0,0.8), 0 0 16px rgba(255,112,0,0.4); }
  50%       { box-shadow: 0 0 12px rgba(255,112,0,1),  0 0 28px rgba(255,112,0,0.6); }
}

/* =============================================
   TESTIMONIALS — featured card neon accent
   ============================================= */
.testimonial-card--featured {
  border-color: rgba(255, 112, 0, 0.3) !important;
  box-shadow:
    0 24px 60px rgba(0,0,0,0.4),
    0 0 40px rgba(255,112,0,0.1),
    0 0 1px rgba(255,112,0,0.3);
}
.testimonial-card__stars {
  text-shadow: 0 0 8px rgba(255,112,0,0.6);
  color: var(--neon-bright) !important;
}

/* =============================================
   NEWSLETTER — neon watermark & input glow
   ============================================= */
.newsletter::before {
  color: rgba(255, 112, 0, 0.04) !important;
}
.newsletter__form input:focus {
  border-color: var(--neon) !important;
  box-shadow: 0 0 12px rgba(255,112,0,0.3), inset 0 0 8px rgba(255,112,0,0.06);
}
.newsletter .btn--gold:hover {
  box-shadow:
    0 8px 24px rgba(255,112,0,0.4),
    0 0 16px rgba(255,112,0,0.3);
}

/* =============================================
   FOOTER SOCIAL LINKS
   ============================================= */
.footer__social a:hover {
  border-color: var(--neon) !important;
  color: var(--neon-bright) !important;
  box-shadow: 0 0 10px rgba(255,112,0,0.5), 0 0 24px rgba(255,112,0,0.2);
}

/* =============================================
   STORY STATS — neon numbers
   ============================================= */
.story__stat-num {
  animation: statGlow 4s ease-in-out infinite;
}
@keyframes statGlow {
  0%, 100% { text-shadow: none; }
  50%       { text-shadow: 0 0 12px rgba(255,154,60,0.5), 0 0 28px rgba(255,112,0,0.3); }
}

/* =============================================
   MOUSE CURSOR — neon spotlight follower
   ============================================= */
#neon-cursor {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 112, 0, 0.07) 0%,
    rgba(255, 112, 0, 0.03) 35%,
    transparent 70%
  );
  transform: translate(-50%, -50%);
  transition: opacity 0.4s ease;
  will-change: left, top;
}

/* =============================================
   NEON CORNER ACCENT on hero hat silhouette
   ============================================= */
.hero__bg::before {
  box-shadow:
    inset 0 20px 60px rgba(201, 169, 110, 0.06),
    0 0 80px rgba(255, 112, 0, 0.06),
    0 -8px 40px rgba(255, 112, 0, 0.08);
}

/* =============================================
   HORIZONTAL DIVIDER — neon line
   ============================================= */
.marquee {
  position: relative;
}
.marquee::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--neon) 50%, transparent 100%);
  box-shadow: 0 0 8px rgba(255,112,0,0.6);
  opacity: 0.5;
}
.marquee::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--neon) 50%, transparent 100%);
  box-shadow: 0 0 8px rgba(255,112,0,0.6);
  opacity: 0.5;
}

/* =============================================
   SCANNING LINE EFFECT in hero
   ============================================= */
@keyframes scanLine {
  0%   { top: -2px; opacity: 0; }
  5%   { opacity: 1; }
  95%  { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

.hero__scan {
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255,112,0,0.0) 10%,
    rgba(255,112,0,0.4) 40%,
    rgba(255,154,60,0.7) 50%,
    rgba(255,112,0,0.4) 60%,
    rgba(255,112,0,0.0) 90%,
    transparent 100%
  );
  box-shadow: 0 0 8px rgba(255,112,0,0.5);
  pointer-events: none;
  z-index: 2;
  animation: scanLine 7s linear infinite;
}

/* =============================================
   GLOWING ORB — floating decoration
   ============================================= */
.neon-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
}
.neon-orb--1 {
  width: 220px; height: 220px;
  background: radial-gradient(ellipse at center, rgba(255,112,0,0.12) 0%, transparent 70%);
  top: 20%; right: 12%;
  animation: orbFloat 9s ease-in-out infinite;
  z-index: 1;
}
.neon-orb--2 {
  width: 120px; height: 120px;
  background: radial-gradient(ellipse at center, rgba(255,154,60,0.18) 0%, transparent 70%);
  top: 55%; right: 28%;
  animation: orbFloat 6s ease-in-out infinite 2s;
  z-index: 1;
}
.neon-orb--3 {
  width: 80px; height: 80px;
  background: radial-gradient(ellipse at center, rgba(255,200,80,0.2) 0%, transparent 70%);
  top: 35%; right: 20%;
  animation: orbFloat 5s ease-in-out infinite 1s;
  z-index: 1;
}

@keyframes orbFloat {
  0%, 100% { transform: translateY(0px) scale(1); opacity: 0.8; }
  33%       { transform: translateY(-18px) scale(1.06); opacity: 1; }
  66%       { transform: translateY(10px) scale(0.95); opacity: 0.65; }
}
