@import url('https://fonts.googleapis.com/css2?family=Fustat:wght@300;400;500;600;700&family=Manrope:wght@300;400;500;600;700&display=swap');

body {
  font-family: "Manrope", sans-serif;
  color: #888888;
  background-color: #050505;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Fustat", sans-serif;
  color: #ffffff;
  letter-spacing: -0.025em;
}

/* Coincraft Primary Button */
.primary-btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-weight: 600;
  color: #050505;
  background-color: #ffffff;
  border-radius: 9999px;
  transition: all 0.3s ease;
  z-index: 10;
  gap: 0.5rem;
  text-decoration: none;
}

.primary-btn-text-wrap {
  position: relative;
  height: 1.5rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.primary-btn-text {
  height: 1.5rem;
  display: flex;
  align-items: center;
  transition: transform 0.3s ease;
}

.primary-btn:hover .primary-btn-text {
  transform: translateY(-100%);
}

.primary-btn-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
}

/* Coincraft Secondary Button */
.secondary-btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-weight: 600;
  color: #ffffff;
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  transition: all 0.3s ease;
  text-decoration: none;
}
.secondary-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Coincraft Glass Card */
.glass-card {
  background-color: rgba(17, 17, 17, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  position: relative;
  overflow: hidden;
}

.glass-header {
  background-color: rgba(5, 5, 5, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.section-padding {
  padding-top: 5rem;
  padding-bottom: 5rem;
}
@media (min-width: 1024px) {
  .section-padding {
    padding-top: 8rem;
    padding-bottom: 8rem;
  }
}

.container-custom {
  width: 100%;
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 640px) {
  .container-custom {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}
@media (min-width: 1024px) {
  .container-custom {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #050505;
}
::-webkit-scrollbar-thumb {
  background: #222;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: #444;
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Base Animations */
.reveal-up {
  opacity: 0;
  transform: translateY(30px);
}

::selection {
  background-color: #fff;
  color: #000;
}

/* Background Gradients (Coincraft signature glow) */
.hm-hero-bg-color-box {
  position: absolute;
  top: -15%;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  height: 700px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, rgba(6, 182, 212, 0.08) 45%, rgba(5, 5, 5, 0) 70%);
  z-index: -1;
  pointer-events: none;
  filter: blur(40px);
}

/* Glow Borders */
.glow-border {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(180deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* Spotlight Text Glow */
.text-glow-spotlight {
  background: radial-gradient(circle 120px at var(--x, 50%) var(--y, 50%), #ffffff 0%, rgba(255, 255, 255, 0.3) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
  transition: background 0.05s linear;
}
