* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    min-height: 100%;
}

body {
    background: #080c0e;
    color: #f5f5f5;
    font-family: Arial, Helvetica, sans-serif;
}

button {
    font-family: inherit;
}

.app {
    min-height: 100dvh;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 50% 38%,
            rgba(255,190,0,.07),
            transparent 32%
        ),
        #080c0e;
}


/* ================= HEADER ================= */

.topbar {
    height: 54px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 18px;

    background: #15191d;

    border-bottom: 1px solid #252a2f;
}

.brand {
    display: flex;
    align-items: center;

    gap: 8px;

    font-size: 15px;
    font-weight: 700;
}

.brand b {
    color: #f4b900;
}

.brand-logo {
    width: 27px;
    height: 27px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-logo img {
    width: 25px;
    height: 25px;

    object-fit: contain;
}

.wallet-area {
    display: flex;
    align-items: center;

    gap: 8px;
}

.network,
.wallet-btn {
    height: 28px;

    border-radius: 7px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 10px;
    font-weight: 700;
}

.network {
    padding: 0 10px;

    color: #00c087;

    border: 1px solid rgba(0,192,135,.25);

    background: rgba(0,192,135,.05);
}

.status-dot {
    width: 6px;
    height: 6px;

    margin-right: 5px;

    border-radius: 50%;

    background: #00c087;
}

.wallet-btn {
    padding: 0 13px;

    border: 1px solid #173f22;

    background: #102819;

    color: #72c987;

    cursor: pointer;
}


/* ================= STATS ================= */

.statsbar {
    min-height: 38px;

    display: flex;
    align-items: center;

    gap: 18px;

    padding: 0 8px;

    border-bottom: 1px solid #22272c;

    color: #87909a;

    font-size: 8px;
}

.statsbar strong {
    color: #e7e7e7;
    margin-left: 3px;
}

.statsbar small {
    color: #777e86;
    margin-left: 2px;
}


/* ================= REF ================= */

.refbar {
    height: 28px;

    padding: 8px 8px 0;

    border-bottom: 1px solid #24292e;

    color: #737c85;

    font-size: 8px;
}

.refbar span {
    color: #d9a900;
}


/* ================= HERO ================= */

.hero {
    width: min(100%, 680px);

    margin: 0 auto;

    padding-top: 18px;

    text-align: center;
}

.hero h1 {
    font-size: 26px;
    line-height: 1.2;
}

.hero h1 span {
    color: #f4b900;
}

.subtitle {
    margin-top: 7px;

    color: #79838e;

    font-size: 13px;
}


/* ================= ANIMATION ================= */

.animation-area {
    position: relative;

    width: 390px;
    height: 255px;

    margin: 0 auto;

    overflow: hidden;
}

.background {
    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at 50% 50%,
            rgba(255,184,0,.08),
            transparent 35%
        );
}

.bg-light {
    position: absolute;

    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: #ffc400;

    box-shadow:
        0 0 8px #ffc400,
        0 0 18px rgba(255,196,0,.65);

    animation:
        backgroundFloat 4s ease-in-out infinite;
}

.light-1 {
    top: 18px;
    left: 85px;
}

.light-2 {
    top: 33px;
    left: 190px;

    animation-delay: 1.2s;
}

.light-3 {
    top: 55px;
    right: 80px;

    animation-delay: 2s;
}

@keyframes backgroundFloat {

    0%,
    100% {
        transform:
            translateY(0)
            scale(1);

        opacity: .65;
    }

    50% {
        transform:
            translateY(8px)
            scale(1.25);

        opacity: 1;
    }
}


/* ================= ORBITS ================= */

.orbit-system {
    position: absolute;

    left: 50%;
    top: 52%;

    width: 205px;
    height: 205px;

    transform:
        translate(-50%, -50%);
}

.orbit {
    position: absolute;

    left: 50%;
    top: 50%;

    border-radius: 50%;

    transform:
        translate(-50%, -50%);

    border: 1px solid
        rgba(255,193,7,.25);
}

.orbit-1 {
    width: 43%;
    height: 43%;

    border-top-color: #ffc400;

    animation:
        rotateClockwise
        10s linear infinite;
}

.orbit-2 {
    width: 62%;
    height: 62%;

    border-left-color: #e9ad00;

    animation:
        rotateReverse
        15s linear infinite;
}

.orbit-3 {
    width: 78%;
    height: 78%;

    border-top-color:
        rgba(255,193,7,.85);

    animation:
        rotateClockwise
        20s linear infinite;
}

.orbit-4 {
    width: 96%;
    height: 96%;

    border-left-color:
        rgba(255,193,7,.7);

    animation:
        rotateReverse
        26s linear infinite;
}

@keyframes rotateClockwise {

    from {
        transform:
            translate(-50%,-50%)
            rotate(0deg);
    }

    to {
        transform:
            translate(-50%,-50%)
            rotate(360deg);
    }
}

@keyframes rotateReverse {

    from {
        transform:
            translate(-50%,-50%)
            rotate(360deg);
    }

    to {
        transform:
            translate(-50%,-50%)
            rotate(0deg);
    }
}

.orbit-dot {
    position: absolute;

    width: 5px;
    height: 5px;

    top: -3px;
    left: 50%;

    border-radius: 50%;

    transform:
        translateX(-50%);

    background: #ffc400;

    box-shadow:
        0 0 6px #ffc400,
        0 0 14px rgba(255,196,0,.75);
}


/* ================= CENTER LOGO ================= */

.center {
    position: absolute;

    left: 50%;
    top: 52%;

    transform:
        translate(-50%,-50%);

    width: 115px;
    height: 115px;

    display: flex;
    align-items: center;
    justify-content: center;

    z-index: 20;

    animation:
        centerFloat
        3.5s ease-in-out infinite;
}

@keyframes centerFloat {

    0%,
    100% {
        transform:
            translate(-50%,-50%)
            translateY(0);
    }

    50% {
        transform:
            translate(-50%,-50%)
            translateY(-8px);
    }
}

.logo-glow {
    position: absolute;

    width: 120px;
    height: 120px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(255,196,0,.45),
            rgba(255,196,0,.15) 40%,
            transparent 72%
        );

    filter: blur(8px);

    animation:
        glowPulse
        2.5s ease-in-out infinite;
}

@keyframes glowPulse {

    0%,
    100% {
        transform: scale(.9);
        opacity: .65;
    }

    50% {
        transform: scale(1.15);
        opacity: 1;
    }
}

.logo-circle {
    position: relative;

    width: 72px;
    height: 72px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        radial-gradient(
            circle at 35% 30%,
            #303536,
            #121719 65%,
            #090c0d
        );

    border: 2px solid #ffc400;

    box-shadow:
        0 0 5px rgba(255,196,0,.95),
        0 0 16px rgba(255,196,0,.65),
        inset 0 0 20px rgba(255,196,0,.10);
}

.logo {
    width: 45px;
    height: 45px;

    object-fit: contain;

    filter:
        drop-shadow(
            0 0 7px
            rgba(255,196,0,.5)
        );

    animation:
        logoPulse
        2.5s ease-in-out infinite;
}

@keyframes logoPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.06);
    }
}


/* ================= GIFTS ================= */

#giftContainer {
    position: absolute;

    inset: 0;

    overflow: hidden;

    pointer-events: none;

    z-index: 30;
}

.gift {
    position: absolute;

    left: 50%;
    top: 52%;

    width: var(--size);
    height: var(--size);

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        radial-gradient(
            circle at 35% 30%,
            rgba(255,255,255,.95),
            rgba(255,215,65,.9) 20%,
            rgba(245,176,0,.85) 65%,
            rgba(205,135,0,.75)
        );

    border:
        1px solid rgba(255,224,120,.9);

    box-shadow:
        0 0 5px rgba(255,196,0,.95),
        0 0 14px rgba(255,196,0,.55);

    animation:
        giftFly
        var(--duration)
        linear forwards;

    opacity: 0;
}

.gift-icon {
    font-size:
        calc(var(--size) * .52);

    animation:
        giftSpin
        1.4s ease-in-out infinite alternate;
}

@keyframes giftSpin {

    from {
        transform:
            rotate(-8deg)
            scale(.95);
    }

    to {
        transform:
            rotate(8deg)
            scale(1.05);
    }
}

@keyframes giftFly {

    0% {
        opacity: 0;

        transform:
            translate(-50%,-50%)
            translate(
                var(--start-x),
                var(--start-y)
            )
            scale(.2);
    }

    12% {
        opacity: 1;
    }

    55% {
        opacity: .95;
    }

    100% {
        opacity: 0;

        transform:
            translate(-50%,-50%)
            translate(
                var(--end-x),
                var(--end-y)
            )
            scale(.65)
            rotate(var(--rotation));
    }
}


/* ================= MAIN BUTTON ================= */

.subscribe-btn {
    width: 400px;
    max-width: 92%;

    height: 50px;

    border: 0;
    border-radius: 12px;

    background:
        linear-gradient(
            180deg,
            #ffc12b,
            #efad00
        );

    color: #090909;

    font-size: 14px;
    font-weight: 800;

    cursor: pointer;

    box-shadow:
        0 5px 25px
        rgba(255,184,0,.25);
}


/* ================= FEATURES ================= */

.feature-grid {
    display: grid;

    grid-template-columns:
        repeat(4,1fr);

    gap: 9px;

    width: 400px;
    max-width: 92%;

    margin: 12px auto 0;
}

.feature-card {
    height: 80px;

    border-radius: 10px;

    background: #171c20;

    border: 1px solid #292e33;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;
}

.feature-icon {
    font-size: 18px;

    margin-bottom: 3px;
}

.feature-card strong {
    color: #ffc000;
    font-size: 12px;
}

.feature-card small {
    color: #7d858d;
    font-size: 8px;

    margin-top: 4px;
}


/* ================= BOTTOM ================= */

.bottom-area {
    display: flex;
    justify-content: center;

    margin-top: 10px;

    padding-bottom: 10px;
}

.resubscribe-btn {
    height: 40px;

    padding: 0 20px;

    border: 0;
    border-radius: 10px;

    background:
        linear-gradient(
            180deg,
            #ffc12b,
            #efad00
        );

    color: #090909;

    font-size: 13px;
    font-weight: 800;

    cursor: pointer;
}


/* ================= MODAL ================= */

.modal-overlay {
    position: fixed;

    inset: 0;

    z-index: 100;

    display: none;

    align-items: center;
    justify-content: center;

    padding: 15px;

    background:
        rgba(0,0,0,.74);

    backdrop-filter:
        blur(4px);
}

.modal-overlay.active {
    display: flex;
}

.mining-modal {
    position: relative;

    width: 390px;
    max-width: 100%;

    padding: 20px;

    border-radius: 17px;

    background:
        linear-gradient(
            145deg,
            #20272c,
            #171d21
        );

    border: 1px solid #dcae00;

    box-shadow:
        0 0 30px
        rgba(255,184,0,.16);

    animation:
        modalIn
        .22s ease-out;
}

@keyframes modalIn {

    from {
        transform:
            scale(.94)
            translateY(10px);

        opacity: 0;
    }

    to {
        transform:
            scale(1)
            translateY(0);

        opacity: 1;
    }
}

.close-btn {
    position: absolute;

    right: 12px;
    top: 9px;

    width: 32px;
    height: 32px;

    border: 0;

    background: transparent;

    color: #7d8790;

    font-size: 28px;

    cursor: pointer;
}

.mining-modal h2 {
    color: #ffc000;

    font-size: 17px;

    margin-bottom: 16px;
}


/* ================= WALLET BOX ================= */

.wallet-box {
    background: #090f14;

    border-radius: 9px;

    padding: 11px 12px;
}

.info-row {
    display: flex;
    align-items: center;
    justify-content: space-between;

    min-height: 26px;

    font-size: 12px;
}

.info-row span {
    color: #7d8992;
}

.info-row strong {
    color: #dce0e3;
}

.yellow {
    color: #ffc000 !important;
}


/* ================= PLANS ================= */

.section-title {
    margin-top: 16px;
    margin-bottom: 8px;

    color: #77838d;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1px;
}

.plans {
    display: grid;

    grid-template-columns:
        repeat(2,1fr);

    gap: 7px;
}

.plan {
    height: 56px;

    border-radius: 9px;

    border: 1px solid #30383e;

    background: #090f14;

    color: #dce0e3;

    cursor: pointer;
}

.plan strong {
    display: block;

    font-size: 12px;
}

.plan span {
    display: block;

    margin-top: 4px;

    color: #00a86b;

    font-size: 9px;
}

.plan.selected {
    border-color: #e6b400;

    background:
        linear-gradient(
            145deg,
            #262c2b,
            #202722
        );
}


/* ================= EARN ================= */

.earn-box {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 10px;

    margin-top: 10px;

    padding: 10px;

    border-radius: 8px;

    background:
        rgba(0,145,113,.12);

    border: 1px solid
        rgba(0,183,140,.22);

    color: #82918f;

    font-size: 10px;
}

.earn-box strong,
.earn-box b {
    color: #d8e1df;
}


/* ================= MAXIMUM BNB ================= */

.max-bnb-btn {
    width: 100%;

    height: 52px;

    margin-top: 11px;

    border-radius: 9px;

    border: 1px solid #e0ad00;

    background:
        linear-gradient(
            180deg,
            #ffc329,
            #efa900
        );

    color: #080808;

    font-size: 14px;

    font-weight: 800;

    cursor: pointer;

    transition:
        transform .12s ease,
        filter .12s ease;
}

.max-bnb-btn:hover {
    filter: brightness(1.06);
}

.max-bnb-btn:active {
    transform: scale(.98);
}


/* ================= STATUS ================= */

.transaction-status {
    min-height: 38px;

    margin-top: 9px;

    padding: 8px;

    border-radius: 7px;

    background: #0c1419;

    border: 1px solid #273138;

    color: #77838c;

    text-align: center;

    font-size: 9px;

    line-height: 1.5;
}

.transaction-status b {
    color: #ffc000;
}


/* ================= NOTE ================= */

.modal-note {
    margin-top: 9px;

    color: #6f7a83;

    text-align: center;

    font-size: 9px;

    line-height: 1.45;
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 600px) {

    .app {
        min-height: 100dvh;
    }

    .topbar {
        height: 58px;

        padding: 0 12px;
    }

    .brand {
        font-size: 15px;
    }

    .brand-logo,
    .brand-logo img {
        width: 28px;
        height: 28px;
    }

    .network {
        display: none;
    }

    .wallet-btn {
        height: 30px;

        padding: 0 12px;

        font-size: 10px;
    }

    .statsbar {
        min-height: 40px;

        gap: 14px;

        padding: 0 8px;

        font-size: 9px;
    }

    .refbar {
        height: 29px;
    }

    .hero {
        width: 100%;

        padding-top: 20px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .subtitle {
        font-size: 12px;

        margin-top: 8px;

        padding: 0 10px;
    }

    .animation-area {
        width: 100%;

        height: 320px;
    }

    .orbit-system {
        width: 250px;
        height: 250px;
    }

    .center {
        width: 135px;
        height: 135px;
    }

    .logo-glow {
        width: 140px;
        height: 140px;
    }

    .logo-circle {
        width: 84px;
        height: 84px;
    }

    .logo {
        width: 53px;
        height: 53px;
    }

    .subscribe-btn {
        width: 92%;

        height: 57px;

        border-radius: 13px;

        font-size: 16px;
    }

    .feature-grid {
        width: 92%;

        gap: 7px;

        margin-top: 14px;
    }

    .feature-card {
        height: 84px;
    }

    .feature-icon {
        font-size: 19px;
    }

    .feature-card strong {
        font-size: 13px;
    }

    .feature-card small {
        font-size: 9px;
    }

    .bottom-area {
        margin-top: 13px;

        padding-bottom: 14px;
    }

    .resubscribe-btn {
        height: 44px;

        font-size: 14px;
    }

    .modal-overlay {
        padding: 10px;
    }

    .mining-modal {
        width: 100%;

        max-width: 430px;

        padding: 21px 18px 18px;

        border-radius: 18px;
    }

    .mining-modal h2 {
        font-size: 18px;
    }

    .info-row {
        min-height: 29px;

        font-size: 13px;
    }

    .section-title {
        margin-top: 17px;
    }

    .plan {
        height: 61px;
    }

    .plan strong {
        font-size: 13px;
    }

    .plan span {
        font-size: 10px;
    }

    .earn-box {
        padding: 11px;

        font-size: 10px;
    }

    .max-bnb-btn {
        height: 53px;

        font-size: 14px;
    }
}


/* ================= SMALL MOBILE ================= */

@media (max-width: 380px) {

    .hero h1 {
        font-size: 24px;
    }

    .animation-area {
        height: 290px;
    }

    .orbit-system {
        width: 225px;
        height: 225px;
    }

    .feature-card {
        height: 76px;
    }

    .feature-icon {
        font-size: 16px;
    }

    .feature-card strong {
        font-size: 11px;
    }

    .feature-card small {
        font-size: 8px;
    }
}