/* Custom CSS for XOLO Token Website */

/* CSS Variables */
:root {
  --xolo-primary: #8B5CF6;
  --xolo-secondary: #A855F7;
  --xolo-accent: #EC4899;
  --xolo-dark: #0F0F23;
  --xolo-darker: #050014;
  --gradient-1: linear-gradient(135deg, var(--xolo-primary), var(--xolo-secondary));
  --gradient-2: linear-gradient(135deg, var(--xolo-secondary), var(--xolo-accent));
  --gradient-3: linear-gradient(135deg, var(--xolo-primary), var(--xolo-accent));
}

/* Custom Animations */
@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }
}

@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes pulse-glow {

  0%,
  100% {
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
  }

  50% {
    box-shadow: 0 0 40px rgba(139, 92, 246, 0.6);
  }
}

@keyframes twinkle {

  0%,
  100% {
    opacity: 0.3;
  }

  50% {
    opacity: 1;
  }
}

@keyframes ripple-animation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

@keyframes metric-entrance {
  0% {
    transform: translateY(30px) rotateX(-15deg);
    opacity: 0;
  }

  100% {
    transform: translateY(0) rotateX(0);
    opacity: 1;
  }
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Body Styles */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--xolo-darker);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--xolo-primary), var(--xolo-accent));
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--xolo-secondary), var(--xolo-primary));
}

/* Navigation Styles */
.nav-link {
  color: white;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: #EC4899;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, #8B5CF6, #EC4899);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.mobile-nav-link {
  display: block;
  padding: 0.75rem 1rem;
  color: white;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.mobile-nav-link:hover {
  color: #EC4899;
  background-color: rgba(255, 255, 255, 0.1);
}

/* Hero Section Fixes */
#home {
  min-height: 100vh;
  position: relative;
}

/* Ensure content has proper spacing */
.hero-content {
  padding: 4rem 0 2rem 0;
  /* Reduced padding since we're using pt-24 on the section */
  position: relative;
  z-index: 10;
}

/* Metric Cards */
.metric-card {
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  transition: all 0.5s ease;
}

.metric-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Section Titles */
.section-title {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  background: linear-gradient(to right, #C084FC, #F472B6, #A855F7);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  background-size: 200% 200%;
  animation: gradient 3s ease infinite;
}

.section-subtitle {
  font-size: 1.25rem;
  color: #D1D5DB;
  max-width: 32rem;
  margin: 0 auto;
}

/* Button Styles */
.cta-button {
  padding: 1rem 2rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 1.125rem;
  transition: all 0.3s ease;
  transform: scale(1);
  position: relative;
  overflow: hidden;
}

.cta-button:hover {
  transform: scale(1.05);
}

.cta-primary {
  background: linear-gradient(135deg, #8B5CF6, #A855F7);
  color: white;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.cta-primary:hover {
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.25);
  background: linear-gradient(135deg, #9333EA, #C026D3) !important;
  animation: pulse-glow 2s infinite;
}

.cta-secondary {
  background: transparent;
  border: 2px solid #8B5CF6;
  color: #C084FC;
}

.cta-secondary:hover {
  background: #8B5CF6;
  color: white;
}

/* Step Cards */
.step-card-enhanced {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.4), rgba(236, 72, 153, 0.3));
  backdrop-filter: blur(8px);
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid rgba(139, 92, 246, 0.2);
  transition: all 0.5s ease;
  position: relative;
  overflow: hidden;
}

.step-card-enhanced:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(139, 92, 246, 0.3);
}

.step-header {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.step-number-enhanced {
  width: 4rem;
  height: 4rem;
  background: linear-gradient(90deg, #8B5CF6, #EC4899);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 1.25rem;
}

.step-connector {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, #8B5CF6, transparent);
  margin-left: 1rem;
}

.step-card-enhanced:last-child .step-connector {
  display: none;
}

.step-icon-enhanced {
  width: 5rem;
  height: 5rem;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.5), rgba(236, 72, 153, 0.5));
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.875rem;
  color: #EC4899;
  margin: 0 auto 1.5rem auto;
}

.step-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
  margin-bottom: 1rem;
  text-align: center;
}

.step-description {
  color: #D1D5DB;
  margin-bottom: 1.5rem;
  text-align: center;
  line-height: 1.625;
}

/* Option styles */
.wallet-options,
.exchange-options,
.dex-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.wallet-option-enhanced,
.exchange-option-enhanced,
.dex-option-enhanced {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  background: rgba(31, 41, 55, 0.5);
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(107, 114, 128, 0.3);
}

.wallet-option-enhanced:hover,
.exchange-option-enhanced:hover,
.dex-option-enhanced:hover {
  background: rgba(55, 65, 81, 0.5);
  border-color: rgba(139, 92, 246, 0.5);
}

.popularity-badge,
.rating,
.gas-indicator {
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
  font-weight: 600;
}

.popularity-badge {
  background: rgba(34, 197, 94, 0.2);
  color: #86EFAC;
}

.rating {
  color: #FBBF24;
}

.gas-indicator.low {
  background: rgba(34, 197, 94, 0.2);
  color: #86EFAC;
}

.gas-indicator.medium {
  background: rgba(234, 179, 8, 0.2);
  color: #FDE047;
}

/* Feature Cards */
.feature-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: linear-gradient(to right, rgba(139, 92, 246, 0.2), rgba(236, 72, 153, 0.2));
  border-radius: 0.75rem;
  border: 1px solid rgba(139, 92, 246, 0.1);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateX(10px);
  background: linear-gradient(to right, rgba(139, 92, 246, 0.3), rgba(236, 72, 153, 0.2));
  border-color: rgba(139, 92, 246, 0.3);
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  background: linear-gradient(to right, #8B5CF6, #EC4899);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 1.25rem;
  flex-shrink: 0;
}

/* Contract Display */
.contract-display {
  max-width: 32rem;
  margin: 0 auto;
}

.contract-box {
  background: linear-gradient(to right, rgba(15, 15, 35, 0.8), rgba(15, 15, 35, 0.8));
  backdrop-filter: blur(8px);
  border-radius: 0.75rem;
  padding: 1.5rem;
  border: 1px solid rgba(139, 92, 246, 0.3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.contract-code {
  color: #C084FC;
  font-size: 0.875rem;
  font-family: monospace;
  flex: 1;
  min-width: 0;
  word-break: break-all;
}

.copy-btn-enhanced {
  padding: 0.75rem;
  background: linear-gradient(to right, #8B5CF6, #EC4899);
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  color: white;
  border: none;
  cursor: pointer;
}

.copy-btn-enhanced:hover {
  transform: scale(1.1);
}

.contract-warning {
  font-size: 0.875rem;
  color: #FCD34D;
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Important Notes */
.important-notes {
  background: linear-gradient(to right, rgba(139, 92, 246, 0.3), rgba(236, 72, 153, 0.3));
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid rgba(139, 92, 246, 0.2);
}

.notes-header {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}

.notes-header i {
  color: #FCD34D;
  font-size: 1.5rem;
  margin-right: 0.75rem;
}

.notes-header h3 {
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
}

.note-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem;
  background: rgba(31, 41, 55, 0.3);
  border-radius: 0.75rem;
  border: 1px solid rgba(107, 114, 128, 0.2);
}

.note-icon {
  width: 4rem;
  height: 4rem;
  background: linear-gradient(to right, #8B5CF6, #EC4899);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.note-content h4 {
  font-size: 1.125rem;
  font-weight: bold;
  color: white;
  margin-bottom: 0.5rem;
}

.note-content p {
  color: #D1D5DB;
  font-size: 0.875rem;
}

/* Social Cards */
.social-card {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.4), rgba(236, 72, 153, 0.3));
  backdrop-filter: blur(8px);
  border-radius: 0.75rem;
  padding: 2rem;
  border: 1px solid rgba(139, 92, 246, 0.2);
  transition: all 0.5s ease;
}

.social-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(139, 92, 246, 0.3);
}

.social-link {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(to right, #8B5CF6, #EC4899);
  color: white;
  border-radius: 9999px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-link:hover {
  transform: scale(1.05);
  background: linear-gradient(to right, #7C3AED, #DB2777);
}

/* Newsletter */
.newsletter-input {
  padding: 0.75rem 1rem;
  background: rgba(31, 41, 55, 0.5);
  border: 1px solid #4B5563;
  border-radius: 0.5rem;
  color: white;
}

.newsletter-input::placeholder {
  color: #9CA3AF;
}

.newsletter-input:focus {
  outline: none;
  border-color: #8B5CF6;
  box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.2);
}

.newsletter-btn {
  padding: 0.75rem 1.5rem;
  background: linear-gradient(to right, #8B5CF6, #EC4899);
  color: white;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.newsletter-btn:hover {
  transform: scale(1.05);
  background: linear-gradient(to right, #7C3AED, #DB2777);
}

/* Featured Image Styles */
.featured-image-container {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  cursor: pointer;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.featured-image {
  width: 100%;
  height: 24rem;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.featured-image-container:hover .featured-image {
  transform: scale(1.05);
}

.featured-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 15, 35, 0.9), rgba(15, 15, 35, 0.3), transparent);
  opacity: 0;
  transition: all 0.5s ease;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 2rem;
}

.featured-image-container:hover .featured-image-overlay {
  opacity: 1;
}

.featured-image-overlay .overlay-content {
  color: white;
  transform: translateY(2rem);
  transition: transform 0.5s ease;
}

.featured-image-container:hover .featured-image-overlay .overlay-content {
  transform: translateY(0);
}

@media (min-width: 768px) {
  .featured-image {
    height: 31.25rem;
  }
}

/* Footer */
.footer-social {
  width: 2.5rem;
  height: 2.5rem;
  background: #1F2937;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #D1D5DB;
  transition: all 0.3s ease;
  text-decoration: none;
}

.footer-social:hover {
  background: #8B5CF6;
  color: white;
  transform: scale(1.1);
}

.footer-link {
  color: #9CA3AF;
  transition: color 0.3s ease;
  text-decoration: none;
}

.footer-link:hover {
  color: white;
}

/* Stars Animation */
.stars {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(2px 2px at 20px 30px, #eee, transparent),
    radial-gradient(2px 2px at 40px 70px, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(1px 1px at 90px 40px, #fff, transparent),
    radial-gradient(1px 1px at 130px 80px, rgba(255, 255, 255, 0.3), transparent),
    radial-gradient(2px 2px at 160px 30px, #ddd, transparent);
  background-repeat: repeat;
  background-size: 200px 100px;
  animation: twinkle 4s ease-in-out infinite alternate;
}

/* Floating Shapes Animation */
.floating-shapes {
  position: absolute;
  inset: 0;
}

.shape {
  position: absolute;
  opacity: 0.1;
  animation: float 20s infinite ease-in-out;
}

.shape-1 {
  width: 16rem;
  height: 16rem;
  background-color: #8B5CF6;
  border-radius: 50%;
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.shape-2 {
  width: 12rem;
  height: 12rem;
  background-color: #EC4899;
  border-radius: 50%;
  top: 60%;
  right: 15%;
  animation-delay: 5s;
}

.shape-3 {
  width: 8rem;
  height: 8rem;
  background-color: #6366F1;
  border-radius: 50%;
  bottom: 20%;
  left: 20%;
  animation-delay: 10s;
}

/* Utility classes */
.animate-gradient {
  background-size: 400% 400%;
  animation: gradient 4s ease infinite;
}

/* Responsive adjustments */
@media (min-width: 768px) {
  .section-title {
    font-size: 4rem;
  }
}

/* Print Styles */
@media print {
  .no-print {
    display: none !important;
  }
}