/* TopUpAdmin — landing (public home) — animated admin banner */

.home-landing {
    --hl-bg1: #050816;
    --hl-bg2: #081548;
    --hl-cyan: #00e7ff;
    --hl-purple: #8c5cff;
    --hl-glass: rgba(255, 255, 255, 0.085);
    --hl-border: rgba(255, 255, 255, 0.16);
    min-height: 100vh;
    margin: 0;
    display: grid;
    place-items: center;
    background: #030613;
    font-family: "Shabnam", Tahoma, Arial, sans-serif;
    color: #fff;
    padding: 24px;
}

.home-landing__banner {
    width: min(1180px, 100%);
    min-height: 520px;
    position: relative;
    overflow: hidden;
    border-radius: 34px;
    background:
        radial-gradient(circle at 15% 18%, rgba(0, 231, 255, 0.3), transparent 28%),
        radial-gradient(circle at 82% 78%, rgba(140, 92, 255, 0.25), transparent 30%),
        linear-gradient(135deg, var(--hl-bg1), var(--hl-bg2) 55%, #080a22);
    box-shadow:
        0 30px 90px rgba(0, 0, 0, 0.45),
        inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    isolation: isolate;
}

.home-landing__banner::before {
    content: "";
    position: absolute;
    inset: -80px;
    background: linear-gradient(
        110deg,
        transparent 0 20%,
        rgba(0, 231, 255, 0.16) 23%,
        transparent 27% 47%,
        rgba(140, 92, 255, 0.14) 50%,
        transparent 55% 100%
    );
    animation: hl-bg-sweep 7s linear infinite;
    z-index: 0;
    pointer-events: none;
}

.home-landing__banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.48) 0 1px, transparent 1.5px);
    background-size: 46px 46px;
    opacity: 0.08;
    transform: perspective(900px) rotateX(55deg) translateY(80px);
    animation: hl-grid-move 5s linear infinite;
    z-index: 0;
    pointer-events: none;
}

.home-landing__speed-line {
    position: absolute;
    right: -42%;
    width: 42%;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, var(--hl-cyan), transparent);
    filter: blur(0.5px);
    opacity: 0.85;
    animation: hl-speed-rtl 4.4s linear infinite;
    z-index: 1;
    pointer-events: none;
}

.home-landing__speed-line:nth-child(1) {
    top: 22%;
    animation-delay: 0s;
}

.home-landing__speed-line:nth-child(2) {
    top: 47%;
    animation-delay: 1.1s;
    background: linear-gradient(90deg, transparent, #7e75ff, transparent);
}

.home-landing__speed-line:nth-child(3) {
    top: 74%;
    animation-delay: 2.2s;
}

.home-landing__content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 520px;
    align-items: center;
    gap: 20px;
    min-height: 520px;
    padding: 54px;
}

.home-landing__copy {
    max-width: 610px;
    animation: hl-copy-in 0.9s ease both;
    text-align: right;
}

.home-landing__badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--hl-border);
    color: #b9f8ff;
    font-size: 14px;
    font-weight: 700;
    backdrop-filter: blur(14px);
    box-shadow: 0 0 24px rgba(0, 231, 255, 0.12);
    margin-bottom: 20px;
}

.home-landing__title {
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.22;
    letter-spacing: -0.5px;
    margin-bottom: 18px;
    font-weight: 700;
}

.home-landing__title span {
    background: linear-gradient(90deg, #fff, #89f4ff, #9a8cff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.home-landing__desc {
    font-size: 18px;
    line-height: 2;
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 28px;
}

.home-landing__actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.home-landing__btn {
    min-height: 54px;
    padding: 0 28px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.25s ease;
    font-size: 16px;
    white-space: nowrap;
    border: none;
}

.home-landing__btn--main {
    color: #fff;
    background: linear-gradient(90deg, #00dfff, #506dff);
    box-shadow: 0 12px 32px rgba(0, 223, 255, 0.25);
}

.home-landing__btn--main:hover,
.home-landing__btn--main:focus-visible {
    color: #fff;
    transform: translateY(-4px);
    box-shadow: 0 18px 42px rgba(0, 223, 255, 0.34);
}

.home-landing__btn--main.disabled {
    opacity: 0.92;
    transform: none;
    pointer-events: none;
}

.home-landing__btn-icon {
    font-size: 1.05em;
    line-height: 1;
}

.home-landing__visual {
    position: relative;
    height: 450px;
}

.home-landing__halo {
    position: absolute;
    inset: 50%;
    width: 430px;
    height: 430px;
    margin: -215px;
    border-radius: 50%;
    border: 1px solid rgba(0, 231, 255, 0.18);
    animation: hl-spin 16s linear infinite;
    box-shadow: inset 0 0 60px rgba(0, 231, 255, 0.07);
}

.home-landing__halo::before,
.home-landing__halo::after {
    content: "";
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--hl-cyan);
    box-shadow: 0 0 24px var(--hl-cyan);
    left: 50%;
    transform: translateX(-50%);
}

.home-landing__halo::before {
    top: 2px;
}

.home-landing__halo::after {
    bottom: 2px;
    background: var(--hl-purple);
    box-shadow: 0 0 24px var(--hl-purple);
}

.home-landing__phone {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 230px;
    height: 430px;
    transform: translate(-50%, -50%) rotate(8deg);
    border-radius: 38px;
    background: linear-gradient(180deg, #12226d, #07102e);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow:
        0 35px 60px rgba(0, 0, 0, 0.46),
        0 0 48px rgba(0, 231, 255, 0.26),
        inset 0 0 0 8px rgba(255, 255, 255, 0.035);
    overflow: hidden;
    animation: hl-phone-float 3.8s ease-in-out infinite;
}

.home-landing__phone::before {
    content: "";
    position: absolute;
    top: 13px;
    left: 50%;
    transform: translateX(-50%);
    width: 88px;
    height: 23px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.48);
    z-index: 4;
}

.home-landing__screen {
    position: absolute;
    inset: 0;
    padding: 72px 22px 24px;
    background:
        radial-gradient(circle at 50% 30%, rgba(0, 231, 255, 0.22), transparent 27%),
        linear-gradient(180deg, rgba(37, 62, 170, 0.95), rgba(5, 9, 30, 0.98));
}

.home-landing__energy {
    width: 140px;
    height: 140px;
    margin: auto;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 66px;
    border: 2px solid rgba(143, 245, 255, 0.68);
    background: radial-gradient(circle, rgba(0, 231, 255, 0.25), rgba(0, 0, 0, 0.02));
    box-shadow: 0 0 34px rgba(0, 231, 255, 0.42);
    position: relative;
    animation: hl-pulse 1.8s ease-in-out infinite;
}

.home-landing__energy::before,
.home-landing__energy::after {
    content: "";
    position: absolute;
    inset: -12px;
    border-radius: 50%;
    border: 1px solid rgba(0, 231, 255, 0.26);
    animation: hl-ripple 2.6s linear infinite;
}

.home-landing__energy::after {
    inset: -24px;
    animation-delay: 1.1s;
}

.home-landing__phone h3 {
    text-align: center;
    margin-top: 24px;
    font-size: 20px;
    font-weight: 700;
}

.home-landing__phone p {
    text-align: center;
    margin-top: 7px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.7;
}

.home-landing__meter {
    margin-top: 24px;
    padding: 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.home-landing__meter-top {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 10px;
}

.home-landing__bar {
    height: 11px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
}

.home-landing__bar span {
    display: block;
    height: 100%;
    width: 65%;
    border-radius: 999px;
    background: linear-gradient(90deg, #00e7ff, #7c62ff);
    box-shadow: 0 0 20px rgba(0, 231, 255, 0.46);
    animation: hl-bar-load 2.5s ease-in-out infinite;
}

.home-landing__card {
    position: absolute;
    min-width: 168px;
    padding: 14px 16px;
    border-radius: 20px;
    background: var(--hl-glass);
    border: 1px solid var(--hl-border);
    backdrop-filter: blur(18px);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.26);
    animation: hl-card-float 4s ease-in-out infinite;
    text-align: right;
}

.home-landing__card strong {
    display: block;
    font-size: 15px;
    margin-bottom: 5px;
    font-weight: 700;
}

.home-landing__card small {
    color: rgba(255, 255, 255, 0.64);
    line-height: 1.7;
}

.home-landing__card--1 {
    right: 10px;
    top: 58px;
}

.home-landing__card--2 {
    left: 2px;
    top: 126px;
    animation-delay: 0.7s;
}

.home-landing__card--3 {
    right: 20px;
    bottom: 72px;
    animation-delay: 1.25s;
}

.home-landing__shield {
    position: absolute;
    left: 18px;
    bottom: 44px;
    width: 112px;
    height: 112px;
    border-radius: 28px;
    display: grid;
    place-items: center;
    font-size: 54px;
    background: linear-gradient(180deg, rgba(0, 231, 255, 0.17), rgba(140, 92, 255, 0.17));
    border: 1px solid var(--hl-border);
    backdrop-filter: blur(18px);
    animation: hl-shield-dance 3.4s ease-in-out infinite;
    box-shadow: 0 0 35px rgba(0, 231, 255, 0.16);
}

.home-landing__spark {
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #aaf7ff;
    box-shadow: 0 0 18px #aaf7ff;
    animation: hl-spark 2.2s ease-in-out infinite;
}

.home-landing__spark--1 {
    top: 44px;
    left: 140px;
}

.home-landing__spark--2 {
    top: 245px;
    right: 70px;
    animation-delay: 0.4s;
}

.home-landing__spark--3 {
    left: 120px;
    bottom: 155px;
    animation-delay: 0.9s;
}

.home-landing__spark--4 {
    right: 180px;
    bottom: 36px;
    animation-delay: 1.4s;
}

@keyframes hl-bg-sweep {
    to {
        transform: translateX(32%);
    }
}

@keyframes hl-grid-move {
    to {
        background-position: 46px 46px;
    }
}

@keyframes hl-speed-rtl {
    0% {
        transform: translateX(0);
        opacity: 0;
    }
    12% {
        opacity: 0.9;
    }
    88% {
        opacity: 0.9;
    }
    100% {
        transform: translateX(-340%);
        opacity: 0;
    }
}

@keyframes hl-copy-in {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes hl-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes hl-phone-float {
    0%,
    100% {
        transform: translate(-50%, -50%) rotate(8deg) translateY(0);
    }
    50% {
        transform: translate(-50%, -50%) rotate(5deg) translateY(-18px);
    }
}

@keyframes hl-pulse {
    0%,
    100% {
        transform: scale(1);
        filter: brightness(1);
    }
    50% {
        transform: scale(1.06);
        filter: brightness(1.35);
    }
}

@keyframes hl-ripple {
    0% {
        transform: scale(0.9);
        opacity: 0.9;
    }
    100% {
        transform: scale(1.22);
        opacity: 0;
    }
}

@keyframes hl-bar-load {
    0% {
        width: 38%;
    }
    50% {
        width: 88%;
    }
    100% {
        width: 60%;
    }
}

@keyframes hl-card-float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-16px);
    }
}

@keyframes hl-shield-dance {
    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-14px) rotate(-6deg);
    }
}

@keyframes hl-spark {
    0%,
    100% {
        transform: scale(0.7);
        opacity: 0.45;
    }
    50% {
        transform: scale(1.55);
        opacity: 1;
    }
}

@media (max-width: 980px) {
    .home-landing {
        padding: 14px;
    }

    .home-landing__content {
        grid-template-columns: 1fr;
        padding: 36px 22px 26px;
        text-align: center;
    }

    .home-landing__copy {
        margin: auto;
        text-align: center;
    }

    .home-landing__actions {
        justify-content: center;
    }

    .home-landing__visual {
        height: 470px;
    }

    .home-landing__banner {
        min-height: auto;
    }
}

@media (max-width: 560px) {
    .home-landing__content {
        padding: 30px 16px 20px;
    }

    .home-landing__desc {
        font-size: 15px;
    }

    .home-landing__visual {
        height: 430px;
    }

    .home-landing__phone {
        width: 190px;
        height: 365px;
    }

    .home-landing__screen {
        padding: 62px 18px 18px;
    }

    .home-landing__energy {
        width: 112px;
        height: 112px;
        font-size: 52px;
    }

    .home-landing__halo {
        width: 330px;
        height: 330px;
        margin: -165px;
    }

    .home-landing__card {
        min-width: 138px;
        padding: 11px 12px;
    }

    .home-landing__card strong {
        font-size: 13px;
    }

    .home-landing__shield {
        width: 86px;
        height: 86px;
        font-size: 42px;
        left: 8px;
        bottom: 34px;
    }

    .home-landing__card--1 {
        right: 0;
        top: 50px;
    }

    .home-landing__card--2 {
        left: 0;
        top: 118px;
    }

    .home-landing__card--3 {
        right: 4px;
        bottom: 64px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-landing__banner::before,
    .home-landing__banner::after,
    .home-landing__speed-line,
    .home-landing__halo,
    .home-landing__phone,
    .home-landing__energy,
    .home-landing__energy::before,
    .home-landing__energy::after,
    .home-landing__bar span,
    .home-landing__card,
    .home-landing__shield,
    .home-landing__spark,
    .home-landing__copy,
    .home-landing__loading-panel,
    .bp-loader-modern__ring,
    .bp-loader-modern__orbit,
    .bp-dots-typing span {
        animation: none !important;
    }
}

/* —— BlogPosts ile aynı modern loader (ورود) —— */
.home-landing__loading {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.home-landing__loading[hidden] {
    display: none !important;
}

.home-landing__loading-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1.75rem 2.25rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(59, 130, 246, 0.18);
    box-shadow:
        0 12px 40px rgba(15, 23, 42, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.8) inset;
    animation: hl-loading-pop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes hl-loading-pop {
    from {
        opacity: 0;
        transform: scale(0.92) translateY(8px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.home-landing__loading-msg {
    margin: 0;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #334155;
    letter-spacing: 0.02em;
}

.bp-loading-label {
    margin-inline-end: 0.15em;
}

.bp-dots-typing {
    display: inline;
}

.bp-dots-typing span {
    display: inline-block;
    animation: hl-dot-bounce 1.05s ease-in-out infinite;
    transform-origin: center bottom;
}

.bp-dots-typing span:nth-child(1) {
    animation-delay: 0s;
}

.bp-dots-typing span:nth-child(2) {
    animation-delay: 0.15s;
}

.bp-dots-typing span:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes hl-dot-bounce {
    0%,
    80%,
    100% {
        opacity: 0.25;
        transform: translateY(0);
    }
    40% {
        opacity: 1;
        transform: translateY(-4px);
    }
}

.bp-loader-modern {
    position: relative;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
}

.bp-loader-modern--lg {
    width: 56px;
    height: 56px;
}

.bp-loader-modern__ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 3px solid rgba(59, 130, 246, 0.15);
    border-top-color: #3b82f6;
    animation: hl-loader-spin 0.85s cubic-bezier(0.5, 0.1, 0.5, 1) infinite;
}

.bp-loader-modern__orbit {
    position: absolute;
    inset: 8px;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: rgba(99, 102, 241, 0.55);
    animation: hl-loader-spin 1.2s linear infinite reverse;
}

.bp-loader-modern--lg .bp-loader-modern__orbit {
    inset: 10px;
}

@keyframes hl-loader-spin {
    to {
        transform: rotate(360deg);
    }
}
