/* Home hero styles (migrated from Views/Home/_Hero.cshtml inline <style>) */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500;600;700&display=swap');

/* Slightly purplish background behind hero so card stands off */
.is-hero-host, #hero {
    background-color: #100a16; /* not pure black; subtle purple */
}

/* Subtle gradient overlay on top of the dark overlay you already have */
#hero.overlay-dark::before {
    background: linear-gradient(180deg, rgba(8, 17, 15, 0.50) 0%, rgba(8, 17, 15, 0.80) 100%);
    opacity: 1; /* keep visible */
}

/* Centered hero card */
#hero .hero-card {
    max-width: 780px;
    margin: 0 auto;
    padding: 32px 28px;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: saturate(130%) blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: #fff;
    text-align: center;
    position: relative;
    z-index: 2;
}

#hero {
    --hero-screen-x: 34%;
    --hero-screen-y: 23%;
    --hero-screen-w: 31%;
    --hero-screen-h: 14.5%;
    --hero-screen-tilt: perspective(2000px) rotateX(9deg) rotateY(8deg) skewX(3deg);
    --hero-price-x: 16%;
    --hero-price-y: 46%;
    --hero-profit-x: 4%;
    --hero-profit-y: 108%;
    --hero-exchange-x: 3%;
    --hero-exchange-y: 50%;
}

#hero .hero-cool {
    position: relative;
    width: 100%;
    max-width: 680px;
    margin: 0 auto 26px;
    isolation: isolate;
}

#hero .hero-cool-media {
    position: relative;
    width: 100%;
    aspect-ratio: 800 / 533;
    border-radius: 26px;
    overflow: visible;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
    z-index: 0;
}

#hero .hero-cool-frame {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: 1;
}

#hero .hero-cool-frame.is-active {
    opacity: 1;
}

#hero .hero-cool-frame[hidden] {
    display: none !important;
    opacity: 0;
    visibility: hidden;
}


#hero .hero-cool-screen {
    position: absolute;
    left: var(--hero-screen-x);
    top: var(--hero-screen-y);
    width: var(--hero-screen-w);
    height: var(--hero-screen-h);
    transform: var(--hero-screen-tilt);
    transform-origin: left center;
    pointer-events: none;
    z-index: 3;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.7));
    mix-blend-mode: screen;
    opacity: 0.95;
}

#hero .hero-cool-screen::before {
    content: "";
    position: absolute;
    inset: -4%;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(120, 210, 255, 0.12) 0%, rgba(10, 20, 40, 0.3) 55%, rgba(120, 210, 255, 0.15) 100%);
    opacity: 0.6;
    z-index: 0;
}

#hero .hero-cool-screen::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 8px;
    background: repeating-linear-gradient(180deg, rgba(80, 210, 255, 0.08), rgba(80, 210, 255, 0.08) 1px, transparent 1px, transparent 3px);
    opacity: 0.25;
    z-index: 0;
}

#hero .hero-cool-exchange,
#hero .hero-cool-price,
#hero .hero-cool-profit {
    position: absolute;
    z-index: 1;
    font-family: 'Orbitron', 'Raleway', sans-serif;
}

#hero .hero-cool-exchange {
    top: var(--hero-exchange-y);
    left: var(--hero-exchange-x);
    width: 16%;
    max-width: 110px;
    height: auto;
    opacity: 0.9;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.65));
}

#hero .hero-cool-price {
    top: var(--hero-price-y);
    left: var(--hero-price-x);
    font-weight: 700;
    font-size: clamp(12px, 2.6vw, 30px);
    letter-spacing: 0.01em;
    color: rgba(245, 251, 255, 0.98);
    opacity: 0.95;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.55), 0 0 12px rgba(160, 220, 255, 0.25), 0 0 18px rgba(120, 200, 255, 0.18),
        0.6px 0 0 rgba(200, 235, 255, 0.35), -0.6px 0 0 rgba(200, 235, 255, 0.35);
    -webkit-text-stroke: 0.35px rgba(200, 235, 255, 0.35);
    white-space: nowrap;
}

#hero .hero-cool-currency {
    opacity: 0.95;
    margin-right: 0.18em;
}

#hero .hero-cool-profit {
    left: var(--hero-profit-x);
    top: var(--hero-profit-y);
    font-weight: 700;
    font-size: clamp(9px, 1.1vw, 14px);
    color: rgba(110, 255, 150, 0.95);
    opacity: 0.92;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.55), 0 0 12px rgba(80, 240, 150, 0.35),
        0.5px 0 0 rgba(130, 255, 180, 0.35), -0.5px 0 0 rgba(130, 255, 180, 0.35);
    -webkit-text-stroke: 0.3px rgba(130, 255, 180, 0.35);
    white-space: nowrap;
}

#hero .hero-cool-price span,
#hero .hero-cool-profit span {
    display: inline-block;
    transform: skewX(-12deg) scaleY(0.78);
    transform-origin: left center;
}

#hero .hero-cool-price.bump,
#hero .hero-cool-profit.bump {
    animation: heroPriceBump 180ms ease-out;
}


@keyframes heroPriceBump {
    0% { transform: translateY(0); }
    40% { transform: translateY(-1px); }
    100% { transform: translateY(0); }
}

#hero .brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    margin: 0 auto 14px auto;
}

#hero .hero-title {
    font-weight: 700;
    letter-spacing: 0.2px;
}

#hero .cta .btn {
    text-shadow: none;
}

#hero .btn-signup {
    background: linear-gradient(135deg, #2bb673 0%, #1f8d5b 100%);
    border: none;
    color: #fff;
}

#hero .btn-signup:hover {
    background: linear-gradient(135deg, #30c27b 0%, #239d63 100%);
}

#hero .btn-outline-light {
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.7);
    background: transparent;
}
#hero .btn-outline-light:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

@media (max-width: 576px) {
    #hero .hero-card { padding: 22px 18px; }
    #hero .hero-cool { margin-bottom: 20px; }
    #hero .hero-cool-media { border-radius: 20px; }
    #hero {
        --hero-screen-x: 30%;
        --hero-screen-y: 29%;
        --hero-screen-w: 40%;
        --hero-screen-h: 18%;
        --hero-price-x: 20%;
        --hero-price-y: 24%;
        --hero-profit-x: 20%;
        --hero-profit-y: 48%;
        --hero-exchange-x: 6%;
        --hero-exchange-y: 16%;
    }
    #hero .hero-title { font-size: 32px; }
    #hero .lead { font-size: 14px; }
    #hero .cta .btn { display: block; width: 100%; margin: 0 0 12px 0; }
    #hero .cta .btn:last-child { margin-bottom: 0; }
}


/* Home hero video */
.home-video {
    padding: 36px 0 28px;
    background: radial-gradient(120% 80% at 10% 10%, rgba(42, 26, 74, 0.25), transparent 60%),
        radial-gradient(120% 80% at 90% 0%, rgba(17, 30, 46, 0.35), transparent 55%);
}

.home-video-header {
    text-align: center;
    margin-bottom: 12px;
}

.home-video-kicker {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #9aa4b2;
}

.home-video-title {
    margin: 4px 0 8px;
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
}

.home-video-sub {
    margin: 0 auto;
    max-width: 680px;
    color: #b9c2cf;
    font-size: 14px;
}

.home-video-frame {
    border-radius: 20px;
    padding: 8px;
    background: rgba(10, 12, 18, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

.home-video-embed {
    position: relative;
    padding-top: 56.25%;
    border-radius: 14px;
    overflow: hidden;
    background: #0b0d12;
}

.home-video-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 900px) {
    .home-video-title { font-size: 24px; }
}

@media (max-width: 768px) {
    .home-video { display: none; }
}
