/* Bitcoin Puzzles Homepage Styles - Dark Theme */

a{
  color: #dcb715;
  text-decoration: none;
}

a:hover{
  color: #ecc735;
}

/* Hero Section - Dark Theme */
.hero {
  min-height: calc(100vh - 64px) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  padding: 5rem 2rem !important;
  background: 
    radial-gradient(ellipse at top, rgba(247, 147, 26, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(247, 147, 26, 0.08) 0%, transparent 50%),
    linear-gradient(135deg, #0a0e1a 0%, #1e293b 50%, #0f172a 100%) !important;
  place-items: unset !important;
  position: relative !important;
  overflow: hidden !important;
}

.hero::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background: 
    radial-gradient(circle at 30% 50%, rgba(247, 147, 26, 0.03) 0%, transparent 40%),
    radial-gradient(circle at 70% 80%, rgba(59, 130, 246, 0.03) 0%, transparent 40%) !important;
  animation: pulse-bg 8s ease-in-out infinite !important;
  pointer-events: none !important;
}

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

.hero-inner {
  max-width: 900px !important;
  margin: 0 auto !important;
  position: relative !important;
  z-index: 1 !important;
}

/* Pre-title "BitcoinPuzzles" */
.hero-pretitle {
  font-size: 1rem !important;
  font-weight: 700 !important;
  margin: 0 0 1.5rem 0 !important;
  line-height: 1.1 !important;
  color: #ffffff !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  opacity: 0.9 !important;
  animation: fadeInDown 0.8s ease-out !important;
}

.hero-pretitle-accent {
  background: linear-gradient(135deg, #f7931a 0%, #ffab40 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  position: relative !important;
}

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

/* Main title "Onde Entusiastas..." */
.hero-title {
  font-size: 3.75rem !important;
  font-weight: 800 !important;
  margin: 0 0 2rem 0 !important;
  line-height: 1.15 !important;
  background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  letter-spacing: -0.03em !important;
  animation: fadeInUp 0.8s ease-out 0.2s both !important;
  text-shadow: 0 2px 20px rgba(255, 255, 255, 0.1) !important;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Description text */
.hero-description {
  font-size: 1.2rem !important;
  line-height: 1.8 !important;
  color: #cbd5e1 !important;
  margin: 0 auto 3rem !important;
  max-width: 720px !important;
  animation: fadeInUp 0.8s ease-out 0.4s both !important;
  font-weight: 400 !important;
}

/* CTA Buttons */
.cta-row {
  display: flex !important;
  gap: 1.25rem !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  margin-top: 2.5rem !important;
  animation: fadeInUp 0.8s ease-out 0.6s both !important;
}

.button {
  padding: 1rem 2rem !important;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  border-radius: 12px !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.625rem !important;
  appearance: none !important;
  box-shadow: none !important;
  border: 2px solid transparent !important;
  position: relative !important;
  overflow: hidden !important;
}

.button.primary {
  background: linear-gradient(135deg, #f7931a 0%, #ffab40 100%) !important;
  color: #0f172a !important;
  border: none !important;
  box-shadow: 0 8px 24px rgba(247, 147, 26, 0.35), 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

.button.primary::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: -100% !important;
  width: 100% !important;
  height: 100% !important;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent) !important;
  transition: left 0.5s ease !important;
}

.button.primary:hover::before {
  left: 100% !important;
}

.button.primary:hover {
  transform: translateY(-3px) scale(1.02) !important;
  box-shadow: 0 12px 32px rgba(247, 147, 26, 0.45), 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.button.primary:active {
  transform: translateY(-1px) scale(1) !important;
}

.button.secondary {
  background: rgba(15, 23, 42, 0.5) !important;
  backdrop-filter: blur(10px) !important;
  color: #f7931a !important;
  border: 2px solid rgba(247, 147, 26, 0.4) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1) !important;
}

.button.secondary::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: linear-gradient(135deg, rgba(247, 147, 26, 0.1) 0%, rgba(247, 147, 26, 0.05) 100%) !important;
  opacity: 0 !important;
  transition: opacity 0.3s ease !important;
}

.button.secondary:hover {
  background: rgba(15, 23, 42, 0.7) !important;
  border-color: #f7931a !important;
  transform: translateY(-3px) scale(1.02) !important;
  box-shadow: 0 8px 24px rgba(247, 147, 26, 0.2), 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.button.secondary:hover::before {
  opacity: 1 !important;
}

.button.secondary:active {
  transform: translateY(-1px) scale(1) !important;
}

.button .arrow {
  font-size: 1.25rem !important;
  margin-left: 0.25rem !important;
}

/* Featured Content */
.featured-content {
  padding: 5rem 0 !important;
  text-align: left !important;
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 50%, #0f172a 100%) !important;
  position: relative !important;
}

.featured-content::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 1px !important;
  background: linear-gradient(90deg, transparent, rgba(247, 147, 26, 0.3), transparent) !important;
}

.featured-content h2 {
  font-size: 2.5rem !important;
  margin: 0 0 3rem 0 !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  position: relative !important;
  display: inline-block !important;
}

.featured-content h2::after {
  content: '' !important;
  position: absolute !important;
  bottom: -12px !important;
  left: 0 !important;
  width: 80px !important;
  height: 4px !important;
  background: linear-gradient(90deg, #f7931a, #ffab40) !important;
  border-radius: 2px !important;
}

/* Container Override */
.featured-content .container {
  display: block !important;
}

/* No featured puzzles message */
.no-featured-puzzles {
  color: #94a3b8 !important;
  font-size: 1.1rem !important;
  text-align: center !important;
  padding: 3rem 1rem !important;
  background: rgba(15, 23, 42, 0.3) !important;
  border-radius: 12px !important;
  border: 1px solid rgba(148, 163, 184, 0.1) !important;
  margin: 2rem 0 !important;
  font-weight: 400 !important;
  letter-spacing: 0.01em !important;
}

/* Footer - Dark theme */
.site-footer {
  background: #0f172a !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  margin-top: 0 !important;
}

.site-footer .container {
  color: #94a3b8 !important;
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    padding: 4rem 1.5rem !important;
    min-height: calc(100vh - 64px) !important;
  }
  
  .hero-pretitle {
    font-size: 0.875rem !important;
    margin-bottom: 1.25rem !important;
  }
  
  .hero-title {
    font-size: 2.5rem !important;
    margin-bottom: 1.5rem !important;
  }
  
  .hero-description {
    font-size: 1.05rem !important;
    margin-bottom: 2.5rem !important;
  }
  
  .cta-row {
    flex-direction: column !important;
    align-items: center !important;
    gap: 1rem !important;
    margin-top: 2rem !important;
  }
  
  .button {
    width: 100% !important;
    justify-content: center !important;
    max-width: 320px !important;
    margin: 0 auto !important;
    padding: 0.875rem 1.75rem !important;
    font-size: 1rem !important;
  }
  
  .featured-content {
    padding: 4rem 0 !important;
  }
  
  .featured-content h2 {
    font-size: 2rem !important;
    margin-bottom: 2.5rem !important;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 3rem 1.25rem !important;
  }
  
  .hero-pretitle {
    font-size: 0.8rem !important;
  }
  
  .hero-title {
    font-size: 2rem !important;
    line-height: 1.2 !important;
  }
  
  .hero-description {
    font-size: 1rem !important;
    line-height: 1.7 !important;
  }
  
  .button {
    max-width: 100% !important;
    padding: 0.8rem 1.5rem !important;
    font-size: 0.95rem !important;
  }
  
  .featured-content h2 {
    font-size: 1.75rem !important;
  }
}
