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

body {
  background: url("images/bg.jpg") center/cover no-repeat fixed;
  color: #fff;
  font-family: 'Oswald', sans-serif;
}

/* LOADER */
#loader {
  position:fixed;
  width:100%;
  height:100%;
  background:#000;
  display:flex;
  justify-content:center;
  align-items:center;
  z-index:9999;
}

#loader h1 {
  font-size:50px;
  letter-spacing:8px;
  color:#ff2a00;
  animation: zoom 1.5s ease;
}

@keyframes zoom {
  0% {opacity:0; transform:scale(0.5);}
  100% {opacity:1; transform:scale(1.3);}
}

/* HEADER */
header {
  position:fixed;
  width:100%;
  padding:20px;
  background:rgba(0,0,0,0.4);
  backdrop-filter:blur(10px);
}

.logo {
  font-size:20px;
  letter-spacing:3px;
}

/* HERO */
.hero {
  height:100vh;
  background:url("https://images.unsplash.com/photo-1546484959-f3a3c0d1b4c5") center/cover no-repeat;
  position:relative;
  display:flex;
  align-items:center;
  padding:80px;
}

.overlay {
  position:absolute;
  width:100%;
  height:100%;
  background:rgba(0,0,0,0.7);
}

.hero-content {
  position:relative;
  z-index:2;
}

.hero h2 {
  font-size:70px;
  line-height:1;
}

.hero p {
  margin-top:15px;
  color:#ccc;
  letter-spacing:3px;
}

button {
  margin-top:25px;
  padding:15px 40px;
  background:#ff2a00;
  border:none;
  color:#fff;
  font-weight:bold;
  cursor:pointer;
  transition:0.3s;
}

button:hover {
  background:#ff0000;
}

/* PRODUTOS */
.grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:30px;
  padding:80px;
}

.product {
  background:#0d0d0d;
  border:1px solid #222;
  padding:20px;
  transition:0.3s;
}

.product:hover {
  transform:translateY(-10px);
  border-color:#ff2a00;
}

.product img {
  width:100%;
  height:320px;
  object-fit:cover;
}

.price {
  color:#ff2a00;
  font-size:18px;
}

.old {
  text-decoration:line-through;
  color:#777;
}

.stock {
  color:#ff2a00;
  font-size:12px;
}

.title {
  text-align:center;
  margin-top:40px;
  letter-spacing:4px;
}

/* FINAL */
.final {
  text-align:center;
  padding:100px;
}

/* SCROLL */
html {
  scroll-behavior:smooth;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: -1;
}

section, header {
  position: relative;
  z-index: 2;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.8),
    rgba(0,0,0,0.6),
    rgba(0,0,0,0.9)
  );

  z-index: -1;
}

.hero h2 {
  text-shadow: 0 0 20px rgba(255,0,0,0.5);
}

/* 🔥 TEXTO COM BRILHO PULSANDO */
.hero h2 {
  text-shadow: 0 0 20px rgba(255,0,0,0.5);
  animation: glow 2s infinite alternate;
}

@keyframes glow {
  from {
    text-shadow: 0 0 10px rgba(255,0,0,0.4);
  }
  to {
    text-shadow: 0 0 30px rgba(255,0,0,0.9);
  }
}

/* ⚡ BOTÃO ENERGIA */
button {
  position: relative;
  overflow: hidden;
}

button::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: -100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.4), transparent);
  transition: 0.5s;
}

button:hover::after {
  left: 100%;
}

/* ⚡ PRODUTOS ANIMANDO */
.product {
  opacity: 0;
  transform: translateY(40px);
  transition: 0.6s;
}

.product.show {
  opacity: 1;
  transform: translateY(0);
}

/* 🌊 FUNDO COM MOVIMENTO */
body {
  animation: bgMove 20s infinite linear;
}

@keyframes bgMove {
  0% { background-position: center; }
  50% { background-position: top; }
  100% { background-position: center; }
}

/* ⚡ RAIO PISCANDO (EFEITO DE ENERGIA) */
body::after {
  content: "";
  position: fixed;
  width: 100%;
  height: 100%;
  background: rgba(255,0,0,0.05);
  pointer-events: none;
  animation: lightning 3s infinite;
}

@keyframes lightning {
  0%, 90%, 100% { opacity: 0; }
  92% { opacity: 0.3; }
  94% { opacity: 0.1; }
  96% { opacity: 0.4; }
}