@import url("https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap");
:root {
  --color-primary: #f472b6;
  --bg-image: url("https://webstore-template-assets.tebex.io/images/page-bg.jpg");
}

body {
  font-family: Poppins, sans-serif;
}
body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  max-height: 400px;
  z-index: -1;
  background: var(--bg-image) center center/cover no-repeat;
  mask-image: linear-gradient(rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0));
  pointer-events: none;
}

.btn-primary,
.btn-secondary,
.btn-tertiary {
  border-radius: 2px;
}

.btn-primary:hover, .btn-primary:focus,
.btn-secondary:hover,
.btn-secondary:focus {
  box-shadow: 0 0 6px rgb(from var(--btn-color-bg-hover) r g b/0.6);
}

.quantity-field {
  border-radius: 14px;
}

.site-header-inner .info .image {
  border-radius: 5px;
}
.site-header-inner .user-name ul li {
  overflow: hidden;
}
.site-header-inner .user-name ul li:first-child {
  border-top-left-radius: 2px;
  border-top-right-radius: 2px;
}
.site-header-inner .user-name ul li:last-child {
  border-bottom-left-radius: 2px;
  border-bottom-right-radius: 2px;
}

.site-sale-banner {
  border-radius: 5px;
}

.site-home-categories .category {
  border-radius: 5px;
  padding: 20px var(--widget-padding);
  background: var(--color-brighter-bg);
  transition: color 0.15s ease-in-out;
}
.site-home-categories .category:hover {
  color: var(--color-primary);
}

.category-description {
  border-radius: 5px;
  background: var(--color-brighter-bg);
}

.store-text {
  border-radius: 5px;
  background: var(--color-brighter-bg);
}
.store-text h1,
.store-text h2,
.store-text h3,
.store-text h4,
.store-text h5,
.store-text h6 {
  text-align: center;
}


.store-products-images .store-product {
  text-align: center;
}

.widget-title {
  text-align: center;
}

.widget .store-product {
  text-align: center;
}

.no-products {
  color: var(--color-text-secondary);
  background: var(--color-brighter-bg);
  border-radius: 5px;
}

.store-product-full {
  border-radius: 5px;
  background: var(--color-brighter-bg);
}

.store-product .quantity-field {
  border-radius: 14px;
  background: var(--color-brighter-bg);
}
.store-product .quantity-field input[type=number] {
  border: none;
}

@media (width > 960px) {
  .navigation-horizontal > ul {
    border-radius: 5px;
  }
}
.navigation-horizontal .has-children > ul {
  border-radius: 5px;
}

.widget {
  border-radius: 5px;
  background: #1e293b;
}
@media (width <= 960px) {
  .widget.site-navigation {
    border-radius: 0;
    background: transparent;
  }
}

.widget-gift-card .gift-card-input {
  border-radius: 14px;
}

.widget-top-donator .avatar {
  border-radius: 50%;
}

.widget-community-goal .progress,
.widget-goal .progress {
  border-radius: 6px;
}
.widget-community-goal .progress-bar,
.widget-goal .progress-bar {
  border-radius: 6px;
}

.popup-content {
  border-radius: 5px;
}

.popup-close {
  border-radius: 0 5px 0 5px;
}

.basket-popup-content,
.basket-popup-content .popup-close {
  border-radius: 0;
}

.basket-items {
  padding: var(--widget-padding) calc(var(--content-padding) - var(--widget-padding));
}

.basket-item {
  border-radius: 14px;
}
.basket-item .quantity {
  border-radius: 2px;
}

.toast {
  border-radius: 6px;
}

.toast-close {
  border-radius: 2px;
}

.store-category-tiered {
  border-radius: 5px;
  background: var(--color-brighter-bg);
}

.store-category-tiered-header h1,
.store-category-tiered-header h2,
.store-category-tiered-header h3,
.store-category-tiered-header h4,
.store-category-tiered-header h5,
.store-category-tiered-header h6 {
  text-align: center;
}

.store-product-tiered {
  border-radius: 5px;
  background: rgb(from var(--color-bg) r g b/0.5);
}















/* ===== MODAL BACKDROP ===== */

.login-modal.active {
    display: flex;
}

/* ===== MODAL BOX ===== */
/* ===== MODAL BACKDROP ===== */
.login-modal {
    position: fixed;
    inset: 0;
    background: rgba(10, 20, 40, 0.75);

    display: none;              /* IMPORTANT */
    justify-content: center;
    align-items: center;

    z-index: 9999;
}

/* When active */
.login-modal.active {
    display: flex;
    backdrop-filter: blur(10px);
}

/* ===== MODAL BOX ===== */
.login-box {
    background: linear-gradient(145deg, #3f5f82, #324d6d);
    padding: 60px 70px;
    border-radius: 24px;
    width: 760px;          /* 🔥 Bigger desktop */
    max-width: 95%;
    color: #ffffff;
    position: relative;
    box-shadow: 0 30px 60px rgba(0,0,0,0.45);
    text-align: center;

    transform: scale(0.92);
    opacity: 0;
    transition: all 0.3s cubic-bezier(.2,.8,.2,1);
}
/* Animate only when modal active */
.login-modal.active .login-box {
    transform: scale(1);
    opacity: 1;
}
/* ===== DESKTOP ENHANCEMENT ===== */
@media (min-width: 1024px) {

    .modal-login-form input {
        padding: 22px 24px;
        font-size: 18px;
        border-radius: 18px;
    }

    .modal-login-btn {
        padding: 22px 32px;
        font-size: 17px;
        border-radius: 18px;
    }
}
/* ===== CLOSE BUTTON ===== */


.login-close {
    position: absolute;
    top: 18px;
    right: 18px;

    width: 36px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.8);

    border: none;
    border-radius: 10px;

    font-size: 16px;
    cursor: pointer;

    transition: all 0.2s ease;
}

/* Hover */
.login-close:hover {
    background: #ff4b6e;
    color: white;
    transform: scale(1.08);
    box-shadow: 0 8px 20px rgba(255,75,110,0.35);
}

/* Active click */
.login-close:active {
    transform: scale(0.95);
}


/* ===== TITLES ===== */
.login-box h2 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 8px;
}

.login-sub {
    opacity: 0.85;
    font-size: 15px;
    margin-bottom: 35px;
}

/* ===== PLATFORM BUTTONS ===== */
.platform-btn:hover {
    background: rgba(255,255,255,0.18);
}

.platform-select {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
}

.platform-btn {
    flex: 1;
    padding: 18px 22px;
    border-radius: 16px;
    border: none;
    cursor: pointer;
    font-weight: 700;
    font-size: 15px;
    transition: 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.7);
}

.platform-btn i {
    font-size: 16px;
}

/* JAVA ACTIVE */
.platform-btn.java.active {
    background: linear-gradient(135deg, #63c7e6, #42a6d8);
    color: white;
    box-shadow: 0 12px 25px rgba(66,166,216,0.5);
}

/* BEDROCK ACTIVE */
.platform-btn.bedrock.active {
    background: linear-gradient(135deg, #ff4ecb, #d82aa5);
    color: white;
    box-shadow: 0 12px 25px rgba(216,42,165,0.45);
}

.platform-btn:hover {
    transform: translateY(-2px);
}


/* ===== INPUT AREA ===== */
.modal-login-form {
    display: flex;
    gap: 15px;
}

.modal-login-form input {
    flex: 1;
    padding: 16px 18px;
    border-radius: 14px;
    border: none;
    font-size: 15px;
    outline: none;
    background: rgba(255,255,255,0.1);
    color: white;
}

.modal-login-form input::placeholder {
    color: rgba(255,255,255,0.6);
}

.modal-login-form input:focus {
    background: rgba(255,255,255,0.2);
}

/* ===== CONTINUE BUTTON ===== */
.modal-login-btn {
    padding: 16px 26px;
    border-radius: 14px;
    border: none;
    font-weight: 600;
    background: linear-gradient(135deg, #5d7fa6, #4b6b91);
    color: white;
    cursor: pointer;
    transition: 0.25s ease;
    white-space: nowrap;       /* 🔥 prevents line break */
    display: flex;             /* aligns arrow properly */
    align-items: center;
    justify-content: center;
    gap: 8px;
}


.modal-login-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}


/* ===== ANIMATION ===== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.login-modal.active {
    opacity: 1;
    pointer-events: auto;
}


.login-modal.active .login-box {
    transform: scale(1);
    opacity: 1;
}


/* ============================= */
/* 📱 MOBILE RESPONSIVE FIX */
/* ============================= */

@media (max-width: 768px) {
    .login-modal {
        align-items: flex-end;
        padding-bottom: 20px;
    }

    .login-box {
        border-radius: 24px 24px 18px 18px;
        animation: slideUp 0.3s ease;
    }

    @keyframes slideUp {
        from { transform: translateY(30px); opacity: 0; }
        to { transform: translateY(0); opacity: 1; }
    }
}


    .login-box h2 {
        font-size: 22px;
        line-height: 1.2;
    }

    .login-sub {
        font-size: 14px;
        margin-bottom: 25px;
    }

    /* Stack platform buttons */
    .platform-select {
        flex-direction: column;
        gap: 14px;
        margin-bottom: 28px;
    }

    .platform-btn {
        width: 100%;
        padding: 16px;
        font-size: 14px;
    }

    /* Stack input + button */
    .modal-login-form {
        flex-direction: column;
        gap: 12px;
    }

    .modal-login-form input {
        width: 100%;
        padding: 15px;
        font-size: 14px;
    }

    .modal-login-btn {
        width: 100%;
        padding: 15px;
        font-size: 14px;
    }

    /* Better positioned close button */
    .login-close {
        top: 14px;
        right: 14px;
        width: 34px;
        height: 34px;
        border-radius: 9px;
    }
}



/* PLATFORM GLOW */

/* PLATFORM GLOW – OUTER AMBIENT GLOW */

/* ===== FORCE REMOVE TEBEX SECTION DIVIDER LINES ===== */

.block,
.widget,
.site-content,
.content,
.container,
.store-category,
.store-products,
.store-text,
.store-product-full {
    border: none !important;
    box-shadow: none !important;
}

/* Remove bottom divider lines */
.block::after,
.widget::after,
.site-content::after,
.store-category::after {
    display: none !important;
    content: none !important;
}

/* Remove subtle bottom separators */
.block,
.widget {
    border-bottom: none !important;
}

/* Remove weird 1px inner shadows */
.block,
.widget {
    box-shadow: none !important;
}





/* ============================= */
/* 💎 CLEAN PREMIUM LOGIN BTN */
/* ============================= */

.button-primary {
    position: relative;
    overflow: hidden;

    background: linear-gradient(
        135deg,
        #ff4ecb,
        #ff7ae3
    ) !important;

    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 14px 26px !important;
    border-radius: 16px !important;

    box-shadow:
        0 6px 18px rgba(255,78,203,0.25);

    animation: loginSoftPulse 3s infinite ease-in-out;
    transition: all 0.25s ease;
}

/* Softer glow pulse */
@keyframes loginSoftPulse {
    0% {
        box-shadow: 0 6px 18px rgba(255,78,203,0.25);
    }
    50% {
        box-shadow: 0 10px 26px rgba(255,78,203,0.35);
    }
    100% {
        box-shadow: 0 6px 18px rgba(255,78,203,0.25);
    }
}

/* Hover effect */
.button-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(255,78,203,0.45);
}

/* Subtle shine sweep */
.button-primary::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        120deg,
        transparent 35%,
        rgba(255,255,255,0.25),
        transparent 65%
    );
    transform: translateX(-120%);
    transition: transform 0.8s ease;
}

.button-primary:hover::before {
    transform: translateX(120%);
}

/* Shine sweep effect */
.button-primary::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        120deg,
        transparent 30%,
        rgba(255,255,255,0.4),
        transparent 70%
    );
    transform: translateX(-120%);
    transition: transform 0.8s ease;
}

.button-primary:hover::before {
    transform: translateX(120%);
}