/* Main CSS File */
:root {
  /* Color variables */
  --primary-color: #9945ff;
  --secondary-color: #14f195;
  --dark-color: #141414;
  --light-color: #ffffff;
  --accent-color: #f97316;
  --danger-color: #ef4444;
  --warning-color: #f59e0b;
  --success-color: #10b981;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  /* Spacing system (8px) */
  --space-1: 0.5rem; /* 8px */
  --space-2: 1rem; /* 16px */
  --space-3: 1.5rem; /* 24px */
  --space-4: 2rem; /* 32px */
  --space-5: 2.5rem; /* 40px */
  --space-6: 3rem; /* 48px */

  /* Typography */
  --font-family: "Inter", sans-serif;
  --line-height-body: 1.5;
  --line-height-heading: 1.2;

  /* Borders & shadows */
  --border-radius-sm: 0.25rem;
  --border-radius: 0.5rem;
  --border-radius-lg: 1rem;
  --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --box-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Global styles */
body {
  font-family: var(--font-family);
  line-height: var(--line-height-body);
  color: var(--gray-800);
  background-color: var(--light-color);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: var(--line-height-heading);
  font-weight: 600;
  margin-bottom: var(--space-2);
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--secondary-color);
}

.btn {
  border-radius: var(--border-radius);
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background-color: #8035e0;
  border-color: #8035e0;
}

.btn-outline-light {
  color: var(--light-color);
  border-color: var(--light-color);
}

.btn-outline-light:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.section-header {
  margin-bottom: var(--space-5);
}

/* Navbar */
#mainNav {
  transition: all 0.3s ease;
  padding: 1rem 0;
  background-color: var(--dark-color);
}

#mainNav.scrolled {
  background-color: var(--dark-color);
  box-shadow: var(--box-shadow);
}

.navbar-brand {
  font-weight: 800;
  font-size: 1.75rem;
}

.eye-icon {
  font-size: 1.5rem;
  animation: blink 5s infinite;
}

.nav-link {
  font-weight: 600;
  padding: 0.5rem 1rem !important;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--secondary-color) !important;
}

.btn-connect {
  background-color: var(--secondary-color);
  color: var(--dark-color) !important;
  border-radius: var(--border-radius);
  padding: 0.5rem 1.5rem !important;
  margin-left: var(--space-2);
  transition: all 0.3s ease;
}

.btn-connect:hover {
  background-color: #0ed085;
  color: var(--dark-color) !important;
  transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
  background-color: var(--dark-color);
  color: var(--light-color);
  padding: 12rem 0 8rem;
  position: relative;
  overflow: hidden;
}

.hero-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 30%;
  background: linear-gradient(to top, var(--light-color), transparent);
  opacity: 0.05;
  z-index: 1;
}

.hero-text {
  position: relative;
  z-index: 2;
}

.and-text {
  color: var(--gray-300);
  font-weight: 400;
}

.mints-text {
  color: var(--secondary-color);
  position: relative;
}

.solana-badge {
  display: inline-flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
}

.solana-logo {
  width: 40px;
  height: 40px;
  margin-right: 0.5rem;
  border-radius: 50%;
}

.nft-showcase {
  position: relative;
  z-index: 2;
}

.nft-card {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--box-shadow-lg);
}

.eye-overlay {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  z-index: 3;
  opacity: 0.8;
  filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.5));
}

.nft-card img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

.nft-card img,
.nft-card .img-fluid {
  width: 100%;
  max-width: 300px;
  max-height: 340px;
  margin: 0 auto;
  display: block;
  height: auto;
  transition: transform 0.5s ease;
  object-fit: cover;
}

/* Responsive: even smaller on mobile */
@media (max-width: 767px) {
  .nft-card img,
  .nft-card .img-fluid {
    max-width: 80vw;
    max-height: 340px;
  }

  .token-stats {
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
  }

  .stat-item {
    flex: 1;
    /* min-width: 33%; */
    padding: var(--space-1);
    text-align: center;
  }

  .buy-btn{
    margin-bottom: 1rem;
  }
}

.nft-card:hover img {
  transform: scale(1.05);
}

.nft-card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: var(--light-color);
}

.nft-card-info h3 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.mint-time {
  color: var(--secondary-color);
  font-weight: 600;
}

/* Features Section */
.feature-card {
  background-color: var(--light-color);
  padding: var(--space-3);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-lg);
}

.feature-icon {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: var(--space-2);
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: var(--space-1);
}

/* Counter Section */
.counter-section {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: var(--light-color);
  padding: var(--space-5) 0;
}

.counter-item {
  padding: var(--space-2);
}

.counter {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: var(--space-1);
}

.counter-item h3 {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: 0;
}

/* Drops Section */
.drop-card {
  background-color: var(--light-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.drop-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-lg);
}

.drop-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.drop-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.drop-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 1rem;
}

.live-now {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), transparent);
}

.countdown {
  background-color: var(--dark-color);
  color: var(--light-color);
  padding: 0.25rem 0.75rem;
  border-radius: var(--border-radius-sm);
  font-weight: 600;
  font-size: 0.875rem;
}

.live {
  background-color: var(--danger-color);
  color: var(--light-color);
  padding: 0.25rem 0.75rem;
  border-radius: var(--border-radius-sm);
  font-weight: 600;
  font-size: 0.875rem;
  animation: pulse 2s infinite;
}

.drop-info {
  padding: var(--space-3);
}

.drop-info h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.creator {
  display: flex;
  align-items: center;
  margin-bottom: var(--space-2);
}

.creator-img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  margin-right: 0.5rem;
  object-fit: cover;
}

.creator span {
  color: var(--gray-700);
  font-size: 0.875rem;
}

.drop-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: var(--space-2);
}

.price {
  font-weight: 700;
  color: var(--primary-color);
}

/* How It Works Section */
.timeline {
  position: relative;
  padding: var(--space-4) 0;
}

.timeline:before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 4px;
  background-color: var(--primary-color);
  left: 50%;
  margin-left: -2px;
}

.timeline-item {
  padding: var(--space-3) 0;
  position: relative;
  width: 50%;
  margin-left: 50%;
  padding-left: var(--space-4);
}

.timeline-item:nth-child(even) {
  margin-left: 0;
  padding-left: 0;
  padding-right: var(--space-4);
}

.timeline-dot {
  position: absolute;
  width: 24px;
  height: 24px;
  background-color: var(--secondary-color);
  border-radius: 50%;
  left: -12px;
  top: 28px;
  z-index: 10;
}

.timeline-item:nth-child(even) .timeline-dot {
  left: auto;
  right: -12px;
}

.timeline-content {
  padding: var(--space-3);
  background-color: var(--light-color);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.timeline-content h3 {
  color: var(--primary-color);
  margin-bottom: var(--space-1);
  font-size: 1.25rem;
}

/* Testimonials */
.testimonial-card {
  background-color: var(--light-color);
  border-radius: var(--border-radius);
  padding: var(--space-3);
  box-shadow: var(--box-shadow);
  height: 100%;
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

.testimonial-content {
  margin-bottom: var(--space-3);
}

.testimonial-content p {
  font-style: italic;
  color: var(--gray-700);
}

.testimonial-user {
  display: flex;
  align-items: center;
}

.user-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: var(--space-2);
}

.user-info h4 {
  margin-bottom: 0;
  font-size: 1rem;
}

.user-info span {
  color: var(--gray-700);
  font-size: 0.875rem;
}

/* Token Section */
.token-section {
  background-color: var(--gray-100);
  position: relative;
  overflow: hidden;
}

.token-benefits {
  margin-top: var(--space-3);
}

.benefit-item {
  display: flex;
  align-items: center;
  margin-bottom: var(--space-2);
}

.benefit-item i {
  color: var(--primary-color);
  margin-right: var(--space-1);
  font-size: 1.25rem;
}

.token-card {
  background-color: var(--light-color);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--box-shadow);
  padding: var(--space-3);
  height: 100%;
}

.token-icon {
  font-size: 3rem;
  text-align: center;
  margin-bottom: var(--space-2);
}

.token-stats {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: var(--space-3);
}

.stat-item {
  flex: 1;
  min-width: 33%;
  padding: var(--space-1);
  text-align: center;
}

.stat-item h4 {
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
  color: var(--gray-700);
}

.stat-item p {
  font-weight: 700;
  margin-bottom: 0;
}

.token-chart {
  height: 200px;
}

/* Newsletter Section */
.newsletter-section {
  background: linear-gradient(135deg, var(--primary-color), var(--dark-color));
  color: var(--light-color);
}

.newsletter-form {
  max-width: 500px;
  margin: 0 auto;
}

/* Footer */
.footer {
  background-color: var(--dark-color);
  color: var(--light-color);
  padding: 4rem 0 2rem;
}

.footer-brand h3 {
  display: flex;
  align-items: center;
  margin-bottom: var(--space-2);
  font-size: 1.75rem;
}

.footer-brand p {
  opacity: 0.8;
  margin-bottom: var(--space-3);
}

.footer-links-section {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  margin-top: 2rem;
}

.footer-links-column h4 {
  color: var(--secondary-color);
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 1rem;
}

.footer-links a {
  color: var(--gray-300);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
}

.footer-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--secondary-color);
  transition: width 0.3s ease;
}

.footer-links a:hover {
  color: var(--secondary-color);
  transform: translateX(5px);
}

.footer-links a:hover::after {
  width: 100%;
}

.social-links {
  display: flex;
  gap: var(--space-2);
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--light-color);
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: var(--secondary-color);
  color: var(--dark-color);
  transform: translateY(-3px);
}

.footer hr {
  margin: 2rem 0;
  border-color: rgba(255, 255, 255, 0.1);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.solana-link {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.solana-link:hover {
  color: #0ed085;
}

@media (max-width: 767px) {
  .footer-links-section {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .footer-links a::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-links a:hover {
    transform: translateY(-2px);
  }

  .social-links {
    justify-content: center;
  }

  .footer-bottom {
    text-align: center;
    justify-content: center;
  }

  .footer-bottom p {
    width: 100%;
    text-align: center;
  }
}

.logo-div {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #9945ff 0%, #14f195 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px 2px #9945ff33, 0 2px 8px 0 #14f19522;
  animation: logoGlow 2.5s infinite alternate;
}

@keyframes logoGlow {
  0% {
    box-shadow: 0 0 8px 2px #9945ff33, 0 2px 8px 0 #14f19522;
  }
  100% {
    box-shadow: 0 0 24px 6px #9945ff88, 0 4px 16px 0 #14f19544;
  }
}

.logo-img {
  width: 50px;
  height: 50px;
  margin-right: 0;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 0 8px #9945ff55;
  opacity: 0;
  animation: logoFadeIn 1.2s ease 0.2s forwards;
  background: #fff;
  object-fit: cover;
}

@keyframes logoFadeIn {
  to {
    opacity: 1;
  }
}

/* Responsive Adjustments */
@media (max-width: 991px) {
  .hero-section {
    padding: 8rem 0 6rem;
  }

  .timeline:before {
    left: 30px;
    margin-left: 0;
  }

  .timeline-item {
    width: 100%;
    margin-left: 0;
    padding-left: 70px;
  }

  .timeline-item:nth-child(even) {
    padding-right: 0;
    padding-left: 70px;
  }

  .timeline-dot {
    left: 18px;
  }

  .timeline-item:nth-child(even) .timeline-dot {
    left: 18px;
    right: auto;
  }
}

@media (max-width: 767px) {
  .hero-section {
    text-align: center;
  }

  .hero-text {
    margin-bottom: var(--space-4);
  }

  .btn-connect {
    margin-left: 0;
    margin-top: var(--space-1);
  }
}
