/* =====================================================
   MICKEY LIVE - GUILD GLORY
   FULL RESPONSIVE PREMIUM DESIGN
===================================================== */


/* =====================================================
   RESET
===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background: #050607;
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    overflow-x: hidden;
}

body.menu-open,
body.glory-confirm-open {
    overflow: hidden;
}

button,
input {
    font-family: inherit;
}

button {
    cursor: pointer;
}

button:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}


/* =====================================================
   BACKGROUND
===================================================== */

body::before {
    content: "";
    position: fixed;
    inset: 0;

    pointer-events: none;

    background:
        radial-gradient(
            circle at 85% 15%,
            rgba(255, 0, 0, 0.10),
            transparent 35%
        ),
        radial-gradient(
            circle at 15% 70%,
            rgba(255, 0, 0, 0.05),
            transparent 30%
        );

    z-index: -1;
}


/* =====================================================
   HEADER
===================================================== */

.header {
    width: 100%;
    min-height: 76px;

    padding: 14px 18px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: rgba(5, 6, 7, 0.97);

    border-bottom:
        1px solid
        rgba(255, 0, 0, 0.40);

    position: relative;
    z-index: 1000;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 9px;
}

.header-logo {
    width: 42px;
    height: 42px;

    object-fit: cover;

    border-radius: 50%;

    border:
        2px solid
        #ff2020;

    box-shadow:
        0 0 14px
        rgba(255, 0, 0, 0.55);
}

.header-left h2 {
    font-size: 19px;
    font-weight: 800;
}

.header-left h2 span {
    color: #ff2020;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 8px;
}


/* =====================================================
   LANGUAGE
===================================================== */

.language-box {
    position: relative;
    z-index: 1100;
}

.language-btn {
    height: 38px;

    padding: 0 10px;

    display: flex;
    align-items: center;
    gap: 6px;

    border:
        1px solid
        rgba(255, 255, 255, 0.12);

    border-radius: 11px;

    background: #101215;
    color: #ffffff;

    font-size: 12px;

    transition: 0.2s ease;
}

.language-btn:hover {
    border-color:
        rgba(255, 30, 30, 0.60);
}

.language-btn i:first-child {
    color: #ff2020;
}

.language-btn i:last-child {
    font-size: 9px;
}

.language-menu {
    position: absolute;

    top: 45px;
    right: 0;

    width: 130px;

    padding: 6px;

    display: none;

    background: #111317;

    border:
        1px solid
        rgba(255, 0, 0, 0.35);

    border-radius: 12px;

    box-shadow:
        0 15px 35px
        rgba(0, 0, 0, 0.60);

    z-index: 1500;
}

.language-menu.show {
    display: block;
}

.language-menu button {
    width: 100%;

    padding: 10px;

    border: 0;
    border-radius: 8px;

    background: transparent;
    color: #ffffff;

    text-align: left;

    font-size: 12px;

    transition: 0.15s ease;
}

.language-menu button:hover {
    background:
        rgba(255, 0, 0, 0.12);
}


/* =====================================================
   MENU BUTTON
===================================================== */

.menu-btn {
    width: 38px;
    height: 38px;

    border: 0;

    background: transparent;
    color: #ffffff;

    font-size: 20px;

    transition: 0.2s ease;
}

.menu-btn:hover {
    color: #ff2020;
}


/* =====================================================
   SIDE MENU
===================================================== */

.side-menu {
    position: fixed;

    top: 0;
    right: -310px;

    width: 285px;
    height: 100vh;

    padding: 22px 18px;

    background: #0b0d10;

    border-left:
        1px solid
        rgba(255, 0, 0, 0.40);

    box-shadow:
        -15px 0 45px
        rgba(0, 0, 0, 0.50);

    z-index: 2000;

    transition:
        right 0.30s ease;

    overflow-y: auto;
}

.side-menu.open {
    right: 0;
}

.menu-title {
    margin-bottom: 20px;

    color: #ff2020;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 2px;
}

.menu-brand {
    display: flex;
    align-items: center;

    gap: 10px;
}

.menu-brand img {
    width: 45px;
    height: 45px;

    object-fit: cover;

    border-radius: 50%;

    border:
        2px solid
        #ff2020;

    box-shadow:
        0 0 12px
        rgba(255, 0, 0, 0.35);
}

.menu-brand h2 {
    font-size: 18px;
}

.menu-brand h2 span {
    color: #ff2020;
}

.menu-brand small {
    color: #777;

    font-size: 11px;
}

.menu-line {
    height: 1px;

    margin: 20px 0;

    background:
        rgba(255, 255, 255, 0.08);
}


/* =====================================================
   USER CARD
===================================================== */

.user-card {
    padding: 12px;

    display: flex;
    align-items: center;

    gap: 10px;

    background: #111418;

    border:
        1px solid
        rgba(255, 255, 255, 0.08);

    border-radius: 13px;
}

.user-icon {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 50%;

    background:
        rgba(255, 0, 0, 0.12);

    color: #ff3030;
}

.user-info {
    flex: 1;
    min-width: 0;
}

.user-info small {
    display: block;

    color: #777;

    font-size: 9px;
}

.user-info strong {
    display: block;

    margin-top: 2px;

    font-size: 13px;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-info span {
    color: #00ff78;

    font-size: 10px;
}

.balance {
    display: flex;
    align-items: center;

    gap: 5px;

    color: #ff3030;

    font-size: 12px;
}


/* =====================================================
   MENU LINKS
===================================================== */

.menu-section {
    margin: 25px 5px 10px;

    color: #666;

    font-size: 9px;

    letter-spacing: 1.5px;

    font-weight: bold;
}

.menu-links {
    display: flex;
    flex-direction: column;

    gap: 5px;
}

.menu-links a {
    padding: 12px;

    display: flex;
    align-items: center;

    gap: 12px;

    text-decoration: none;

    color: #b9bcc2;

    border-radius: 10px;

    font-size: 13px;

    transition:
        background 0.18s ease,
        color 0.18s ease;
}

.menu-links a i {
    width: 20px;

    text-align: center;
}

.menu-links a:hover,
.menu-links a.active {
    color: #ffffff;

    background:
        rgba(255, 0, 0, 0.12);

    border-left:
        2px solid
        #ff2020;
}


/* =====================================================
   LOGOUT
===================================================== */

.logout-btn {
    position: absolute;

    left: 18px;
    right: 18px;
    bottom: 25px;

    padding: 12px;

    border:
        1px solid
        rgba(255, 0, 0, 0.30);

    border-radius: 10px;

    background:
        rgba(255, 0, 0, 0.08);

    color: #ff3030;

    font-size: 12px;
    font-weight: 700;

    transition: 0.2s ease;
}

.logout-btn:hover {
    background:
        rgba(255, 0, 0, 0.15);

    border-color:
        rgba(255, 0, 0, 0.60);
}


/* =====================================================
   MENU OVERLAY
===================================================== */

.menu-overlay {
    position: fixed;

    inset: 0;

    background:
        rgba(0, 0, 0, 0.65);

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    z-index: 1900;

    transition:
        opacity 0.30s ease,
        visibility 0.30s ease;
}

.menu-overlay.show {
    opacity: 1;

    visibility: visible;

    pointer-events: auto;
}


/* =====================================================
   HERO
===================================================== */

.hero {
    padding: 38px 20px 25px;
}

.hero-content {
    width: 100%;
    max-width: 1000px;

    margin: auto;

    display: grid;

    grid-template-columns:
        1.15fr 0.85fr;

    align-items: center;

    gap: 5px;
}

.hero-text {
    min-width: 0;
}

.crown {
    margin-bottom: 14px;

    color: #ff2020;

    font-size: 17px;
}

.hero h1 {
    font-size:
        clamp(32px, 8vw, 60px);

    line-height: 0.98;

    font-weight: 900;

    letter-spacing: -1px;
}

.hero h1 span {
    color: #ff2020;
}

.hero p {
    margin-top: 17px;

    color: #c0c4ca;

    font-size: 14px;

    font-weight: 700;
}

.hero small {
    display: block;

    max-width: 380px;

    margin-top: 8px;

    color: #777f89;

    font-size: 11px;

    line-height: 1.5;
}


/* =====================================================
   HERO LOGO
===================================================== */

.hero-logo {
    display: flex;

    align-items: center;
    justify-content: center;
}

.logo-ring {
    width: 155px;
    height: 155px;

    position: relative;

    display: flex;

    align-items: center;
    justify-content: center;
}

.hero-logo-img {
    width: 120px;
    height: 120px;

    object-fit: cover;

    position: relative;

    z-index: 5;

    border:
        3px solid
        #ff2525;

    border-radius: 50%;

    box-shadow:
        0 0 18px
        #ff2020,
        0 0 40px
        rgba(255, 0, 0, 0.45);
}

.ring {
    position: absolute;

    border:
        2px solid
        #ff2020;

    border-radius: 50%;
}

.ring-one {
    inset: 7px;

    border-top-color: transparent;

    animation:
        rotateRing
        4s linear infinite;
}

.ring-two {
    inset: 0;

    border-right-color: transparent;
    border-bottom-color: transparent;

    animation:
        rotateRingReverse
        3s linear infinite;
}

.ring-three {
    inset: 15px;

    border-left-color: transparent;

    animation:
        rotateRing
        2.5s linear infinite;
}

@keyframes rotateRing {

    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes rotateRingReverse {

    from {
        transform: rotate(360deg);
    }

    to {
        transform: rotate(0deg);
    }
}


/* =====================================================
   GLORY SECTION
===================================================== */

.glory-section {
    padding: 8px 15px 45px;
}

.glory-card {
    width: 100%;
    max-width: 640px;

    margin: auto;

    padding: 22px 18px;

    position: relative;

    background:
        linear-gradient(
            145deg,
            #14181e,
            #0b0d10
        );

    border:
        1px solid
        rgba(255, 40, 40, 0.55);

    border-radius: 22px;

    box-shadow:
        0 0 35px
        rgba(255, 0, 0, 0.08);
}


/* =====================================================
   GLORY TOP
===================================================== */

.glory-top {
    display: flex;

    align-items: flex-start;

    justify-content: space-between;

    gap: 10px;

    margin-bottom: 23px;
}

.small-title {
    color: #ff3030;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 2.5px;
}

.glory-top h2 {
    margin-top: 6px;

    font-size: 27px;

    font-weight: 900;
}

.glory-top h2 span {
    color: #ff3030;
}


/* =====================================================
   ONLINE STATUS
===================================================== */

.main-status {
    padding: 8px 12px;

    white-space: nowrap;

    border-radius: 20px;

    background:
        rgba(0, 255, 120, 0.09);

    color: #00ff78;

    font-size: 10px;

    font-weight: 700;
}

.status-dot {
    display: inline-block;

    width: 8px;
    height: 8px;

    margin-right: 5px;

    border-radius: 50%;

    background: #00ff78;

    box-shadow:
        0 0 8px
        #00ff78;
}


/* =====================================================
   FORM
===================================================== */

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;

    margin-bottom: 9px;

    color: #c7cad0;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 0.3px;
}

.form-group label i {
    margin-right: 5px;

    color: #ff3030;
}


/* =====================================================
   REGION SELECTOR
===================================================== */

.region-selector {
    position: relative;

    z-index: 300;
}

.region-btn {
    width: 100%;
    min-height: 55px;

    padding: 0 15px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    background: #111418;

    color: #ffffff;

    border:
        1px solid
        rgba(255, 255, 255, 0.12);

    border-radius: 13px;

    font-size: 13px;

    font-weight: 700;

    text-align: left;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.region-btn:hover,
.region-btn:focus {
    outline: none;

    border-color:
        rgba(255, 30, 30, 0.70);

    box-shadow:
        0 0 0 3px
        rgba(255, 0, 0, 0.05);
}

.region-btn i {
    color: #aaa;

    font-size: 10px;

    transition:
        transform 0.2s ease;
}

.region-selector.open .region-btn i {
    transform: rotate(180deg);
}


/* =====================================================
   REGION DROPDOWN
===================================================== */

.region-dropdown {
    position: absolute;

    left: 0;
    right: 0;

    top:
        calc(100% + 7px);

    width: 100%;

    max-height: 270px;

    padding: 7px;

    display: none;

    overflow-y: auto;

    background:
        #15191e;

    border:
        1px solid
        rgba(255, 30, 30, 0.55);

    border-radius: 13px;

    box-shadow:
        0 18px 45px
        rgba(0, 0, 0, 0.75);

    z-index: 9999;
}


/*
   IMPORTANT
   JS uses .show
*/

.region-dropdown.show {
    display: block;
}


/* REGION SCROLLBAR */

.region-dropdown::-webkit-scrollbar {
    width: 5px;
}

.region-dropdown::-webkit-scrollbar-track {
    background: #0b0d10;
    border-radius: 10px;
}

.region-dropdown::-webkit-scrollbar-thumb {
    background: #ff3030;
    border-radius: 10px;
}


/* REGION OPTIONS */

.region-dropdown button {
    width: 100%;
    min-height: 43px;

    padding: 8px 10px;

    border: 0;

    border-radius: 9px;

    background: transparent;

    color: #ffffff;

    text-align: left;

    font-size: 12px;

    transition:
        background 0.15s ease,
        padding-left 0.15s ease;
}

.region-dropdown button:hover {
    background:
        rgba(255, 0, 0, 0.13);

    padding-left: 14px;
}

.region-dropdown button:active {
    background:
        rgba(255, 0, 0, 0.20);
}


/* =====================================================
   BOTS
===================================================== */

.bot-list {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 8px;
}

.bot-btn {
    min-height: 67px;

    padding: 8px;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 5px;

    background: #111418;

    color: #ffffff;

    border:
        1px solid
        rgba(255, 255, 255, 0.10);

    border-radius: 12px;

    transition:
        0.20s ease;
}

.bot-btn strong {
    font-size: 12px;
}

.bot-btn span {
    color: #ff3030;

    font-size: 10px;

    font-weight: 700;
}

.bot-btn:hover:not(:disabled) {
    border-color:
        rgba(255, 30, 30, 0.60);

    transform:
        translateY(-1px);
}

.bot-btn.active {
    background:
        linear-gradient(
            145deg,
            rgba(255, 0, 0, 0.18),
            rgba(255, 0, 0, 0.04)
        );

    border-color:
        #ff3030;

    box-shadow:
        inset 0 0 15px
        rgba(255, 0, 0, 0.08),
        0 0 12px
        rgba(255, 0, 0, 0.06);
}

.bot-btn.package-disabled {
    opacity: 0.40;
}


/* =====================================================
   SELECTED PACKAGE
===================================================== */

.selected-box {
    min-height: 105px;

    padding: 17px;

    margin-top: 2px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 15px;

    background: #0d1013;

    border:
        1px solid
        rgba(255, 255, 255, 0.09);

    border-radius: 15px;
}

.selected-left {
    min-width: 0;
}

.selected-left span {
    display: block;

    margin-bottom: 7px;

    color: #777f89;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1.2px;
}

.selected-left strong {
    font-size: 17px;
}

.selected-right {
    text-align: right;

    min-width: 0;
}

.selected-right strong {
    display: block;

    color: #ff3030;

    font-size: 22px;

    font-weight: 900;
}

.selected-right span {
    display: block;

    margin-top: 4px;

    color: #ffffff;

    font-size: 10px;
}


/* =====================================================
   GUILD ID
===================================================== */

.guild-group {
    margin-top: 20px;

    margin-bottom: 14px;
}

.guild-input {
    width: 100%;
    height: 55px;

    padding: 0 15px;

    outline: none;

    background: #111418;

    color: #ffffff;

    border:
        1px solid
        rgba(255, 255, 255, 0.12);

    border-radius: 13px;

    font-size: 13px;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.guild-input::placeholder {
    color: #666d76;
}

.guild-input:focus {
    border-color:
        rgba(255, 30, 30, 0.75);

    box-shadow:
        0 0 0 3px
        rgba(255, 0, 0, 0.07);
}


/* =====================================================
   START BUTTON
===================================================== */

.start-btn {
    width: 100%;
    min-height: 55px;

    border: 0;

    border-radius: 13px;

    background:
        linear-gradient(
            135deg,
            #00d889,
            #00a96b
        );

    color: #ffffff;

    font-size: 13px;

    font-weight: 900;

    box-shadow:
        0 8px 20px
        rgba(0, 220, 140, 0.15);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.start-btn:hover:not(:disabled) {
    transform:
        translateY(-2px);

    box-shadow:
        0 12px 25px
        rgba(0, 220, 140, 0.25);
}

.start-btn:active:not(:disabled) {
    transform:
        scale(0.985);
}

.start-btn:disabled {
    opacity: 0.65;
}


/* =====================================================
   NOTE
===================================================== */

.glory-note {
    margin-top: 13px;

    color: #777f89;

    font-size: 9px;

    line-height: 1.5;

    text-align: center;
}

.glory-note i {
    color: #00d889;

    margin-right: 4px;
}


/* =====================================================
   HIDDEN
===================================================== */

.hidden {
    display: none !important;
}


/* =====================================================
   CONFIRM SCREEN
===================================================== */

.confirm-screen {
    position: fixed;

    inset: 0;

    width: 100%;
    height: 100dvh;

    padding: 15px;

    display: flex;

    align-items: center;
    justify-content: center;

    background:
        radial-gradient(
            circle at 50% 20%,
            rgba(255, 0, 0, 0.10),
            transparent 45%
        ),
        #050607;

    z-index: 5000;

    overflow-y: auto;
}


/* =====================================================
   CONFIRM CARD
===================================================== */

.confirm-card {
    width: 100%;
    max-width: 640px;

    max-height:
        calc(100dvh - 30px);

    padding: 21px;

    overflow-y: auto;

    background:
        linear-gradient(
            145deg,
            #15191d,
            #0b0e11
        );

    border:
        1px solid
        rgba(255, 40, 40, 0.45);

    border-radius: 23px;

    box-shadow:
        0 0 45px
        rgba(255, 0, 0, 0.12),
        0 20px 70px
        rgba(0, 0, 0, 0.75);

    animation:
        confirmPageOpen
        0.25s ease;
}

@keyframes confirmPageOpen {

    from {
        opacity: 0;

        transform:
            translateY(20px)
            scale(0.97);
    }

    to {
        opacity: 1;

        transform:
            translateY(0)
            scale(1);
    }
}


/* CONFIRM SCROLLBAR */

.confirm-card::-webkit-scrollbar {
    width: 5px;
}

.confirm-card::-webkit-scrollbar-track {
    background: #090b0d;
}

.confirm-card::-webkit-scrollbar-thumb {
    background: #ff3030;

    border-radius: 10px;
}


/* =====================================================
   CONFIRM HEADER
===================================================== */

.confirm-header {
    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 18px;
}

.confirm-icon {
    width: 50px;
    height: 50px;

    display: flex;

    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    color: #00ff88;

    background:
        rgba(0, 255, 136, 0.10);

    border:
        1px solid
        rgba(0, 255, 136, 0.35);

    border-radius: 14px;

    box-shadow:
        0 0 18px
        rgba(0, 255, 136, 0.12);
}

.confirm-small {
    display: block;

    color: #ff3030;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 2px;
}

.confirm-header h2 {
    margin-top: 3px;

    color: #ffffff;

    font-size: 25px;

    font-weight: 900;
}

.ready-status {
    display: block;

    margin-top: 3px;

    color: #00ff88;

    font-size: 9px;

    font-weight: 700;
}


/* =====================================================
   SETUP VIDEO
===================================================== */

.setup-title {
    display: flex;

    align-items: center;

    gap: 8px;

    margin-bottom: 8px;

    color: #ffffff;

    font-size: 12px;

    font-weight: 800;
}

.setup-title i {
    color: #ff3030;
}

.setup-video-box {
    width: 100%;

    padding: 6px;

    background: #080a0c;

    border:
        1px solid
        rgba(255, 40, 40, 0.40);

    border-radius: 14px;

    box-shadow:
        0 0 20px
        rgba(255, 0, 0, 0.06);

    overflow: hidden;
}

.glory-setup-video {
    display: block;

    width: 100%;

    min-height: 180px;

    max-height: 330px;

    background: #000000;

    border-radius: 9px;

    object-fit: contain;
}

.setup-video-note {
    margin: 7px 0 15px;

    color: #777f89;

    font-size: 9px;

    text-align: center;

    line-height: 1.4;
}


/* =====================================================
   CONFIRM DETAILS
===================================================== */

.confirm-details {
    padding: 14px;

    background:
        linear-gradient(
            145deg,
            #101418,
            #0b0e11
        );

    border:
        1px solid
        rgba(255, 255, 255, 0.08);

    border-radius: 14px;

    box-shadow:
        inset 0 0 20px
        rgba(255, 0, 0, 0.025);
}

.confirm-row {
    min-height: 36px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 12px;

    border-bottom:
        1px solid
        rgba(255, 255, 255, 0.05);
}

.confirm-row:last-child {
    border-bottom: none;
}

.confirm-row span {
    color: #c7cad0;

    font-size: 12px;

    font-weight: 700;
}

.confirm-row strong {
    color: #ffffff;

    font-size: 12px;

    font-weight: 800;

    text-align: right;

    word-break: break-word;
}

.confirm-price {
    color: #ff3030 !important;

    font-size: 17px !important;

    text-shadow:
        0 0 12px
        rgba(255, 0, 0, 0.25);
}


/* =====================================================
   CONFIRM ACTIONS
===================================================== */

.confirm-actions {
    display: flex;

    gap: 10px;

    margin-top: 16px;
}

.confirm-btn {
    flex: 1;

    min-height: 50px;

    border: 0;

    border-radius: 12px;

    background:
        linear-gradient(
            135deg,
            #00e889,
            #00a96b
        );

    color: #ffffff;

    font-size: 12px;

    font-weight: 900;

    box-shadow:
        0 8px 22px
        rgba(0, 220, 140, 0.16);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.confirm-btn:hover:not(:disabled) {
    transform:
        translateY(-2px);

    box-shadow:
        0 12px 28px
        rgba(0, 220, 140, 0.28);
}

.confirm-btn:active:not(:disabled) {
    transform:
        scale(0.98);
}

.cancel-confirm-btn {
    width: 105px;

    min-height: 50px;

    border:
        1px solid
        rgba(255, 50, 50, 0.45);

    border-radius: 12px;

    background:
        rgba(255, 0, 0, 0.08);

    color: #ff4040;

    font-size: 11px;

    font-weight: 900;

    transition:
        0.2s ease;
}

.cancel-confirm-btn:hover {
    background:
        rgba(255, 0, 0, 0.16);

    border-color:
        #ff3030;

    box-shadow:
        0 0 18px
        rgba(255, 0, 0, 0.12);

    transform:
        translateY(-2px);
}

.cancel-confirm-btn:active {
    transform:
        scale(0.98);
}


/* =====================================================
   PROCESSING SCREEN
===================================================== */

.processing-screen {
    position: fixed;

    inset: 0;

    z-index: 4500;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 20px;

    background:
        rgba(5, 6, 7, 0.98);
}

.processing-card {
    width: 100%;
    max-width: 430px;

    padding: 30px 22px;

    text-align: center;

    background:
        linear-gradient(
            145deg,
            #14181d,
            #0a0d10
        );

    border:
        1px solid
        rgba(255, 40, 40, 0.35);

    border-radius: 22px;

    box-shadow:
        0 0 45px
        rgba(255, 0, 0, 0.10);
}

.processing-icon {
    width: 65px;
    height: 65px;

    margin:
        0 auto 17px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        rgba(255, 0, 0, 0.10);

    border:
        1px solid
        rgba(255, 0, 0, 0.35);

    color: #ff3030;

    font-size: 25px;
}

.processing-icon i {
    animation:
        processingSpin
        1s linear infinite;
}

@keyframes processingSpin {

    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.processing-label {
    display: block;

    margin-bottom: 5px;

    color: #ff3030;

    font-size: 10px;

    font-weight: 900;

    letter-spacing: 2px;
}

.processing-card h2 {
    margin-bottom: 9px;

    font-size: 25px;

    font-weight: 900;
}

.processing-card > p {
    color: #858c94;

    font-size: 11px;

    line-height: 1.5;
}

.processing-details {
    margin-top: 18px;

    padding: 13px;

    background: #0d1013;

    border:
        1px solid
        rgba(255, 255, 255, 0.07);

    border-radius: 13px;
}

.processing-row {
    min-height: 34px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 10px;

    border-bottom:
        1px solid
        rgba(255, 255, 255, 0.05);
}

.processing-row:last-child {
    border-bottom: none;
}

.processing-row span {
    color: #9299a1;

    font-size: 11px;
}

.processing-row strong {
    color: #ffffff;

    font-size: 11px;

    text-align: right;
}

.pending-box {
    margin-top: 15px;

    padding: 10px;

    border-radius: 10px;

    background:
        rgba(255, 180, 0, 0.07);

    border:
        1px solid
        rgba(255, 180, 0, 0.18);

    color: #ffc107;

    font-size: 10px;

    font-weight: 800;
}

.pending-dot {
    display: inline-block;

    width: 7px;
    height: 7px;

    margin-right: 5px;

    border-radius: 50%;

    background: #ffc107;
}

.back-home-btn {
    width: 100%;

    min-height: 48px;

    margin-top: 15px;

    border:
        1px solid
        rgba(255, 40, 40, 0.35);

    border-radius: 11px;

    background:
        rgba(255, 0, 0, 0.08);

    color: #ff4040;

    font-size: 11px;

    font-weight: 900;

    transition: 0.2s ease;
}

.back-home-btn:hover {
    background:
        rgba(255, 0, 0, 0.15);

    border-color:
        #ff3030;
}


/* =====================================================
   DONE SCREEN
===================================================== */

.done-screen {
    position: fixed;

    inset: 0;

    z-index: 6000;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 20px;

    background:
        radial-gradient(
            circle at 50% 45%,
            rgba(0, 255, 136, 0.12),
            transparent 42%
        ),
        rgba(5, 6, 7, 0.98);
}

.done-card {
    width: 100%;
    max-width: 430px;

    padding: 32px 24px;

    text-align: center;

    background:
        linear-gradient(
            145deg,
            #141a18,
            #0a0e0c
        );

    border:
        1px solid
        rgba(0, 255, 136, 0.40);

    border-radius: 24px;

    box-shadow:
        0 0 50px
        rgba(0, 255, 136, 0.12);

    animation:
        doneOpen
        0.3s ease;
}

@keyframes doneOpen {

    from {
        opacity: 0;

        transform:
            scale(0.90);
    }

    to {
        opacity: 1;

        transform:
            scale(1);
    }
}

.done-icon {
    width: 75px;
    height: 75px;

    margin:
        0 auto 18px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        rgba(0, 255, 136, 0.12);

    border:
        2px solid
        #00ff88;

    color: #00ff88;

    font-size: 32px;

    box-shadow:
        0 0 30px
        rgba(0, 255, 136, 0.20);

    animation:
        donePulse
        1.4s ease infinite;
}

@keyframes donePulse {

    0%,
    100% {
        box-shadow:
            0 0 20px
            rgba(0, 255, 136, 0.15);
    }

    50% {
        box-shadow:
            0 0 40px
            rgba(0, 255, 136, 0.30);
    }
}

.done-label {
    display: block;

    margin-bottom: 5px;

    color: #00ff88;

    font-size: 10px;

    font-weight: 900;

    letter-spacing: 2.5px;
}

.done-card h2 {
    margin-bottom: 10px;

    color: #ffffff;

    font-size: 28px;

    font-weight: 900;
}

.done-card p {
    color: #9299a1;

    font-size: 11px;

    line-height: 1.5;
}

.done-success {
    margin-top: 17px;

    padding: 11px;

    border-radius: 11px;

    background:
        rgba(0, 255, 136, 0.07);

    border:
        1px solid
        rgba(0, 255, 136, 0.18);

    color: #00ff88;

    font-size: 10px;

    font-weight: 800;
}


/* =====================================================
   CUSTOM POPUP
===================================================== */

.glory-popup {
    position: fixed;

    inset: 0;

    z-index: 10000;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 20px;

    background:
        rgba(0, 0, 0, 0.72);

    animation:
        popupFade
        0.2s ease;
}

@keyframes popupFade {

    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.glory-popup-card {
    width: 100%;
    max-width: 360px;

    padding: 25px 20px;

    text-align: center;

    background:
        linear-gradient(
            145deg,
            #161a1f,
            #0b0e11
        );

    border:
        1px solid
        rgba(255, 40, 40, 0.40);

    border-radius: 18px;

    box-shadow:
        0 20px 60px
        rgba(0, 0, 0, 0.70);

    animation:
        popupOpen
        0.25s ease;
}

@keyframes popupOpen {

    from {
        opacity: 0;

        transform:
            translateY(15px)
            scale(0.96);
    }

    to {
        opacity: 1;

        transform:
            translateY(0)
            scale(1);
    }
}

.glory-popup-icon {
    width: 55px;
    height: 55px;

    margin:
        0 auto 13px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        rgba(255, 0, 0, 0.10);

    color: #ff3030;

    font-size: 23px;
}

.glory-popup-success .glory-popup-icon {
    background:
        rgba(0, 255, 136, 0.10);

    color: #00ff88;
}

.glory-popup-message {
    color: #ffffff;

    font-size: 12px;

    line-height: 1.6;
}

.glory-popup-close {
    width: 100%;

    min-height: 43px;

    margin-top: 17px;

    border: 0;

    border-radius: 10px;

    background:
        #ff3030;

    color: #ffffff;

    font-size: 11px;

    font-weight: 900;
}

.glory-popup-success .glory-popup-close {
    background:
        #00b875;
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 800px) {

    .hero-content {
        grid-template-columns:
            1fr 0.75fr;
    }

    .hero-logo-img {
        width: 105px;
        height: 105px;
    }

    .logo-ring {
        width: 140px;
        height: 140px;
    }

    .glory-card {
        max-width: 600px;
    }
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 600px) {

    .header {
        min-height: 68px;

        padding:
            12px 14px;
    }

    .header-logo {
        width: 38px;
        height: 38px;
    }

    .header-left h2 {
        font-size: 17px;
    }

    .language-btn {
        height: 36px;
    }

    .menu-btn {
        width: 36px;
        height: 36px;
    }


    /* HERO */

    .hero {
        padding:
            25px 15px 18px;
    }

    .hero-content {
        grid-template-columns:
            1fr;

        gap: 20px;
    }

    .hero-text {
        text-align: left;
    }

    .hero-logo {
        order: -1;

        justify-content: flex-end;

        position: absolute;

        top: 85px;

        right: 15px;

        pointer-events: none;
    }

    .logo-ring {
        width: 110px;
        height: 110px;
    }

    .hero-logo-img {
        width: 85px;
        height: 85px;
    }

    .hero h1 {
        max-width: 200px;

        font-size: 39px;
    }

    .hero p {
        margin-top: 13px;
    }


    /* GLORY */

    .glory-section {
        padding:
            5px 10px 35px;
    }

    .glory-card {
        padding:
            18px 14px;

        border-radius: 19px;
    }

    .glory-top {
        align-items: center;

        margin-bottom: 20px;
    }

    .glory-top h2 {
        font-size: 24px;
    }

    .small-title {
        font-size: 9px;
    }

    .main-status {
        padding:
            7px 9px;

        font-size: 9px;
    }


    /* REGION */

    .region-btn {
        min-height: 53px;

        font-size: 12px;
    }

    .region-dropdown {
        max-height: 250px;
    }


    /* BOTS */

    .bot-list {
        gap: 6px;
    }

    .bot-btn {
        min-height: 63px;

        padding: 6px;
    }

    .bot-btn strong {
        font-size: 11px;
    }

    .bot-btn span {
        font-size: 9px;
    }


    /* SELECTED */

    .selected-box {
        min-height: 95px;

        padding: 14px;

        gap: 10px;
    }

    .selected-left strong {
        font-size: 15px;
    }

    .selected-right strong {
        font-size: 19px;
    }

    .selected-right span {
        font-size: 9px;
    }


    /* CONFIRM */

    .confirm-screen {
        padding: 10px;
    }

    .confirm-card {
        max-height:
            calc(100dvh - 20px);

        padding: 17px;

        border-radius: 19px;
    }

    .confirm-header h2 {
        font-size: 22px;
    }

    .confirm-actions {
        flex-direction: column;
    }

    .confirm-btn {
        width: 100%;
    }

    .cancel-confirm-btn {
        width: 100%;
    }


    /* VIDEO */

    .glory-setup-video {
        min-height: 160px;
        max-height: 250px;
    }


    /* DONE */

    .done-card {
        padding:
            28px 20px;
    }
}


/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width: 380px) {

    .header {
        padding:
            10px 11px;
    }

    .header-left {
        gap: 7px;
    }

    .header-logo {
        width: 35px;
        height: 35px;
    }

    .header-left h2 {
        font-size: 15px;
    }

    .language-btn {
        padding:
            0 8px;

        font-size: 10px;
    }

    .hero {
        padding-top: 22px;
    }

    .hero h1 {
        font-size: 35px;
    }

    .hero-logo {
        top: 76px;
    }

    .logo-ring {
        width: 95px;
        height: 95px;
    }

    .hero-logo-img {
        width: 73px;
        height: 73px;
    }

    .glory-card {
        padding:
            16px 12px;
    }

    .glory-top h2 {
        font-size: 22px;
    }

    .main-status {
        padding:
            6px 8px;
    }

    .selected-right strong {
        font-size: 17px;
    }
}


/* =====================================================
   REDUCED MOTION
===================================================== */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}