
/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #ffffff;
  background: #0a0a0f;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Animated background */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 50%, #6a0dad22 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, #ff149322 0%, transparent 50%),
    radial-gradient(circle at 40% 80%, #4b008222 0%, transparent 50%),
    linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 50%, #16213e 100%);
  z-index: -2;
  animation: backgroundShift 10s ease-in-out infinite alternate;
}

@keyframes backgroundShift {
  0% { transform: scale(1) rotate(0deg); }
  100% { transform: scale(1.05) rotate(2deg); }
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Header Styles */
header {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo {
  font-size: 2.5rem;
  font-weight: 900;
  background: linear-gradient(45deg, #ff1493, #9370db, #00d4ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px rgba(255, 20, 147, 0.5);
  letter-spacing: -1px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 3rem;
}

nav a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 8px;
}

nav a:hover {
  color: #ff1493;
  background: rgba(255, 20, 147, 0.1);
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 8rem 0 6rem;
  position: relative;
}

.hero h1 {
  font-size: 4.5rem;
  font-weight: 900;
  margin-bottom: 2rem;
  background: linear-gradient(45deg, #ff1493, #9370db, #00d4ff, #ffd700);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 400% 400%;
  animation: gradientText 3s ease-in-out infinite alternate;
  line-height: 1.1;
  letter-spacing: -2px;
}

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

.hero p {
  font-size: 1.4rem;
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
  line-height: 1.6;
  font-weight: 300;
}

/* Product Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
  padding: 6rem 0;
  margin: 0 auto;
}

.product-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 2.5rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--theme-primary), var(--theme-accent));
  border-radius: 24px 24px 0 0;
}

.product-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 0%, var(--theme-accent)20 0%, transparent 50%);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.product-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  border-color: var(--theme-accent);
}

.product-card:hover::after {
  opacity: 1;
}

/* Theme Colors */
.product-card.theme-default {
  --theme-primary: #1a1a1a;
  --theme-secondary: #c0c0c0;
  --theme-accent: #9370db;
}

.product-card.theme-amethyst {
  --theme-primary: #4b0082;
  --theme-secondary: #ff1493;
  --theme-accent: #dda0dd;
}

.product-card.theme-eldritch {
  --theme-primary: #4169e1;
  --theme-secondary: #add8e6;
  --theme-accent: #f5f5f5;
}

.product-card.theme-frozen {
  --theme-primary: #4682b4;
  --theme-secondary: #ffffff;
  --theme-accent: #87ceeb;
}

.product-card.theme-punk {
  --theme-primary: #2d0016;
  --theme-secondary: #c0c0c0;
  --theme-accent: #ff0080;
}

.product-card.theme-rosy {
  --theme-primary: #d63384;
  --theme-secondary: #228b22;
  --theme-accent: #ff69b4;
}

.product-card.theme-phoenix {
  --theme-primary: #8b0000;
  --theme-secondary: #ffd700;
  --theme-accent: #ff4500;
}

.product-card.theme-retro {
  --theme-primary: #ffd700;
  --theme-secondary: #0047ab;
  --theme-accent: #ffff00;
}

.product-card.theme-galactic {
  --theme-primary: #4b0082;
  --theme-secondary: #9400d3;
  --theme-accent: #ff00ff;
}

.product-image {
  width: 280px;
  height: 200px;
  margin: 0 auto 2rem;
  background: linear-gradient(135deg, var(--theme-primary), var(--theme-accent));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
  text-align: center;
  font-weight: 600;
  border: 3px solid var(--theme-accent);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 13px;
}

.product-image .placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.product-image::before {
  content: '✨';
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 1.5rem;
  opacity: 0.7;
  z-index: 1;
}

.product-card h3 {
  color: var(--theme-accent);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.5px;
}

.product-card .subtitle {
  color: rgba(255, 255, 255, 0.7);
  font-style: italic;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.price {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--theme-accent);
  margin-bottom: 2rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.btn {
  display: inline-block;
  padding: 16px 32px;
  background: linear-gradient(45deg, var(--theme-primary), var(--theme-accent));
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

/* Product Detail Page */
.product-detail {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  margin: 3rem auto;
  padding: 4rem;
  border-radius: 32px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.product-detail::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 20%, var(--theme-accent)15 0%, transparent 50%);
  z-index: -1;
}

.product-header {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  margin-bottom: 4rem;
  align-items: center;
}

.product-detail .product-image {
  width: 400px;
  height: 280px;
  margin: 0 auto;
}

.product-info h1 {
  color: var(--theme-accent);
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 1rem;
  line-height: 1.1;
  letter-spacing: -1px;
}

.product-info .subtitle {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.8);
  font-style: italic;
  margin-bottom: 2rem;
}

.product-info .price {
  font-size: 4rem;
  margin-bottom: 3rem;
}

.features-list {
  list-style: none;
  margin: 3rem 0;
  display: grid;
  gap: 1rem;
}

.features-list li {
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border-left: 4px solid var(--theme-accent);
  position: relative;
  transition: all 0.3s ease;
}

.features-list li:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(8px);
}

.features-list li::before {
  content: '⚡';
  margin-right: 0.5rem;
  opacity: 0.7;
}

.specifications {
  background: rgba(0, 0, 0, 0.2);
  padding: 2.5rem;
  border-radius: 20px;
  margin: 3rem 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.spec-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.spec-item:last-child {
  border-bottom: none;
}

.spec-item span:first-child {
  font-weight: 600;
  color: var(--theme-accent);
}

/* Testimonials */
.testimonials {
  margin: 4rem 0;
}

.testimonials h3 {
  color: var(--theme-accent);
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 3rem;
  text-align: center;
}

.testimonial {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  padding: 2.5rem;
  border-radius: 20px;
  margin-bottom: 2rem;
  border-left: 4px solid var(--theme-accent);
  transition: all 0.3s ease;
}

.testimonial:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(8px);
}

.testimonial-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  font-weight: 700;
  color: var(--theme-accent);
  font-size: 1.1rem;
}

.rating {
  color: #ffd700;
  font-size: 1.2rem;
}

/* About Section */
.about-section {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  padding: 4rem;
  border-radius: 32px;
  margin: 4rem 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.about-section h2 {
  text-align: center;
  margin-bottom: 3rem;
  color: #ff1493;
  font-size: 3rem;
  font-weight: 900;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
}

.about-item {
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  transition: all 0.3s ease;
}

.about-item:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.08);
}

.about-item h3 {
  color: #9370db;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  font-weight: 700;
}

/* Checkout Page */
.checkout-form {
  max-width: 800px;
  margin: 3rem auto;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  padding: 4rem;
  border-radius: 32px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.checkout-form h1 {
  text-align: center;
  color: var(--theme-accent);
  margin-bottom: 3rem;
  font-size: 2.5rem;
  font-weight: 900;
}

.order-summary {
  background: rgba(0, 0, 0, 0.2);
  padding: 2.5rem;
  border-radius: 20px;
  margin-bottom: 3rem;
  border: 2px solid var(--theme-accent);
}

.form-group {
  margin-bottom: 2rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: white;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--theme-accent);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 20px rgba(var(--theme-accent-rgb), 0.3);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

/* Simp Congratulations Page */
.simp-celebration {
  text-align: center;
  padding: 6rem 0;
  position: relative;
}

.simp-celebration h1 {
  font-size: 5rem;
  font-weight: 900;
  margin-bottom: 3rem;
  background: linear-gradient(45deg, #ff1493, #9370db, #00ff00, #ffd700);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 400% 400%;
  animation: rainbowText 2s ease-in-out infinite alternate;
  text-shadow: 0 0 50px rgba(255, 20, 147, 0.8);
  line-height: 1.1;
}

@keyframes rainbowText {
  0% { 
    background-position: 0% 50%; 
    filter: hue-rotate(0deg);
  }
  100% { 
    background-position: 100% 50%; 
    filter: hue-rotate(45deg);
  }
}

.achievement {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 3px solid #ffd700;
  border-radius: 32px;
  padding: 4rem;
  margin: 3rem auto;
  max-width: 900px;
  text-align: center;
  box-shadow: 
    0 0 60px rgba(255, 215, 0, 0.3),
    0 20px 60px rgba(0, 0, 0, 0.4);
  animation: achievementGlow 3s ease-in-out infinite alternate;
  position: relative;
  overflow: hidden;
}

@keyframes achievementGlow {
  0% { 
    box-shadow: 
      0 0 60px rgba(255, 215, 0, 0.3),
      0 20px 60px rgba(0, 0, 0, 0.4);
  }
  100% { 
    box-shadow: 
      0 0 100px rgba(255, 215, 0, 0.6),
      0 25px 80px rgba(0, 0, 0, 0.5);
  }
}

.trophy {
  font-size: 6rem;
  margin-bottom: 2rem;
  animation: trophyBounce 2s ease-in-out infinite;
}

@keyframes trophyBounce {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

.simp-message {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  color: #fff;
  padding: 3rem;
  border-radius: 24px;
  max-width: 1000px;
  margin: 3rem auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Confetti Animation */
.confetti {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1000;
}

.confetti-piece {
  position: absolute;
  width: 8px;
  height: 8px;
  background: #ffd700;
  border-radius: 50%;
  animation: confettiFall 3s linear infinite;
}

@keyframes confettiFall {
  0% { 
    transform: translateY(-100vh) rotate(0deg); 
    opacity: 1; 
  }
  100% { 
    transform: translateY(100vh) rotate(720deg); 
    opacity: 0; 
  }
}

@keyframes pulse {
  0% { 
    transform: scale(1);
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.5);
  }
  50% { 
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(255, 0, 255, 0.8);
  }
  100% { 
    transform: scale(1);
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.5);
  }
}

/* Footer */
footer {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(20px);
  color: white;
  text-align: center;
  padding: 3rem 0;
  margin-top: 6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 3rem;
  }
  
  .hero p {
    font-size: 1.2rem;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 4rem 0;
  }
  
  .product-header {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }
  
  .product-detail .product-image {
    width: 320px;
    height: 220px;
  }
  
  .header-content {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  nav ul {
    gap: 1.5rem;
  }
  
  .simp-celebration h1 {
    font-size: 3rem;
  }
  
  .container {
    padding: 0 1rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .checkout-form,
  .product-detail,
  .about-section {
    padding: 2rem;
    margin: 2rem auto;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .product-card {
    padding: 2rem;
  }
  
  .product-image {
    width: 260px;
    height: 180px;
  }
  
  .logo {
    font-size: 2rem;
  }
}
