/* =====================================================
   RESET
===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    background: #050607;
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    overflow-x: hidden;
}


button,
a {
    font-family: inherit;
}


button {
    cursor: pointer;
}


/* =====================================================
   BODY BACKGROUND
===================================================== */

body::before {

    content: "";

    position: fixed;

    inset: 0;

    pointer-events: none;

    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(255, 0, 0, 0.08),
            transparent 35%
        );

    z-index: -1;
}


/* =====================================================
   HEADER
===================================================== */

.header {

    width: 100%;

    min-height: 76px;

    padding: 14px 18px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    border-bottom: 1px solid rgba(255, 0, 0, 0.45);

    background: rgba(5, 6, 7, 0.96);

    position: relative;

    z-index: 100;
}


.header-left {

    display: flex;

    align-items: center;

    gap: 9px;

    min-width: 0;
}


.header-logo {

    width: 42px;

    height: 42px;

    border-radius: 50%;

    object-fit: cover;

    border: 2px solid #ff2020;

    box-shadow:
        0 0 12px rgba(255, 0, 0, 0.65);
}


.header-left h2 {

    font-size: 19px;

    white-space: nowrap;

    font-weight: 800;
}


.header-left h2 span {

    color: #ff2020;
}


.header-right {

    display: flex;

    align-items: center;

    gap: 8px;
}


/* =====================================================
   LANGUAGE
===================================================== */

.language-box {

    position: relative;
}


.language-btn {

    height: 38px;

    padding: 0 10px;

    border: 1px solid rgba(255,255,255,0.12);

    border-radius: 11px;

    background: #101215;

    color: #ffffff;

    display: flex;

    align-items: center;

    gap: 6px;

    font-size: 12px;
}


.language-btn i:first-child {

    color: #ff2020;
}


.language-btn i:last-child {

    font-size: 9px;
}


.language-menu {

    position: absolute;

    top: 45px;

    right: 0;

    width: 125px;

    padding: 6px;

    border-radius: 12px;

    background: #111317;

    border: 1px solid rgba(255,0,0,0.35);

    box-shadow:
        0 15px 35px rgba(0,0,0,0.5);

    display: none;

    z-index: 300;
}


.language-menu.show {
    display: block;
}


.language-menu button {

    width: 100%;

    padding: 10px;

    background: transparent;

    border: 0;

    color: #ffffff;

    text-align: left;

    border-radius: 8px;
}


.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;
}


.menu-btn:hover {

    color: #ff2020;
}


/* =====================================================
   SIDE MENU
===================================================== */

.side-menu {

    position: fixed;

    top: 0;

    right: -310px;

    width: 285px;

    height: 100vh;

    background: #0b0d10;

    border-left: 1px solid rgba(255,0,0,0.4);

    z-index: 500;

    padding: 22px 18px;

    transition: right 0.3s ease;

    box-shadow:
        -15px 0 45px rgba(0,0,0,0.5);
}


.side-menu.open {

    right: 0;
}


.menu-title {

    color: #ff2020;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 2px;

    margin-bottom: 20px;
}


.menu-brand {

    display: flex;

    align-items: center;

    gap: 10px;
}


.menu-brand img {

    width: 45px;

    height: 45px;

    border-radius: 50%;

    object-fit: cover;

    border: 2px solid #ff2020;
}


.menu-brand h2 {

    font-size: 18px;
}


.menu-brand h2 span {

    color: #ff2020;
}


.menu-brand small {

    color: #777;

    font-size: 11px;
}


.menu-line {

    height: 1px;

    background: rgba(255,255,255,0.08);

    margin: 20px 0;
}


/* =====================================================
   USER CARD
===================================================== */

.user-card {

    padding: 12px;

    background: #111418;

    border: 1px solid rgba(255,255,255,0.08);

    border-radius: 13px;

    display: flex;

    align-items: center;

    gap: 10px;
}


.user-icon {

    width: 38px;

    height: 38px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    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;

    letter-spacing: 1px;
}


.user-info strong {

    display: block;

    font-size: 13px;

    margin-top: 2px;

    overflow: hidden;

    text-overflow: ellipsis;
}


.user-info span {

    font-size: 10px;

    color: #00ff78;
}


.balance {

    color: #ff3030;

    font-size: 12px;

    display: flex;

    gap: 5px;
}


/* =====================================================
   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 {

    text-decoration: none;

    color: #b9bcc2;

    padding: 12px;

    border-radius: 10px;

    display: flex;

    align-items: center;

    gap: 12px;

    font-size: 13px;
}


.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-btn {

    position: absolute;

    bottom: 25px;

    left: 18px;

    right: 18px;

    padding: 12px;

    border-radius: 10px;

    border: 1px solid rgba(255,0,0,0.3);

    background: rgba(255,0,0,0.08);

    color: #ff3030;
}


/* =====================================================
   OVERLAY
===================================================== */

.menu-overlay {

    position: fixed;

    inset: 0;

    background: rgba(0,0,0,0.65);

    z-index: 450;

    opacity: 0;

    visibility: hidden;

    transition: 0.3s;
}


.menu-overlay.show {

    opacity: 1;

    visibility: visible;
}


body.menu-open {

    overflow: hidden;
}


/* =====================================================
   HERO
===================================================== */

.hero {

    padding: 35px 20px 25px;
}


.hero-content {

    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 {

    color: #ff2020;

    font-size: 16px;

    margin-bottom: 16px;
}


.hero h1 {

    font-size: clamp(31px, 8vw, 60px);

    line-height: 0.98;

    font-weight: 900;

    letter-spacing: -1px;
}


.hero h1 span {

    color: #ff2020;
}


.hero p {

    margin-top: 17px;

    max-width: 380px;

    color: #b9bec8;

    font-size: 13px;

    line-height: 1.55;
}


/* =====================================================
   HERO LOGO
===================================================== */

.hero-logo {

    display: flex;

    justify-content: center;

    align-items: center;
}


.logo-ring {

    width: 145px;

    height: 145px;

    position: relative;

    display: flex;

    align-items: center;

    justify-content: center;
}


.hero-logo-img {

    width: 115px;

    height: 115px;

    border-radius: 50%;

    object-fit: cover;

    position: relative;

    z-index: 5;

    border: 3px solid #ff2525;

    box-shadow:
        0 0 18px #ff2020,
        0 0 40px rgba(255,0,0,0.5);
}


.ring {

    position: absolute;

    border-radius: 50%;

    border: 2px solid #ff2020;

    pointer-events: none;
}


.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);
    }

}


/* =====================================================
   PANEL SECTION
===================================================== */

.panel-section {

    padding: 10px 15px 45px;
}


.panel-card {

    width: 100%;

    max-width: 600px;

    margin: auto;

    padding: 22px 18px;

    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);
}


/* =====================================================
   PANEL TOP
===================================================== */

.panel-top {

    display: flex;

    justify-content: space-between;

    align-items: flex-start;

    gap: 10px;

    margin-bottom: 24px;
}


.small-title {

    color: #ff3030;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 3px;
}


.panel-top h2 {

    font-size: 27px;

    margin-top: 6px;

    font-weight: 900;
}


.main-status {

    padding: 9px 13px;

    border-radius: 25px;

    background: rgba(0,255,120,0.09);

    color: #00ff78;

    font-size: 11px;

    font-weight: 700;

    white-space: nowrap;
}


.status-dot {

    display: inline-block;

    width: 8px;

    height: 8px;

    border-radius: 50%;

    background: #00ff78;

    box-shadow:
        0 0 8px #00ff78;

    margin-right: 5px;
}


/* =====================================================
   FORM
===================================================== */

.form-group {

    margin-bottom: 20px;
}


.form-group label {

    display: block;

    margin-bottom: 9px;

    color: #c7cad0;

    font-size: 12px;

    font-weight: 700;
}


/* =====================================================
   PANEL SELECTOR
===================================================== */

.panel-selector {

    position: relative;
}


.panel-select-btn {

    width: 100%;

    min-height: 56px;

    padding: 0 15px;

    border-radius: 13px;

    border: 1px solid rgba(255,255,255,0.12);

    background: #111418;

    color: #ffffff;

    display: flex;

    align-items: center;

    justify-content: space-between;

    font-size: 13px;

    font-weight: 700;

    text-align: left;
}


.panel-select-btn:hover {

    border-color: rgba(255,30,30,0.65);
}


.selector-right {

    display: flex;

    align-items: center;

    gap: 8px;
}


#selectStatus {

    color: #00ff78;

    font-size: 10px;

    white-space: nowrap;
}


#selectStatus .status-dot {

    width: 7px;

    height: 7px;

    margin-right: 3px;
}


.selector-right > i {

    color: #aaa;

    font-size: 10px;

    transition: transform 0.25s;
}


.panel-selector.open .selector-right > i {

    transform: rotate(180deg);
}


/* =====================================================
   DROPDOWN
===================================================== */

.panel-dropdown {

    position: absolute;

    left: 0;

    right: 0;

    top: calc(100% + 7px);

    padding: 7px;

    background: #15191e;

    border: 1px solid rgba(255,30,30,0.5);

    border-radius: 13px;

    box-shadow:
        0 18px 40px rgba(0,0,0,0.6);

    z-index: 100;

    display: none;
}


.panel-selector.open .panel-dropdown {

    display: block;
}


.panel-dropdown button {

    width: 100%;

    min-height: 44px;

    padding: 8px 10px;

    border: 0;

    border-radius: 9px;

    background: transparent;

    color: #ffffff;

    display: flex;

    justify-content: space-between;

    align-items: center;

    text-align: left;

    font-size: 12px;
}


.panel-dropdown button:hover {

    background: rgba(255,0,0,0.12);
}


.drop-status {

    font-size: 9px;

    white-space: nowrap;
}


.drop-status.online {

    color: #00ff78;
}


.drop-status.offline {

    color: #ff4040;
}


/* =====================================================
   PACKAGE
===================================================== */

.package-list {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 8px;
}


.package-btn {

    min-height: 50px;

    border-radius: 12px;

    border: 1px solid rgba(255,255,255,0.1);

    background: #111418;

    color: #ffffff;

    font-size: 11px;

    font-weight: 700;

    transition: 0.2s;
}


.package-btn:hover {

    border-color: rgba(255,30,30,0.55);
}


.package-btn.active {

    border-color: #ff3030;

    background:
        linear-gradient(
            145deg,
            rgba(255,0,0,0.18),
            rgba(255,0,0,0.04)
        );

    box-shadow:
        inset 0 0 15px rgba(255,0,0,0.08);

    color: #ffffff;
}


/* =====================================================
   SELECTED BOX
===================================================== */

.selected-box {

    min-height: 105px;

    padding: 18px;

    margin-top: 3px;

    border-radius: 15px;

    background: #0d1013;

    border: 1px solid rgba(255,255,255,0.09);

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 15px;
}


.selected-left span {

    display: block;

    color: #777f89;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1.3px;

    margin-bottom: 8px;
}


.selected-left strong {

    font-size: 17px;
}


.selected-right {

    text-align: right;
}


.selected-right strong {

    display: block;

    color: #ff3030;

    font-size: 23px;

    font-weight: 900;

    white-space: nowrap;
}


.selected-right span {

    color: #ffffff;

    font-size: 11px;

    margin-top: 4px;

    display: block;
}


/* =====================================================
   ACTION BUTTONS
===================================================== */

.action-buttons {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 10px;

    margin-top: 14px;
}


.buy-btn,
.video-btn {

    min-height: 55px;

    border-radius: 13px;

    border: 0;

    color: #ffffff;

    font-size: 12px;

    font-weight: 800;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    transition: 0.2s;
}


.buy-btn {

    background:
        linear-gradient(
            135deg,
            #ff2020,
            #c90000
        );

    box-shadow:
        0 8px 20px rgba(255,0,0,0.18);
}


.video-btn {

    background: #15191e;

    border: 1px solid rgba(255,255,255,0.1);
}


.buy-btn:hover {

    transform: translateY(-2px);

    box-shadow:
        0 12px 25px rgba(255,0,0,0.28);
}


.video-btn:hover {

    border-color: rgba(255,30,30,0.5);
}


.buy-btn:disabled {

    background: #282b2f;

    color: #777;

    box-shadow: none;

    cursor: not-allowed;

    transform: none;
}


/* =====================================================
   NOTE
===================================================== */

.note-box {

    margin-top: 20px;

    padding-top: 17px;

    border-top: 1px solid rgba(255,255,255,0.08);
}


.note-title {

    display: flex;

    align-items: center;

    gap: 9px;

    font-size: 14px;

    margin-bottom: 12px;
}


.note-dot {

    width: 10px;

    height: 10px;

    border-radius: 50%;

    background: #ff3030;

    box-shadow:
        0 0 10px rgba(255,0,0,0.5);
}


.note-box ul {

    list-style: none;

    display: flex;

    flex-direction: column;

    gap: 9px;
}


.note-box li {

    position: relative;

    padding-left: 15px;

    color: #b9bec7;

    font-size: 11px;

    line-height: 1.4;
}


.note-box li::before {

    content: "•";

    position: absolute;

    left: 0;

    color: #ff3030;

    font-size: 14px;
}


/* =====================================================
   PHONE VIEW
===================================================== */

@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: 35px;

        padding: 0 8px;
    }


    .menu-btn {

        width: 32px;

        height: 35px;
    }


    .hero {

        padding: 34px 18px 22px;
    }


    .hero-content {

        grid-template-columns: 1.15fr 0.85fr;

        gap: 0;
    }


    .hero h1 {

        font-size: 31px;

        line-height: 0.98;
    }


    .hero p {

        font-size: 11px;

        line-height: 1.5;

        max-width: 210px;
    }


    .crown {

        margin-bottom: 13px;
    }


    .logo-ring {

        width: 130px;

        height: 130px;
    }


    .hero-logo-img {

        width: 102px;

        height: 102px;
    }


    .panel-section {

        padding: 8px 12px 35px;
    }


    .panel-card {

        padding: 20px 15px;

        border-radius: 19px;
    }


    .panel-top h2 {

        font-size: 24px;
    }


    .main-status {

        padding: 8px 10px;

        font-size: 10px;
    }


    .selected-right strong {

        font-size: 21px;
    }

}


/* =====================================================
   SMALL PHONE
===================================================== */

@media (max-width: 380px) {

    .hero {

        padding-left: 14px;

        padding-right: 14px;
    }


    .hero h1 {

        font-size: 27px;
    }


    .hero p {

        font-size: 10px;
    }


    .logo-ring {

        width: 112px;

        height: 112px;
    }


    .hero-logo-img {

        width: 88px;

        height: 88px;
    }


    .panel-section {

        padding-left: 9px;

        padding-right: 9px;
    }


    .panel-card {

        padding: 18px 12px;
    }


    .action-buttons {

        gap: 7px;
    }


    .buy-btn,
    .video-btn {

        font-size: 10px;
    }

}

/* =====================================================
   PC ORDER PREMIUM POPUP
   NEW - ORDER FLOW ONLY
===================================================== */

#pcPremiumPopup {
    position: fixed;
    inset: 0;

    z-index: 9999;

    pointer-events: auto;
}


.pc-popup-backdrop {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;

    background:
        rgba(0, 0, 0, 0.78);

    backdrop-filter:
        blur(8px);

    animation:
        pcPopupFadeIn 0.22s ease;
}


/* =====================================================
   POPUP CARD
===================================================== */

.pc-premium-popup {
    width: 100%;
    max-width: 390px;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            #181b20,
            #0b0d10
        );

    border:
        1px solid
        rgba(255, 35, 35, 0.5);

    border-radius: 22px;

    box-shadow:
        0 25px 70px
        rgba(0, 0, 0, 0.75),
        0 0 35px
        rgba(255, 0, 0, 0.10);

    animation:
        pcPopupScale 0.25s ease;
}


/* =====================================================
   ICON
===================================================== */

.pc-popup-icon {
    width: 68px;
    height: 68px;

    margin:
        28px auto 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    font-size: 25px;

    border: 1px solid;
}


.pc-popup-icon.success {
    background:
        rgba(0, 255, 120, 0.09);

    border-color:
        rgba(0, 255, 120, 0.45);

    color: #00ff78;

    box-shadow:
        0 0 25px
        rgba(0, 255, 120, 0.16);
}


.pc-popup-icon.error {
    background:
        rgba(255, 30, 30, 0.09);

    border-color:
        rgba(255, 30, 30, 0.45);

    color: #ff3030;

    box-shadow:
        0 0 25px
        rgba(255, 0, 0, 0.16);
}


/* =====================================================
   CONTENT
===================================================== */

.pc-popup-content {
    padding:
        0 24px 24px;

    text-align: center;
}


.pc-popup-badge {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 25px;

    padding:
        0 10px;

    margin-bottom: 10px;

    border-radius: 20px;

    background:
        rgba(255, 30, 30, 0.09);

    border:
        1px solid
        rgba(255, 30, 30, 0.22);

    color: #ff4040;

    font-size: 8px;
    font-weight: 800;

    letter-spacing: 1.4px;
}


.pc-popup-content h2 {
    margin: 0;

    color: #ffffff;

    font-size: 22px;
    font-weight: 900;
}


.pc-popup-content p {
    margin:
        10px auto 18px;

    max-width: 310px;

    color: #969ba3;

    font-size: 11px;

    line-height: 1.6;
}


/* =====================================================
   ORDER NUMBER
===================================================== */

.pc-popup-order {
    display: flex;

    align-items: center;
    justify-content: space-between;

    min-height: 52px;

    padding:
        0 14px;

    margin-bottom: 15px;

    background:
        #0b0e11;

    border:
        1px solid
        rgba(255,255,255,0.08);

    border-radius: 11px;

    text-align: left;
}


.pc-popup-order span {
    color: #6e737b;

    font-size: 8px;

    font-weight: 800;

    letter-spacing: 1.3px;
}


.pc-popup-order strong {
    color: #ffffff;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 0.5px;
}


/* =====================================================
   ACTION BUTTON
===================================================== */

.pc-popup-btn {
    width: 100%;

    min-height: 48px;

    border:
        1px solid
        #ff2020;

    border-radius: 11px;

    background:
        linear-gradient(
            135deg,
            #ff2525,
            #cf0000
        );

    color: #ffffff;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 0.4px;

    cursor: pointer;

    box-shadow:
        0 8px 22px
        rgba(255, 0, 0, 0.18);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


.pc-popup-btn:hover {
    transform:
        translateY(-1px);

    box-shadow:
        0 11px 28px
        rgba(255, 0, 0, 0.28);
}


.pc-popup-btn:active {
    transform:
        translateY(0);
}


/* =====================================================
   ANIMATION
===================================================== */

@keyframes pcPopupFadeIn {

    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }

}


@keyframes pcPopupScale {

    from {
        opacity: 0;

        transform:
            scale(0.92)
            translateY(8px);
    }

    to {
        opacity: 1;

        transform:
            scale(1)
            translateY(0);
    }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 480px) {

    .pc-popup-backdrop {
        padding:
            16px;
    }


    .pc-premium-popup {
        max-width:
            360px;

        border-radius:
            19px;
    }


    .pc-popup-icon {
        width: 62px;
        height: 62px;

        margin-top: 24px;

        font-size: 22px;
    }


    .pc-popup-content {
        padding:
            0 19px 20px;
    }


    .pc-popup-content h2 {
        font-size: 20px;
    }


    .pc-popup-content p {
        font-size: 10px;
    }


    .pc-popup-btn {
        min-height: 46px;
    }

}


/* =====================================================
   VERY SMALL PHONE
===================================================== */

@media (max-width: 350px) {

    .pc-popup-content {
        padding:
            0 15px 17px;
    }


    .pc-popup-content h2 {
        font-size: 18px;
    }


    .pc-popup-order {
        padding:
            0 11px;
    }

}