/* =========================================
   LEGENDMARKET BOOSTING PAGE
   ========================================= */

.lm-boosting-page {
    min-height: 100vh;
    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(255, 117, 24, 0.08),
            transparent 35%
        ),
        #080808;
    color: #ffffff;
}


/* =========================================
   CONTAINER
   ========================================= */

.lm-container {
    width: 100%;
    max-width: 1250px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}


/* =========================================
   HERO
   ========================================= */

.lm-hero {
    position: relative;
    padding: 100px 0 70px;
    overflow: hidden;
}

.lm-hero-glow {
    position: absolute;
    width: 650px;
    height: 650px;
    top: -400px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
    background: rgba(255, 117, 24, 0.15);
    filter: blur(150px);
    pointer-events: none;
}

.lm-hero-content {
    position: relative;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.lm-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 15px;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 117, 24, 0.25);
    border-radius: 999px;
    background: rgba(255, 117, 24, 0.06);
    color: #ff7518;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.lm-badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ff7518;
    box-shadow: 0 0 12px rgba(255, 117, 24, 0.8);
}

.lm-hero h1 {
    margin: 0;
    font-size: clamp(52px, 8vw, 100px);
    line-height: 0.95;
    font-weight: 900;
    letter-spacing: -4px;
}

.lm-hero h1 span {
    color: #ff7518;
}

.lm-hero-content p {
    max-width: 600px;
    margin: 28px auto 0;
    color: #858585;
    font-size: 17px;
    line-height: 1.7;
}


/* =========================================
   FEATURES
   ========================================= */

.lm-hero-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 60px;
}

.lm-feature {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    border: 1px solid #1d1d1d;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.025);
}

.lm-feature-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 11px;
    background: rgba(255, 117, 24, 0.1);
    font-size: 18px;
}

.lm-feature strong {
    display: block;
    font-size: 12px;
    letter-spacing: 0.7px;
}

.lm-feature span {
    display: block;
    margin-top: 4px;
    color: #707070;
    font-size: 12px;
}


/* =========================================
   SECTION
   ========================================= */

.lm-config-section {
    padding: 60px 0 100px;
}

.lm-section-heading {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 30px;
}

.lm-section-number {
    color: #ff7518;
    font-size: 13px;
    font-weight: 800;
}

.lm-section-heading h2 {
    margin: 0;
    font-size: 28px;
    font-weight: 800;
}

.lm-section-heading p {
    margin: 5px 0 0;
    color: #686868;
    font-size: 14px;
}


/* =========================================
   CONFIGURATOR
   ========================================= */

.lm-configurator {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 20px;
    align-items: start;
}

.lm-config-left {
    min-width: 0;
    padding: 30px;
    border: 1px solid #1d1d1d;
    border-radius: 18px;
    background: #0d0d0d;
}

.lm-step-content {
    display: none;
}

.lm-step-content.active {
    display: block;
}


/* =========================================
   STEP TITLE
   ========================================= */

.lm-step-title {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 28px;
}

.lm-step-title > span {
    color: #ff7518;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1px;
}

.lm-step-title h3 {
    margin: 0;
    font-size: 21px;
    font-weight: 800;
}

.lm-step-title p {
    margin: 5px 0 0;
    color: #686868;
    font-size: 13px;
}


/* =========================================
   GAME CARDS
   ========================================= */

.lm-game-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.lm-game-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
    padding: 20px;
    border: 1px solid #202020;
    border-radius: 14px;
    background: #111111;
    color: #ffffff;
    text-align: left;
    cursor: pointer;
    transition: 0.2s ease;
}

.lm-game-card:hover {
    border-color: rgba(255, 117, 24, 0.45);
    transform: translateY(-1px);
}

.lm-game-card.active {
    border-color: #ff7518;
    background: rgba(255, 117, 24, 0.07);
    box-shadow: 0 0 30px rgba(255, 117, 24, 0.06);
}

.lm-game-logo {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 12px;
    background: #1b1b1b;
    color: #ff7518;
    font-size: 13px;
    font-weight: 900;
}

.lm-game-info {
    min-width: 0;
}

.lm-game-info strong {
    display: block;
    font-size: 14px;
}

.lm-game-info span {
    display: block;
    margin-top: 4px;
    color: #686868;
    font-size: 12px;
}

.lm-game-check {
    margin-left: auto;
    color: #ff7518;
    opacity: 0;
    font-weight: 900;
}

.lm-game-card.active .lm-game-check {
    opacity: 1;
}


/* =========================================
   DROPDOWNS
   ========================================= */

.lm-select-wrapper {
    width: 100%;
}

.lm-select-wrapper label {
    display: block;
    margin-bottom: 10px;
    color: #777777;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.2px;
}

.lm-rank-select {
    width: 100%;
    height: 58px;
    padding: 0 18px;
    border: 1px solid #272727;
    border-radius: 12px;
    outline: none;
    background-color: #111111;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, #ff7518 50%),
        linear-gradient(135deg, #ff7518 50%, transparent 50%);
    background-position:
        calc(100% - 21px) 25px,
        calc(100% - 15px) 25px;
    background-size:
        6px 6px,
        6px 6px;
    background-repeat: no-repeat;
    transition: 0.2s ease;
}

.lm-rank-select:hover {
    border-color: #444444;
}

.lm-rank-select:focus {
    border-color: #ff7518;
    box-shadow: 0 0 0 3px rgba(255, 117, 24, 0.08);
}

.lm-rank-select:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.lm-rank-select option {
    background: #111111;
    color: #ffffff;
}


/* =========================================
   RANK DISTANCE
   ========================================= */

.lm-rank-distance {
    margin-top: 16px;
    padding: 15px 17px;
    border: 1px solid #202020;
    border-radius: 11px;
    background: #111111;
    color: #686868;
    font-size: 13px;
}

.lm-rank-distance strong {
    color: #ff7518;
}


/* =========================================
   NAVIGATION
   ========================================= */

.lm-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 35px;
    padding-top: 25px;
    border-top: 1px solid #1b1b1b;
}

.lm-nav-button {
    min-width: 125px;
    height: 45px;
    padding: 0 18px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.2s ease;
}

.lm-prev-button {
    border: 1px solid #252525;
    background: #111111;
    color: #777777;
}

.lm-prev-button:hover:not(:disabled) {
    border-color: #444444;
    color: #ffffff;
}

.lm-next-button {
    border: 1px solid #ff7518;
    background: #ff7518;
    color: #ffffff;
}

.lm-next-button:hover {
    background: #ff842e;
}

.lm-nav-button:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}


/* =========================================
   REMOVE OLD STEP PROGRESS BARS
   ========================================= */

.lm-progress {
    display: none !important;
}


/* =========================================
   SUMMARY
   ========================================= */

.lm-summary {
    position: sticky;
    top: 25px;
    padding: 24px;
    border: 1px solid #1d1d1d;
    border-radius: 18px;
    background: #0d0d0d;
}

.lm-summary-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #777777;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.2px;
}

.lm-summary-status {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #6f6f6f;
    font-size: 9px;
}

.lm-summary-status span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #55c879;
    box-shadow: 0 0 8px rgba(85, 200, 121, 0.7);
}

.lm-summary-game {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: 25px;
}

.lm-summary-game-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: rgba(255, 117, 24, 0.1);
    color: #ff7518;
    font-size: 12px;
    font-weight: 900;
}

.lm-summary-game strong {
    display: block;
    font-size: 13px;
}

.lm-summary-game span {
    display: block;
    margin-top: 4px;
    color: #686868;
    font-size: 11px;
}

.lm-summary-divider {
    height: 1px;
    margin: 22px 0;
    background: #1d1d1d;
}


/* =========================================
   RANK SUMMARY
   ========================================= */

.lm-summary-ranks {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 10px !important;
    width: 100% !important;
}

.lm-summary-rank {
    flex: 1 1 0 !important;
    min-width: 0 !important;
}

.lm-summary-rank span {
    display: block !important;
    margin-bottom: 7px !important;
    color: #606060 !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
}

.lm-summary-rank strong {
    display: block !important;
    color: #ffffff !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
}


/* =========================================
   ARROW
   ========================================= */

.lm-summary-arrow {
    flex: 0 0 30px !important;
    width: 30px !important;
    height: 18px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    margin-top: 25px !important;
    padding: 0 !important;

    color: #ff7518 !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 18px !important;
}


/* =========================================
   PRICE
   ========================================= */

.lm-summary-price {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.lm-summary-price > span {
    color: #777777 !important;
    font-size: 12px !important;
    font-weight: 500 !important;
}

.lm-summary-price > strong {
    display: flex !important;
    align-items: baseline !important;
    gap: 2px !important;
    color: #ff7518 !important;
    font-size: 32px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
}

.lm-summary-price #lm-price {
    display: inline !important;
    color: #ff7518 !important;
    font-size: 32px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
}


/* =========================================
   CHECKOUT
   ========================================= */

.lm-checkout-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 52px;
    margin-top: 22px;
    padding: 0 18px;
    border: 0;
    border-radius: 11px;
    background: #ff7518;
    color: #ffffff;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
    transition: 0.2s ease;
}

.lm-checkout-button:hover:not(:disabled) {
    background: #ff842e;
    transform: translateY(-1px);
}

.lm-checkout-button:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.lm-secure-text {
    margin: 14px 0 0;
    color: #555555;
    font-size: 9px;
    line-height: 1.6;
    text-align: center;
}


/* =========================================
   INFO
   ========================================= */

.lm-info-section {
    padding: 20px 0 100px;
}

.lm-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.lm-info-card {
    padding: 25px;
    border: 1px solid #1b1b1b;
    border-radius: 15px;
    background: #0d0d0d;
}

.lm-info-icon {
    margin-bottom: 18px;
    font-size: 24px;
}

.lm-info-card h3 {
    margin: 0;
    font-size: 15px;
}

.lm-info-card p {
    margin: 9px 0 0;
    color: #666666;
    font-size: 12px;
    line-height: 1.7;
}


/* =========================================
   TABLET
   ========================================= */

@media (max-width: 900px) {

    .lm-configurator {
        grid-template-columns: 1fr;
    }

    .lm-summary {
        position: relative;
        top: auto;
    }

}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 700px) {

    .lm-hero {
        padding: 70px 0 50px;
    }

    .lm-hero h1 {
        font-size: 58px;
        letter-spacing: -2px;
    }

    .lm-hero-features {
        grid-template-columns: 1fr;
    }

    .lm-game-grid {
        grid-template-columns: 1fr;
    }

    .lm-config-left {
        padding: 20px;
    }

    .lm-info-grid {
        grid-template-columns: 1fr;
    }

    .lm-navigation {
        flex-wrap: wrap;
    }

}


/* =========================================
   MOBILE RANK ARROW
   ========================================= */

@media (max-width: 600px) {

    .lm-summary-ranks {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0 !important;
    }

    .lm-summary-rank {
        width: 100% !important;
        flex: none !important;
    }

    .lm-summary-arrow {
        width: 100% !important;
        height: 25px !important;

        margin: 2px 0 !important;

        transform: rotate(90deg) !important;
    }

}


/* =========================================
   SMALL MOBILE
   ========================================= */

@media (max-width: 450px) {

    .lm-container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .lm-hero h1 {
        font-size: 48px;
    }

}

/* =========================================
   FINAL RANK ARROW FIX
   ========================================= */

/* PC */
.lm-summary-ranks {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    width: 100% !important;
    gap: 8px !important;
}

.lm-summary-rank {
    flex: 1 1 0 !important;
    width: auto !important;
    min-width: 0 !important;
}

.lm-summary-rank span {
    display: block !important;
    margin-bottom: 7px !important;
}

.lm-summary-rank strong {
    display: block !important;
    white-space: nowrap !important;
}


/* PC ARROW */
.lm-summary-arrow {
    flex: 0 0 30px !important;
    width: 30px !important;
    height: 18px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    margin: 16px 0 0 0 !important;
    padding: 0 !important;

    color: #ff7518 !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 18px !important;

    transform: translateX(-38px) !important;
}


/* =========================================
   MOBILE RANK SUMMARY - FINAL
   ========================================= */

@media (max-width: 1100px) {

    .lm-summary-ranks {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0 !important;
    }

    .lm-summary-rank {
        width: 100% !important;
        flex: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .lm-summary-arrow {
        flex: none !important;

        width: 100% !important;
        height: 20px !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        /*
         * Pull arrow closer to Current Rank
         * and Desired Rank.
         */
        margin: -2px 0 -8px 0 !important;
        padding: 0 !important;

        transform: rotate(90deg) !important;

        color: #ff7518 !important;
        font-size: 20px !important;
        line-height: 20px !important;
    }

}

/* =========================================
   HIDE RANK ARROW ON MOBILE
   ========================================= */

@media (max-width: 1100px) {
    .lm-summary-arrow {
        display: none !important;
    }
}