.nobti-intro-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    opacity: 0;
    transition: opacity 0.4s ease;
    background:
        radial-gradient(circle at 58% 38%, rgba(34, 197, 94, 0.24), transparent 22%),
        radial-gradient(circle at 42% 48%, rgba(37, 99, 235, 0.28), transparent 28%),
        linear-gradient(145deg, #071426, #0f172a 60%, #06111f);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    direction: rtl;
}

.nobti-intro-overlay.nobti-intro-visible {
    opacity: 1;
}

.nobti-intro-overlay.nobti-intro-hide {
    animation: nobtiIntroFadeOut 0.65s ease forwards;
}

.nobti-intro-bg-ring {
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    animation: nobtiRingPulse 2.2s ease-in-out infinite;
}

.nobti-intro-bg-ring:nth-child(2) {
    width: 390px;
    height: 390px;
    animation-delay: 0.25s;
    opacity: 0.6;
}

.nobti-intro-bg-ring:nth-child(3) {
    width: 520px;
    height: 520px;
    animation-delay: 0.5s;
    opacity: 0.35;
}

.nobti-intro-card {
    position: relative;
    text-align: center;
    transform: translateY(8px) scale(0.94);
    opacity: 0;
    animation: nobtiIntroCardIn 0.85s cubic-bezier(.2,.85,.2,1) forwards;
}

.nobti-intro-logo-wrap {
    width: 154px;
    height: 154px;
    margin: 0 auto 28px;
    border-radius: 44px;
    background:
        radial-gradient(circle at 70% 25%, #22c55e 0 18%, transparent 19%),
        linear-gradient(145deg, #1d4ed8, #2563eb);
    box-shadow:
        0 28px 70px rgba(37, 99, 235, 0.38),
        0 0 0 12px rgba(255, 255, 255, 0.045),
        inset 0 0 24px rgba(255, 255, 255, 0.16);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: nobtiLogoFloat 2.4s ease-in-out infinite;
}

.nobti-intro-logo-wrap::before {
    content: "";
    position: absolute;
    inset: -12px;
    border-radius: 54px;
    border: 2px solid rgba(34, 197, 94, 0.35);
    animation: nobtiLogoGlow 1.7s ease-in-out infinite;
}

.nobti-intro-logo-wrap::after {
    content: "";
    position: absolute;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    top: 22px;
    right: 22px;
    background: #22c55e;
    box-shadow: 0 0 28px rgba(34, 197, 94, 0.75);
    animation: nobtiGreenDotPulse 1.35s ease-in-out infinite;
}

.nobti-intro-logo-text {
    position: relative;
    z-index: 2;
    font-size: 82px;
    line-height: 1;
    font-weight: 950;
    color: #ffffff;
    letter-spacing: -3px;
    font-family: Arial, sans-serif;
}

.nobti-intro-brand {
    color: #ffffff;
    font-size: 44px;
    font-weight: 950;
    line-height: 1;
    letter-spacing: 1px;
    margin-bottom: 16px;
    animation: nobtiTextIn 0.72s ease 0.36s both;
}

.nobti-intro-tagline {
    color: rgba(255, 255, 255, 0.92);
    font-size: clamp(24px, 5vw, 34px);
    font-weight: 900;
    line-height: 1.45;
    margin-bottom: 22px;
    animation: nobtiTextIn 0.72s ease 0.58s both;
}

.nobti-intro-loader {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    animation: nobtiTextIn 0.72s ease 0.82s both;
}

.nobti-intro-loader span {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
    animation: nobtiLoaderDot 1s ease-in-out infinite;
}

.nobti-intro-loader span:nth-child(2) {
    animation-delay: 0.14s;
}

.nobti-intro-loader span:nth-child(3) {
    animation-delay: 0.28s;
}

@keyframes nobtiIntroCardIn {
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

@keyframes nobtiIntroFadeOut {
    to {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
}

@keyframes nobtiRingPulse {
    0%, 100% {
        transform: scale(0.92);
        opacity: 0.18;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.45;
    }
}

@keyframes nobtiLogoFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-7px) scale(1.025);
    }
}

@keyframes nobtiLogoGlow {
    0%, 100% {
        opacity: 0.45;
        transform: scale(0.96);
    }
    50% {
        opacity: 0.95;
        transform: scale(1.04);
    }
}

@keyframes nobtiGreenDotPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.16);
        opacity: 0.82;
    }
}

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

@keyframes nobtiLoaderDot {
    0%, 100% {
        transform: translateY(0);
        opacity: 0.35;
    }
    50% {
        transform: translateY(-7px);
        opacity: 1;
    }
}

@media (max-width: 576px) {
    .nobti-intro-logo-wrap {
        width: 132px;
        height: 132px;
        border-radius: 38px;
        margin-bottom: 24px;
    }

    .nobti-intro-logo-wrap::before {
        border-radius: 48px;
    }

    .nobti-intro-logo-text {
        font-size: 72px;
    }

    .nobti-intro-brand {
        font-size: 36px;
    }

    .nobti-intro-tagline {
        font-size: 27px;
    }
}

/* Smooth handoff from native splash to web intro */
.nobti-intro-overlay {
    will-change: opacity, visibility;
    backface-visibility: hidden;
}

.nobti-intro-overlay.nobti-intro-hide {
    animation: nobtiIntroFadeOut 0.65s ease forwards;
}

/* HARD FIX: cover status-bar/safe-area white flash */
html.nobti-intro-active,
body.nobti-intro-active,
html.nobti-intro-active body {
    background: #071426 !important;
    overflow: hidden !important;
}

#nobtiIntroOverlay,
.nobti-intro-overlay {
    position: fixed !important;
    top: -80px !important;
    right: -80px !important;
    bottom: -80px !important;
    left: -80px !important;
    width: auto !important;
    height: auto !important;
    min-height: calc(100vh + 160px) !important;
    min-height: calc(100dvh + 160px) !important;
    z-index: 2147483647 !important;
    background:
        radial-gradient(circle at 58% 38%, rgba(34, 197, 94, 0.24), transparent 22%),
        radial-gradient(circle at 42% 48%, rgba(37, 99, 235, 0.28), transparent 28%),
        linear-gradient(145deg, #071426, #0f172a 60%, #06111f) !important;
}

body.nobti-intro-active::before {
    content: "";
    position: fixed !important;
    top: -120px !important;
    right: -120px !important;
    bottom: -120px !important;
    left: -120px !important;
    background: #071426 !important;
    z-index: 2147483646 !important;
    pointer-events: none !important;
}

body:not(.nobti-intro-active)::before {
    display: none !important;
}
