:root {
  --primary: #000000;
  --secondary: #ffffff;
  --accent: #6366f1;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  
  --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, 'SF Mono', Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
}

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

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--gray-900);
  background: var(--gray-50);
  min-height: 100vh;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Header */
.header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gray-200);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 80px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-brand img {
  height: 40px;
  width: auto;
}

.header-logo-gif {
  height: 45px;
  width: auto;
}

.token-address {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--gray-700);
  max-width: 300px;
}

.token-address:hover {
  background: var(--gray-200);
  border-color: var(--gray-300);
  transform: translateY(-1px);
}

.token-address span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 500;
}

.copy-icon {
  flex-shrink: 0;
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

.token-address:hover .copy-icon {
  opacity: 1;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--gray-100);
  border-radius: 8px;
  color: var(--gray-600);
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid var(--gray-200);
}

.social-link:hover {
  background: var(--gray-900);
  color: var(--secondary);
  border-color: var(--gray-900);
  transform: translateY(-1px);
}

/* Main Content */
main {
  margin-top: 80px;
}

/* Page Background Video */
.page-background-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

/* Hero Section */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 2rem 4rem;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 2rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--gray-600);
  margin-bottom: 3rem;
  line-height: 1.6;
  max-width: 500px;
}

.hero-stats {
  display: flex;
  gap: 3rem;
}

.stat {
  text-align: left;
}

.stat-number {
  display: block;
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.nft-placeholder {
  width: 400px;
  height: 400px;
  background: var(--secondary);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.nft-placeholder:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 64px -12px rgb(0 0 0 / 0.25);
}

.nft-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
}

/* Sections */
.nft-cards {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 2rem;
  overflow: hidden;
}

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

.section-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.section-title img {
  height: 60px;
  width: auto;
}

.title-underline {
  width: 60px;
  height: 4px;
  background: var(--accent);
  margin: 0 auto;
  border-radius: 2px;
}

/* Banner */
.banner-container {
  width: 100%;
  margin-bottom: 4rem;
  text-align: center;
}

.banner-image {
  width: 100%;
  max-width: 1000px;
  height: auto;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
}

/* NFT Card Slider */
.card-slider {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.slide-track {
  display: flex;
  animation: scroll 30s linear infinite;
  width: calc(280px * 22); /* 11 cards * 2 for seamless loop */
}

.slide {
  min-width: 280px;
  margin-right: 2rem;
}

.nft-card {
  background: var(--secondary);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  cursor: pointer;
}

.nft-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--accent);
}

.nft-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.card-info {
  padding: 1.5rem;
  text-align: center;
}

.card-info h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary);
  margin: 0;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-280px * 11 - 2rem * 11));
  }
}

/* Pause animation on hover */
.card-slider:hover .slide-track {
  animation-play-state: paused;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.gallery-item .nft-placeholder {
  width: 100%;
  height: 280px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.gallery-item .nft-placeholder:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 64px -12px rgb(0 0 0 / 0.25);
}

.gallery-item .nft-placeholder .placeholder-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.gallery-item .nft-placeholder p {
  font-weight: 600;
  color: var(--gray-600);
  font-size: 1rem;
}

/* CTA Section */
.cta {
  background: var(--gray-900);
  color: var(--secondary);
  text-align: center;
  padding: 6rem 2rem;
  margin-top: 6rem;
}

.cta-content {
  max-width: 600px;
  margin: 0 auto;
}

.cta-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.cta-description {
  font-size: 1.25rem;
  margin-bottom: 3rem;
  color: var(--gray-300);
  line-height: 1.6;
}

.cta-button {
  background: var(--accent);
  color: var(--secondary);
  border: none;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  min-width: 140px;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.cta-button:hover {
  background: #5048e5;
  transform: translateY(-1px);
  color: var(--secondary);
}

/* Footer */
.footer {
  background: var(--secondary);
  color: var(--gray-600);
  padding: 4rem 2rem 2rem;
  border-top: 1px solid var(--gray-200);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  align-items: start;
}

.footer-brand h3 {
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.footer-brand p {
  color: var(--gray-500);
}

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

.footer-link {
  color: var(--gray-600);
  text-decoration: none;
  transition: color 0.2s ease;
  font-weight: 500;
}

.footer-link:hover {
  color: var(--primary);
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social .social-link {
  width: 36px;
  height: 36px;
}

.footer-bottom {
  max-width: 1200px;
  margin: 3rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-200);
  text-align: center;
  color: var(--gray-500);
  font-size: 0.875rem;
}

/* Page Styles */
.page-hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem 2rem;
  text-align: center;
}

.page-hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.page-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.page-subtitle {
  font-size: 1.25rem;
  color: var(--gray-600);
  line-height: 1.6;
}

.content-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.content-container {
  max-width: 1000px;
  margin: 0 auto;
}

.content-grid {
  display: grid;
  gap: 3rem;
}

.content-block {
  background: var(--secondary);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.content-block h2 {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.content-block p {
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.content-block ul {
  color: var(--gray-600);
  line-height: 1.7;
  padding-left: 1.5rem;
}

.content-block li {
  margin-bottom: 0.5rem;
}

/* Roadmap Styles */
.roadmap-section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.roadmap-timeline {
  position: relative;
  padding-left: 2rem;
}

.roadmap-timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gray-300);
}

.roadmap-phase {
  position: relative;
  margin-bottom: 3rem;
  padding-left: 2rem;
}

.phase-marker {
  position: absolute;
  left: -17px;
  top: 0;
  width: 16px;
  height: 16px;
  background: var(--gray-400);
  border-radius: 50%;
  border: 3px solid var(--secondary);
}

.roadmap-phase.completed .phase-marker {
  background: #22c55e;
}

.roadmap-phase.current .phase-marker {
  background: var(--accent);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.phase-content {
  background: var(--secondary);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow);
}

.phase-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.phase-status {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  display: inline-block;
}

.roadmap-phase.completed .phase-status {
  background: #dcfce7;
  color: #166534;
}

.roadmap-phase.current .phase-status {
  background: #e0e7ff;
  color: #3730a3;
}

.roadmap-phase:not(.completed):not(.current) .phase-status {
  background: var(--gray-100);
  color: var(--gray-600);
}

.game-features, .tokenomics {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

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

.feature-card {
  background: var(--secondary);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow);
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1rem;
}

.heaven-launch {
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--gray-100) 100%);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.heaven-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 3rem;
}

.heaven-info {
  background: var(--secondary);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.heaven-info h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.heaven-info p {
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.heaven-features {
  background: var(--secondary);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.heaven-features h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 2rem;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.feature-icon {
  font-size: 1.5rem;
  background: var(--gray-100);
  border-radius: 8px;
  padding: 0.5rem;
  flex-shrink: 0;
}

.feature-text strong {
  display: block;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.feature-text p {
  color: var(--gray-600);
  font-size: 0.875rem;
  line-height: 1.5;
  margin: 0;
}

/* FAQ Styles */
.faq-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.faq-item {
  background: var(--secondary);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.faq-question:hover {
  background: var(--gray-50);
}

.faq-question h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--primary);
  margin: 0;
}

.faq-toggle {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--gray-400);
  transition: transform 0.2s ease;
}

.faq-answer {
  padding: 0 2rem 1.5rem;
  color: var(--gray-600);
  line-height: 1.7;
}

.faq-answer ul {
  padding-left: 1.5rem;
  margin-top: 0.5rem;
}

.contact-section {
  background: var(--gray-900);
  color: var(--secondary);
  text-align: center;
  padding: 4rem 2rem;
}

.contact-content h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.contact-content p {
  font-size: 1.125rem;
  color: var(--gray-300);
  margin-bottom: 2rem;
}

.contact-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-btn {
  background: var(--accent);
  color: var(--secondary);
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
}

.contact-btn:hover {
  background: #5048e5;
  transform: translateY(-1px);
}

/* Popup Styles */
.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.popup-content {
  background: var(--secondary);
  border-radius: 16px;
  box-shadow: var(--shadow-xl);
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  animation: popupSlideIn 0.3s ease-out;
}

@keyframes popupSlideIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 2rem 1rem;
  border-bottom: 1px solid var(--gray-200);
}

.popup-header h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary);
  margin: 0;
}

.popup-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--gray-400);
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.popup-close:hover {
  background: var(--gray-100);
  color: var(--gray-600);
}

.popup-body {
  padding: 1.5rem 2rem 2rem;
}

.popup-body p {
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.popup-body p:last-of-type {
  margin-bottom: 2rem;
}

.popup-button {
  display: inline-block;
  background: var(--accent);
  color: var(--secondary);
  padding: 1rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
  text-align: center;
  width: 100%;
}

.popup-button:hover {
  background: #5048e5;
  transform: translateY(-1px);
  color: var(--secondary);
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav {
    padding: 1rem;
    flex-direction: column;
    gap: 1rem;
    min-height: auto;
  }
  
  .token-address {
    max-width: 250px;
    font-size: 0.75rem;
  }
  
  .hero {
    padding: 4rem 1rem 2rem;
  }
  
  .hero-content {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-description {
    font-size: 1.125rem;
    max-width: none;
  }
  
  .hero-stats {
    justify-content: center;
    gap: 2rem;
  }
  
  .nft-placeholder {
    width: 320px;
    height: 320px;
  }
  
  .section-title {
    font-size: 2.5rem;
  }
  
  .nft-cards {
    padding: 4rem 1rem;
  }
  
  .concept-grid, .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .cta {
    padding: 4rem 1rem;
  }
  
  .cta-title {
    font-size: 2.5rem;
  }
  
  .heaven-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 3rem 1rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .stat {
    text-align: center;
  }
  
  .nft-placeholder {
    width: 280px;
    height: 280px;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .nft-cards {
    padding: 3rem 1rem;
  }
  
  .concept-card {
    padding: 2rem;
  }
  
  .cta {
    padding: 3rem 1rem;
  }
  
  .cta-title {
    font-size: 2rem;
  }
}