/* Reset và cơ bản */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  color: #e0e0e0;
  background: linear-gradient(135deg, #0a0a1a, #1a1a2e);
  overflow-x: hidden;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body.user {
  background: linear-gradient(135deg, #1a1a2e, #2d2d44);
}

body.admin {
  background: linear-gradient(135deg, #2a2a3e, #3a3a4e);
}

/* Header */
.header {
  background: linear-gradient(90deg, #1a1a2e, #2d2d44);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(0, 255, 255, 0.3);
  animation: headerGlow 2s infinite alternate;
}

@keyframes headerGlow {
  from { box-shadow: 0 4px 15px rgba(0, 255, 255, 0.3); }
  to { box-shadow: 0 6px 25px rgba(0, 255, 255, 0.7); }
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo {
  font-size: 1.8em;
  font-weight: bold;
  color: #00ffcc;
  text-shadow: 0 0 10px #00ffcc, 0 0 20px #00ffcc;
  transition: all 0.3s ease;
  position: relative;
}

.logo:hover {
  text-shadow: 0 0 20px #00ffcc, 0 0 40px #ff00ff, 0 0 60px #00ffff;
  transform: scale(1.1) rotate(5deg);
}

.logo::before {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(0, 255, 204, 0.2) 0%, transparent 70%);
  animation: logoPulse 1.5s infinite alternate;
  z-index: -1;
}

@keyframes logoPulse {
  from { transform: scale(1); opacity: 0.5; }
  to { transform: scale(1.2); opacity: 0; }
}

.main-nav {
  flex-grow: 1;
  margin-left: 30px;
}

.nav-list {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav-list li {
  margin: 0 20px;
  position: relative;
}

.nav-list a {
  color: #e0e0e0;
  text-decoration: none;
  font-size: 1.2em;
  transition: all 0.3s ease;
  text-shadow: 0 0 5px #00ffcc;
  position: relative;
}

.nav-list a:hover {
  color: #00ffcc;
  text-shadow: 0 0 15px #00ffcc, 0 0 25px #ff00ff, 0 0 35px #00ffff;
}

.nav-list a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 3px;
  bottom: -8px;
  left: 0;
  background: linear-gradient(90deg, #00ffcc, #ff00ff);
  transition: width 0.3s ease;
  box-shadow: 0 0 10px #00ffcc;
}

.nav-list a:hover::after {
  width: 100%;
}

.auth-buttons {
  margin-left: 30px;
}

.auth-btn {
  padding: 10px 25px;
  font-size: 1.1em;
  border: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border-radius: 5px;
}

.btn-neon {
  background: linear-gradient(45deg, #00ffcc, #00ffff);
  color: #0a0a1a;
  border: 2px solid #00ffcc;
  box-shadow: 0 0 15px #00ffcc, 0 0 25px #00ffff;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-neon::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(255, 0, 255, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.btn-neon:hover::before {
  width: 300px;
  height: 300px;
}

.btn-neon:hover {
  background: linear-gradient(45deg, #00cccc, #00ccff);
  box-shadow: 0 0 25px #00cccc, 0 0 50px #ff00ff;
  transform: scale(1.1) rotate(2deg);
}

.btn-neon-danger {
  background: linear-gradient(45deg, #ff4444, #ff6666);
  color: #fff;
  border: 2px solid #ff4444;
  box-shadow: 0 0 15px #ff4444, 0 0 25px #ff6666;
}

.btn-neon-danger:hover {
  background: linear-gradient(45deg, #cc0000, #ff3333);
  box-shadow: 0 0 25px #cc0000, 0 0 50px #ff0000;
  transform: scale(1.1) rotate(-2deg);
}

#userInfo {
  font-size: 1.2em;
  text-shadow: 0 0 5px #00ffcc;
  animation: userInfoGlow 2s infinite alternate;
}

@keyframes userInfoGlow {
  from { text-shadow: 0 0 5px #00ffcc; }
  to { text-shadow: 0 0 15px #00ffcc, 0 0 25px #ff00ff; }
}

/* Slideshow */
.slideshow {
  margin: 30px 0;
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.3), 0 0 40px rgba(255, 0, 255, 0.2);
  padding: 10px;
  background: linear-gradient(45deg, #0a0a1a, #1a1a2e);
}

.slideshow-wrapper {
  position: relative;
  z-index: 1;
}

.carousel-inner {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.carousel-item {
  transition: transform 1s cubic-bezier(0.68, -0.55, 0.27, 1.55), opacity 0.8s ease;
  transform-style: preserve-3d;
}

.carousel-item.active {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.carousel-item:not(.active) {
  opacity: 0;
  transform: translateX(50px) scale(0.95);
}

/* Hiệu ứng Parallax */
.slide-content {
  position: relative;
  overflow: hidden;
}

.carousel-inner img {
  max-height: 500px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 0 25px rgba(0, 255, 255, 0.4), 0 0 40px rgba(255, 0, 255, 0.3);
  transition: transform 1s ease;
  position: relative;
  z-index: 1;
  filter: brightness(0.8);
  animation: parallaxImage 10s infinite alternate ease-in-out;
}

@keyframes parallaxImage {
  0% { transform: translateX(-20px); }
  100% { transform: translateX(20px); }
}

.carousel-inner img:hover {
  filter: brightness(1);
  transform: scale(1.05);
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #e0e0e0;
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.5s ease;
  transform: translateY(20px);
  z-index: 2;
  animation: parallaxOverlay 10s infinite alternate ease-in-out;
}

@keyframes parallaxOverlay {
  0% { transform: translateY(20px); }
  100% { transform: translateY(-20px); }
}

.carousel-item.active .slide-overlay {
  opacity: 1;
  transform: translateY(0);
}

/* Hiệu ứng Holographic cho tiêu đề và nút */
.slide-overlay h2 {
  font-size: 2.8em;
  color: #00ffcc;
  text-shadow: 0 0 20px #00ffcc, 0 0 30px #ff00ff, 0 0 40px #00ffff;
  background: linear-gradient(45deg, #00ffcc, #ff00ff);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: holographic 3s infinite alternate;
  margin-bottom: 15px;
  text-transform: uppercase;
}
@keyframes holographic {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

.slide-overlay p {
  font-size: 1.3em;
  color: #e0e0e0;
  text-shadow: 0 0 10px #00ffcc;
  margin-bottom: 25px;
  animation: fadeInUp 0.5s ease forwards;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.slide-overlay .btn-holographic {
  padding: 15px 35px;
  font-size: 1.3em;
  background: linear-gradient(45deg, #00ffcc, #ff00ff);
  border: none;
  color: #fff;
  text-shadow: 0 0 10px #fff;
  box-shadow: 0 0 20px #00ffcc, 0 0 30px #ff00ff;
  transition: all 0.3s ease;
  animation: holographic 3s infinite alternate;
  position: relative;
  overflow: hidden;
}

.slide-overlay .btn-holographic:hover {
  background: linear-gradient(45deg, #ff00ff, #00ffcc);
  box-shadow: 0 0 30px #ff00ff, 0 0 60px #00ffcc;
  transform: scale(1.1);
}

/* Hiệu ứng Lens Flare */
.lens-flare {
  position: absolute;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.5) 0%, transparent 70%);
  top: 20%;
  left: -20%;
  animation: lensFlare 10s infinite linear;
  z-index: 2;
  pointer-events: none;
}

@keyframes lensFlare {
  0% { transform: translate(0, 0); opacity: 0.5; }
  50% { transform: translate(150%, 100%); opacity: 0.8; }
  100% { transform: translate(300%, 200%); opacity: 0; }
}

/* Hiệu ứng sao băng */
.meteor-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 3;
}

.carousel-control-prev,
.carousel-control-next {
  width: 5%;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  opacity: 1;
  transform: scale(1.2);
}

.neon-btn {
  background: transparent;
  border: none;
  color: #00ffcc;
  text-shadow: 0 0 15px #00ffcc, 0 0 25px #ff00ff;
  transition: all 0.3s ease;
  position: relative;
  z-index: 3;
}

.neon-btn:hover {
  color: #00cccc;
  text-shadow: 0 0 25px #00cccc, 0 0 50px #ff00ff, 0 0 70px #00ffff;
  transform: scale(1.3);
}

.carousel-indicators {
  bottom: -50px;
  z-index: 3;
}

.carousel-indicators [data-bs-target] {
  background-color: #00ffcc;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin: 0 8px;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px #00ffcc;
}

.carousel-indicators .active {
  background-color: #ff00ff;
  box-shadow: 0 0 20px #ff00ff, 0 0 30px #ff66ff;
  transform: scale(1.4);
}

/* Center Text */
.center-text {
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
}

.center-text h2 {
  font-size: 2.5em;
  color: #00ffcc;
  text-shadow: 0 0 15px #00ffcc, 0 0 25px #ff00ff;
  animation: neonBlink 1.5s infinite alternate;
  position: relative;
}

.center-text h2::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(0, 255, 204, 0.2) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  animation: titlePulse 2s infinite alternate;
  z-index: -1;
}

@keyframes titlePulse {
  from { width: 0; height: 0; opacity: 0.5; }
  to { width: 200px; height: 200px; opacity: 0; }
}

@keyframes neonBlink {
  from { text-shadow: 0 0 15px #00ffcc, 0 0 25px #ff00ff; }
  to { text-shadow: 0 0 20px #00ffcc, 0 0 35px #ff00ff, 0 0 50px #00ffff; }
}

/* Product List */
.product-list {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  min-height: 200px;
  overflow: visible;
  position: relative;
}

.product-card {
  background: linear-gradient(135deg, #222, #2d2d44);
  border-radius: 15px;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.2), 0 0 25px rgba(255, 0, 255, 0.1);
  width: 220px;
  text-align: center;
  padding: 15px;
  opacity: 0;
  transform: translateY(20px) rotate(-2deg);
  transition: all 0.5s ease;
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 255, 204, 0.1) 0%, transparent 70%);
  animation: cardGlow 4s infinite alternate;
  z-index: 0;
}

@keyframes cardGlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.product-card.show {
  opacity: 1 !important;
  transform: translateY(0) rotate(0deg) !important;
}

.product-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid #00ffcc;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  z-index: 1;
}

.product-card img:hover {
  transform: scale(1.1) rotate(2deg);
  box-shadow: 0 0 25px #00ffcc, 0 0 40px #ff00ff;
}

.product-card h3 {
  font-size: 1.2em;
  margin: 10px 0;
  color: #e0e0e0;
  text-shadow: 0 0 5px #00ffcc;
  position: relative;
  z-index: 1;
}

.product-card .price {
  color: #00ffcc;
  font-weight: bold;
  margin-bottom: 10px;
  text-shadow: 0 0 5px #00ffcc;
  position: relative;
  z-index: 1;
}

.product-card button {
  background: linear-gradient(45deg, #ff00ff, #ff66ff);
  border: none;
  padding: 10px 20px;
  color: #0a0a1a;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.product-card button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(255, 0, 255, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
  z-index: -1;
}

.product-card button:hover::before {
  width: 200px;
  height: 200px;
}

.product-card button:hover {
  background: linear-gradient(45deg, #cc00cc, #cc66cc);
  box-shadow: 0 0 25px #cc00cc, 0 0 50px #ff00ff;
  transform: scale(1.1) rotate(5deg);
}

/* Features */
.features {
  margin: 40px 0;
  position: relative;
}

.feature-item {
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(0, 255, 204, 0.1) 0%, transparent 70%);
  animation: featureGlow 3s infinite alternate;
  z-index: 0;
}

@keyframes featureGlow {
  from { transform: scale(1); }
  to { transform: scale(1.3); opacity: 0; }
}

.feature-item:hover {
  transform: scale(1.1) rotate(2deg);
  box-shadow: 0 0 20px #00ffcc, 0 0 30px #ff00ff;
}

.feature-item i {
  font-size: 2.5em;
  color: #00ffcc;
  margin-bottom: 15px;
  text-shadow: 0 0 10px #00ffcc, 0 0 20px #ff00ff;
  animation: pulse 1.5s infinite alternate;
  position: relative;
  z-index: 1;
}

@keyframes pulse {
  from { transform: scale(1); }
  to { transform: scale(1.2); }
}

.feature-item p {
  color: #e0e0e0;
  font-size: 1.1em;
  position: relative;
  z-index: 1;
}

/* Trend Banner */
.trend-banner img {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  position: relative;
}

.trend-banner img:hover {
  transform: scale(1.05) rotate(1deg);
  box-shadow: 0 0 25px rgba(0, 255, 255, 0.6), 0 0 40px #ff00ff;
}

.trend-banner img::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(0, 255, 204, 0.1) 0%, transparent 70%);
  animation: bannerGlow 3s infinite alternate;
  z-index: 1;
}

@keyframes bannerGlow {
  from { opacity: 0.5; }
  to { opacity: 0; }
}

/* Overlay */
.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.95) 100%);
  z-index: 999;
  backdrop-filter: blur(5px);
  animation: overlayFade 0.3s ease;
  transition: opacity 0.3s ease;
}

@keyframes overlayFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Form Container */
.form-container {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  z-index: 1000;
  background: linear-gradient(135deg, #1a1a2e, #2d2d44);
  border: 3px solid #00ffcc;
  box-shadow: 0 0 20px #00ffcc, 0 0 40px #ff00ff, 0 0 60px #00ffff;
  padding: 25px;
  border-radius: 20px;
  width: 350px;
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55), transform 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  overflow: hidden;
  position: relative;
}

.form-container::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 255, 204, 0.2) 0%, transparent 70%);
  animation: formGlow 6s infinite alternate;
  z-index: 0;
}

@keyframes formGlow {
  from { transform: rotate(0deg); opacity: 0.5; }
  to { transform: rotate(360deg); opacity: 0; }
}

.form-container.active {
  display: block;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.form-container h3 {
  text-align: center;
  color: #00ffcc;
  text-shadow: 0 0 20px #00ffcc, 0 0 30px #ff00ff, 0 0 40px #00ffff;
  margin-bottom: 20px;
  animation: neonPulse 1.5s infinite alternate;
  position: relative;
  z-index: 1;
}

@keyframes neonPulse {
  from { text-shadow: 0 0 20px #00ffcc, 0 0 30px #ff00ff; }
  to { text-shadow: 0 0 25px #00ffcc, 0 0 40px #ff00ff, 0 0 50px #00ffff; }
}

.form-container .close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  color: #00ffcc;
  cursor: pointer;
  transition: all 0.3s ease;
  text-shadow: 0 0 15px #00ffcc, 0 0 25px #ff00ff;
  transform-origin: center;
}

.form-container .close-btn:hover {
  color: #ff00ff;
  text-shadow: 0 0 25px #ff00ff, 0 0 35px #ff00ff, 0 0 45px #ff66ff;
  transform: rotate(360deg) scale(1.3);
  animation: spin 0.5s linear;
}

@keyframes spin {
  from { transform: rotate(0deg) scale(1); }
  to { transform: rotate(360deg) scale(1.3); }
}

.form-group {
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.form-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #e0e0e0;
  font-size: 15px;
  text-shadow: 0 0 8px #00ffcc;
  animation: labelGlow 2s infinite alternate;
  position: relative;
}

@keyframes labelGlow {
  from { text-shadow: 0 0 8px #00ffcc; }
  to { text-shadow: 0 0 15px #00ffcc, 0 0 20px #ff00ff; }
}

.form-group label i {
  color: #00ffcc;
  animation: iconBlink 1s infinite alternate;
  transition: all 0.3s ease;
}

@keyframes iconBlink {
  from { opacity: 1; transform: scale(1); }
  to { opacity: 0.7; transform: scale(1.1); }
}

.form-group input {
  width: 100%;
  padding: 15px 45px 15px 45px;
  border: 2px solid #333;
  border-radius: 15px;
  background: linear-gradient(135deg, #222, #2d2d44);
  color: #e0e0e0;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 1;
}

.form-group input:focus {
  border-color: #00ffcc;
  box-shadow: 0 0 25px #00ffcc, 0 0 40px #ff00ff, inset 0 0 15px rgba(0, 255, 204, 0.4);
  background: linear-gradient(135deg, #2a2a3e, #3a3a4e);
  transform: scale(1.03) translateY(-2px);
  animation: inputGlow 1s infinite alternate;
}

@keyframes inputGlow {
  from { box-shadow: 0 0 25px #00ffcc, 0 0 40px #ff00ff; }
  to { box-shadow: 0 0 30px #00ffcc, 0 0 50px #ff00ff, 0 0 60px #00ffff; }
}

.form-group input + i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #00ffcc;
  transition: all 0.3s ease;
  animation: iconPulse 1.5s infinite alternate;
}

@keyframes iconPulse {
  from { transform: translateY(-50%) scale(1); }
  to { transform: translateY(-50%) scale(1.2); }
}

.error-message {
  display: none;
  color: #ff4444;
  font-size: 13px;
  text-align: center;
  margin-top: 10px;
  padding: 8px;
  background: linear-gradient(135deg, rgba(255, 68, 68, 0.1), rgba(255, 0, 0, 0.05));
  border-radius: 10px;
  text-shadow: 0 0 8px #ff4444;
  animation: shakeAndGlow 0.5s;
  position: relative;
  z-index: 1;
}

@keyframes shakeAndGlow {
  0% { transform: translateX(0); box-shadow: 0 0 8px #ff4444; }
  25% { transform: translateX(-6px); box-shadow: 0 0 12px #ff4444; }
  50% { transform: translateX(6px); box-shadow: 0 0 15px #ff4444; }
  75% { transform: translateX(-6px); box-shadow: 0 0 12px #ff4444; }
  100% { transform: translateX(0); box-shadow: 0 0 8px #ff4444; }
}

.toggle-form {
  text-align: center;
  margin-top: 15px;
  position: relative;
  z-index: 1;
}

.toggle-form p {
  color: #e0e0e0;
  font-size: 14px;
}

.toggle-form a {
  color: #00ffcc;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-shadow: 0 0 10px #00ffcc;
  position: relative;
}

.toggle-form a::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #ff00ff;
  transition: width 0.3s ease;
}

.toggle-form a:hover {
  color: #ff00ff;
  text-shadow: 0 0 20px #ff00ff, 0 0 30px #ff66ff;
  transform: scale(1.1);
}

.toggle-form a:hover::before {
  width: 100%;
}

/* Cart Section */
#cartSection .cart-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  background: linear-gradient(135deg, #222, #2d2d44);
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.2), 0 0 25px rgba(255, 0, 255, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

#cartSection .cart-item::before {
  content: '';
  position: absolute;
  top: -30%;
  left: -30%;
  width: 160%;
  height: 160%;
  background: radial-gradient(circle, rgba(0, 255, 204, 0.1) 0%, transparent 70%);
  animation: cartGlow 4s infinite alternate;
  z-index: 0;
}

@keyframes cartGlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(180deg); }
}

#cartSection .cart-item:hover {
  transform: translateY(-8px) rotate(1deg);
  box-shadow: 0 0 25px rgba(0, 255, 255, 0.4), 0 0 40px #ff00ff;
}

#cartSection .cart-item img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  margin-right: 15px;
  border-radius: 10px;
  transition: transform 0.3s ease;
  position: relative;
  z-index: 1;
}

#cartSection .cart-item img:hover {
  transform: scale(1.1) rotate(2deg);
}

#cartSection .cart-item h3 {
  margin: 0;
  font-size: 1.2em;
  color: #e0e0e0;
  text-shadow: 0 0 5px #00ffcc;
  position: relative;
  z-index: 1;
}

#cartSection .cart-item .price {
  color: #00ffcc;
  font-weight: bold;
  text-shadow: 0 0 5px #00ffcc;
  position: relative;
  z-index: 1;
}

#cartSection #cartTotal {
  font-size: 1.3em;
  font-weight: bold;
  color: #00ffcc;
  text-shadow: 0 0 5px #00ffcc, 0 0 10px #ff00ff;
  animation: totalGlow 2s infinite alternate;
  position: relative;
  z-index: 1;
}

@keyframes totalGlow {
  from { text-shadow: 0 0 5px #00ffcc, 0 0 10px #ff00ff; }
  to { text-shadow: 0 0 10px #00ffcc, 0 0 20px #ff00ff; }
}

/* Purchase History */
#purchaseHistory .purchase-history-item {
  background: linear-gradient(135deg, #222, #2d2d44);
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 10px;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.2), 0 0 25px rgba(255, 0, 255, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

#purchaseHistory .purchase-history-item::before {
  content: '';
  position: absolute;
  top: -30%;
  left: -30%;
  width: 160%;
  height: 160%;
  background: radial-gradient(circle, rgba(0, 255, 204, 0.1) 0%, transparent 70%);
  animation: historyGlow 4s infinite alternate;
  z-index: 0;
}

@keyframes historyGlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(-180deg); }
}

#purchaseHistory .purchase-history-item:hover {
  transform: translateY(-8px) rotate(-1deg);
  box-shadow: 0 0 25px rgba(0, 255, 255, 0.4), 0 0 40px #ff00ff;
}

#purchaseHistory .purchase-history-item h4 {
  color: #00ffcc;
  margin-bottom: 10px;
  text-shadow: 0 0 5px #00ffcc, 0 0 10px #ff00ff;
  position: relative;
  z-index: 1;
}

#purchaseHistory .purchase-history-item ul {
  list-style: none;
  padding-left: 0;
  position: relative;
  z-index: 1;
}

#purchaseHistory .purchase-history-item ul li {
  color: #e0e0e0;
  margin-bottom: 5px;
  position: relative;
  z-index: 1;
}

/* Admin Panel */
#adminPanel .card {
  background: linear-gradient(135deg, #222, #2d2d44);
  border: 3px solid #ff00ff;
  box-shadow: 0 0 20px #ff00ff, 0 0 40px #ff66ff;
  color: #e0e0e0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

#adminPanel .card::before {
  content: '';
  position: absolute;
  top: -40%;
  left: -40%;
  width: 180%;
  height: 180%;
  background: radial-gradient(circle, rgba(255, 0, 255, 0.1) 0%, transparent 70%);
  animation: adminCardGlow 5s infinite alternate;
  z-index: 0;
}

@keyframes adminCardGlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

#adminPanel .card:hover {
  transform: translateY(-10px) rotate(1deg);
  box-shadow: 0 0 30px #ff00ff, 0 0 60px #ff66ff;
}

#adminPanel .card-body {
  padding: 15px;
  position: relative;
  z-index: 1;
}

#adminPanel .card-title {
  color: #ff00ff;
  text-shadow: 0 0 10px #ff00ff, 0 0 20px #ff66ff;
  position: relative;
  z-index: 1;
}

#adminPanel .card-text {
  color: #e0e0e0;
  position: relative;
  z-index: 1;
}

#adminPanel .edit-btn {
  background: linear-gradient(45deg, #00ffcc, #00ffff);
  color: #0a0a1a;
  border: none;
  margin-right: 5px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  padding: 8px 15px;
  z-index: 1;
}

#adminPanel .edit-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(255, 0, 255, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
  z-index: -1;
}

#adminPanel .edit-btn:hover::before {
  width: 200px;
  height: 200px;
}

#adminPanel .edit-btn:hover {
  background: linear-gradient(45deg, #00cccc, #00ccff);
  box-shadow: 0 0 25px #00cccc, 0 0 50px #ff00ff;
  transform: scale(1.1) rotate(5deg);
}

.neon-modal {
  background: linear-gradient(135deg, #1a1a2e, #2d2d44);
  border: 3px solid #ff00ff;
  box-shadow: 0 0 25px #ff00ff, 0 0 50px #ff66ff, 0 0 75px #ff00ff;
  color: #e0e0e0;
  animation: modalGlow 2s infinite alternate;
  position: relative;
  overflow: hidden;
}

.neon-modal::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 0, 255, 0.2) 0%, transparent 70%);
  animation: modalParticle 6s infinite linear;
  z-index: 0;
}

@keyframes modalParticle {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes modalGlow {
  from { box-shadow: 0 0 25px #ff00ff, 0 0 50px #ff66ff; }
  to { box-shadow: 0 0 35px #ff00ff, 0 0 70px #ff66ff, 0 0 90px #ff00ff; }
}

.neon-input {
  background: linear-gradient(135deg, #222, #2d2d44);
  color: #e0e0e0;
  border: 2px solid #333;
  transition: all 0.3s ease;
  box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.5);
  border-radius: 15px;
  padding: 12px 40px;
  position: relative;
}

.neon-input:focus {
  border-color: #ff00ff;
  box-shadow: 0 0 25px #ff00ff, 0 0 40px #ff66ff, inset 0 0 15px rgba(255, 0, 255, 0.4);
  transform: scale(1.03) translateY(-2px);
  animation: inputGlow 1s infinite alternate;
}

@keyframes inputGlow {
  from { box-shadow: 0 0 25px #ff00ff, 0 0 40px #ff66ff; }
  to { box-shadow: 0 0 30px #ff00ff, 0 0 50px #ff66ff, 0 0 60px #ff00ff; }
}

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  background: linear-gradient(90deg, #1a1a2e, #2d2d44);
  color: #e0e0e0;
  margin-top: 40px;
  box-shadow: 0 2px 15px rgba(0, 255, 255, 0.3);
  animation: footerGlow 2s infinite alternate;
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 0;
  width: 100%;
  height: 20px;
  background: linear-gradient(to top, transparent, rgba(0, 255, 255, 0.1));
  animation: footerLine 2s infinite alternate;
  z-index: -1;
}

@keyframes footerLine {
  from { height: 20px; }
  to { height: 40px; }
}

@keyframes footerGlow {
  from { box-shadow: 0 2px 15px rgba(0, 255, 255, 0.3); }
  to { box-shadow: 0 4px 25px rgba(0, 255, 255, 0.6); }
}

/* Responsive */
@media (max-width: 768px) {
  .logo {
    font-size: 1.5em;
  }
  .nav-list li {
    margin: 0 10px;
  }
  .nav-list a {
    font-size: 1em;
  }
  .auth-btn {
    padding: 5px 15px;
    font-size: 1em;
  }
  .product-card {
    width: 180px;
  }
  .carousel-inner img {
    max-height: 300px;
  }
  .form-container {
    width: 280px;
    padding: 15px;
  }
  .center-text h2 {
    font-size: 2em;
  }
}