/* ============================================================
   Whale Miners — Mining / Digital Assets presentation
   Gold from logo (#ca9c44). Dark circuit atmosphere.
   ============================================================ */

:root {
    --wm-gold: #ca9c44;
    --wm-gold-hi: #e2c27a;
    --wm-gold-lo: #b78735;
    --wm-gold-deep: #8a6f3e;
    --wm-gold-dim: rgba(202, 156, 68, 0.12);
    --wm-gold-line: rgba(202, 156, 68, 0.28);
    --wm-bg: #080807;
    --wm-bg-2: #0f0e0c;
    --wm-bg-3: #161410;
    --wm-ink: #f3efe6;
    --wm-muted: #a39b8c;
    --wm-line: rgba(243, 239, 230, 0.08);
    --wm-radius: 4px;
    --wm-font-display: "Cormorant Garamond", "Playfair Display", Georgia, serif;
    --wm-font-ui: "Sora", "Cairo", system-ui, sans-serif;
    --wm-font-mono: "IBM Plex Mono", ui-monospace, monospace;
    --wm-max: 1120px;
    --wm-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html[dir="rtl"] {
    --wm-font-ui: "Cairo", "Sora", system-ui, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html.wm-loading,
html.wm-loading body.wm-mining {
    overflow: hidden;
    height: 100%;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
    overflow-x: clip;
    background: var(--wm-bg);
}

body.wm-mining {
    margin: 0;
    color: var(--wm-ink);
    background: var(--wm-bg);
    font-family: var(--wm-font-ui);
    font-weight: 400;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}

body.wm-mining img {
    max-width: 100%;
    height: auto;
}

.wm-shell {
    position: relative;
    z-index: 1;
}

/* ——— Ambient mining field ——— */
.wm-field {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    background:
        radial-gradient(ellipse 80% 55% at 70% -10%, rgba(202, 156, 68, 0.16), transparent 55%),
        radial-gradient(ellipse 55% 45% at -5% 60%, rgba(183, 135, 53, 0.1), transparent 50%),
        radial-gradient(ellipse 40% 30% at 90% 90%, rgba(202, 156, 68, 0.06), transparent 45%),
        var(--wm-bg);
}

.wm-field__circuit {
    position: absolute;
    inset: 0;
    opacity: 0.35;
    background-image:
        linear-gradient(rgba(202, 156, 68, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(202, 156, 68, 0.045) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 75% 65% at 50% 35%, #000 15%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 35%, #000 15%, transparent 75%);
    animation: wmCircuitDrift 48s linear infinite;
}

.wm-field__nodes {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='280' height='280'%3E%3Cg fill='none' stroke='%23ca9c44' stroke-opacity='0.18'%3E%3Cpath d='M40 40h80v40h60'/%3E%3Cpath d='M180 80v60h40v80'/%3E%3Cpath d='M60 160h100v40'/%3E%3Ccircle cx='40' cy='40' r='3' fill='%23ca9c44' fill-opacity='0.35' stroke='none'/%3E%3Ccircle cx='120' cy='80' r='2.5' fill='%23e2c27a' fill-opacity='0.4' stroke='none'/%3E%3Ccircle cx='180' cy='80' r='2.5' fill='%23ca9c44' fill-opacity='0.35' stroke='none'/%3E%3Ccircle cx='220' cy='140' r='3' fill='%23e2c27a' fill-opacity='0.35' stroke='none'/%3E%3Ccircle cx='160' cy='200' r='2.5' fill='%23ca9c44' fill-opacity='0.3' stroke='none'/%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.55;
    animation: wmNodesPulse 12s ease-in-out infinite alternate;
}

@keyframes wmCircuitDrift {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(-64px, -32px, 0); }
}

@keyframes wmNodesPulse {
    from { opacity: 0.35; }
    to { opacity: 0.65; }
}

@media (prefers-reduced-motion: reduce) {
    .wm-field__circuit,
    .wm-field__nodes,
    .wm-hash-pulse,
    .wm-brand-mark__glow,
    .wm-hero__plane::after,
    .wm-feature__icon,
    .wm-who__panel::before,
    .wm-reveal,
    .wm-hero__inner > *,
    .wm-btc--main,
    .wm-btc--main .wm-btc__coin,
    .wm-btc--sat,
    .wm-btc--sat .wm-btc__coin,
    .wm-btc-stage__glow {
        animation: none !important;
        transition: none !important;
    }

    .wm-reveal {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
    }
}

/* ——— Layout helpers ——— */
.wm-wrap {
    width: min(var(--wm-max), calc(100% - 40px));
    margin-inline: auto;
}

.wm-section {
    position: relative;
    padding: 88px 0;
    overflow-x: clip;
    overflow-y: visible;
}

.wm-section--tight {
    padding-top: 56px;
}

.wm-section__head {
    margin-bottom: 40px;
    max-width: 640px;
}

.wm-section__head--center {
    margin-inline: auto;
    text-align: center;
}

.wm-kicker {
    display: inline-block;
    margin: 0 0 12px;
    font-family: var(--wm-font-mono);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--wm-gold-hi);
}

.wm-h2 {
    margin: 0 0 12px;
    font-family: var(--wm-font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: 0.01em;
    color: var(--wm-ink);
}

.wm-lead {
    margin: 0;
    color: var(--wm-muted);
    font-size: 1.02rem;
    line-height: 1.7;
}

.wm-rule {
    width: 56px;
    height: 2px;
    margin: 16px 0 0;
    border: 0;
    background: linear-gradient(90deg, var(--wm-gold), transparent);
}

.wm-section__head--center .wm-rule {
    margin-inline: auto;
}

/* ——— Intro splash ——— */
.wm-intro {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--wm-bg);
    transition: opacity 0.7s var(--wm-ease);
}

.wm-intro.hide {
    opacity: 0;
    pointer-events: none;
}

.wm-intro img {
    width: 220px;
    max-width: 55vw;
    filter: drop-shadow(0 0 28px rgba(202, 156, 68, 0.45));
    animation: wmLogoBreath 1.8s ease-in-out infinite alternate;
}

@keyframes wmLogoBreath {
    from { transform: scale(1); }
    to { transform: scale(1.06); }
}

/* ——— Nav ——— */
#mainNavbar.wm-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    padding: 14px 0;
    background: rgba(8, 8, 7, 0.72);
    border-bottom: 1px solid transparent;
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    transition: background 0.3s var(--wm-ease), border-color 0.3s var(--wm-ease), padding 0.3s var(--wm-ease);
    overflow: visible !important;
}

#mainNavbar.wm-nav.scrolled {
    padding: 8px 0;
    background: rgba(8, 8, 7, 0.94);
    border-bottom-color: var(--wm-gold-line);
}

#mainNavbar.wm-nav .container {
    overflow: visible !important;
}

@media (min-width: 992px) {
    #mainNavbar.wm-nav > .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap;
        width: 100%;
        gap: 1rem;
    }

    #mainNavbar.wm-nav .navbar-brand {
        flex: 0 0 auto;
        margin: 0 !important;
        order: 1;
    }

    #mainNavbar.wm-nav .navbar-collapse {
        flex: 0 1 auto;
        flex-basis: auto !important;
        display: flex !important;
        justify-content: flex-end;
        order: 2;
        width: auto;
    }

    html[dir="rtl"] #mainNavbar.wm-nav > .container {
        /* RTL: logo at inline-start (right), menu at inline-end (left) */
        flex-direction: row;
    }

    html[dir="rtl"] #mainNavbar.wm-nav .navbar-brand {
        order: 1;
    }

    html[dir="rtl"] #mainNavbar.wm-nav .navbar-collapse {
        order: 2;
        justify-content: flex-start;
    }

    #mainNavbar.wm-nav .navbar-nav {
        flex-direction: row !important;
        align-items: center;
        width: auto;
        margin: 0 !important;
    }

    html[dir="ltr"] #mainNavbar.wm-nav .navbar-nav {
        direction: ltr;
    }

    html[dir="rtl"] #mainNavbar.wm-nav .navbar-nav {
        direction: rtl;
    }
}

@media (max-width: 991.98px) {
    #mainNavbar.wm-nav > .container {
        position: relative;
        display: flex;
        flex-wrap: nowrap !important;
        align-items: center;
        justify-content: flex-start;
        width: 100%;
        gap: 0.75rem;
    }

    #mainNavbar.wm-nav .navbar-brand {
        flex: 0 1 auto;
        max-width: calc(100% - 3.5rem);
        min-width: 0;
        margin: 0 !important;
        order: 1;
    }

    #mainNavbar.wm-nav .navbar-toggler {
        flex: 0 0 auto;
        margin: 0 !important;
        margin-inline-start: auto !important;
        order: 2;
        z-index: 2;
    }

    #mainNavbar.wm-nav .navbar-collapse {
        position: absolute;
        top: calc(100% + 6px);
        inset-inline: 0;
        flex: none !important;
        flex-basis: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        order: 3;
        margin: 0;
        padding: 12px;
        border: 1px solid var(--wm-gold-line);
        border-radius: 8px;
        background: rgba(15, 14, 12, 0.98);
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
        overflow: visible !important;
        z-index: 1;
    }

    #mainNavbar.wm-nav .navbar-collapse.show,
    #mainNavbar.wm-nav .navbar-collapse.collapsing {
        display: block !important;
    }

    html[dir="rtl"] #mainNavbar.wm-nav > .container {
        flex-direction: row;
    }

    #mainNavbar.wm-nav .navbar-toggler {
        border-color: #e2c27a !important;
        box-shadow: 0 0 0 1px rgba(226, 194, 122, 0.25);
    }

    #mainNavbar.wm-nav .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23fff4d4' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.8' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }

    #mainNavbar.wm-nav .navbar-nav {
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100% !important;
        margin: 0 !important;
    }

    #mainNavbar.wm-nav .navbar-nav .nav-item {
        width: 100%;
    }

    #mainNavbar.wm-nav .nav-link {
        text-align: center;
        padding: 0.75rem 1rem !important;
        border-bottom: 1px solid var(--wm-line);
    }

    #mainNavbar.wm-nav .nav-item:last-child .nav-link {
        border-bottom: none;
    }

    #mainNavbar.wm-nav .nav-item.portal-login-item {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    #mainNavbar.wm-nav .portal-login-btn {
        margin: 8px auto !important;
        margin-inline-start: auto !important;
        margin-inline-end: auto !important;
        display: block;
        text-align: center;
        width: fit-content;
    }

    #mainNavbar.wm-nav .wm-lang-item {
        display: flex;
        justify-content: center;
        width: 100%;
    }
}

#mainNavbar.wm-nav .logo-img {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 2px 12px rgba(202, 156, 68, 0.25));
}

#mainNavbar.wm-nav .nav-link {
    font-family: var(--wm-font-ui);
    font-size: 0.86rem;
    font-weight: 500;
    color: var(--wm-muted) !important;
    padding: 0.45rem 0.85rem !important;
    letter-spacing: 0.02em;
    transition: color 0.2s ease;
}

#mainNavbar.wm-nav .nav-link:hover,
#mainNavbar.wm-nav .nav-link.active {
    color: var(--wm-gold-hi) !important;
}

#mainNavbar.wm-nav .nav-link::after {
    display: none !important;
}

#mainNavbar.wm-nav .portal-login-btn {
    padding: 0.5rem 1.1rem !important;
    border: 1px solid var(--wm-gold) !important;
    border-radius: var(--wm-radius) !important;
    background: linear-gradient(135deg, var(--wm-gold), var(--wm-gold-hi)) !important;
    color: #120f0a !important;
    font-weight: 700 !important;
}

@media (min-width: 992px) {
    #mainNavbar.wm-nav .portal-login-btn {
        margin-inline-start: 8px !important;
        margin-inline-end: 0.5rem !important;
    }
}

#mainNavbar.wm-nav .portal-login-btn:hover {
    filter: brightness(1.06);
    color: #120f0a !important;
}

#mainNavbar.wm-nav .lang-switch {
    border: 1px solid var(--wm-gold-line) !important;
    border-radius: var(--wm-radius) !important;
    background: var(--wm-gold-dim) !important;
    color: var(--wm-gold-hi) !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    padding: 0.45rem 0.9rem !important;
}

@media (min-width: 992px) {
    #mainNavbar.wm-nav .wm-lang-item {
        margin-inline-start: 0.5rem !important;
    }
}

#mainNavbar.wm-nav .navbar-toggler {
    border: 1px solid var(--wm-gold-hi) !important;
    border-radius: var(--wm-radius) !important;
    padding: 0.4rem 0.55rem !important;
    background: rgba(202, 156, 68, 0.14) !important;
}

#mainNavbar.wm-nav .navbar-toggler-icon {
    width: 1.45em;
    height: 1.45em;
    opacity: 1;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23f3e0a8' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.6' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    background-size: 100%;
    filter: none;
}

@media (min-width: 992px) {
    #mainNavbar.wm-nav .navbar-toggler {
        display: none !important;
    }
}

/* ——— Hero ——— */
.wm-hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding: 120px 0 72px;
    overflow: clip;
}

.wm-hero__inner {
    position: relative;
    z-index: 2;
    width: min(var(--wm-max), calc(100% - 40px));
    margin-inline: auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}

.wm-hero__copy {
    min-width: 0;
}

/* ——— Bitcoin stage ——— */
.wm-btc-stage {
    position: relative;
    height: min(460px, 58vw);
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1100px;
    perspective-origin: 50% 42%;
}

.wm-btc-stage__glow {
    position: absolute;
    width: 70%;
    height: 70%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(202, 156, 68, 0.35), transparent 68%);
    filter: blur(28px);
    animation: wmGlowPulse 4s ease-in-out infinite alternate;
}

.wm-btc {
    --wm-btc-depth: 8px;
    --wm-btc-radius: 50%;
    --n: 28;
    position: absolute;
    transform-style: preserve-3d;
}

.wm-btc::before {
    content: "";
    position: absolute;
    left: 8%;
    right: 8%;
    bottom: -18%;
    height: 26%;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.5) 0%, transparent 72%);
    transform: translateZ(-30px);
    pointer-events: none;
    z-index: 0;
}

.wm-btc__coin {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    z-index: 1;
}

.wm-btc__face {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    overflow: hidden;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    z-index: 3;
    background: radial-gradient(circle at 34% 28%, #fff4d4 0%, #f0d78a 30%, #ca9c44 68%, #8a6f3e 100%);
    box-shadow:
        inset 0 0 0 1px rgba(255, 248, 230, 0.35),
        inset -5px -7px 16px rgba(40, 28, 8, 0.2);
}

.wm-btc__face-img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 50%;
    pointer-events: none;
    user-select: none;
    transform: scale(1.48);
    transform-origin: center center;
    /* coin.png B&W → gold metallic (site brand) */
    filter: sepia(1) saturate(3.1) hue-rotate(10deg) brightness(1.1) contrast(1.12);
}

.wm-btc__face-shine {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    pointer-events: none;
    background: radial-gradient(circle at 30% 24%, rgba(255, 255, 255, 0.38) 0%, rgba(255, 255, 255, 0.05) 40%, transparent 65%);
    opacity: 0.55;
}

.wm-btc__face--front {
    transform: translateZ(calc(var(--wm-btc-depth) + 0.4px));
}

.wm-btc__face--back {
    transform: rotateY(180deg) translateZ(calc(var(--wm-btc-depth) + 0.4px));
}

.wm-btc__rim {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
    pointer-events: none;
    z-index: 1;
}

/* Rim around the coin edge (Z-axis) — not a standing barrel */
.wm-btc__rim span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: calc(var(--wm-btc-depth) * 2);
    height: calc((6.2832 * var(--wm-btc-radius)) / var(--n) + 2px);
    background: linear-gradient(
        90deg,
        #5c4822 0%,
        #ca9c44 22%,
        #f3e0a8 48%,
        #8a6f3e 72%,
        #3d2f18 100%
    );
    transform:
        translate(-50%, -50%)
        rotateZ(calc(var(--i) * 360deg / var(--n)))
        translateY(calc(var(--wm-btc-radius) * -1))
        rotateX(90deg);
    backface-visibility: hidden;
}

.wm-btc--main {
    --wm-btc-depth: 10px;
    --wm-btc-radius: min(120px, 21vw);
    width: min(240px, 42vw);
    height: min(240px, 42vw);
    z-index: 3;
    animation: wmBtcFloat 5.5s ease-in-out infinite;
}

.wm-btc--main .wm-btc__coin {
    animation: wmBtcSpin3d 8s linear infinite;
}

.wm-btc--sat {
    z-index: 2;
}

.wm-btc--a {
    --wm-btc-depth: 7px;
    --wm-btc-radius: 39px;
    width: 78px;
    height: 78px;
    top: 8%;
    right: 12%;
    animation: wmBtcOrbitA 9s ease-in-out infinite;
}

.wm-btc--a .wm-btc__coin {
    animation: wmBtcSpin3d 5.5s linear infinite reverse;
}

.wm-btc--b {
    --wm-btc-depth: 6px;
    --wm-btc-radius: 28px;
    width: 56px;
    height: 56px;
    bottom: 14%;
    left: 10%;
    animation: wmBtcOrbitB 7.5s ease-in-out infinite;
}

.wm-btc--b .wm-btc__coin {
    animation: wmBtcSpin3d 4.5s linear infinite;
}

.wm-btc--c {
    --wm-btc-depth: 5px;
    --wm-btc-radius: 22px;
    width: 44px;
    height: 44px;
    top: 42%;
    left: 6%;
    opacity: 0.92;
    animation: wmBtcOrbitC 11s ease-in-out infinite;
}

.wm-btc--c .wm-btc__coin {
    animation: wmBtcSpin3d 3.8s linear infinite reverse;
}

@keyframes wmBtcSpin3d {
    0% { transform: rotateX(18deg) rotateY(0deg); }
    100% { transform: rotateX(18deg) rotateY(360deg); }
}

@keyframes wmBtcFloat {
    0%, 100% { transform: translateY(0) translateZ(0); }
    50% { transform: translateY(-18px) translateZ(24px); }
}

@keyframes wmBtcOrbitA {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
    50% { transform: translate3d(-18px, 22px, 40px) rotate(12deg); }
}

@keyframes wmBtcOrbitB {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(22px, -16px, -20px); }
}

@keyframes wmBtcOrbitC {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(14px, 18px, 30px) scale(1.08); }
}

html[dir="rtl"] .wm-btc--a {
    right: auto;
    left: 12%;
}

html[dir="rtl"] .wm-btc--b {
    left: auto;
    right: 10%;
}

html[dir="rtl"] .wm-btc--c {
    left: auto;
    right: 6%;
}

.wm-brand-mark {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 28px;
}

html[dir="rtl"] .wm-brand-mark {
    align-items: flex-end;
}

.wm-brand-mark__logo {
    width: min(280px, 72vw);
    height: auto;
    filter: drop-shadow(0 8px 40px rgba(202, 156, 68, 0.35));
    position: relative;
    z-index: 1;
}

.wm-brand-mark__glow {
    position: absolute;
    inset: 20% -10%;
    background: radial-gradient(circle, rgba(202, 156, 68, 0.28), transparent 70%);
    filter: blur(24px);
    z-index: 0;
    animation: wmGlowPulse 4s ease-in-out infinite alternate;
}

@keyframes wmGlowPulse {
    from { opacity: 0.55; transform: scale(0.96); }
    to { opacity: 1; transform: scale(1.05); }
}

.wm-hero__title {
    margin: 0 0 16px;
    max-width: 16ch;
    font-family: var(--wm-font-display);
    font-size: clamp(2.35rem, 5.5vw, 4rem);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: 0.01em;
    color: var(--wm-ink);
}

.wm-hero__title span {
    display: block;
    background: linear-gradient(120deg, var(--wm-gold-hi) 0%, var(--wm-gold) 55%, var(--wm-gold-lo) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.wm-hero__desc {
    margin: 0 0 28px;
    max-width: 540px;
    font-size: 1.05rem;
    color: var(--wm-muted);
    line-height: 1.75;
}

.wm-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 36px;
}

.wm-hash-pulse {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--wm-font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--wm-gold-hi);
}

.wm-hash-pulse__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--wm-gold);
    box-shadow: 0 0 0 0 rgba(202, 156, 68, 0.55);
    animation: wmLiveDot 2s ease-out infinite;
}

@keyframes wmLiveDot {
    0% { box-shadow: 0 0 0 0 rgba(202, 156, 68, 0.5); }
    70% { box-shadow: 0 0 0 12px rgba(202, 156, 68, 0); }
    100% { box-shadow: 0 0 0 0 rgba(202, 156, 68, 0); }
}

.wm-hero__plane {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, transparent 55%, var(--wm-bg) 100%),
        radial-gradient(ellipse 70% 55% at 85% 40%, rgba(202, 156, 68, 0.14), transparent 60%);
}

.wm-hero__plane::after {
    content: "";
    position: absolute;
    right: -5%;
    top: 18%;
    width: min(52vw, 560px);
    height: min(52vw, 560px);
    border: 1px solid rgba(202, 156, 68, 0.12);
    border-radius: 50%;
    box-shadow:
        inset 0 0 80px rgba(202, 156, 68, 0.05),
        0 0 0 48px rgba(202, 156, 68, 0.03);
}

html[dir="rtl"] .wm-hero__plane::after {
    right: auto;
    left: -5%;
}

/* ——— Buttons ——— */
.wm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0.9rem 1.55rem;
    border-radius: var(--wm-radius);
    font-family: var(--wm-font-ui);
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none !important;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.25s var(--wm-ease), background 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.wm-btn:hover {
    transform: translateY(-2px);
}

.wm-btn--gold {
    background: linear-gradient(135deg, var(--wm-gold) 0%, var(--wm-gold-hi) 100%);
    color: #120f0a !important;
    box-shadow: 0 12px 32px rgba(202, 156, 68, 0.28);
}

.wm-btn--gold:hover {
    box-shadow: 0 16px 40px rgba(202, 156, 68, 0.38);
    color: #120f0a !important;
}

.wm-btn--ghost {
    background: transparent;
    border-color: var(--wm-gold-line);
    color: var(--wm-gold-hi) !important;
}

.wm-btn--ghost:hover {
    background: var(--wm-gold-dim);
    border-color: var(--wm-gold);
    color: var(--wm-ink) !important;
}

.wm-btn--block {
    width: 100%;
}

/* ——— Who we are ——— */
.wm-who {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 28px;
    align-items: stretch;
}

.wm-who__copy p {
    margin: 0 0 1.1rem;
    color: var(--wm-muted);
    font-size: 1.02rem;
}

.wm-who__copy p:last-child {
    margin-bottom: 0;
}

.wm-who__panel {
    position: relative;
    padding: 28px 28px 32px;
    border: 1px solid var(--wm-gold-line);
    background:
        linear-gradient(160deg, rgba(202, 156, 68, 0.08), transparent 45%),
        var(--wm-bg-2);
}

.wm-who__panel::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--wm-gold-hi), var(--wm-gold-lo));
}

html[dir="rtl"] .wm-who__panel::before {
    left: auto;
    right: 0;
}

.wm-who__panel h3 {
    margin: 0 0 12px;
    font-family: var(--wm-font-display);
    font-size: 1.55rem;
    font-weight: 600;
    color: var(--wm-gold-hi);
}

.wm-who__panel p {
    margin: 0;
    color: var(--wm-muted);
    line-height: 1.75;
}

/* ——— Value / features ——— */
.wm-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.wm-feature {
    position: relative;
    padding: 28px 24px 30px;
    border-top: 1px solid var(--wm-gold-line);
    background: transparent;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.wm-feature:hover {
    background: var(--wm-gold-dim);
    border-top-color: var(--wm-gold);
}

.wm-feature__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 18px;
    color: #120f0a;
    background: linear-gradient(135deg, var(--wm-gold), var(--wm-gold-hi));
    font-size: 1rem;
}

.wm-feature h3 {
    margin: 0 0 10px;
    font-family: var(--wm-font-display);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--wm-ink);
}

.wm-feature p {
    margin: 0;
    color: var(--wm-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ——— Steps / Why lists ——— */
.wm-rail {
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: wm-step;
}

.wm-rail__item {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 18px;
    align-items: start;
    padding: 22px 0;
    border-bottom: 1px solid var(--wm-line);
    counter-increment: wm-step;
}

.wm-rail__item:last-child {
    border-bottom: none;
}

.wm-rail__index {
    font-family: var(--wm-font-mono);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: var(--wm-gold);
    padding-top: 4px;
}

.wm-rail__index::before {
    content: counter(wm-step, decimal-leading-zero);
}

.wm-rail--stars .wm-rail__index::before {
    content: none;
}

.wm-rail--stars .wm-rail__index {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--wm-gold-line);
    color: var(--wm-gold-hi);
    font-size: 0.85rem;
}

.wm-rail__text {
    margin: 0;
    color: var(--wm-ink);
    font-size: 1.02rem;
    line-height: 1.65;
}

/* ——— Contact ——— */
.wm-contact {
    max-width: 720px;
    margin-inline: auto;
}

.wm-contact .form-group {
    position: relative;
    margin-bottom: 1.35rem;
}

.wm-contact .form-group input,
.wm-contact .form-group textarea {
    width: 100%;
    padding: 1.35rem 0.95rem 0.55rem;
    border: 1px solid rgba(243, 239, 230, 0.16);
    border-radius: 2px;
    background: rgba(232, 228, 220, 0.08);
    color: var(--wm-ink);
    font-family: var(--wm-font-ui);
    font-size: 1rem;
    outline: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
    transition: border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.wm-contact .form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.wm-contact .form-group label {
    position: absolute;
    left: 0.95rem;
    top: 1rem;
    color: var(--wm-muted);
    font-size: 0.92rem;
    pointer-events: none;
    transition: 0.2s var(--wm-ease);
}

html[dir="rtl"] .wm-contact .form-group label {
    left: auto;
    right: 0.95rem;
}

.wm-contact .form-group input:focus,
.wm-contact .form-group textarea:focus {
    border-color: rgba(202, 156, 68, 0.55);
    background: rgba(232, 228, 220, 0.11);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.wm-contact .form-group input:focus + label,
.wm-contact .form-group input:valid + label,
.wm-contact .form-group textarea:focus + label,
.wm-contact .form-group textarea:valid + label {
    top: 0;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--wm-gold-hi);
}

html[dir="rtl"] .wm-contact .form-group input,
html[dir="rtl"] .wm-contact .form-group textarea {
    text-align: right;
}

.wm-contact .form-line {
    position: absolute;
    left: 1px;
    right: 1px;
    bottom: 1px;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--wm-gold), var(--wm-gold-hi));
    transition: width 0.3s var(--wm-ease);
    pointer-events: none;
}

html[dir="rtl"] .wm-contact .form-line {
    left: auto;
    right: 1px;
}

.wm-contact .form-group input:focus ~ .form-line,
.wm-contact .form-group textarea:focus ~ .form-line {
    width: 100%;
}

.wm-contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 36px;
}

.wm-contact-grid--hidden {
    display: none !important;
}

.wm-hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.wm-contact-captcha-q {
    margin: 0 0 0.45rem;
    color: var(--wm-muted);
    font-size: 0.92rem;
}

.wm-contact-captcha-q strong {
    color: var(--wm-ink);
}

.wm-contact .form-group.wm-contact-captcha-wrap input {
    padding-top: 0.55rem;
}

.wm-contact .form-group.wm-contact-captcha-wrap label {
    top: 2.35rem;
}

.wm-contact .form-group.wm-contact-captcha-wrap input:focus + label,
.wm-contact .form-group.wm-contact-captcha-wrap input:valid + label {
    top: 1.35rem;
}

.wm-contact-item {
    padding: 18px 16px;
    border-top: 1px solid var(--wm-gold-line);
}

.wm-contact-item i {
    color: var(--wm-gold);
    margin-bottom: 10px;
}

.wm-contact-item h6 {
    margin: 0 0 6px;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--wm-muted);
}

.wm-contact-item a,
.wm-contact-item .wm-contact-value {
    color: var(--wm-ink);
    text-decoration: none;
}

/* ——— Footer ——— */
.wm-footer {
    padding: 28px 0 40px;
    border-top: 1px solid var(--wm-line);
}

.wm-footer p {
    margin: 0;
    text-align: center;
    font-family: var(--wm-font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    color: var(--wm-muted);
}

/* ——— Scroll top ——— */
.scroll-to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 1001;
    width: 44px;
    height: 44px;
    display: none;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--wm-gold-line);
    border-radius: var(--wm-radius);
    background: linear-gradient(135deg, var(--wm-gold), var(--wm-gold-hi));
    color: #120f0a;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(202, 156, 68, 0.3);
}

.scroll-to-top.show {
    display: flex;
}

/* ——— Utilities retained from page ——— */
.wm-ltr-num {
    direction: ltr;
    unicode-bidi: embed;
    display: inline-block;
}

.wm-footer-ltr {
    direction: ltr;
    unicode-bidi: isolate;
    display: inline-block;
    width: 100%;
    text-align: center;
}

#about.about-section {
    display: none !important;
}

/* Kill nested scrollbars (gold stripe fix) */
.wm-section,
.wm-hero,
.container,
.container-fluid {
    overflow-x: clip;
    overflow-y: visible;
}

.wm-section::-webkit-scrollbar,
.wm-hero::-webkit-scrollbar,
.container::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
    display: none !important;
}

/* ——— Responsive ——— */
@media (max-width: 991.98px) {
    .wm-who,
    .wm-features {
        grid-template-columns: 1fr;
    }

    .wm-hero__inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .wm-btc-stage {
        order: -1;
        height: 260px;
        min-height: 220px;
    }

    .wm-btc--main {
        --wm-btc-depth: 9px;
        --wm-btc-radius: 80px;
        width: 160px;
        height: 160px;
    }

    .wm-hero {
        padding-top: 110px;
        min-height: auto;
    }

    .wm-hero__plane::after {
        opacity: 0.35;
        width: 70vw;
        height: 70vw;
        top: auto;
        bottom: -10%;
        right: -20%;
    }

    .wm-section {
        padding: 64px 0;
    }

    .wm-contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .wm-wrap,
    .wm-hero__inner {
        width: calc(100% - 28px);
    }

    .wm-hero__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .wm-btn {
        width: 100%;
    }

    .wm-rail__item {
        grid-template-columns: 40px 1fr;
        gap: 12px;
    }
}

/* ============================================================
   Motion — presence & hierarchy (scroll reveal + ambient life)
   ============================================================ */

/* Hero entrance after splash */
html:not(.wm-loading) .wm-hero__copy > * {
    animation: wmHeroIn 0.9s var(--wm-ease) both;
}
html:not(.wm-loading) .wm-hero__title { animation-delay: 0.08s; }
html:not(.wm-loading) .wm-hero__desc { animation-delay: 0.2s; }
html:not(.wm-loading) .wm-hero__actions { animation-delay: 0.32s; }
html:not(.wm-loading) .wm-hash-pulse { animation-delay: 0.48s; }
html:not(.wm-loading) .wm-btc-stage {
    animation: wmHeroIn 1.1s var(--wm-ease) 0.2s both;
}

@keyframes wmHeroIn {
    from {
        opacity: 0;
        transform: translateY(28px);
        filter: blur(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

.wm-hero__plane::after {
    animation: wmOrbitBreath 14s ease-in-out infinite alternate;
}

@keyframes wmOrbitBreath {
    from { transform: scale(0.96); opacity: 0.55; }
    to { transform: scale(1.04); opacity: 0.9; }
}

/* Scroll reveal base */
.wm-reveal {
    opacity: 0;
    transform: translateY(36px);
    filter: blur(6px);
    transition:
        opacity 0.85s var(--wm-ease),
        transform 0.85s var(--wm-ease),
        filter 0.85s var(--wm-ease);
    will-change: opacity, transform, filter;
}

.wm-reveal.is-in {
    opacity: 1;
    transform: none;
    filter: none;
}

.wm-reveal--left {
    transform: translateX(-40px);
}
.wm-reveal--right {
    transform: translateX(40px);
}
html[dir="rtl"] .wm-reveal--left {
    transform: translateX(40px);
}
html[dir="rtl"] .wm-reveal--right {
    transform: translateX(-40px);
}
.wm-reveal--left.is-in,
.wm-reveal--right.is-in {
    transform: none;
}

.wm-reveal--scale {
    transform: scale(0.94);
}
.wm-reveal--scale.is-in {
    transform: none;
}

.wm-reveal[data-delay="1"] { transition-delay: 0.1s; }
.wm-reveal[data-delay="2"] { transition-delay: 0.2s; }
.wm-reveal[data-delay="3"] { transition-delay: 0.3s; }
.wm-reveal[data-delay="4"] { transition-delay: 0.4s; }
.wm-reveal[data-delay="5"] { transition-delay: 0.5s; }
.wm-reveal[data-delay="6"] { transition-delay: 0.6s; }

/* Features: icon shimmer + gold line sweep on hover */
.wm-feature__icon {
    position: relative;
    overflow: hidden;
    transition: transform 0.35s var(--wm-ease), box-shadow 0.35s ease;
}

.wm-feature.is-in .wm-feature__icon {
    animation: wmIconGlow 3.2s ease-in-out infinite;
}

.wm-feature:hover .wm-feature__icon {
    transform: translateY(-4px) scale(1.06);
    box-shadow: 0 10px 28px rgba(202, 156, 68, 0.35);
    animation: none;
}

@keyframes wmIconGlow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(202, 156, 68, 0.15); }
    50% { box-shadow: 0 0 18px 2px rgba(202, 156, 68, 0.35); }
}

.wm-feature::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--wm-gold), transparent);
    transition: width 0.45s var(--wm-ease);
}

.wm-feature:hover::after {
    width: 100%;
}

/* Who panel gold bar pulse */
.wm-who__panel.is-in::before {
    animation: wmBarPulse 2.8s ease-in-out infinite;
}

@keyframes wmBarPulse {
    0%, 100% { opacity: 0.7; filter: brightness(1); }
    50% { opacity: 1; filter: brightness(1.25); }
}

/* Steps rail: index tick + slide */
.wm-rail__item.is-in .wm-rail__index {
    animation: wmTickIn 0.55s var(--wm-ease) both;
}

@keyframes wmTickIn {
    from { opacity: 0; transform: scale(0.6); color: var(--wm-muted); }
    to { opacity: 1; transform: scale(1); }
}

.wm-rail__item {
    transition: background 0.3s ease, padding-inline 0.3s var(--wm-ease);
}

.wm-rail__item:hover {
    background: rgba(202, 156, 68, 0.05);
    padding-inline-start: 8px;
}

html[dir="rtl"] .wm-rail__item:hover {
    padding-inline-start: 0;
    padding-inline-end: 8px;
}

/* Section rule draw */
.wm-section__head.is-in .wm-rule {
    animation: wmRuleDraw 0.9s var(--wm-ease) 0.15s both;
    transform-origin: left center;
}

html[dir="rtl"] .wm-section__head.is-in .wm-rule {
    transform-origin: right center;
}

@keyframes wmRuleDraw {
    from { transform: scaleX(0); opacity: 0; }
    to { transform: scaleX(1); opacity: 1; }
}

/* Contact form fields soft rise */
.wm-contact .form-group.is-in {
    animation: wmHeroIn 0.7s var(--wm-ease) both;
}

/* Floating mining particles (JS-injected) */
.wm-spark {
    position: fixed;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--wm-gold-hi);
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    animation: wmSparkFloat linear infinite;
}

@keyframes wmSparkFloat {
    0% { opacity: 0; transform: translateY(0) scale(0.6); }
    15% { opacity: 0.7; }
    85% { opacity: 0.35; }
    100% { opacity: 0; transform: translateY(-100vh) scale(1); }
}
