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

:root {
  --primary-gold: rgb(240, 185, 11);
  --secondary-gold: #ffa500;
  --dark-gold: #b8860b;
  --red-accent: #dc143c;
  --dark-bg: #1a1a1a;
  --darker-bg: #0f0f0f;
  --text-light: #f5f5f5;
  --text-gray: #cccccc;
  --chinese-red: #c8102e;
  --fortune-gold: #ffc107;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 50%, #0f0f0f 100%);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Chinese Text Styling */
.chinese-text {
  font-family: 'Noto Serif SC', serif;
  font-weight: 900;
  color: var(--primary-gold);
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.5), 0 0 40px rgba(255, 215, 0, 0.3);
}

.chinese-title {
  font-family: 'Noto Serif SC', serif;
  font-weight: 900;
  font-size: 3.5rem;
  background: linear-gradient(
    135deg,
    var(--primary-gold),
    var(--secondary-gold),
    var(--red-accent)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
  margin-bottom: 1rem;
  position: relative;
  animation: textGlow 3s ease-in-out infinite;
}

@keyframes textGlow {
  0%,
  100% {
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
  }
  50% {
    filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.8));
  }
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1rem 0;
  border-bottom: 2px solid transparent;
  box-shadow: none;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(0, 0, 0, 0.95);
  border-bottom: 2px solid var(--primary-gold);
  box-shadow: 0 4px 20px rgba(255, 215, 0, 0.1);
}

.navbar.scrolled .logo {
  transform: scale(0.95);
  padding: 0.4rem 0.8rem;
}

.navbar.scrolled .nav-menu {
  padding: 0.4rem;
}

.navbar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    ellipse at top,
    rgba(255, 215, 0, 0.05) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: -1;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-size: 1.6rem;
  font-weight: 800;
  position: relative;
  padding: 0.5rem 1rem;
  border-radius: 12px;
  background: linear-gradient(
    135deg,
    rgba(255, 215, 0, 0.1) 0%,
    rgba(255, 165, 0, 0.05) 100%
  );
  border: 1px solid rgba(255, 215, 0, 0.2);
  transition: all 0.3s ease;
  cursor: pointer;
}

.logo:hover {
  transform: translateY(-2px);
  background: linear-gradient(
    135deg,
    rgba(255, 215, 0, 0.15) 0%,
    rgba(255, 165, 0, 0.1) 100%
  );
  border-color: rgba(255, 215, 0, 0.4);
  box-shadow: 0 8px 24px rgba(255, 215, 0, 0.2), 0 0 20px rgba(255, 215, 0, 0.1);
}

.logo::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(
    45deg,
    var(--primary-gold),
    var(--secondary-gold),
    var(--red-accent),
    var(--primary-gold)
  );
  border-radius: 12px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
  background-size: 300% 300%;
  animation: gradientShift 3s ease infinite;
}

.logo:hover::before {
  opacity: 0.3;
}

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

.logo .chinese-text {
  animation: textPulse 2s ease-in-out infinite;
  position: relative;
}

@keyframes textPulse {
  0%,
  100% {
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5),
      0 0 40px rgba(255, 215, 0, 0.3);
  }
  50% {
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.8),
      0 0 60px rgba(255, 215, 0, 0.5), 0 0 80px rgba(255, 215, 0, 0.3);
  }
}

.token-name {
  color: var(--primary-gold);
  font-weight: 700;
  text-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
  position: relative;
  padding-left: 1rem;
}

.token-name::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 60%;
  background: linear-gradient(
    180deg,
    transparent,
    var(--primary-gold),
    transparent
  );
  opacity: 0.6;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.5rem;
  border-radius: 50px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 215, 0, 0.1);
}

.nav-menu a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.6rem 1.5rem;
  border-radius: 25px;
  display: block;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

.nav-menu a::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 25px;
  padding: 2px;
  background: linear-gradient(
    135deg,
    var(--primary-gold),
    var(--secondary-gold),
    var(--red-accent)
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--primary-gold),
    var(--secondary-gold)
  );
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-menu a:hover {
  color: var(--primary-gold);
  background: rgba(255, 215, 0, 0.08);
  transform: translateY(-2px);
}

.nav-menu a:hover::before {
  opacity: 0.3;
}

/* .nav-menu a:hover::after {
  width: 60%;
} */

/* Active state for scroll spy */
.nav-menu a.active {
  color: var(--primary-gold);
  background: linear-gradient(
    135deg,
    rgba(255, 215, 0, 0.15) 0%,
    rgba(255, 165, 0, 0.1) 100%
  );
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.2),
    inset 0 1px 0 rgba(255, 215, 0, 0.2);
}

.nav-menu a.active::before {
  opacity: 0.5;
}

/* .nav-menu a.active::after {
  width: 80%;
  height: 3px;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
} */

.language-switcher {
  display: flex;
  align-items: center;
  margin-right: 0;
  position: relative;
}

/* Custom Dropdown Styles */
.lang-dropdown {
  position: relative;
}

.lang-select-btn {
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 8px;
  color: var(--primary-gold);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 120px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.lang-select-btn:hover {
  background-color: rgba(255, 215, 0, 0.2);
  border-color: rgba(255, 215, 0, 0.5);
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
  transform: translateY(-2px);
}

.lang-select-btn:focus {
  outline: none;
  background-color: rgba(255, 215, 0, 0.2);
  border-color: rgba(255, 215, 0, 0.6);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
}

.lang-current {
  flex: 1;
}

.lang-arrow {
  font-size: 0.7rem;
  transition: transform 0.3s ease;
}

.lang-dropdown.active .lang-arrow {
  transform: rotate(180deg);
}

.lang-dropdown-menu {
  position: absolute;
  top: calc(100% + 5px);
  right: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 215, 0, 0.4);
  border-radius: 12px;
  list-style: none;
  padding: 0.5rem 0;
  margin: 0;
  min-width: 120px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 215, 0, 0.1);
  overflow: hidden;
}

.lang-dropdown.active .lang-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  color: var(--primary-gold);
  text-decoration: none;
  transition: all 0.2s ease;
  background: transparent;
  position: relative;
}

.lang-option::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--primary-gold);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.lang-option:hover {
  background: rgba(255, 215, 0, 0.15);
  color: var(--primary-gold);
  padding-left: 1.2rem;
}

.lang-option:hover::before {
  opacity: 1;
}

.lang-option.active {
  background: rgba(255, 215, 0, 0.2);
  padding-left: 1.2rem;
}

.lang-option.active::before {
  opacity: 1;
}

.lang-check {
  opacity: 0;
  transition: opacity 0.2s ease;
  font-weight: bold;
}

.lang-option.active .lang-check {
  opacity: 1;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 8px;
  cursor: pointer;
  gap: 5px;
  padding: 0.5rem;
  transition: all 0.3s ease;
}

.menu-toggle:hover {
  background: rgba(255, 215, 0, 0.2);
  border-color: rgba(255, 215, 0, 0.5);
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--primary-gold),
    var(--secondary-gold)
  );
  transition: all 0.3s ease;
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
}

.menu-toggle.active {
  background: rgba(255, 215, 0, 0.2);
  border-color: rgba(255, 215, 0, 0.6);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

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

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 0;
  padding-top: 0;
  z-index: 0;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  margin-top: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7) contrast(1.2);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(15, 15, 15, 0.7) 0%,
    rgba(26, 26, 26, 0.5) 100%
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 280px; /* Offset for navbar */
}

.main-headline {
  font-size: 4.5rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.main-headline .line1 {
  display: block;
  color: var(--primary-gold);
  animation: slideInLeft 1s ease-out;
}

.main-headline .line2 {
  display: block;
  color: #fff;
  /* text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.9),
    -3px -3px 10px rgba(0, 0, 0, 0.9), 0 0 30px rgba(220, 20, 60, 0.8),
    0 0 60px rgba(220, 20, 60, 0.4); */
  animation: slideInRight 1s ease-out 0.3s both;
}

.token-badge {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.token-symbol {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary-gold);
  animation: pulse 2s ease-in-out infinite;
}

.hashtag {
  font-size: 2.5rem;
  font-family: 'Noto Serif SC', serif;
  font-weight: 900;
  color: #fff;
  /* text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9), -2px -2px 8px rgba(0, 0, 0, 0.9),
    0 0 20px rgba(200, 16, 46, 0.6); */
}

.sub-headline {
  font-size: 1.3rem;
  line-height: 1.8;
  color: var(--text-light);
  max-width: 900px;
  margin: 0 auto;
  font-weight: 500;
}

.floating-horse {
  position: absolute;
  right: 10%;
  top: 20%;
  z-index: 4;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid var(--primary-gold);
  box-shadow: 0 0 50px rgba(255, 215, 0, 0.6);
}

.floating-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
}

.scroll-arrow {
  width: 30px;
  height: 30px;
  border-right: 3px solid var(--primary-gold);
  border-bottom: 3px solid var(--primary-gold);
  transform: rotate(45deg);
  animation: bounce 2s infinite;
}

/* Animations */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.9;
  }
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0) rotate(45deg);
  }
  50% {
    transform: translateY(10px) rotate(45deg);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  33% {
    transform: translateY(-20px) rotate(2deg);
  }
  66% {
    transform: translateY(-10px) rotate(-2deg);
  }
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-fade-in {
  animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.8s ease-out both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-slide-in-left {
  animation: slideInLeft 1s ease-out;
}

.animate-slide-in-right {
  animation: slideInRight 1s ease-out;
}

.animate-bounce-in {
  animation: bounceIn 0.6s ease-out both;
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* About Section */
.about {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
  position: relative;
  overflow: hidden;
}

.about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(
      circle at 20% 50%,
      rgba(255, 215, 0, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(220, 20, 60, 0.1) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-subtitle {
  font-size: 1.5rem;
  color: var(--text-gray);
  font-weight: 300;
  letter-spacing: 2px;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: stretch;
  margin-bottom: 4rem;
}

.about-image-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  height: 100%;
  min-height: 100%;
  max-height: 720px;
  display: flex;
  align-items: stretch;
}

.about-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.about-image-wrapper video {
  width: 100%;
  height: 100%;
  min-height: 100%;
  max-height: 720px;
  object-fit: cover;
  display: block;
}

.golden-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 215, 0, 0.3) 0%,
    transparent 70%
  );
  animation: rotate 10s linear infinite;
  pointer-events: none;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.about-text {
  font-size: 1.1rem;
  line-height: 1.8;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-text p {
  margin-bottom: 1.5rem;
}

.about-text strong {
  color: var(--primary-gold);
  font-weight: 700;
}

.legend-box {
  background: linear-gradient(
    135deg,
    rgba(255, 215, 0, 0.1) 0%,
    rgba(255, 165, 0, 0.1) 100%
  );
  border: 2px solid var(--primary-gold);
  border-radius: 15px;
  padding: 2rem;
  margin: 2rem 0;
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.2);
}

.legend-title {
  color: var(--primary-gold);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-family: 'Noto Serif SC', serif;
}

.meme-translation {
  background: rgba(220, 20, 60, 0.1);
  border-left: 4px solid var(--red-accent);
  padding: 1.5rem;
  margin-top: 2rem;
  border-radius: 10px;
}

.translation-text {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--red-accent);
  margin-top: 0.5rem;
}

.horses-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.gallery-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 15px;
  border: 3px solid var(--primary-gold);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-image:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 20px 40px rgba(255, 215, 0, 0.4);
}

/* Roadmap Section */
.roadmap {
  padding: 100px 0;
  background: var(--dark-bg);
  position: relative;
}

.roadmap-timeline {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.roadmap-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--primary-gold), var(--red-accent));
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 4rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.timeline-item:nth-child(odd) {
  margin-right: 50%;
  padding-right: 3rem;
}

.timeline-item:nth-child(even) {
  margin-left: 50%;
  padding-left: 3rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background: var(--primary-gold);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
}

.timeline-item:nth-child(odd)::before {
  right: -10px;
}

.timeline-item:nth-child(even)::before {
  left: -10px;
}

.timeline-item:hover {
  border-color: var(--primary-gold);
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
  transform: translateX(10px);
}

.timeline-item:nth-child(even):hover {
  transform: translateX(-10px);
}

.timeline-phase {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.phase-number {
  font-size: 3rem;
  font-weight: 900;
  color: var(--primary-gold);
  font-family: 'Noto Serif SC', serif;
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
}

.phase-title {
  font-size: 1.5rem;
  color: var(--text-light);
  font-weight: 700;
}

.phase-items {
  list-style: none;
  padding-left: 0;
}

.phase-items li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-gray);
}

.phase-items li::before {
  content: '🐎';
  position: absolute;
  left: 0;
}

/* Buy Section */
.buy {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
}

.buy-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

.step-item {
  display: flex;
  gap: 1.5rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.step-item:hover {
  border-color: var(--primary-gold);
  background: rgba(255, 215, 0, 0.1);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
}

.step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(
    135deg,
    var(--primary-gold),
    var(--secondary-gold)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 900;
  color: var(--dark-bg);
  flex-shrink: 0;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.step-content h4 {
  color: var(--primary-gold);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.step-content p {
  color: var(--text-gray);
  line-height: 1.6;
}

.buy-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.btn-primary,
.btn-secondary {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(
    135deg,
    var(--primary-gold),
    var(--secondary-gold)
  );
  color: var(--dark-bg);
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
}

.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 0 50px rgba(255, 215, 0, 0.8);
}

.btn-glow {
  animation: buttonGlow 2s ease-in-out infinite;
}

@keyframes buttonGlow {
  0%,
  100% {
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
  }
  50% {
    box-shadow: 0 0 50px rgba(255, 215, 0, 0.9);
  }
}

.btn-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.5s;
}

.btn-primary:hover .btn-shine {
  left: 100%;
}

.btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.btn-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
}

#buyBinance .btn-icon img {
  filter: brightness(0);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-gold);
  border: 2px solid var(--primary-gold);
}

.btn-secondary:hover {
  background: var(--primary-gold);
  color: var(--dark-bg);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

.contract-address {
  text-align: center;
  padding: 1.5rem;
  background: rgba(255, 215, 0, 0.1);
  border-radius: 10px;
  border: 1px solid var(--primary-gold);
}

.contract-address p {
  margin-bottom: 0.5rem;
  color: var(--text-gray);
}

#contractCode {
  display: block;
  font-size: 1.1rem;
  color: var(--primary-gold);
  font-weight: 600;
  word-break: break-all;
}

/* Community Section */
.community {
  padding: 100px 0;
  background: var(--dark-bg);
  text-align: center;
}

.community-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin: 3rem 0;
}

.community-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  border: 2px solid transparent;
  text-decoration: none;
  color: var(--text-light);
  transition: all 0.3s ease;
  min-width: 150px;
}

.community-link:hover {
  border-color: var(--primary-gold);
  background: rgba(255, 215, 0, 0.1);
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 20px 40px rgba(255, 215, 0, 0.3);
}

.link-icon {
  font-size: 3rem;
  filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
}

.social-links {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
}

.social-links li {
  margin: 0;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  padding: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 215, 0, 0.1) 0%,
    rgba(255, 165, 0, 0.05) 100%
  );
  border-radius: 50%;
  text-decoration: none;
  border: 2px solid rgba(255, 215, 0, 0.4);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  min-width: 70px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.social-link::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 215, 0, 0.3) 0%,
    transparent 70%
  );
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.social-link:hover::before {
  width: 120%;
  height: 120%;
}

.social-link:hover {
  border-color: var(--primary-gold);
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.5), 0 0 20px rgba(255, 215, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  background: linear-gradient(
    135deg,
    rgba(255, 215, 0, 0.2) 0%,
    rgba(255, 165, 0, 0.15) 100%
  );
}

.social-link:active {
  transform: translateY(-2px) scale(1.02);
}

.social-icon {
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-gold);
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: drop-shadow(0 2px 4px rgba(255, 215, 0, 0.4));
}

.social-link.website .social-icon {
  filter: sepia(100%) saturate(500%) hue-rotate(0deg) brightness(1.2)
    drop-shadow(0 2px 4px rgba(255, 215, 0, 0.4));
}

.social-link:hover .social-icon {
  transform: scale(1.1) rotate(5deg);
  filter: drop-shadow(0 4px 8px rgba(255, 215, 0, 0.6));
}

.social-link.website:hover .social-icon {
  filter: sepia(100%) saturate(500%) hue-rotate(0deg) brightness(1.3)
    drop-shadow(0 4px 8px rgba(255, 215, 0, 0.6));
}

.social-icon svg {
  width: 2rem;
  height: 2rem;
  color: var(--primary-gold);
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: drop-shadow(0 2px 4px rgba(255, 215, 0, 0.4));
}

.social-link:hover .social-icon svg {
  transform: scale(1.1) rotate(5deg);
  filter: drop-shadow(0 4px 8px rgba(255, 215, 0, 0.6));
}

.social-icon img {
  width: 2rem;
  height: 2rem;
  object-fit: contain;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: drop-shadow(0 2px 4px rgba(255, 215, 0, 0.4));
}

.social-link:hover .social-icon img {
  transform: scale(1.1) rotate(5deg);
  filter: drop-shadow(0 4px 8px rgba(255, 215, 0, 0.6));
}

.social-link.twitter .social-icon {
  font-size: 2.5rem;
  font-weight: 900;
  font-family: 'Poppins', sans-serif;
  letter-spacing: -1.5px;
}

.social-text {
  display: none;
}

/* Animation for social links */
.social-links li {
  animation: fadeInUp 0.6s ease-out backwards;
}

.social-links li:nth-child(1) {
  animation-delay: 0.1s;
}

.social-links li:nth-child(2) {
  animation-delay: 0.2s;
}

.social-links li:nth-child(3) {
  animation-delay: 0.3s;
}

.social-links li:nth-child(4) {
  animation-delay: 0.4s;
}

.community-link span {
  font-weight: 700;
  font-size: 1.1rem;
}

.community-image {
  margin-top: 4rem;
}

.community-horse {
  max-width: 500px;
  width: 100%;
  border-radius: 20px;
  border: 3px solid var(--primary-gold);
  box-shadow: 0 20px 60px rgba(255, 215, 0, 0.3);
  animation: float 8s ease-in-out infinite;
}

/* FAQ Section */
.faq {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
}

.faq-image {
  display: block;
  max-width: 100%;
  margin: 0 auto 2rem;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: none;
}

.faq-item {
  margin-bottom: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  overflow: hidden;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: var(--primary-gold);
}

.faq-question {
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background: rgba(255, 215, 0, 0.05);
}

.faq-question h4 {
  color: var(--primary-gold);
  font-size: 1.2rem;
}

.faq-toggle {
  font-size: 2rem;
  color: var(--primary-gold);
  font-weight: 300;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 1.5rem;
}

.faq-answer p {
  color: var(--text-gray);
  line-height: 1.8;
}

/* Footer */
.footer {
  padding: 60px 0 30px;
  background: var(--darker-bg);
  border-top: 2px solid var(--primary-gold);
  text-align: center;
}

.footer-content {
  margin-bottom: 2rem;
}

.footer-title {
  font-size: 1.5rem;
  color: var(--primary-gold);
  margin-bottom: 1rem;
  font-weight: 700;
}

.footer-subtitle {
  color: var(--text-gray);
  margin-bottom: 2rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.footer-links a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary-gold);
}

.footer-links span {
  color: var(--text-gray);
}

.footer-note {
  color: var(--text-gray);
  font-style: italic;
  margin-top: 1rem;
}

.footer-image {
  margin-top: 2rem;
}

.footer-horse {
  max-width: 300px;
  width: 100%;
  border-radius: 15px;
  border: 2px solid var(--primary-gold);
  opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 968px) {
  .nav-container {
    position: relative;
  }

  .nav-menu {
    position: fixed;
    left: -110%;
    top: 70px;
    flex-direction: column;
    background: linear-gradient(
      135deg,
      rgba(15, 15, 15, 0.98) 0%,
      rgba(26, 26, 26, 0.95) 100%
    );
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 215, 0, 0.1);
    padding: 2rem 0;
    gap: 0;
    border-top: 2px solid rgba(255, 215, 0, 0.2);
    border-radius: 0 0 20px 20px;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    margin: 1rem 0;
  }

  .nav-menu a {
    padding: 1rem 2rem;
    border-radius: 0;
    width: 100%;
    text-align: center;
  }

  .nav-menu a:hover {
    background: rgba(255, 215, 0, 0.15);
    transform: translateX(5px);
  }

  .nav-menu a.active {
    background: linear-gradient(
      135deg,
      rgba(255, 215, 0, 0.2) 0%,
      rgba(255, 165, 0, 0.15) 100%
    );
    border-left: 3px solid var(--primary-gold);
    transform: translateX(5px);
  }

  /* Mobile layout: menu-toggle (left), logo (next to menu-toggle), language-switcher (right) */
  .nav-container {
    position: relative;
    justify-content: space-between;
  }

  .nav-right {
    display: flex;
    align-items: center;
    gap: 0;
    order: 3;
    margin-left: auto;
  }

  /* Nav menu is positioned fixed, so it doesn't need to be hidden in nav-right */
  .nav-right .nav-menu {
    position: fixed;
    /* Menu positioning is handled by .nav-menu rule above */
  }

  .logo {
    order: 2;
    font-size: 1.2rem;
    padding: 0.4rem 0.8rem;
    gap: 0.8rem;
    white-space: nowrap;
    margin-left: 1rem;
  }

  .logo .chinese-text {
    font-size: 1.2rem;
  }

  .logo .token-name {
    font-size: 0.9rem;
    padding-left: 0.8rem;
  }

  .language-switcher {
    margin-right: 0;
  }

  .lang-select-btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
    min-width: 100px;
  }

  .lang-dropdown-menu {
    min-width: 100px;
  }

  .menu-toggle {
    display: flex;
    order: 1;
    flex-shrink: 0;
  }

  .main-headline {
    font-size: 3rem;
  }

  .token-symbol {
    font-size: 2rem;
  }

  .hashtag {
    font-size: 1.8rem;
  }

  .sub-headline {
    font-size: 1.1rem;
  }

  .floating-horse {
    width: 200px;
    height: 200px;
    right: 5%;
    top: 15%;
  }

  .chinese-title {
    font-size: 2.5rem;
  }

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

  .horses-gallery {
    grid-template-columns: 1fr;
  }

  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    margin-left: 0;
    margin-right: 0;
    padding-left: 3rem;
    padding-right: 2rem;
  }

  .timeline-item::before {
    left: 10px;
  }

  .roadmap-timeline::before {
    left: 20px;
  }

  .buy-steps {
    grid-template-columns: 1fr;
  }

  .buy-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    max-width: 313px;
  }

  /* Reduce section padding on mobile */
  .about,
  .roadmap,
  .buy,
  .community,
  .faq {
    padding: 50px 0;
  }

  .section-header {
    margin-bottom: 2rem;
  }
}

@media (max-width: 640px) {
  .main-headline {
    font-size: 2rem;
    letter-spacing: 1px;
  }

  .token-symbol {
    font-size: 1.5rem;
  }

  .hashtag {
    font-size: 1.3rem;
  }

  .sub-headline {
    font-size: 1rem;
  }

  .floating-horse {
    display: none;
  }

  .chinese-title {
    font-size: 2rem;
  }

  .section-subtitle {
    font-size: 1.2rem;
  }

  .community-links {
    grid-template-columns: repeat(2, 1fr);
  }

  .social-links {
    gap: 1rem;
  }

  .social-link {
    width: 62px;
    height: 62px;
  }

  .social-icon {
    font-size: 1.75rem;
  }

  .social-icon svg {
    width: 1.75rem;
    height: 1.75rem;
  }

  .social-icon img {
    width: 1.75rem;
    height: 1.75rem;
  }

  .social-link.twitter .social-icon {
    font-size: 2.2rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 0.5rem;
  }

  .footer-links span {
    display: none;
  }

  .faq-image {
    display: none;
  }

  .faq-list {
    display: block;
  }

  /* Further reduce section padding on small mobile */
  .about,
  .roadmap,
  .buy,
  .community,
  .faq {
    padding: 40px 0;
  }

  .section-header {
    margin-bottom: 1.5rem;
  }
}

/* Fortune and Luck Effects */
.fortune-particle {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  font-size: 2rem;
  animation: fall 3s linear forwards;
}

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

/* Scroll animations */
@media (prefers-reduced-motion: no-preference) {
  .animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

  .animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
  }
}
