body, html {
    width: 100%;
    overflow-x: hidden;
}

.custom-bg {
    background: #000214;
}
.nav-bg {
    background: #000214;
}
.gradient-text {
    background: #fff;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: scale(1.04);
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}

.white-glow {
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.15);
}

.gradient-border {
    position: relative;
    border: double 1px transparent;
    border-radius: 0.75rem;
    background-image: linear-gradient(#111827, #15171b),
        linear-gradient(to right, #ffffff, #4a5568);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@font-face {
    font-family: 'Proto Sans 42';
    src: url('proto-sans-42.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

.proto-sans {
    font-family: 'Proto Sans 42', sans-serif;
}
.vampiro-one {
  font-family: "Vampiro One", serif;
  font-weight: 400;
  font-style: normal;
}

.glow-on-hover {
    border: none;
    outline: none;
    color: #172554; 
    background: #fff;
    cursor: pointer;
    position: relative;
    z-index: 0;
    border-radius: 10px;
}

.glow-on-hover:before {
    content: '';
    background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
    position: absolute;
    top: -2px;
    left: -2px;
    background-size: 400%;
    z-index: -1;
    filter: blur(5px);
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    animation: glowing 20s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    border-radius: 10px;
}

.glow-on-hover:active {
    color: #fff;
}

.glow-on-hover:active:after {
    background: transparent;
}

.glow-on-hover:hover:before {
    opacity: 1;
}

.glow-on-hover:after {
    z-index: -1;
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: #fff000;
    left: 0;
    top: 0;
    border-radius: 10px;
}

@keyframes glowing {
    0% { background-position: 0 0; }
    50% { background-position: 400% 0; }
    100% { background-position: 0 0; }
}

/* How It Works Section icon overlay and link color */
.howitworks-icon-bg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 9999px;
  background: rgba(255, 240, 0, 0.18);
  margin-bottom: 1.25rem;
}
.how-it-works-card a {
  color: #fff000 !important;
  font-weight: 500;
}

.slide-up-on-hover {
    transition: transform 0.3s cubic-bezier(.4,2,.6,1), box-shadow 0.3s;
}
.slide-up-on-hover:hover {
    transform: translateY(-24px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}

.referral-bonus-box {
    background: rgb(75, 65, 5);
    border: 1.2px solid #fff000;
}

.referral-bonus-box-code {
    border: 1px solid #fff000;
}

.text-fff000 {
    color: #fff000;
}

/* Smartphone mockup video embed styles (rounded corners, max width, centered) */
.landing-video-mockup {
  max-width: 400px;
  width: 100%;
  margin: 0 auto 2rem auto;
  border-radius: 2rem;
}
.landing-video-mockup wistia-player,
.landing-video-mockup > * {
  border-radius: 2rem;
}
wistia-player[media-id='kw3ree0p7g']:not(:defined) {
  border-radius: 2rem;
  background: center / contain no-repeat url('https://fast.wistia.com/embed/medias/kw3ree0p7g/swatch');
  display: block;
  filter: blur(5px);
  padding-top:180.83%;
}
@media (max-width: 450px) {
  .landing-video-mockup { max-width: 95vw; }
}

/* Smartphone video crop: crops video to phone only */
.landing-video-crop {
  width: 100%;
  max-width: 350px;
  aspect-ratio: 9/19;
  overflow: hidden;
  margin: 0 auto 2rem auto;
  border-radius: 2rem;
  position: relative;
}
.landing-video-crop wistia-player,
.landing-video-crop > * {
  width: 120%;
  height: 120%;
  object-fit: cover;
  position: absolute;
  left: -10%;
  top: -10%;
  border-radius: 2rem;
}
