:root {
  --primary: #ffd700;
  --primary-rgb: 255, 215, 0;
  --secondary: #0f0f0f;
  --text: #ffffff;
  --text-muted: #aaaaaa;
  --glass: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --accent-gold: #eebb00;
  --accent-green: #4caf50;
}

/* Custom Cursor */

/* Floating Particles */
#particles-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  background: var(--primary);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  opacity: 0.5;
  animation: floatUp 15s linear infinite;
}

@keyframes floatUp {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.8;
  }
  90% {
    opacity: 0.8;
  }
  100% {
    transform: translateY(-100px) rotate(360deg);
    opacity: 0;
  }
}

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

body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  background-color: var(--secondary);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Scroll Snap */
html {
  scroll-behavior: smooth;
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1.5rem 10%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent);
  backdrop-filter: blur(10px);
}

.logo {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 1px;
  text-decoration: none;
}

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

nav ul li a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: var(--primary);
}

/* Hamburger Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.menu-toggle .bar {
  width: 25px;
  height: 3px;
  background-color: var(--text);
  transition: all 0.3s ease;
  border-radius: 2px;
}

.menu-toggle.active .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active .bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Hero Section */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("img/hero_bg.webp");
  background-size: cover;
  background-position: center;
}

.hero-content {
  max-width: 800px;
  padding: 2rem;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 900;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #fff, var(--primary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.cta-button {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: var(--primary);
  color: var(--secondary);
  text-decoration: none;
  font-weight: 700;
  border-radius: 50px;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  box-shadow: 0 10px 20px rgba(var(--primary-rgb), 0.3);
}

.cta-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(var(--primary-rgb), 0.5);
}

/* Section Styling */
section {
  padding: 100px 10%;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--primary);
}

/* Story Section */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.story-img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.story-text h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

/* Features Section */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  padding: 2rem;
  border-radius: 20px;
  text-align: center;
  transition: transform 0.3s;
}

.feature-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.15);
}

.feature-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 15px;
  margin-bottom: 1.5rem;
}

.feature-card h4 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

/* Wallet Section */
.wallet-section {
  position: relative;
  overflow: hidden;
}

.wallet-section::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 215, 0, 0.1) 0%,
    transparent 60%
  );
  z-index: -1;
  animation: warmGlow 10s infinite alternate;
}

@keyframes warmGlow {
  0% {
    transform: scale(0.8);
    opacity: 0.5;
  }
  100% {
    transform: scale(1.2);
    opacity: 0.8;
  }
}

.wallet-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  background: rgba(20, 20, 20, 0.6);
  border: 1px solid rgba(255, 215, 0, 0.2);
  padding: 3rem;
  border-radius: 30px;
  backdrop-filter: blur(20px);
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
  max-width: 1000px;
  margin: 0 auto;
}

.wallet-text {
  flex: 1;
}

.wallet-text h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(90deg, #fff, var(--primary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.promo-text {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: var(--text-muted);
}

.promo-list {
  list-style: none;
  margin-bottom: 2.5rem;
}

.promo-list li {
  background: rgba(255, 255, 255, 0.03);
  margin-bottom: 1rem;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  border: 1px solid rgba(255, 215, 0, 0.1);
  transition: transform 0.3s;
}

.promo-list li:hover {
  transform: translateX(10px);
  border-color: var(--primary);
  background: rgba(255, 215, 0, 0.05);
}

.highlight-gold {
  color: var(--primary);
  font-weight: 700;
  font-size: 1.2rem;
}

.arrow {
  margin: 0 1rem;
  color: var(--text-muted);
}

.highlight-green {
  color: var(--accent-green);
  font-weight: 900;
  font-size: 1.4rem;
  text-shadow: 0 0 10px rgba(76, 175, 80, 0.3);
}

.wallet-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.wallet-image img {
  width: 100%;
  max-width: 400px;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  transition: transform 0.5s ease;
  animation: floatImage 4s ease-in-out infinite;
}

@keyframes floatImage {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0);
  }
}

.note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  opacity: 0.7;
}

/* Tablet/Mobile Adjustments for Wallet */
@media (max-width: 900px) {
  .wallet-container {
    flex-direction: column-reverse;
    text-align: center;
    padding: 2rem;
  }

  .promo-list li {
    justify-content: center;
  }
}
.specs-section {
  background: var(--secondary);
}

.specs-container {
  max-width: 800px;
  margin: 0 auto;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2rem;
  backdrop-filter: blur(10px);
}

.spec-item {
  display: flex;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid var(--glass-border);
}

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

.spec-label {
  color: var(--text-muted);
  font-weight: 500;
}

.spec-value {
  color: var(--primary);
  font-weight: 700;
}

/* Reviews Section */
.reviews-section {
  background: linear-gradient(to bottom, var(--secondary), #000);
}

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

.review-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  padding: 2.5rem;
  border-radius: 20px;
  position: relative;
  transition: all 0.3s ease;
}

.review-card:hover {
  transform: translateY(-10px) scale(1.02);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.review-stars {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.review-text {
  font-style: italic;
  margin-bottom: 1.5rem;
  color: var(--text);
  line-height: 1.8;
}

.review-author {
  font-weight: 700;
  color: var(--primary);
  font-size: 0.9rem;
}

/* UI Polish & Micro-animations */
.cta-button {
  position: relative;
  overflow: hidden;
}

.cta-button::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300%;
  height: 300%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%) rotate(45deg) translateY(100%);
  transition: transform 0.6s ease;
}

.cta-button:hover::after {
  transform: translate(-50%, -50%) rotate(45deg) translateY(-100%);
}

.feature-card img {
  transition: transform 0.5s ease;
}

.feature-card:hover img {
  transform: scale(1.05);
}

/* Footer */
footer {
  padding: 4rem 10%;
  text-align: center;
  border-top: 1px solid var(--glass-border);
  color: var(--text-muted);
  background: #000;
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Shop Section */
.shop-section {
  text-align: center;
}

.taobao-guide h2 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--primary);
}

.taobao-steps-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.step-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 215, 0, 0.2);
  padding: 1.5rem 2rem;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  transition:
    transform 0.3s,
    background 0.3s;
}

.step-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 215, 0, 0.1);
  border-color: var(--primary);
}

.step-icon {
  font-size: 2.5rem;
}

.step-text {
  font-size: 1.1rem;
  color: var(--text);
}

.step-arrow {
  font-size: 2rem;
  color: var(--primary);
  opacity: 0.5;
}

.highlight-gold-text {
  color: var(--primary);
  font-weight: 800;
  font-size: 1.3rem;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.promo-badge {
  display: table; /* Or block with max-width */
  margin: 0 auto 2rem auto; /* Center block and add bottom spacing */
  background: linear-gradient(135deg, #ff4d4d, #cc0000);
  color: white;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 5px 15px rgba(204, 0, 0, 0.4);
  animation: pulseBadge 2s infinite;
}

@keyframes pulseBadge {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(204, 0, 0, 0.7);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 10px rgba(204, 0, 0, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(204, 0, 0, 0);
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .taobao-steps-container {
    flex-direction: column;
    gap: 1.5rem;
  }

  .step-arrow {
    transform: rotate(90deg);
  }
  nav {
    padding: 1rem 5%;
  }

  .menu-toggle {
    display: flex;
    z-index: 1001;
  }

  nav ul {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(15px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    transition: right 0.4s ease;
    z-index: 1000;
  }

  nav ul.active {
    right: 0;
  }

  nav ul li a {
    font-size: 1.2rem;
  }

  .hero h1 {
    font-size: 2.5rem;
  }
  .story-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  section {
    padding: 60px 5%;
  }
}
