﻿/* =========================================================
   Stake Aster GOLDEN + BLACK LUXURY THEME
   ONLY CSS — NO CLASS/ID CHANGES REQUIRED
========================================================= */

:root {
    --bg-black: #050505;
    --bg-dark: #0d0d0d;
    --card: #0d0a05;
    --gold: #2e8bff;
    --gold-dark: #A68B4A;
    --gold-light: #F0D9A8;
    --gold-dim: rgba(216, 178, 106, 0.15);
    --border: #2e8bff;
    --text: #ffffff;
    --muted: #b8b8b8;
    --input: #111111;
    --glow: 0 0 15px rgba(216, 178, 106, 0.45);
}

/* =========================================================
   BODY
========================================================= */

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;
    background: #000;
    color: var(--text);
    min-height: 100vh;
    position: relative;
}

/* =========================================================
   BACKGROUND EFFECTS
========================================================= */

.nx-bg {
    position: fixed;
    inset: 0;
        background: linear-gradient(#2e8bff47 1px, transparent 1px), linear-gradient(90deg, #0d6efd42 1px, #00000000 1px);
    background-size: 50px 50px;
    z-index: -4;
}

.nx-grid {
    position: fixed;
    inset: 0;
  /*  background: radial-gradient(circle at center, rgba(216, 178, 106, 0.08) 0%, transparent 70%);*/
    z-index: -3;
}

.nx-dot {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    position: fixed;
    filter: blur(80px);
    z-index: -2;
    animation: float 6s infinite ease-in-out;
}

    .nx-dot:nth-child(1) {
        top: 10%;
        left: 10%;
        background: rgba(216, 178, 106, 0.10);
    }

    .nx-dot:nth-child(2) {
        bottom: 10%;
        right: 10%;
        background: rgba(216, 178, 106, 0.08);
    }

    .nx-dot:nth-child(3) {
        top: 50%;
        left: 50%;
        background: rgba(216, 178, 106, 0.06);
    }

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* =========================================================
   SCAN LINE
========================================================= */

.nx-scan {
    position: fixed;
    inset: 0;
    pointer-events: none;
    background: linear-gradient( to bottom, transparent 0%, rgba(216, 178, 106, 0.05) 50%, transparent 100%);
    animation: scan 7s linear infinite;
    z-index: -1;
}

@keyframes scan {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(100%);
    }
}

/* =========================================================
   PAGE WRAPPER
========================================================= */

.nx-page {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 15px;
}

.nx-wrapper {
    width: 100%;
    max-width: 520px;
}

/* =========================================================
   STATUS BAR
========================================================= */

.nx-status-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 18px;
    font-size: 13px;
    color: #e8d5b8;
    letter-spacing: 2px;
    font-family: 'Share Tech Mono', monospace;
}

.nx-status-dot {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nx-pulse {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #2e8bff;
    box-shadow: 0 0 10px #2e8bff;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.5);
        opacity: .5;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* =========================================================
   CARD
========================================================= */

.nx-card {
    position: relative;
    background: rgb(255 255 255 / 0%);
    border: 1px solid rgb(106 140 216 / 35%);
    border-radius: 10px;
    padding: 45px;
    overflow: hidden;
    /*box-shadow: 0 0 25px rgba(216, 178, 106, 0.15), inset 0 0 20px rgba(216, 178, 106, 0.08);*/
    backdrop-filter: blur(8px);
}

/* =========================================================
   CORNERS
========================================================= */

.nx-corner {
    width: 22px;
    height: 22px;
    position: absolute;
    border-color: #2e8bff;
    border-style: solid;
}

    .nx-corner.tl {
        top: 0;
        left: 0;
        border-width: 2px 0 0 2px;
    }

    .nx-corner.tr {
        top: 0;
        right: 0;
        border-width: 2px 2px 0 0;
    }

    .nx-corner.bl {
        bottom: 0;
        left: 0;
        border-width: 0 0 2px 2px;
    }

    .nx-corner.br {
        bottom: 0;
        right: 0;
        border-width: 0 2px 2px 0;
    }

/* =========================================================
   HEADER
========================================================= */

.nx-header {
    text-align: center;
    margin-bottom: 30px;
}

.nx-logo-wrap img {
    width: 110px;
    filter: drop-shadow(0 0 18px rgba(216, 178, 106, 0.9));
    animation: logoGlow 2s infinite alternate;
}

@keyframes logoGlow {
    from {
        filter: drop-shadow(0 0 10px rgba(216, 178, 106, 0.4));
    }

    to {
        filter: drop-shadow(0 0 25px rgba(216, 178, 106, 1));
    }
}

.nx-tagline {
    margin-top: 18px;
    color: #e8d5b8;
    font-size: 12px;
    letter-spacing: 4px;
    font-family: 'Share Tech Mono', monospace;
}

    .nx-tagline span {
        color: #2e8bff;
    }

.nx-title {
    background: linear-gradient(100deg, #2e8bff 10%, #d8b35f 90%);
    background-clip: text;
    color: transparent;
    font-size: 30px;
    margin-top: 15px;
    font-weight: bold;
    font-family: cursive;
}

.nx-title-sub {
    color: #e8d5b8;
    letter-spacing: 3px;
    font-size: 12px;
}

/* =========================================================
   DIVIDER
========================================================= */

.nx-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 25px 0;
}

    .nx-divider::before,
    .nx-divider::after {
        content: '';
        flex: 1;
        height: 1px;
        background: rgba(216, 178, 106, 0.2);
    }

.nx-divider-icon {
    margin: 0 15px;
    color: #2e8bff;
    font-size: 14px;
}

/* =========================================================
   FORM FIELDS
========================================================= */

.nx-field {
    margin-bottom: 22px;
}

.nx-field-label {
    display: block;
    margin-bottom: 10px;
    font-size: 12px;
    letter-spacing: 1px;
    color: #ffffff;
    text-transform: uppercase;
    font-weight: 600;
}

.nx-input-wrap {
    position: relative;
}

.nx-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #000000;
    z-index: 2;
    font-size: 12px;
}

.form-control {
    width: 100%;
    height: 58px;
    background: #111 !important;
    border: 1px solid rgba(216, 178, 106, 0.35) !important;
    color: #fff !important;
    border-radius: 8px;
    padding-left: 48px;
    font-size: 17px;
    transition: .3s;
    box-shadow: none !important;
}

    .form-control::placeholder {
        color: #777;
    }

    .form-control:focus {
        border-color: #2e8bff !important;
        box-shadow: 0 0 15px rgba(216, 178, 106, 0.45) !important;
        background: #0d0d0d !important;
    }

/* =========================================================
   PASSWORD EYE
========================================================= */

.nx-eye-btn {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #000000;
    cursor: pointer;
    transition: .3s;
    font-size: 12px;
}

    .nx-eye-btn:hover {
        color: #fff;
    }

/* =========================================================
   CAPTCHA
========================================================= */

.nx-captcha-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 22px;
}

.captcha {
    height: 44px;
    border-radius: 8px;
    border: 1px solid rgba(216, 178, 106, 0.3);
    overflow: hidden;
}

/* =========================================================
   BUTTONS
========================================================= */



    .btn-theme:hover,
    .nx-submit:hover {
        transform: translateY(-2px);  
    }

.nx-submit {
    width: 100%;
    height: 58px;
    font-family: Inter, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
    font-size: 16px;
    text-transform: uppercase;
}

/* =========================================================
   REMEMBER / FORGOT
========================================================= */

.nx-remember-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 10px;
}

.nx-check-label {
    color: #ccc;
    font-size: 14px;
}

    .nx-check-label input {
        accent-color: #2e8bff;
    }

.nx-forgot {
    color: #2e8bff;
    text-decoration: none;
    transition: .3s;
}

    .nx-forgot:hover {
        color: #fff;
    }

/* =========================================================
   REGISTER
========================================================= */

.nx-register-row {
    text-align: center;
    margin-top: 22px;
    color: #aaa;
    font-size: 15px;
}

    .nx-register-row a {
        color: #2e8bff !important;
        text-decoration: none;
        font-weight: 700;
    }

        .nx-register-row a:hover {
            color: #fff !important;
        }

/* =========================================================
   MODAL
========================================================= */

.modal-content {
    border: 1px solid rgba(216, 178, 106, 0.4);
    color: #fff;
    border-radius: 12px;
    background: #0d0a05;
}

.modal-header {
    border-bottom: 1px solid rgba(216, 178, 106, 0.15);
}

.modal-footer {
    border-top: 1px solid rgba(216, 178, 106, 0.15);
}

.btn-primary {
    background: linear-gradient(100deg, #2e8bff 10%, #f5c760 90%) !important;
    border: none !important;
}

 

/* =========================================================
   RESPONSIVE
========================================================= */

@media(max-width:576px) {

    .nx-card {
        padding: 30px 20px;
    }

    .nx-title {
        font-size: 26px;
    }

    .nx-status-bar {
        flex-wrap: wrap;
        gap: 8px;
    }

    .nx-captcha-row {
        flex-direction: row;
        align-items: stretch;
    }
}


.btn-theme, .btn-nx {
    font-family: var(--font-display) !important;
    font-size: 11px !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    background: transparent !important;
    border: 1px solid #0d6efd !important;
    color: #0d6efd !important;
    padding: 10px 16px !important;
    cursor: pointer !important;
    transition: background .2s, box-shadow .2s, color .2s !important;
    position: relative !important;
    overflow: hidden !important;
    border-radius: 0 !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}
    .btn-theme::before, .btn-nx::before {
        content: '';
        position: absolute;
        inset: 0;
        background: #0d6efd;
        transform: scaleX(0);
        transform-origin: left;
        transition: transform .25s ease;
        z-index: 0;
    }