/* -------------------------------
   General Reset
--------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* -------------------------------
   Dark Mode Body
--------------------------------- */
body {
  background-color: #121212;
  color: #ffffff;
  font-size: 16px;
  line-height: 1.6;
}

/* -------------------------------
   Navigation
--------------------------------- */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #1f1f1f;
  padding: 1rem 2rem;
  border-bottom: 1px solid #333;
}

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

.nav-brand .nav-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

nav h1 {
  color: #FFAF52; /* Dino-inspired accent color */
  font-size: 1.5rem;
  font-weight: 700;
}

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

nav li {
  margin: 0;
}

nav a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #FFAF52;
}

nav a.active {
  color: #FFAF52;
  text-decoration: underline;
}

/* -------------------------------
   Parallax Hero Section
--------------------------------- */
.hero-parallax {
  position: relative;
  min-height: 70vh;
  background: url("../images/dino3.jpg") center center/cover no-repeat fixed; 
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: none;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(18, 18, 18, 0.6);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #ffffff;
  margin: 0 1rem;
}

.hero-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #FFAF52;
}

.hero-content p {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  max-width: 600px;
  margin: 0 auto 1.5rem auto;
  color: #ccc;
}

.hero-btn {
  background-color: #FFAF52;
  color: #000;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.hero-btn:hover {
  background-color: #ff9548;
}

/* -------------------------------
   Section Base
--------------------------------- */
section {
  padding: 3rem 1.5rem;
  text-align: center;
  border-bottom: 1px solid #333;
}

.section-inner {
  max-width: 900px;
  margin: 0 auto;
}

/* -------------------------------
   About Section
   Flows seamlessly from hero
--------------------------------- */
.about-section {
  border-bottom: none;
  margin-top: -1rem; /* optional: pull it up slightly for a smoother transition */
}

.about-section h2 {
  font-size: 2rem;
  color: #FFAF52;
  margin-bottom: 1rem;
}

.about-section p {
  color: #ccc;
  margin-bottom: 1.5rem;
}

/* -------------------------------
   NEW: Contract Address Section
   Stand-out styling + fade-in
--------------------------------- */
.contract-section {
  border-bottom: 1px solid #333;
  padding: 3rem 1.5rem;
  text-align: center;
}

.contract-section h2 {
  font-size: 2rem;
  color: #FFAF52;
  margin-bottom: 1rem;
}

/* Glowing animation for contract address text */
.contract-text {
  font-size: 1.125rem;
  color: #FFAF52;
  margin-top: 1rem;
  font-weight: 600;
  text-shadow: 0 0 10px rgba(255, 175, 82, 0.7), 
               0 0 20px rgba(255, 175, 82, 0.4);
  animation: glow 1.5s ease-in-out infinite alternate;
}

/* Keyframes for glowing text effect */
@keyframes glow {
  0% {
    text-shadow: 0 0 10px rgba(255, 175, 82, 0.7),
                 0 0 20px rgba(255, 175, 82, 0.4);
  }
  100% {
    text-shadow: 0 0 10px rgba(255, 175, 82, 1),
                 0 0 20px rgba(255, 175, 82, 0.8),
                 0 0 30px rgba(255, 175, 82, 0.6);
  }
}

/* -------------------------------
   Features Section
--------------------------------- */
.features-section h2 {
  font-size: 2rem;
  color: #FFAF52;
  margin-bottom: 2rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background-color: #1f1f1f;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.feature-card h3 {
  margin-bottom: 1rem;
  color: #FFAF52;
  font-size: 1.25rem;
}

.feature-card p {
  color: #ccc;
}

/* -------------------------------
   Roadmap Section
--------------------------------- */
.roadmap-section h2 {
  font-size: 2rem;
  color: #FFAF52;
  margin-bottom: 1rem;
}

.roadmap-list {
  text-align: left;
  max-width: 700px;
  margin: 1rem auto;
  color: #ccc;
}

.roadmap-list li {
  margin-bottom: 1rem;
}

/* -------------------------------
   Community Section
--------------------------------- */
.community-section h2 {
  font-size: 2rem;
  color: #FFAF52;
  margin-bottom: 1rem;
}

.community-section p {
  max-width: 700px;
  margin: 1rem auto 2rem auto;
  color: #ccc;
}

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

.community-buttons .btn {
  background-color: #FFAF52;
  color: #000;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.community-buttons .btn:hover {
  background-color: #ff9548;
}

/* -------------------------------
   Gallery Section
--------------------------------- */
.gallery-section {
  padding: 3rem 1.5rem;
  text-align: center;
}

.gallery-section h2 {
  font-size: 2rem;
  color: #FFAF52;
  margin-bottom: 2rem;
}

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

.gallery-item {
  flex: 1 1 220px;
  max-width: 280px;
  margin: 0.5rem;
  border: 2px solid #333;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.03);
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
}

/* -------------------------------
   White Paper Styles
--------------------------------- */
.whitepaper-container {
  max-width: 800px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.whitepaper-container h2 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
  color: #FFAF52;
  text-align: center;
}

.whitepaper-container h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: #FFAF52;
  font-weight: 600;
}

.whitepaper-container p,
.whitepaper-container ul {
  margin-bottom: 1rem;
  line-height: 1.5;
  color: #ccc;
}

.whitepaper-container ul {
  list-style-type: disc;
  margin-left: 1.5rem;
}

.whitepaper-container li {
  margin-bottom: 0.5rem;
}

/* -------------------------------
   Footer
--------------------------------- */
footer {
  background-color: #1f1f1f;
  color: #ffffff;
  text-align: center;
  padding: 1rem 2rem;
  border-top: 1px solid #333;
}

/* -------------------------------
   Simple Fade-In Animations
--------------------------------- */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
}

.fade-in-up {
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
  animation-delay: 0.3s;
}

/* -------------------------------
   Responsive
--------------------------------- */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
  }

  nav ul {
    margin-top: 1rem;
  }

  .hero-parallax {
    min-height: 50vh;
  }

  .hero-content h2 {
    font-size: 2rem;
  }

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

  .community-buttons {
    flex-direction: column;
    gap: 1rem;
  }
}
