﻿body {
  margin: 0;
  font-family: Arial;
  color: white;
  overflow-x: hidden;

  background: linear-gradient(
    120deg,
    #ff7a00,
    #000000,
    #1d4ed8,
    #f97316
  );

  background-size: 400% 400%;
  animation: bgMove 12s ease infinite;
}

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

/* LUCI */
body::before,
body::after {
  content:"";
  position:fixed;
  width:500px;
  height:500px;
  filter:blur(90px);
  z-index:-1;
}

body::before {
  top:-200px;
  left:-200px;
  background:rgba(255,122,0,0.35);
}

body::after {
  bottom:-200px;
  right:-200px;
  background:rgba(29,78,216,0.25);
}

.navbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:15px 20px;
  background:rgba(0,0,0,0.6);
  backdrop-filter:blur(10px);
}

.navbar a{
  color:white;
  margin:0 8px;
  text-decoration:none;
  font-weight:500;
  background:none;
  -webkit-text-fill-color:white;
  -webkit-text-stroke:0;
  text-shadow:none;
  transition:0.2s;
}

.navbar a:hover{
  opacity:0.7;
}

.nav-logo{
  height:45px;
  object-fit:contain;
}

.search-box{
  position:relative;
  display:flex;
  align-items:center;
}

.search-icon{
  cursor:pointer;
  font-size:20px;
  padding:8px;
  border-radius:50%;
  background:linear-gradient(90deg,#ff7a00,#1d4ed8);
}

#search{
  width:0;
  opacity:0;
  margin-left:10px;
  padding:6px;
  border:none;
  border-radius:6px;
  transition:0.3s;
}

#search.active{
  width:180px;
  opacity:1;
}

/* HERO */
.hero{
  text-align:center;
  padding:60px 20px;
}

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

/* CARD */
.card{
  position:relative;
}

.card img{
  width:100%;
  border-radius:10px;
  transition:0.3s;
  display:block;
}

.hover-img{
  position:absolute;
  top:0;
  left:0;
  opacity:0;
}

.card:hover .hover-img{
  opacity:1;
}

.card:hover .main-img{
  opacity:0;
}

/* BUTTON */
button {
  margin-top:10px;
  padding:10px;
  width:100%;
  border:none;
  border-radius:8px;
  cursor:pointer;
  background:linear-gradient(90deg,#ff7a00,#1d4ed8);
  color:white;
  font-weight:bold;
}

/* CART */
