* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #000;
    color: #fff;
}

.topbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 50;
}

.topbar-box {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(25, 25, 25, 0.75);
    padding: 14px 32px;
    border-radius: 0 0 14px 14px;
    gap: 24px;
    min-width: 720px;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    text-transform: uppercase;
    position: relative;
    cursor: pointer;
}

.item.login {
    color: #fff;
}

.item.login .login-icon {
    color: #fff;
}

.item.login:hover {
    color: #8b5cf6;
}

.label {
    color: #888;
}

.value {
    font-weight: 600;
}

.sub {
    font-size: 10px;
    color: #aaa;
}

.flag {
    width: 16px;
    height: 12px;
}

.divider {
    width: 1px;
    height: 26px;
    background: rgba(255,255,255,0.1);
}

.dropdown {
    position: relative;
}

.menu {
    position: absolute;
    top: 42px;
    left: 0;
    background: #111;
    border-radius: 8px;
    display: none;
    flex-direction: column;
    min-width: 120px;
    border: 1px solid rgba(255,255,255,0.1);
    z-index: 100;
    opacity: 0;
    transform: translateY(-5px);
    transition: 0.2s;
}

.menu.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.menu a {
    padding: 10px 14px;
    text-decoration: none;
    color: #fff;
    font-size: 12px;
}

.menu a:hover {
    background: #222;
}

.cart {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-icon {
    width: 18px;
    height: 18px;
    color: white;
}

.cart-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.login {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: 0.2s;
}

.login:hover {
    color: #8b5cf6;
}

.header {
    margin-top: 70px;
    position: relative;
    height: 350px;
    background: url('https://i.imgur.com/VL3zb3m.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
}

.header-content {
    position: relative;
    width: 85%; 
    margin: 0 auto; 
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo {
    width: 220px;
    filter: drop-shadow(0 0 25px rgba(139, 92, 246, 0.9));
}

.header-left {
    position: absolute;
    left: 35%; 
    transform: translateX(-50%);
}

.play-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.icon {
    width: 34px;
    height: 34px;
    background: #8b5cf6;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.info {
    display: flex;
    flex-direction: column;
}

.players {
    font-size: 0.8rem;
    color: #aaa;
}

.header-right {
    position: absolute;
    right: 35%; 
    transform: translateX(50%);
}

.discord-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.icon.discord img {
    width: 16px;
    height: 16px;
    filter: invert(1);
}

.promo-bar {
    width: 65%;
    height: 90px;
    margin: -45px auto 0 auto;
    border-radius: 16px;
    background:
        linear-gradient(90deg, #7c3aed, #8b5cf6),
        repeating-linear-gradient(
            0deg,
            rgba(255,255,255,0.04) 0px,
            rgba(255,255,255,0.04) 2px,
            transparent 2px,
            transparent 6px
        ),
        repeating-linear-gradient(
            90deg,
            rgba(255,255,255,0.04) 0px,
            rgba(255,255,255,0.04) 2px,
            transparent 2px,
            transparent 6px
        );
    background-blend-mode: overlay;
    position: relative;
    z-index: 10;
    overflow: visible;
    box-shadow: 0 15px 35px rgba(0,0,0,0.6);
}

.promo-cut {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 160px;
}

.promo-cut::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 45px;
    background: inherit;
    border-radius: 0 0 16px 16px;
    z-index: 5;
}

.promo-user {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

.promo-name {
    font-weight: 600;
    font-size: 14px;
    color: #fff;
    z-index: 20;
    position: relative;

    margin-right: 40px; 
}

.promo-avatar-wrapper {
    position: absolute;
    right: -70px;
    bottom: -60px;
    height: 300px;
    width: 110px;
    overflow: hidden;
    z-index: 1;

    -webkit-mask-image: linear-gradient(
        to top,
        transparent 0px,
        transparent 25px,  
        black 0px        
    );

    mask-image: linear-gradient(
        to top,
        transparent 0px,
        transparent 25px,
        black 0px
    );
}

.avatar-bottom {
    position: absolute;
    bottom: -35px;
    right: 0;
    height: 220px;
}

.promo-avatar-top-wrapper {
    position: absolute;
    right: -70px;
    bottom: 0;
    height: 70px;
    width: 110px;
    overflow: hidden;
    z-index: 30;
}

.avatar-top {
    position: absolute;
    bottom: 130px;
    right: 0;
    height: 220px;
}

.home-container {
    width: 65%; 
    margin: 30px auto;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.content-box {
    flex: 1;
    padding: 20px;
    border-radius: 16px;

    background: rgba(20, 15, 35, 0.8);
    backdrop-filter: blur(12px);

    border: 1px solid rgba(139, 92, 246, 0.15);

    box-shadow: 
        0 10px 30px rgba(0,0,0,0.6),
        inset 0 0 20px rgba(139, 92, 246, 0.05);
}

.sidebar-box {
    width: 260px;
    padding: 16px;
    border-radius: 16px;

    background: rgba(20, 15, 35, 0.8);
    backdrop-filter: blur(12px);

    border: 1px solid rgba(139, 92, 246, 0.15);

    box-shadow: 
        0 10px 30px rgba(0,0,0,0.6),
        inset 0 0 20px rgba(139, 92, 246, 0.05);
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sidebar-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 12px;
    background: rgba(40, 25, 60, 0.7);
    backdrop-filter: blur(10px);
    cursor: pointer;
    transition: 0.25s;
    color: #bbb;
    border: 1px solid rgba(255,255,255,0.05);
}

.sidebar-card:hover {
    background: rgba(124, 58, 237, 0.25);
    color: #fff;
    transform: translateX(4px);
}

.sidebar-card.active {
    background: linear-gradient(90deg, #7c3aed, #8b5cf6);
    color: #fff;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
}

.head {
    width: 30px;
    height: 30px;
    image-rendering: pixelated;
}

.icon-home {
    font-size: 20px;
    color: #fff;
}

.alert-box {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 14px 18px;
    margin-bottom: 20px;

    border-radius: 12px;

    background: linear-gradient(
        90deg,
        rgba(124, 58, 237, 0.25),
        rgba(139, 92, 246, 0.15)
    );

    border: 1px solid rgba(139, 92, 246, 0.3);

    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.alert-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.alert-icon {
    color: #a78bfa; 
    font-size: 18px;
}

.alert-text {
    display: flex;
    flex-direction: column;
}

.alert-title {
    font-weight: 600;
    color: #fff;
    font-size: 14px;
}

.alert-desc {
    font-size: 12px;
    color: #aaa;
}

.welcome-box {
    background: linear-gradient(
        180deg,
        rgba(60, 35, 90, 0.6),
        rgba(30, 20, 50, 0.6)
    );

    border-radius: 14px;
    padding: 20px;
    margin-bottom: 20px;

    border: 1px solid rgba(139, 92, 246, 0.2);

    box-shadow: 
        0 10px 25px rgba(0,0,0,0.5),
        inset 0 0 15px rgba(139, 92, 246, 0.1);

    width: 49%;
    margin-left: 0;

    text-align: center; 
}

.welcome-box h2 {
    color: #c084fc; 
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.welcome-box p {
    color: #bbb;
    font-size: 13px;
    line-height: 1.5;
}

.info-row {
    width: 100%; 
    display: flex;
    gap: 20px;
    margin-top: 15px;
}

.support-box,
.refund-box {
    width: 50%;
}

.support-box,
.refund-box {
    background: rgba(20, 15, 35, 0.8);
    border-radius: 14px;
    padding: 18px;

    border: 1px solid rgba(139, 92, 246, 0.2);

    box-shadow: 
        0 10px 25px rgba(0,0,0,0.5),
        inset 0 0 15px rgba(139, 92, 246, 0.08);
}

.support-box h3,
.refund-box h3 {
    color: #a78bfa;
    font-size: 15px;
    margin-bottom: 10px;
}

.support-box p,
.refund-box p {
    color: #aaa;
    font-size: 13px;
    line-height: 1.5;
}

.support-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 6px 12px;
    background: rgba(139, 92, 246, 0.2);
    border-radius: 6px;
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    transition: 0.2s;
}

.support-btn:hover {
    background: rgba(139, 92, 246, 0.4);
}

.sidebar-box::-webkit-scrollbar {
    height: 6px;
}

.sidebar-box::-webkit-scrollbar-thumb {
    background: #8b5cf6;
    border-radius: 10px;
}

.cart {
    position: relative;
    cursor: pointer;
}

.cart-dropdown {
    position: absolute;
    top: 60px;
    right: 0;

    width: 260px;
    background: #0f0f18;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;

    padding: 12px;
    display: none;

    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    z-index: 999;
}

.cart-dropdown.active {
    display: block;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 6px;
    color: #ccc;
}

.cart-footer {
    margin-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 10px;
}

.cart-btn {
    display: block;
    margin-top: 8px;
    text-align: center;
    background: #a855f7;
    color: white;
    padding: 8px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 13px;
}

.cart-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.remove-btn {
    background: transparent;
    border: none;
    color: #ff4d4d;
    font-size: 14px;
    cursor: pointer;
    transition: 0.2s;
}

.remove-btn:hover {
    transform: scale(1.2);
    color: #ff0000;
}

.dev-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    width: 100%;
    padding: 10px;
    margin-bottom: 10px;

    background: linear-gradient(
        to right,
        rgba(139, 92, 246, 0.2),
        rgba(168, 85, 247, 0.4),
        rgba(139, 92, 246, 0.2)
    );

    border-bottom: 1px solid rgba(139, 92, 246, 0.5);

    color: #c084fc;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1px;

    backdrop-filter: blur(6px);
}

.dev-icon {
    font-size: 14px;
}

@media (max-width: 900px) {
    .topbar-box {
        min-width: auto;
        width: 95%;
        padding: 10px 15px;
        gap: 12px;
        flex-wrap: wrap;
    }

    .item {
        font-size: 10px;
    }
}

@media (max-width: 900px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
    }

    .header-left,
    .header-right {
        position: static;
        transform: none;
    }

    .logo {
        width: 160px;
    }
}

@media (max-width: 900px) {

    .promo-bar {
        width: 70%;
        height: 40px;
        margin: -20px auto 0 auto;
    }

    .promo-avatar-wrapper,
    .promo-avatar-top-wrapper {
        display: none; 
    }

    .promo-cut {
        justify-content: center; 
        padding-right: 0;
    }

    .promo-name {
        margin-right: 0;
        text-align: center;
    }

}

@media (max-width: 900px) {
    .home-container {
        width: 90%;
        flex-direction: column;
    }
}

@media (max-width: 900px) {
    .sidebar-box {
        width: 100%;
        overflow-x: auto;
    }

    .sidebar {
        flex-direction: row;
        gap: 10px;
    }

    .sidebar-card {
        min-width: 140px;
        justify-content: center;
    }
}

@media (max-width: 900px) {
    .content-box {
        width: 100%;
    }
}

@media (max-width: 900px) {
    .welcome-box {
        width: 100%;
    }
}

@media (max-width: 900px) {
    .info-row {
        flex-direction: column;
    }

    .support-box,
    .refund-box {
        width: 100%;
    }
}