* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #fed2a1;
  --primary-dark: #f5b87a;
  --primary-light: #ffe4c4;
  --dark: #0a0a0a;
  --dark-secondary: #1a1a1a;
  --dark-tertiary: #2a2a2a;
  --text: #ffffff;
  --text-secondary: #cccccc;
}

body {
  /* Updated to Poppins for better readability */
  font-family: "Poppins", sans-serif;
  background: var(--dark);
  color: var(--text);
  overflow-x: hidden;
}

/* Loading Screen */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--dark);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.fade-out {
  opacity: 0;
  visibility: hidden;
}

.loading-content {
  text-align: center;
  position: relative;
}

/* New wrapper for title with outline sparkle effect */
.loading-title-wrapper {
  position: relative;
  display: inline-block;
}

.loading-title {
  font-family: "Black Ops One", cursive;
  font-size: clamp(3rem, 10vw, 8rem);
  /* Made text solid and clear with no blur, only outline glow */
  color: #fed2a1;
  font-weight: 900;
  /* Strong outline using -webkit-text-stroke for crisp edges */
  -webkit-text-stroke: 2px #fed2a1;
  /* Only glow on the outline, not the text itself */
  filter: drop-shadow(0 0 20px #fed2a1) drop-shadow(0 0 40px #f5b87a) drop-shadow(0 0 60px #f5b87a);
  letter-spacing: 0.1em;
  position: relative;
  z-index: 2;
  animation: outline-glow 2s ease-in-out infinite;
}

/* Updated animation to pulse only the outline glow */
@keyframes outline-glow {
  0%,
  100% {
    filter: drop-shadow(0 0 20px #fed2a1) drop-shadow(0 0 40px #f5b87a) drop-shadow(0 0 60px #f5b87a);
  }
  50% {
    filter: drop-shadow(0 0 30px #fed2a1) drop-shadow(0 0 60px #f5b87a) drop-shadow(0 0 90px #f5b87a);
  }
}

/* SVG sparkles around the text outline */
.sparkle-svg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  pointer-events: none;
  z-index: 1;
}

.sparkle {
  fill: var(--primary);
  filter: drop-shadow(0 0 8px var(--primary)) drop-shadow(0 0 15px var(--primary-dark));
  animation: sparkle-twinkle 2s ease-in-out infinite;
}

.sparkle:nth-child(1) {
  animation-delay: 0s;
}
.sparkle:nth-child(2) {
  animation-delay: 0.2s;
}
.sparkle:nth-child(3) {
  animation-delay: 0.4s;
}
.sparkle:nth-child(4) {
  animation-delay: 0.6s;
}
.sparkle:nth-child(5) {
  animation-delay: 0.8s;
}
.sparkle:nth-child(6) {
  animation-delay: 1s;
}
.sparkle:nth-child(7) {
  animation-delay: 1.2s;
}
.sparkle:nth-child(8) {
  animation-delay: 1.4s;
}
.sparkle:nth-child(9) {
  animation-delay: 0.3s;
}
.sparkle:nth-child(10) {
  animation-delay: 0.7s;
}
.sparkle:nth-child(11) {
  animation-delay: 1.1s;
}
.sparkle:nth-child(12) {
  animation-delay: 1.5s;
}

@keyframes sparkle-twinkle {
  0%,
  100% {
    opacity: 0;
    transform: scale(0);
  }
  50% {
    opacity: 1;
    transform: scale(1.5);
  }
}

/* Main Content */
.main-content {
  opacity: 1;
  transition: opacity 0.5s ease;
}

.main-content.hidden {
  opacity: 0;
  pointer-events: none;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, var(--dark) 0%, var(--dark-secondary) 100%);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 4rem;
  position: relative;
  z-index: 100;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-logo .logo {
  height: 60px;
  width: auto;
  transition: transform 0.3s ease;
}

.nav-logo .logo:hover {
  transform: scale(1.1) rotate(5deg);
}

.logo-text {
  font-family: "Bebas Neue", cursive;
  font-size: 2rem;
  color: var(--primary);
  font-weight: 400;
  letter-spacing: 0.1em;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.nav-links {
  display: flex;
  gap: 3rem;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  /* Increased font weight for better visibility */
  font-weight: 700;
  font-size: 1.1rem;
  transition: color 0.3s ease;
  position: relative;
  /* Added letter spacing for better readability */
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-links a:hover::after {
  width: 100%;
}

.social-links {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--dark-tertiary);
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--dark-secondary);
  transform: translateY(-3px);
}

.social-icon {
  width: 100px;
  height: 50px;
  object-fit: contain;
}


.hero-content {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 4rem;
  gap: 4rem;
}

.hero-text {
  flex: 1;
}

.hero-title {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.title-line {
  /* Using Bebas Neue for distinctive heading style */
  font-family: "Bebas Neue", cursive;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 400;
  color: var(--text-secondary);
  letter-spacing: 0.3em;
}

.title-main {
  font-family: "Black Ops One", cursive;
  font-size: clamp(4rem, 10vw, 8rem);
  color: var(--primary);
  text-shadow: 0 0 20px var(--primary), 0 0 40px var(--primary-dark);
  letter-spacing: 0.05em;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

.hero-subtitle {
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  color: var(--text-secondary);
  margin-top: 2rem;
  max-width: 600px;
  /* Improved line height for better readability */
  line-height: 1.7;
  font-weight: 400;
}

.hero-logo-large {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo-img {
  width: 100%;
  max-width: 500px;
  height: auto;
  filter: drop-shadow(0 0 40px rgba(254, 210, 161, 0.5));
  animation: float-logo 4s ease-in-out infinite;
}

@keyframes float-logo {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-30px) rotate(5deg);
  }
}

.scroll-indicator {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  animation: bounce 2s ease-in-out infinite;
  /* Added letter spacing */
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-10px);
  }
}

.scroll-arrow {
  width: 2px;
  height: 30px;
  background: linear-gradient(to bottom, var(--primary), transparent);
}

/* Story Section */
.story-section {
  padding: 8rem 2rem;
  background: var(--dark-secondary);
}

.container {
  max-width: 1400px;
  margin: 0 auto;
}

.section-title {
  /* Using Bebas Neue for section titles */
  font-family: "Bebas Neue", cursive;
  font-size: clamp(2.5rem, 6vw, 4rem);
  color: var(--primary);
  text-align: center;
  margin-bottom: 4rem;
  letter-spacing: 0.15em;
  /* Added text shadow for depth */
  text-shadow: 0 0 30px rgba(254, 210, 161, 0.3);
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.story-card {
  background: var(--dark-tertiary);
  padding: 3rem 2rem;
  border-radius: 20px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.story-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.story-card:hover {
  border-color: var(--primary);
  transform: translateY(-10px);
}

.story-card:hover::before {
  opacity: 0.1;
}

.card-number {
  /* Using Bebas Neue for card numbers */
  font-family: "Bebas Neue", cursive;
  font-size: 3rem;
  color: var(--primary);
  opacity: 0.3;
  margin-bottom: 1rem;
  letter-spacing: 0.1em;
}

.story-card h3 {
  /* Using Bebas Neue for card headings */
  font-family: "Bebas Neue", cursive;
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
  letter-spacing: 0.08em;
}

.story-card p {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 1.1rem;
  position: relative;
  z-index: 1;
  font-weight: 400;
}

/* Why Section */
.why-section {
  padding: 8rem 2rem;
  background: var(--dark);
}

.why-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.why-points {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
}

.why-point {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.point-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
}

.point-content h4 {
  /* Using Bebas Neue for point headings */
  font-family: "Bebas Neue", cursive;
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
  letter-spacing: 0.08em;
}

.point-content p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-weight: 400;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  padding: 2rem;
  background: var(--dark-secondary);
  border-radius: 20px;
  border: 2px solid var(--dark-tertiary);
}

.timeline-item {
  display: flex;
  gap: 2rem;
  align-items: center;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.timeline-item.active {
  opacity: 1;
}

.timeline-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--dark-tertiary);
  border: 3px solid var(--primary);
  flex-shrink: 0;
}

.timeline-item.active .timeline-dot {
  background: var(--primary);
  box-shadow: 0 0 20px var(--primary);
}

.timeline-content h5 {
  /* Using Bebas Neue for timeline headings */
  font-family: "Bebas Neue", cursive;
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
  letter-spacing: 0.1em;
}

.timeline-content p {
  color: var(--text-secondary);
  font-weight: 400;
}

/* Tokenomics Section */
.tokenomics-section {
  padding: 8rem 2rem;
  background: var(--dark);
}

.tokenomics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.tokenomics-card {
  background: var(--dark-secondary);
  padding: 3rem 2rem;
  border-radius: 20px;
  border: 2px solid var(--dark-tertiary);
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.tokenomics-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tokenomics-card:hover {
  border-color: var(--primary);
  transform: translateY(-10px);
}

.tokenomics-card:hover::before {
  opacity: 0.1;
}

.tokenomics-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.tokenomics-card h3 {
  font-family: "Bebas Neue", cursive;
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 1rem;
  letter-spacing: 0.08em;
  position: relative;
  z-index: 1;
}

.tokenomics-value {
  font-family: "Bebas Neue", cursive;
  font-size: 2.5rem;
  color: var(--text);
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
  position: relative;
  z-index: 1;
}

.tokenomics-desc {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.tokenomics-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
  padding: 3rem;
  background: var(--dark-secondary);
  border-radius: 20px;
  border: 2px solid var(--primary);
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.1rem;
  color: var(--text);
  font-weight: 600;
}

.feature-check {
  color: var(--primary);
  font-size: 1.5rem;
  font-weight: bold;
}

/* Contract Section */
.contract-section {
  padding: 8rem 2rem;
  background: var(--dark-secondary);
}

.contract-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.contract-label {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.contract-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--dark);
  padding: 2rem;
  border-radius: 15px;
  border: 2px solid var(--primary);
  margin-bottom: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.contract-address {
  font-family: "Courier New", monospace;
  font-size: 1.1rem;
  color: var(--primary);
  word-break: break-all;
  flex: 1;
  min-width: 200px;
  text-align: left;
}

.copy-btn {
  padding: 0.8rem 2rem;
  background: var(--primary);
  color: var(--dark);
  border: none;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.copy-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.copy-btn:active {
  transform: translateY(0);
}

.copied-text {
  display: none;
}

.copy-btn.copied .copy-text {
  display: none;
}

.copy-btn.copied .copied-text {
  display: inline;
}

.contract-warning {
  color: #ff9800;
  font-size: 1rem;
  margin-bottom: 2rem;
  padding: 1rem;
  background: rgba(255, 152, 0, 0.1);
  border-radius: 10px;
  border: 1px solid rgba(255, 152, 0, 0.3);
}

.contract-links {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.contract-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: var(--dark-tertiary);
  color: var(--primary);
  text-decoration: none;
  border-radius: 10px;
  border: 2px solid var(--primary);
  font-weight: 600;
  transition: all 0.3s ease;
  letter-spacing: 0.05em;
}

.contract-link:hover {
  background: var(--primary);
  color: var(--dark);
  transform: translateY(-3px);
}

.contract-link svg {
  transition: transform 0.3s ease;
}

.contract-link:hover svg {
  transform: translateX(3px) translateY(-3px);
}

/* CTA Section */
.cta-section {
  padding: 8rem 2rem;
  background: linear-gradient(135deg, var(--dark-secondary) 0%, var(--dark) 100%);
}

.cta-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.cta-title {
  /* Using Bebas Neue for CTA title */
  font-family: "Bebas Neue", cursive;
  font-size: clamp(2.5rem, 6vw, 4rem);
  color: var(--primary);
  margin-bottom: 1.5rem;
  letter-spacing: 0.15em;
  text-shadow: 0 0 30px rgba(254, 210, 161, 0.3);
}

.cta-text {
  font-size: 1.5rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  line-height: 1.6;
  font-weight: 400;
}

.cta-buttons {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 1.2rem 3rem;
  font-size: 1.2rem;
  /* Increased font weight for buttons */
  font-weight: 700;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  /* Added letter spacing and uppercase */
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: "Poppins", sans-serif;
}

.btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: var(--primary);
  color: var(--dark);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(254, 210, 161, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: var(--dark);
  transform: translateY(-5px);
}

/* Footer */
.footer {
  padding: 4rem 2rem 2rem;
  background: var(--dark);
  border-top: 1px solid var(--dark-tertiary);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-logo-img {
  height: 50px;
  width: auto;
}

.footer-logo p {
  /* Using Bebas Neue for footer logo text */
  font-family: "Bebas Neue", cursive;
  font-weight: 400;
  color: var(--primary);
  font-size: 1.3rem;
  letter-spacing: 0.1em;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-disclaimer {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--dark-tertiary);
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  font-weight: 400;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .why-content {
    grid-template-columns: 1fr;
  }

  .nav {
    padding: 2rem;
  }

  .nav-right {
    gap: 2rem;
  }

  .nav-links {
    gap: 1.5rem;
  }

  .tokenomics-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .tokenomics-features {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav {
    flex-direction: column;
    gap: 1rem;
  }

  .nav-right {
    flex-direction: column;
    gap: 1rem;
  }

  .story-grid {
    grid-template-columns: 1fr;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 300px;
  }

  .footer-content {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .tokenomics-grid {
    grid-template-columns: 1fr;
  }

  .tokenomics-features {
    grid-template-columns: 1fr;
    padding: 2rem;
  }

  .contract-box {
    flex-direction: column;
    padding: 1.5rem;
  }

  .contract-address {
    font-size: 0.9rem;
    text-align: center;
  }

  .contract-links {
    flex-direction: column;
    width: 100%;
  }

  .contract-link {
    width: 100%;
    justify-content: center;
  }
}
