*{box-sizing:border-box}
:root{ --bg:#0b0f14; --panel:#0f1620; --text:#e5f1ff; --muted:#97a6b5; --brand:#00e5ff; --brand2:#00ffa2; --accent: rgba(0,229,255,.15); }
html,body{margin:0;padding:0;background:var(--bg);color:var(--text);font-family:'Inter',system-ui,Segoe UI,Roboto,Arial,sans-serif}
a{color:var(--brand)}
.mv-container{max-width:1100px;margin:0 auto;padding:16px}
.mv-header{position:sticky;top:0;z-index:50;background:linear-gradient(180deg,#0b0f14,#0b0f1400)}
.mv-header .logo{font-weight:800;font-size:22px;margin-top: 5px;display: inline-block;letter-spacing:.3px;text-decoration:none;color:var(--text)}
.mv-header .logo span{color:var(--brand)}
.mv-header nav{float:right;display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.mv-header nav a{color:var(--text);text-decoration:none;opacity:.9}
.mv-header nav a:hover{opacity:1}
.mv-header .lang{margin-left:8px;color:var(--muted);font-size:14px}
.btn{background:linear-gradient(90deg,var(--brand),var(--brand2));border:none;color:#001018;padding: 10px 26px;border-radius:12px;cursor:pointer;font-weight:700;text-decoration:none;display:inline-block}
.btn.ghost{background:transparent;border:1px solid var(--brand);color:var(--text)}
.btn.xl{padding:14px 22px;border-radius:14px;font-size:18px}
.mv-main{min-height:70vh}
.mv-footer{border-top:1px solid #1323331a}
.mv-footer p{color:var(--muted)}
.hero{display:grid;grid-template-columns:1.2fr .8fr;gap:24px;align-items:center;padding:40px 0}
.hero h1{font-size:44px;line-height:1.1;margin:0 0 12px}
.hero h1 span{background:linear-gradient(90deg,var(--brand),var(--brand2));-webkit-background-clip:text;background-clip:text;color:transparent}
.hero p{color:var(--muted);font-size:18px}
.hero-cta{margin-top:18px;display:flex;gap:10px;flex-wrap:wrap}
.hero-art .rig{background:var(--panel);padding:20px;border-radius:16px;box-shadow:0 0 0 1px #1b2b3b inset, 0 30px 60px rgba(0,0,0,.35)}
.hero-art .fan{width:70px;height:70px;border-radius:50%;border:3px solid #193142;margin:10px;background:radial-gradient(circle at 50% 50%, var(--accent), transparent);animation:spin 4s linear infinite;display:inline-block}
.hero-art .fan:nth-child(2){animation-duration:3s}
.hero-art .fan:nth-child(3){animation-duration:5s}
.test-net{
    color: #464646;
}
 /* --- Responsive Header --- */
        .mv-header {
            background: #0b0b0b;
            color: #fff;
            padding: 0px 0;
            position: sticky;
            top: 0;
            z-index: 100;
            border-bottom: 1px solid rgba(255,255,255,0.1);
        }
        .mv-header .mv-container {
            display: flex;
            justify-content: space-between;
            position: relative;
        }
        .logo {
            font-weight: 800;
            font-size: 22px;
            color: #00ffe0;
            text-decoration: none;
        }
        .logo span {
            color: #fff;
        }
        .nav-wrapper nav {
            display: flex;
            align-items: center;
            gap: 20px;
        }
        .menu-toggle {
            display: none;
            background: none;
            border: none;
            font-size: 26px;
            color: #fff;
            cursor: pointer;
        }
        .lang {
            font-size: 14px;
            opacity: 0.8;
        }

#box-icon {
    position: fixed;
    bottom: 100px;
    right: 29px;
    background: #00ffe0;
    color: #000;
    border-radius: 50%;
    padding: 11px 13px;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 0 12px #00ffe0;
    transition: transform 0.3s, box-shadow 0.3s;
    transform: scale(1.1);
    z-index: 9999;
}

/* Hover ????? */
#box-icon:hover {
    transform: scale(1.3);
    box-shadow: 0 0 20px #00ffe0, 0 0 30px #00ffe0;
}

        /* --- Mobile --- */
        @media (max-width: 768px) {
            .menu-toggle {
                display: block;
            }
            .nav-wrapper nav {
                display: none;
                position: absolute;
                top: 60px;
                right: 10px;
                background: #0d0d0d;
                flex-direction: column;
                gap: 15px;
                padding: 15px;
                border-radius: 10px;
                box-shadow: 0 0 20px rgba(0,0,0,0.6);
                z-index: 1000;
            }
            body.menu-open .nav-wrapper nav {
                display: flex;
            }
            .lang {
                text-align: center;
            }
        }
        .modal {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    z-index: 99999;
}

.modal.show {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: #0a0a0a;
    border-radius: 15px;
    text-align: center;
    padding: 25px;
    box-shadow: 0 0 250px #00ffe0;
    color: #fff;
    border: solid 2px #0e7d7d;
    transform: scale(0.8);
    transition: transform 0.4s ease;
}

.modal.show .modal-content {
    transform: scale(1);
}

.close {
    float: right;
    cursor: pointer;
    font-size: 20px;
}

.boxes {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}

.box {
    font-size: 47px;
    width: 70px;
    height: 70px;
    background: #adb5bd;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
}

.box:hover {
    transform: scale(1.1);
}
/* Dropdown ????? ???? */
.dropdown {
    position: relative;
    display: inline-block;
    margin-left: 10px;
}

.dropbtn {
    background: none;
    border: none;
    cursor: pointer;
    font: inherit;
    color: inherit;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #1a1a1a;
    min-width: 120px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
    z-index: 1000;
    border-radius: 5px;
    overflow: hidden;
}

.dropdown-content a {
    color: #fff;
    padding: 8px 12px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #333;
}

.dropdown:hover .dropdown-content {
    display: block;
}
#mining-popup {
        position: fixed;
        bottom: 20px;
        left: 20px;
        width: 222px;
        background: #1a1a1a;
        color: #fff;
        border-radius: 10px;
        padding: 15px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.4);
        z-index: 9999;
        font-family: sans-serif;
}

#mining-popup-header {
        font-weight: bold;
        margin-bottom: 10px;
}

#mining-popup-body p {
        margin: 0;
        font-size: 14px;
}

#popup-close {
        position: absolute;
        top: 5px;
        right: 7px;
        background: transparent;
        border: none;
        color: #fff;
        font-size: 18px;
        cursor: pointer;
}
.google_btn {
    background: #2c78f7;
    color: white;
    padding: 10px 20px;
    border-radius: 12px;
    text-decoration: none;
    display: inline-block;
    border: none;
}
.google_btn:hover {
    background: #4285F4;
    color: white;
    padding: 10px 20px;
    border-radius: 12px;
    text-decoration: none;
    display: inline-block;
    border: none;
}
.google_img {
    border-radius:50%;
    vertical-align:middle;
    margin-right:6px;
}

.miners-section {
    text-align: center;
    padding: 60px 20px;
    background: radial-gradient(circle at center, rgba(0,255,200,0.08), transparent);
}
.btn:hover {
    background: linear-gradient(90deg, var(--brand2), var(--brand)); /* ??????? ???????? */
}
.table-blur {
    position: relative;
    overflow: hidden;
}

.table-blur tbody tr.blurred {
    filter: blur(5px);
    opacity: 0.4;
    transition: 0.3s ease;
    user-select: none;
}

.table-blur tbody tr.blurred:hover {
    filter: blur(5px);
    opacity: 1;
}

.table-blur tbody::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.8));
    pointer-events: none;
    z-index: 5;
}
.pay-input {
    border: solid 1px #1b2b3b;
    background: #0c141d;
    height: 34px;
    border-radius: 10px;
    color: #fff;
}
.input-dasboard {
  border: solid 1px #1b2b3b;
    background: #0c141d;
    height: 34px;
    border-radius: 10px;
    color: #fff;
    width: 100%;
    padding: 10px;
}

.nft-image {
    width: 250px;
    margin: 0 auto;
    display: block;
}
.nft-image:hover {
    width: 250px;
    margin: 0 auto;
    display: block;
    opacity: 0.8;
}

/* Spin Wheel widget - fixed right corner */
#spinWheelWidget {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 9999;
    font-family: Inter, sans-serif;
}

.sw-container {
    width: 120px;
    height: 120px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    pointer-events: auto;
}

/* wheel circle (canvas) */
.sw-wheel {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    overflow: visible;
    display:flex;
    align-items:center;
    justify-content:center;
}

/* spin button */
.sw-spin-btn {
    width: 88px;
    height: 28px;
    border-radius: 999px;
    border: none;
    background: linear-gradient(90deg,#00ffe0,#00b3ff);
    color: #001;
    font-weight:700;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0,255,224,0.12);
    transition: transform .12s ease;
}
.sw-spin-btn:active { transform: translateY(1px); }

/* message */
.sw-message {
    font-size: 12px;
    color: #cfe;
    text-align: center;
    max-width: 180px;
}

/* small pointer triangle at top of wheel */
#spinWheelWidget::before {
    content: "";
    position: absolute;
    top: -8px;
    right: 50%;
    transform: translateX(50%);
    width: 0; height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid rgba(0,255,224,0.9);
    filter: drop-shadow(0 2px 6px rgba(0,255,224,0.12));
}

/* responsive reduce on tiny screens */
@media (max-width:420px) {
    .sw-container{ width:96px; height:96px; }
    .sw-spin-btn{ width:72px; height:26px; font-size:13px; }
}
/* Floating button bottom-right */
.wheel-floating {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #00ffe0;
    color: #000;
    border-radius: 50%;
    padding: 14px 16px;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 0 12px #00ffe0;
    transition: 0.3s;
    z-index: 1000;
}
.wheel-floating:hover {
    transform: scale(1.1);
}

/* Modal styling */
.wheel-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    justify-content: center;
    align-items: center;
    z-index: 2000;
}
.wheel-modal.show {
    display: flex;
    z-index: 99999;
}
.wheel-content {
    background: #0a0a0a;
    border-radius: 15px;
    text-align: center;
    padding: 25px;
    box-shadow: 0 0 250px #00ffe0;
    color: #fff;
    border: solid 2px #0e7d7d;
    position: relative;
}
.wheel-content canvas {
    margin-bottom: 15px;
    border: solid 5px #00ffe0b8;
    border-radius: 50%;
}
.wheel-content .btn {
    background: #00ffe0;
    color: #000;
    font-weight: bold;
    border: none;
    border-radius: 12px;
    padding: 10px 25px;
    cursor: pointer;
    width: 100%;
}
.wheel-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.wheel-content .close {
    position: absolute;
    top: 8px;
    right: 8px;
    cursor: pointer;
    font-size: 22px;
    color: #00ffe0;
    font-weight: bold;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}

.wheel-content .close:hover {
    color: #fff;
    background: #ff3b3b;
    transform: scale(1.1);
}



.miner-counter {
    text-align: center;
    color: #00ffe0;
    font-family: 'Inter', sans-serif;
}

.miner-counter .count {
    display: block;
    font-size: 80px;
    font-weight: 800;
    letter-spacing: 3px;
    color: #00ffe0;
    text-shadow: 0 0 20px rgba(0,255,200,0.5);
    margin-bottom: 10px;
}

.miner-counter .label {
    font-size: 20px;
    color: #ccc;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.social-icons {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-top: 10px;
}

.social-icons a {
    color: #00ffe0;
    font-size: 18px;
    transition: transform 0.2s, filter 0.2s;
}

.social-icons a:hover {
    transform: scale(1.2);
    filter: drop-shadow(0 0 8px #00ffe0);
}
.social-icons img {
    font-size: 18px;
    filter: invert(59%) sepia(96%) saturate(600%) hue-rotate(160deg) brightness(100%) contrast(90%);
}

/* Responsive */
@media (max-width: 768px) {
    .mv-footer .mv-container {
        flex-direction: column;
        text-align: center;
    }
    .social-icons {
        margin-top: 15px;
    }
    .google_btn {
    background: #2c78f7;
    color: white;
    padding: 10px 20px;
    border-radius: 12px;
    text-decoration: none;
    display: inline-block;
    border: none;
    width: 100% !important;
}
.google_btn:hover {
    background: #4285F4;
    color: white;
    padding: 10px 20px;
    border-radius: 12px;
    text-decoration: none;
    display: inline-block;
    border: none;
    width: 100% !important;
}
.google_img {
    border-radius:50%;
    vertical-align:middle;
    margin-right:6px;
}
}

@media (max-width: 768px) {
    .miner-counter .count {
        font-size: 48px;
    }
    .miner-counter .label {
        font-size: 16px;
    }
    .hero-art .rig {
    background: var(--panel);
    padding: 3px;
    margin-top: 20px;
    align-items: center;
    border-radius: 16px;
    box-shadow: 0 0 0 1px #1b2b3b inset, 0 30px 60px rgba(0, 0, 0, .35);
}
.hero-art .fan {
    width: 79px;
        height: 79px;
    border-radius: 50%;
    border: 3px solid #193142;
    margin: 3px;
    background: radial-gradient(circle at 50% 50%, var(--accent), transparent);
    animation: spin 4s
linear infinite;
    display: inline-block;
}
.btn {
    background: linear-gradient(90deg, var(--brand), var(--brand2));
    border: none;
    color: #001018;
    padding: 10px 16px;
    border-radius: 12px;
    width: 100%;
    cursor: pointer;
    text-align: center;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
}
}

@keyframes spin{to{transform:rotate(360deg)}}
.features{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;padding:10px 0 40px}
.card{background:var(--panel);border-radius:16px;padding:18px;box-shadow:0 0 0 1px #1b2b3b inset}
.card h3{margin:0 0 6px}
.card p{color:var(--muted);margin:0}
.mv-card{background:var(--panel);border-radius:16px;padding:16px;box-shadow:0 0 0 1px #1b2b3b inset;margin:12px 0}
.alert{background:#2a1b1b;color:#ffdddd;border:1px solid #ff556630;border-radius:12px;padding:10px;margin:10px 0}
.form label{display:block;margin:10px 0;color:var(--muted)}
.form input, .form input[type=file]{margin-top:10px;width:100%;padding:10px;border-radius:10px;border:1px solid #1b2b3b;background:#0c141d;color:var(--text)}
.grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.live .balance{display:flex;justify-content:space-between;align-items:end;margin:8px 0 10px}
.live .balance .label{color:var(--muted)}
.live .balance .value{font-size:36px;font-weight:800;letter-spacing:.5px}
.controls{display:flex;gap:10px;margin:12px 0}
.progress{height:12px;background:#0b141d;border:1px solid #1b2b3b;border-radius:20px;overflow:hidden}
.progress .bar{height:100%;width:0;background:linear-gradient(90deg,var(--brand),var(--brand2))}
.table{width:100%;border-collapse:collapse}
.table th,.table td{padding:10px;border-bottom:1px solid #1a2533}
.table th{text-align:left;color:#9fb2c7}
.muted{text-align: left;color:var(--muted)}
.profile-mini{display:flex;gap:12px;align-items:center}
.avatar{width:44px;height:44px;border-radius:50%;object-fit:cover;border:2px solid #1b2b3b}
.avatar.xl{width:90px;height:90px;border-radius:50%}
.profile-edit{display:flex;gap:20px;align-items:center;flex-wrap:wrap}
.top-miners{margin-top:22px}
.top-miners .label{color:var(--muted);margin-bottom:8px}
.top-miners .bubbles{display:flex;gap:10px;flex-wrap:wrap}
.top-miners .bubble{width:48px;height:48px;border-radius:50%;background:#0c141d;border:1px solid #1b2b3b;overflow:hidden;display:flex;align-items:center;justify-content:center;box-shadow:0 0 0 2px rgba(0,229,255,.08)}
.top-miners .bubble img{width:100%;height:100%;object-fit:cover}
.paybox{display:flex;align-items:center;justify-content:space-between;gap:16px}
.paybox .addr{font-family:monospace;background:#0c141d;border:1px solid #1b2b3b;padding:10px;border-radius:10px}
.qr img{width:160px;height:160px;border-radius:12px;box-shadow:0 0 0 1px #1b2b3b inset}
/* Packages section */
.packages{padding:10px 0 40px}
.section-title{font-size:28px;margin:10px 0 16px}
.pkg-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.pkg-card{position:relative;background:var(--panel);border-radius:18px;padding:16px;box-shadow:0 0 0 1px #1b2b3b inset, 0 0 40px rgba(0,229,255,.05)}
.pkg-card::before{content:'';position:absolute;inset:0;border-radius:18px;padding:1px;background:linear-gradient(90deg,var(--brand),var(--brand2));-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;pointer-events:none}
.pkg-header{font-weight:800;font-size:18px;margin-bottom:8px}
.pkg-body .pkg-price{font-size:26px;font-weight:800;margin:10px 0}
.pkg-body .pkg-price span{font-size:14px;color:var(--muted);font-weight:600}
.pkg-footer{display:flex;gap:10px;flex-wrap:wrap}
@media (max-width:1100px){ .pkg-grid{grid-template-columns:repeat(2,1fr)} }
@media (max-width:700px){ .hero{grid-template-columns:1fr;gap:12px} .grid{grid-template-columns:1fr} .features{grid-template-columns:1fr} .pkg-grid{grid-template-columns:1fr} .paybox{flex-direction:column;align-items:flex-start} }
