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

body{
  font-family:'Poppins', sans-serif;
  background: linear-gradient(to bottom,#f4f6fb,#e9ebff);
  color:#222;
  line-height:1.6;
}

header{
  background: linear-gradient(135deg,#1e1e2f,#2a2a72,#6a00ff);
  color:white;
  padding:40px;
  text-align:center;
  margin-bottom:60px;
  border-radius:20px;
  box-shadow:0 10px 40px rgba(0,0,0,0.2);
}

header h1{
  font-size: 52px;
  font-weight: 700;
  color: white;
  text-shadow:
    0 0 8px #ff00cc,
    0 0 16px #ff00cc,
    0 0 30px #6a00ff;
}

nav{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

nav p{
  margin:15px 0;
  opacity:0.9;
}

.survey a{
  display:inline-block;
  padding:12px 30px;
  background:linear-gradient(45deg,#ff00cc,#6a00ff);
  color:white;
  text-decoration:none;
  border-radius:30px;
  font-weight:600;
  transition:0.3s;
}

.survey a:hover{
  transform:scale(1.1);
}


.nav-cart{
  margin-left:auto;
}
#navCartBtn{
  padding: 10px 18px;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  background: linear-gradient(45deg,#ff00cc,#6a00ff);
  color: white;
  cursor: pointer;
  transition: 0.3s;
}
#navCartBtn:hover{
  background: linear-gradient(45deg,#ff33d1,#8a00ff);
}


section{
  padding:0 6%;
  margin-bottom:50px;
}

h2{
  text-align:center;
  font-size:32px;
  margin-bottom:40px;
  color:#2a2a72;
}

.products{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:30px;
}

.products article{
  background:white;
  border-radius:18px;
  padding:20px;
  box-shadow:0 8px 25px rgba(0,0,0,0.08);
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  transition:0.3s;
}

.products article:hover{
  transform:translateY(-8px);
}

.products article img{
  width:100%;
  height:230px;
  object-fit:cover;
  border-radius:12px;
}

.products h3{
  margin:15px 0 10px;
  color:#6a00ff;
  font-size:18px;
}

.products figcaption{
  font-weight:600;
  color:#ff00aa;
  margin:10px 0;
}

.products p{
  font-size:14px;
  margin-bottom:10px;
}

.product-buttons{
  display:flex;
  gap:10px;
  margin-top:auto;
}

.cart-btn,
.buy-btn{
  flex:1;
  padding:10px;
  border:none;
  border-radius:25px;
  font-weight:600;
  cursor:pointer;
  transition:0.3s;
  font-size:14px;
}

.cart-btn{
  background:linear-gradient(45deg,#ff00cc,#6a00ff);
  color:white;
}

.buy-btn{
  background:linear-gradient(45deg,#00c6ff,#0072ff);
  color:white;
}

.cart-btn:hover,
.buy-btn:hover{
  transform:scale(1.05);
}

.offer-banner{
  margin:40px 6%;
  padding:50px 30px;
  border-radius:25px;
  background:linear-gradient(135deg,#6a00ff,#ff00cc);
  text-align:center;
  color:white;
}

.offer-banner h2{
  margin-bottom:15px;
}

.offer-btn{
  display:inline-block;
  margin-top:20px;
  padding:12px 35px;
  border-radius:40px;
  background:white;
  color:#6a00ff;
  font-weight:700;
  text-decoration:none;
}

aside{
  margin:50px 6%;
  padding:25px;
  border-radius:18px;
  border:2px solid #6a00ff;
  background:white;
}


footer{
  margin-top:80px;
  padding:40px;
  text-align:center;
  background:#1e1e2f;
  color:white;
  border-radius:20px 20px 0 0;
}

.anime-popup{
  display:none;
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.75);
  backdrop-filter:blur(6px);
  justify-content:center;
  align-items:center;
  z-index:1000;
}

.popup-box{
  background:linear-gradient(135deg,#ffffff,#f3e8ff);
  padding:40px;
  border-radius:25px;
  width:350px;
  text-align:center;
  box-shadow:0 15px 40px rgba(106,0,255,0.4);
  animation:popupFade 0.3s ease;
}

.popup-box h2{
  font-size:32px;
  margin-bottom:15px;
  background:linear-gradient(45deg,#6a00ff,#ff00cc);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}

.popup-box p{
  font-size:16px;
  margin-bottom:25px;
  color:#333;
}


.anime-popup .popup-buttons {
    display:flex;
    justify-content:center;
    gap:10px;
    flex-wrap:wrap;
    margin-top:15px;
}

.anime-popup .popup-buttons button{
    flex:1;
    min-width:140px;
    padding:12px 0;
    border:none;
    border-radius:25px;
    font-size:16px;
    font-weight:600;
    cursor:pointer;
    text-align:center;
    transition:all 0.3s ease;
}

#addBtn{
    background:linear-gradient(45deg,#ff00cc,#6a00ff);
    color:white;
}
#addBtn:hover{
    background:linear-gradient(45deg,#ff33d1,#8a00ff);
}
#addBtn:disabled{
    background-color:#aaa;
    cursor:not-allowed;
}

.buy-now-btn{
    background:linear-gradient(45deg,#00c6ff,#0072ff);
    color:white;
}
.buy-now-btn:hover{
    background:linear-gradient(45deg,#33d1ff,#005ce6);
}


.continue-btn{
    background:linear-gradient(45deg,#ff6b6b,#ff4c4c);
    color:white;
}
.continue-btn:hover{
    background:linear-gradient(45deg,#ff4c4c,#ff1a1a);
}


@keyframes popupFade{
  from{
    transform:scale(0.8);
    opacity:0;
  }
  to{
    transform:scale(1);
    opacity:1;
  }
}


@media(max-width:768px){
  header h1{
    font-size:28px;
  }
  .products article img{
    height:200px;
  }
}


.cart-section{
    padding:50px 6%;
    text-align:center;
    background:linear-gradient(to bottom,#f4f6fb,#e9ebff);
    min-height:80vh;
}

.cart-item{
    display:flex;
    align-items:center;
    gap:20px;
    background:white;
    border-radius:20px;
    padding:15px;
    margin-bottom:20px;
    box-shadow:0 8px 25px rgba(0,0,0,0.1);
}

.cart-item img{
    width:100px;
    height:100px;
    object-fit:cover;
    border-radius:12px;
}

.cart-info h3{
    color:#6a00ff;
    margin-bottom:5px;
}

.cart-info p{
    margin:5px 0;
}

.cart-info button{
    padding:5px 10px;
    border:none;
    border-radius:12px;
    font-weight:600;
    cursor:pointer;
    margin:3px;
    transition:0.3s;
}


.incBtn, .decBtn{
    background: linear-gradient(45deg,#00c6ff,#0072ff);
    color:white;
}
.incBtn:hover, .decBtn:hover{
    transform:scale(1.1);
}


.removeBtn{
    background: linear-gradient(45deg,#ff00cc,#6a00ff);
    color:white;
}
.removeBtn:hover{
    transform:scale(1.1);
}


.cart-buttons{
    display:flex;
    justify-content:center;
    gap:20px;
    margin-top:30px;
}

.cart-buttons button{
    flex:1;
    min-width:150px;
    padding:12px 0;
    border-radius:25px;
    font-weight:600;
    font-size:16px;
    color:white;
    border:none;
    cursor:pointer;
    transition:0.3s;
}

#buyNowCart{
    background: linear-gradient(45deg,#00c6ff,#0072ff);
}
#buyNowCart:hover{
    background: linear-gradient(45deg,#33d1ff,#005ce6);
}

#continueCart{
    background: linear-gradient(45deg,#ff00cc,#6a00ff);
}
#continueCart:hover{
    background: linear-gradient(45deg,#ff33d1,#8a00ff);
}