/* ==========================================
   MOBILE RESPONSIVE
   ========================================== */
@media only screen and (max-width: 768px) {
    .panel .patron-users {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
    .alert-text h1 {
        text-align: center;
        margin: 0px !important;
        font-size: 31px !important;
    }
    .category--grid {
        display: flex !important;
        flex-direction: column !important;
        margin-top: 20px;
        grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
        gap: 20px !important;
    }
    .category {
        flex-direction: column;
    }
    .category .package {
        max-width: none !important;
    }
    .alert-block {
        margin-bottom: 0px !important;
        height: auto !important;
        padding: 28px !important;
    }
    div#content-wrapper {
        padding: 20px 0px !important;
    }
    #foot .top .left {
        display: none !important;
    }
    div#foot .top .right {
        margin-right: auto !important;
    }
    div#foot .top {
        padding: 20px !important;
    }
    div#foot .middle {
        padding: 30px 0px !important;
        justify-content: center !important;
        align-items: center !important;
    }
    div#foot .middle .watermark {
        display: none !important;
    }
    div#foot .middle .text {
        margin: 0 auto !important;
        text-align: center !important;
    }
    .container {
        padding: 0 20px !important;
    }
    #foot .container {
        padding: 0px !important;
    }
    .header--counts {
        display: none !important;
    }
    div#head .container {
        justify-content: center !important;
    }
    .user-block .text p {
        display: none !important;
    }
    div#saleCountdownContainer {
        position: relative;
        margin: 20px auto 0;
        bottom: auto;
        right: auto;
    }
    
    /* Top Nav Mobile */
    #topNav .container {
        flex-direction: column;
        gap: 10px;
    }
    
    .top-nav-left,
    .top-nav-right {
        gap: 10px;
        font-size: 11px;
    }
    
    /* Header Mobile */
    div#head {
        padding: 40px 0 30px 0;
        min-height: 250px;
    }
    
    .main-logo {
        max-width: 280px !important;
    }
    
    .server-ip-box {
        padding: 15px 20px !important;
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .server-ip-box i {
        font-size: 28px !important;
    }
    
    .ip-address {
        font-size: 20px !important;
    }
    
    .header-character {
        display: none !important;
    }
    
    /* Category Nav Mobile */
    .category-buttons {
        gap: 10px;
    }
    
    .category-btn {
        padding: 10px 15px !important;
        font-size: 12px !important;
    }
    
    .category-btn span {
        display: none;
    }
    
    .category-btn.user-btn span {
        display: inline;
    }
}

/* Mobile Checkout Table - Better Layout */
@media only screen and (max-width: 768px) {
    .checkout .packages {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .checkout .packages table {
        min-width: 100%;
    }
    
    .checkout .packages table tbody .quantity {
        display: table-cell !important;
        min-width: 60px;
    }
    
    .checkout .packages table tbody .quantity input {
        width: 45px !important;
        padding: 8px 4px !important;
        text-align: center;
        font-size: 14px !important;
        font-weight: 900 !important;
    }
    
    .checkout .packages table thead th {
        font-size: 11px;
        padding: 8px 3px;
        white-space: nowrap;
    }
    
    .checkout .packages table tbody td {
        padding: 10px 3px;
        font-size: 12px;
    }
    
    .checkout .packages table tbody .name {
        font-size: 11px;
        max-width: 80px;
        word-wrap: break-word;
    }
    
    .checkout .packages table tbody .price {
        font-size: 11px;
        white-space: nowrap;
    }
    
    .checkout .packages table tbody .buttons .btn {
        padding: 4px 6px;
        font-size: 11px;
    }
    
    .checkout .packages table tbody .quantity {
        width: 55px !important;
        display: table-cell !important;
        min-width: 55px !important;
    }
    
    .checkout .packages table tbody .quantity input {
        width: 45px !important;
        padding: 6px 4px !important;
    }
    
    .checkout .packages table thead th:nth-child(1) {
        display: table-cell !important;
        width: 55px !important;
    }
    
    .checkout .packages table tbody .name {
        width: auto !important;
        font-size: 12px !important;
    }
    
    .checkout .packages table tbody .price {
        font-size: 12px !important;
    }
    
    .checkout .packages {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* ==========================================
   BASE LAYOUT & STRUCTURE
   ========================================== */
.view-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
}

body {
    background: #1d0623;
    margin: 0px;
    font-family: "Nunito", sans-serif;
}

.body {
    display: flex;
    margin: 0px;
}

.body:before,
.body:after {
    display: none;
}

.body .content {
    width: auto;
    padding: 0;
    flex: 1;
}

.body .full-width {
    padding: 0px !important;
}

.container {
    width: 100%;
    max-width: 1200px;
    padding: 0px;
}

div#content-wrapper {
    flex: 1;
    padding-top: 50px;
    padding-bottom: 75px;
}

img {
    max-width: 100%;
}

/* ==========================================
   TYPOGRAPHY
   ========================================== */
h1, h2, h3, h4, h5 {
    font-family: "Prompt", sans-serif;
}

.title-text {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.title-text:after {
    content: "";
    width: 45px;
    height: 6px;
    background: #ee143a;
    margin-bottom: 5px;
}

/* ==========================================
   BUTTONS & FORMS
   ========================================== */
.btn {
    outline: none !important;
    box-shadow: none !important;
    font-weight: 800;
    border-radius: 6px !important;
    border-color: transparent !important;
}

.btn-primary {
    background: #9b43a5 !important;
}

.btn-success {
    background: #b043bd !important;
}

.btn-danger {
    background: #fc254d !important;
}

.btn-info {
    background: #03A9F4 !important;
}

button#purchase-button {
    padding: 18px;
    font-weight: 900;
    font-size: 15px;
}

button.btn.btn-default.btn-sm.hidden-xs {
    background: #66316c !important;
    color: white !important;
}

.form-control,
.checkout .packages table tbody .quantity input {
    background: #1d0623 !important;
    border-color: #58285e !important;
    color: white !important;
    font-weight: bold;
}

input::placeholder,
message::placeholder {
    color: #dbbddf !important;
}

.input-group-btn:last-child > .btn,
.input-group-btn:last-child > .btn-group {
    border-top-left-radius: 0px !important;
    border-bottom-left-radius: 0px !important;
    margin: 0px !important;
}

/* ==========================================
   COMPACT ACTION BAR 
   ========================================== */
#topBar {
    background: #1a0520;
    border-bottom: 2px solid #2d0b32;
    padding: 12px 0;
}

#topBar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

/* Server IP - Compact */
.server-ip-compact {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 15px;
    background: #331137;
    border: 2px solid #7d3a85;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.server-ip-compact:hover {
    border-color: #9b43a5;
    transform: translateY(-1px);
}

.server-ip-compact i {
    font-size: 18px;
    color: #66d441;
}

.ip-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1;
}

.ip-info .ip {
    font-size: 14px;
    font-weight: 900;
    color: white;
    font-family: "Prompt", sans-serif;
}

.ip-info .players {
    font-size: 11px;
    font-weight: 700;
    color: #ff2c54;
}

/* Actions - Compact */
.top-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    background: #331137;
    border: 2px solid #7d3a85;
    border-radius: 8px;
    color: white !important;
    text-decoration: none !important;
    font-weight: 700;
    font-size: 13px;
    transition: all 0.2s ease;
}

.action-btn:hover {
    border-color: #9b43a5;
    background: #3d1642;
}

.action-btn i {
    font-size: 14px;
}

.action-btn.user img {
    width: 20px;
    height: 20px;
    border-radius: 4px;
}

.action-btn.patrons {
    background: linear-gradient(135deg, #ab3acd 0%, #7e1a9c 100%);
    border-color: #d946ef;
}

.action-btn.patrons:hover {
    border-color: #e879f9;
}

.action-btn.cart {
    background: linear-gradient(135deg, #0284c7 0%, #075985 100%);
    border-color: #06b6d4;
}

.action-btn.cart:hover {
    border-color: #22d3ee;
}

/* Currency Dropdown */
.currency-dropdown {
    position: relative;
}

.currency-dropdown .action-btn {
    cursor: pointer;
}

.currency-dropdown .caret {
    margin-left: 5px;
}

.currency-dropdown .dropdown-menu {
    background: #411946 !important;
    border: 2px solid #7d3a85 !important;
    border-radius: 8px;
    margin-top: 5px;
    min-width: 120px;
}

.currency-dropdown .dropdown-menu li {
    list-style: none;
}

.currency-dropdown .dropdown-menu li a {
    display: block;
    padding: 8px 15px;
    color: white !important;
    text-decoration: none !important;
    font-weight: 700;
    transition: all 0.2s ease;
}

.currency-dropdown .dropdown-menu li a:hover {
    background: #5f2865 !important;
}

.currency-dropdown .dropdown-menu li.active a {
    background: #9b43a5 !important;
}

/* ==========================================
   LOGO - BIG WITH GLOW EFFECT
   ========================================== */
#topLogo {
    background: #26082a;
    padding: 40px 0;
    text-align: center;
    border-bottom: 3px solid #331137;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

#topLogo .container {
    display: flex;
    justify-content: center;
}

#topLogo a {
    display: inline-block;
    transition: all 0.3s ease;
}

#topLogo img {
    max-width: 450px;
    width: 100%;
    height: auto;
    filter: 
        drop-shadow(0 0 20px rgba(155, 67, 165, 0.6))
        drop-shadow(0 0 40px rgba(155, 67, 165, 0.4))
        drop-shadow(0 0 60px rgba(155, 67, 165, 0.3))
        drop-shadow(0 8px 20px rgba(0, 0, 0, 0.5));
    transition: all 0.3s ease;
}

#topLogo a:hover img {
    filter: 
        drop-shadow(0 0 30px rgba(155, 67, 165, 0.8))
        drop-shadow(0 0 50px rgba(155, 67, 165, 0.6))
        drop-shadow(0 0 80px rgba(155, 67, 165, 0.4))
        drop-shadow(0 10px 30px rgba(0, 0, 0, 0.6));
    transform: translateY(-3px);
}

/* Mobile Responsive */
@media only screen and (max-width: 768px) {
    #topBar .container {
        flex-direction: column;
        gap: 10px;
    }
    
    .server-ip-compact {
        width: 100%;
        justify-content: center;
    }
    
    .top-actions {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .action-btn span {
        display: none;
    }
    
    .action-btn.user span {
        display: inline;
    }
    
    #topLogo {
        padding: 25px 0;
    }
    
    #topLogo img {
        max-width: 280px;
    }
}

/* ==========================================
   COMPACT ACTION BAR
   ========================================== */
#topBar {
    background: #2c0d30;
    border-bottom: 3px solid #331137;
    padding: 15px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

#topBar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

/* Server IP - Compact */
.server-ip-compact {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 15px;
    background: #331137;
    border: 2px solid #7d3a85;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.server-ip-compact:hover {
    border-color: #9b43a5;
    transform: translateY(-1px);
}

.server-ip-compact i {
    font-size: 18px;
    color: #66d441;
}

.ip-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1;
}

.ip-info .ip {
    font-size: 14px;
    font-weight: 900;
    color: white;
    font-family: "Prompt", sans-serif;
}

.ip-info .players {
    font-size: 11px;
    font-weight: 700;
    color: #ff2c54;
}

/* Actions - Compact */
.top-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    background: #331137;
    border: 2px solid #7d3a85;
    border-radius: 8px;
    color: white !important;
    text-decoration: none !important;
    font-weight: 700;
    font-size: 13px;
    transition: all 0.2s ease;
}

.action-btn:hover {
    border-color: #9b43a5;
    background: #3d1642;
}

.action-btn i {
    font-size: 14px;
}

.action-btn.user img {
    width: 20px;
    height: 20px;
    border-radius: 4px;
}

.action-btn.patrons {
    background: linear-gradient(135deg, #ab3acd 0%, #7e1a9c 100%);
    border-color: #d946ef;
}

.action-btn.patrons:hover {
    border-color: #e879f9;
}

.action-btn.cart {
    background: linear-gradient(135deg, #0284c7 0%, #075985 100%);
    border-color: #06b6d4;
}

.action-btn.cart:hover {
    border-color: #22d3ee;
}

/* Currency Dropdown */
.currency-drop {
    padding: 0;
    background: transparent;
    border: none;
}

.currency-drop .dropdown-toggle {
    background: #331137;
    border: 2px solid #7d3a85;
    padding: 8px 15px;
    border-radius: 8px;
    color: white;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.currency-drop .dropdown-toggle:hover {
    border-color: #9b43a5;
    background: #3d1642;
}

/* Mobile Responsive */
@media only screen and (max-width: 768px) {
    #topLogo {
        padding: 20px 0 15px 0;
    }
    
    #topLogo img {
        max-width: 250px;
    }
    
    #topBar .container {
        flex-direction: column;
        gap: 15px;
    }
    
    .server-ip-compact {
        width: 100%;
        justify-content: center;
    }
    
    .top-actions {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .action-btn span {
        display: none;
    }
    
    .action-btn.user span {
        display: inline;
    }
}

/* ==========================================
   CATEGORY NAVIGATION
   ========================================== */
#categoryNav {
    background: #2c0d30;
    border-bottom: 7px solid #331137;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    padding: 20px 0;
}

.category-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.category-btn {
    background: #3d1642;
    border: 2px solid #7d3a85;
    border-radius: 8px;
    padding: 12px 25px;
    color: white !important;
    text-decoration: none !important;
    font-weight: 800;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.category-btn:hover {
    background: #4d1e52;
    border-color: #9b43a5;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(155, 67, 165, 0.4);
}

.category-btn i {
    font-size: 18px;
}

.category-btn.user-btn {
    background: linear-gradient(135deg, #7e1027 0%, #5a0d1c 100%);
    border-color: #ff3058;
}

.category-btn.user-btn:hover {
    border-color: #ff4569;
}

.category-btn.patrons-btn {
    background: linear-gradient(135deg, #ab3acd 0%, #7e1a9c 100%);
    border-color: #d946ef;
}

.category-btn.cart-btn {
    background: linear-gradient(135deg, #0284c7 0%, #075985 100%);
    border-color: #06b6d4;
}

.user-avatar {
    width: 24px;
    height: 24px;
    border-radius: 4px;
}

/* ==========================================
   PANELS & MODALS
   ========================================== */
.panel {
    border: none !important;
    background: #331137 !important;
    border-radius: 10px;
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

.panel .panel-heading {
    background: transparent !important;
    border-bottom: 2px solid #451d4a !important;
    color: white !important;
    padding: 25px;
    font-weight: 900;
    font-size: 20px;
}

.panel-body {
    padding: 25px;
    font-size: 15px;
    color: #d2b8d5;
}

.panel.panel-default.transparent {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.panel.panel-default.transparent .panel-body {
    padding: 0px !important;
}

.panel.transparent .panel-heading {
    border: none !important;
    text-align: center;
    margin-bottom: 0px !important;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px 0 !important;
    font-size: 40px;
}

.panel-heading .return,
.panel-heading .info {
    background: #2c0d30;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 18px;
    color: #ab73b2 !important;
    border: 2px solid #3e1643;
}

.panel-heading .return {
    margin-right: auto;
    text-decoration: none !important;
}

.panel-heading .info {
    margin-left: auto;
}

.panel-heading .tooltip-inner {
    background: #411946 !important;
    padding: 12px;
    max-width: 400px;
}

.panel-heading .tooltip-inner p {
    margin: 0;
}

.page-header {
    border-bottom: 2px solid #56245c !important;
}

.page-header h4 {
    font-weight: 700;
    color: white;
    font-size: 17px;
}

/* Modal Styles */
.modal-content {
    background: #331137 !important;
    border: none !important;
    border-radius: 12px !important;
}

.modal-header {
    padding: 25px;
    display: flex;
    align-items: center;
    color: white !important;
    border-bottom: 2px solid #4d1e53 !important;
}

.modal-header .close {
    margin-top: 0px;
    order: 5;
    margin-left: auto;
    text-shadow: none !important;
    color: #906695;
    opacity: 1;
}

.modal-title {
    font-size: 22px;
    font-weight: 800;
}

.modal-body {
    padding: 25px;
    color: #d2b8d5;
    font-size: 15px;
}

.modal-body strong,
.modal-body b {
    color: white;
}

.modal-footer {
    padding: 17px 25px;
    border-top: 2px solid #4d1e53 !important;
    color: white !important;
}

.modal-footer .btn {
    font-weight: 900;
    font-size: 14px;
    border-color: transparent !important;
    border-radius: 5px !important;
    background: #6ec34a !important;
    padding: 8px 15px;
}

/* Dropdown Menu */
.dropdown-menu {
    background: #411946 !important;
    border: none !important;
}

.dropdown-menu > li > a {
    background: transparent !important;
    color: white !important;
    font-weight: bold;
    text-align: center;
}

.dropdown-menu > li.active > a {
    background: #5f2865 !important;
}

/* ==========================================
   FOOTER
   ========================================== */
div#foot {
    margin-top: auto;
    background: #26082a;
    border-top: 7px solid #330b31;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

div#foot .container:after,
div#foot .container:before {
    display: none;
}

div#foot .top {
    display: flex;
    align-items: center;
    padding: 30px 0px;
}

div#foot .top h1 {
    margin: 0px;
    color: white;
    font-weight: 900;
    font-size: 22px;
}

div#foot .top .right {
    margin-left: auto;
    display: flex;
    gap: 20px;
}

div#foot .top .right > a {
    background: #441a42;
    color: #e2b7e0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 15px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
}

div#foot .middle {
    display: flex;
    align-items: center;
    padding: 40px 0px;
    border-top: 2px solid #30112f !important;
    color: #64356d;
    font-size: 12px;
    font-weight: bold;
}

div#foot .middle .watermark {
    margin-left: auto;
}

div#foot .middle span {
    font-size: 14px;
    display: inline-block;
    color: #895986;
}

div#foot .middle span strong {
    color: #c799c4;
}

div#foot span#benj {
    max-width: 47px;
    display: block;
}

div#foot span#benj svg {
    width: 100%;
    height: 100%;
}

div#foot span#benj svg path {
    fill: #441a42;
}

/* ==========================================
   CATEGORY GRID - COLORFUL GRADIENTS
   ========================================== */
.category--grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
}

.category--grid > .category-item {
    min-height: 225px;
    border-radius: 15px;
    box-shadow: 
        0 2px 0 rgba(0, 0, 0, 0.1),
        0 4px 0 rgba(0, 0, 0, 0.08),
        0 10px 20px rgba(0, 0, 0, 0.25);
    padding: 50px;
    display: flex;
    align-items: flex-end;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all .13s linear;
    text-decoration: none !important;
    border-bottom: 12px solid transparent;
}

.category--grid > .category-item:nth-child(odd):last-child {
    grid-column: 1 / -1;
}

.category--grid > .category-item:hover {
    transform: scale(1.02) translateY(-2px);
}

.category--grid > .category-item:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    z-index: 1;
}

.category-item:before {
    height: 45px;
    width: 7px;
    background: white;
    content: "";
    position: absolute;
    left: 0px;
    z-index: 2;
    bottom: 80px;
}

.category-name {
    display: flex;
    flex-direction: column;
    line-height: 1;
    position: relative;
    z-index: 5;
}

.category-name h1 {
    font-weight: 900;
    color: white;
    font-size: 41px;
    text-transform: uppercase;
    margin-bottom: 8px;
    margin-top: 0px;
    position: relative;
}

.category-name p {
    font-size: 12px;
    color: #c799c4;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* RANKS - Red/Crimson Theme */
.category--grid > .category-item.ranks,
.category--grid > .category-item:nth-child(1) {
    background: linear-gradient(135deg, #c91432 0%, #7e1027 50%, #5a0d1c 100%);
}

.category--grid > .category-item.ranks:after,
.category--grid > .category-item:nth-child(1):after {
    background: linear-gradient(45deg, rgba(217, 8, 47, 0.6), transparent);
}

.category-item.ranks p,
.category--grid > .category-item:nth-child(1) p {
    color: #ff94a8 !important;
}

/* RANK UPGRADES - Purple/Magenta Theme */
.category--grid > .category-item:nth-child(2) {
    background: linear-gradient(135deg, #d946ef 0%, #9333ea 50%, #6b21a8 100%);
}

.category--grid > .category-item:nth-child(2):after {
    background: linear-gradient(45deg, rgba(168, 85, 247, 0.6), transparent);
}

.category--grid > .category-item:nth-child(2) p {
    color: #f0abfc !important;
}

/* CRATE KEYS - Orange/Amber Theme */
.category--grid > .category-item:nth-child(3) {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 50%, #92400e 100%);
}

.category--grid > .category-item:nth-child(3):after {
    background: linear-gradient(45deg, rgba(251, 146, 60, 0.6), transparent);
}

.category--grid > .category-item:nth-child(3) p {
    color: #fde68a !important;
}

/* GEMS - Blue/Cyan Theme */
.category--grid > .category-item.gems,
.category--grid > .category-item:nth-child(4) {
    background: linear-gradient(135deg, #06b6d4 0%, #0284c7 50%, #075985 100%);
}

.category--grid > .category-item.gems:after,
.category--grid > .category-item:nth-child(4):after {
    background: linear-gradient(45deg, rgba(6, 182, 212, 0.6), transparent);
}

.category-item.gems p,
.category--grid > .category-item:nth-child(4) p {
    color: #a5f3fc !important;
}

/* BUNDLES - Green/Emerald Theme */
.category--grid > .category-item.bundles,
.category--grid > .category-item:nth-child(5) {
    background: linear-gradient(135deg, #10b981 0%, #059669 50%, #065f46 100%);
}

.category--grid > .category-item.bundles:after,
.category--grid > .category-item:nth-child(5):after {
    background: linear-gradient(45deg, rgba(16, 185, 129, 0.6), transparent);
}

.category-item.bundles p,
.category--grid > .category-item:nth-child(5) p {
    color: #a7f3d0 !important;
}

/* OTHER - Orange/Red Theme */
.category--grid > .category-item.other {
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 50%, #7c2d12 100%);
}

.category--grid > .category-item.other:after {
    background: linear-gradient(45deg, rgba(251, 146, 60, 0.6), transparent);
}

.category-item.other p {
    color: #fed7aa !important;
}

/* Subcategories */
#subcategories {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #2c0d30;
    z-index: 10;
}

.subcategories-list {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 30px;
    padding-bottom: 10px !important;
}

.subcategories-list > a {
    font-weight: 900;
    font-size: 19px;
    color: white !important;
    text-decoration: none !important;
    padding: 8px 10px;
}

/* ==========================================
   PACKAGES & PRODUCTS - ENHANCED
   ========================================== */
.category {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.category .package {
    max-width: 380px;
    background: linear-gradient(135deg, #3d1642 0%, #2c0d30 50%, #1d0623 100%);
    padding: 50px;
    border: 3px solid #7d3a85;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    border-radius: 14px;
    box-shadow: 
        0 2px 0 rgba(125, 58, 133, 0.5),
        0 4px 0 rgba(125, 58, 133, 0.3),
        0 6px 0 rgba(125, 58, 133, 0.2),
        0 15px 30px rgba(0, 0, 0, 0.4),
        0 25px 50px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 20px rgba(155, 67, 165, 0.3);
    transition: all .15s ease;
    position: relative;
    overflow: hidden;
}

.category .package:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #9b43a5, transparent);
    opacity: 0.6;
}

.category .package:hover {
    transform: scale(1.04) translateY(-5px);
    border-color: #9b43a5;
    box-shadow: 
        0 2px 0 rgba(155, 67, 165, 0.6),
        0 4px 0 rgba(155, 67, 165, 0.5),
        0 6px 0 rgba(155, 67, 165, 0.4),
        0 8px 0 rgba(155, 67, 165, 0.3),
        0 20px 40px rgba(0, 0, 0, 0.5),
        0 30px 60px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        0 0 40px rgba(155, 67, 165, 0.6),
        0 0 60px rgba(155, 67, 165, 0.3);
}

.category .package img {
    max-width: 150px;
    margin: 0 auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
    transition: all 0.15s ease;
}

.category .package:hover img {
    transform: scale(1.05);
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.6));
}

.category .package .info {
    flex: 1;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.category .package .info .name {
    font-size: 22px;
    font-weight: 700;
    color: white;
    font-family: "Prompt", sans-serif;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.info .price {
    font-size: 18px;
    color: #93fb65;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(147, 251, 101, 0.5);
}

.package .btn {
    padding: 10px;
    font-weight: 900;
    font-size: 17px;
    width: 100%;
    box-shadow: 0 4px 15px rgba(3, 169, 244, 0.4) !important;
    transition: all 0.15s ease;
}

.package .btn:hover {
    box-shadow: 0 6px 25px rgba(3, 169, 244, 0.6) !important;
    transform: translateY(-2px);
}

.package-inner {
    flex: 1;
    width: 100%;
}

.package-inner > a {
    text-decoration: none !important;
    display: block;
}

.package-inner .image a {
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.package-inner > a .image {
    display: flex;
}

.package-inner > a .image img {
    margin: 0 auto;
}

/* Keys Section */
.keys {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.keys .category {
    width: 100%;
    max-width: 380px;
}

/* Item Quantity Selector - Enhanced */
.item-quantity {
    margin: 5px 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.item-quantity > button {
    flex: 1;
    padding: 6px;
    font-weight: 900 !important;
    color: white;
    background: #4e2153;
    border-radius: 4px;
    border: 2px solid #69366e !important;
    transition: all 0.15s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.item-quantity > button:hover {
    background: #5f2865;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.item-quantity > button.active {
    background: #dc0c33 !important;
    color: white !important;
    border-color: #ff3f63 !important;
    box-shadow: 
        0 2px 0 #b00a29,
        0 4px 0 #900822,
        0 6px 15px rgba(220, 12, 51, 0.5);
}

/* Tab Content */
.tab-content > .tab-pane {
    display: none !important;
}

.tab-content > .tab-pane.active {
    display: flex !important;
}

/* Featured Key - Gold Styling with Glint Animation */
.category .package.featured-key {
    border: 3px solid #f59e0b;
    background: linear-gradient(135deg, #4a2c0d 0%, #2c0d30 50%, #1d0623 100%);
    box-shadow: 
        0 2px 0 rgba(245, 158, 11, 0.6),
        0 4px 0 rgba(245, 158, 11, 0.5),
        0 6px 0 rgba(245, 158, 11, 0.4),
        0 15px 30px rgba(0, 0, 0, 0.4),
        0 25px 50px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 30px rgba(245, 158, 11, 0.5);
    position: relative;
    overflow: hidden;
}

.category .package.featured-key:before {
    background: linear-gradient(90deg, transparent, #f59e0b, transparent);
    opacity: 0.8;
}

.category .package.featured-key:after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 50%;
    height: 200%;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.1) 45%,
        rgba(255, 255, 255, 0.4) 50%,
        rgba(255, 255, 255, 0.1) 55%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(25deg);
    pointer-events: none;
    opacity: 0;
}

@keyframes glint {
    0% {
        left: -50%;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        left: 150%;
        opacity: 0;
    }
}

.category .package.featured-key:hover:after {
    animation: glint 1s ease-out;
}

.category .package.featured-key:hover {
    border-color: #fbbf24;
    box-shadow: 
        0 2px 0 rgba(251, 191, 36, 0.7),
        0 4px 0 rgba(251, 191, 36, 0.6),
        0 6px 0 rgba(251, 191, 36, 0.5),
        0 8px 0 rgba(251, 191, 36, 0.4),
        0 20px 40px rgba(0, 0, 0, 0.5),
        0 30px 60px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        0 0 50px rgba(245, 158, 11, 0.7),
        0 0 80px rgba(245, 158, 11, 0.4);
}

/* Best Value Badge */
.best-value-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #78350f;
    font-weight: 900;
    font-size: 12px;
    padding: 8px 15px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 10;
    box-shadow: 
        0 2px 0 #d97706,
        0 4px 0 #b45309,
        0 6px 15px rgba(245, 158, 11, 0.5);
    border: 2px solid #fde68a;
}

.best-value-badge i {
    margin-right: 5px;
    color: #78350f;
}

.category .package {
    position: relative;
}

/* ==========================================
   TABLES
   ========================================== */
.table-striped > tbody > tr:nth-child(odd) > td,
.table-striped > tbody > tr:nth-child(odd) > th {
    background: #2a0c2f;
}

.table > thead > tr > th,
.table > tbody > tr > th,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > tbody > tr > td,
.table > tfoot > tr > td {
    border-top: 2px solid #451d4a !important;
}

.category .packages-row table .name {
    font-weight: bold;
    color: white;
}

.category .packages-row table td {
    padding: 15px !important;
}

.category .packages-row table .button .btn {
    font-weight: 900;
    font-size: 14px;
    border-color: transparent !important;
    border-radius: 5px !important;
    background: #6ec34a !important;
}

.category .packages-row table .button .btn.btn-danger {
    background: #f32148 !important;
}

.price {
    font-weight: bold;
    color: #93fb65;
}

/* Checkout Tables */
.checkout .table {
    width: 100% !important;
}

.checkout .table > thead > tr > th {
    border: none !important;
    font-size: 14px;
}

.checkout .packages table tbody td,
.checkout .packages table thead th {
    position: static !important;
    float: none !important;
}

.checkout .packages table tbody .quantity {
    width: 80px;
    display: table-cell !important;
}

.checkout .packages table tbody .quantity input {
    width: 60px;
    padding: 8px;
    text-align: center;
}

.checkout .packages table thead th:nth-child(1) {
    display: table-cell !important;
}

.checkout .packages table tbody .name {
    width: 25%;
    font-weight: 700;
    color: white;
    font-size: 14px;
}

.checkout .packages table tbody .options {
    width: 30%;
}

.checkout .packages table tbody .price {
    width: 15%;
    font-size: 14px;
}

.checkout .packages table tbody .buttons {
    width: auto;
}

.checkout .packages table tbody .buttons .btn {
    margin-left: 4px;
}

/* ==========================================
   ALERT BANNERS
   ========================================== */
.alert-top-bar {
    background: #d2092f;
    padding: 17px 0px;
    text-align: center;
    color: white;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    font-weight: bold;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.alert-top-bar p {
    margin: 0px;
}

.alert-top-bar .container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-top-bar .container:before,
.alert-top-bar .container:after {
    display: none;
}

.alert-top-bar .container p {
    margin-right: auto;
}

.alert-top-bar .container i {
    opacity: .65;
    cursor: pointer;
}

/* 3D Alert Block */
.alert-block {
    height: 150px;
    margin-bottom: 30px;
    overflow: visible;
    border-radius: 15px;
    position: relative;
    background: linear-gradient(135deg, #ff1744 0%, #ec0934 50%, #d2082f 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 1px 0 #ff4569,
        0 2px 0 #ff3058,
        0 3px 0 #ff1b47,
        0 4px 0 #f00636,
        0 5px 0 #e00530,
        0 6px 0 #d0042a,
        0 10px 20px rgba(0, 0, 0, 0.3),
        0 20px 40px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-top: 2px solid rgba(255, 255, 255, 0.3);
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    border-right: 1px solid rgba(0, 0, 0, 0.2);
    transform: translateY(0);
    transition: all 0.2s ease;
}

.alert-block:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 1px 0 #ff4569,
        0 2px 0 #ff3058,
        0 3px 0 #ff1b47,
        0 4px 0 #f00636,
        0 5px 0 #e00530,
        0 6px 0 #d0042a,
        0 8px 0 #c00424,
        0 12px 25px rgba(0, 0, 0, 0.35),
        0 25px 50px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.alert-image {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    opacity: .08 !important;
}

.alert-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.alert-text {
    position: relative;
    color: white;
    z-index: 2;
}

.alert-text h1 {
    font-weight: 900;
    text-transform: uppercase;
    font-size: 42px;
    text-shadow: 
        0 1px 0 rgba(0, 0, 0, 0.3),
        0 2px 0 rgba(0, 0, 0, 0.25),
        0 3px 0 rgba(0, 0, 0, 0.2),
        0 4px 0 rgba(0, 0, 0, 0.15),
        0 5px 10px rgba(0, 0, 0, 0.5);
    letter-spacing: 2px;
}

div#saleCountdownContainer {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, #7bed4e 0%, #66d441 50%, #5bc93a 100%);
    padding: 14px 30px;
    border-radius: 10px;
    min-width: 210px;
    height: 50px;
    text-align: center;
    box-shadow: 
        0 1px 0 #7ef055,
        0 2px 0 #6ee547,
        0 3px 0 #5eda39,
        0 4px 0 #4ec92b,
        0 6px 15px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    border-top: 2px solid rgba(255, 255, 255, 0.5);
    border-left: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    gap: 8px;
    z-index: 3;
}

div#saleCountdownContainer p {
    margin: 0px;
    font-size: 17px !important;
    text-shadow: 
        0 1px 0 rgba(0, 0, 0, 0.2),
        0 2px 3px rgba(0, 0, 0, 0.3);
    letter-spacing: 2px;
    font-family: "Prompt", sans-serif;
    font-weight: 900;
    color: white;
    text-transform: uppercase;
}

div#saleCountdownContainer i {
    text-shadow: 
        0 1px 0 rgba(0, 0, 0, 0.2),
        0 2px 3px rgba(0, 0, 0, 0.3);
}

.alert-block-link {
    text-decoration: none !important;
    display: block;
    color: inherit;
}

.alert-block-link:hover,
.alert-block-link:focus,
.alert-block-link:active {
    text-decoration: none !important;
    color: inherit;
}

.alert-block-link .alert-block {
    cursor: pointer;
}

.alert-block-link .alert-block:hover {
    transform: translateY(-3px);
}

/* ==========================================
   PATRON STYLES
   ========================================== */
.patron-title {
    background: #f21d44 !important;
    border: 2px solid #ffffff45 !important;
    padding: 16px 20px;
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1) !important;
    color: white !important;
    font-weight: 900 !important;
    font-size: 17px;
    margin-bottom: 25px;
    border-radius: 8px;
}

.body .panel-body.content {
    padding: 25px !important;
}

.patron-users {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 25px;
}

.patron-users > div {
    background: #2c0d30;
    border: 3px solid #3e1843;
    border-radius: 12px;
    text-align: center;
    padding-top: 20px;
    overflow: hidden;
}

.patron-users > div .name {
    color: white;
    font-size: 17px;
    font-weight: 800;
    border-top: 2px solid #3e1843;
    display: block;
    padding: 15px;
    background: #1d0623;
}

.patron-users > div .image {
    max-height: 100px;
    overflow: hidden;
}

.patron-users > div .image img {
    max-width: 91px;
}

/* ==========================================
   MISCELLANEOUS
   ========================================== */
.discount {
    text-decoration: line-through;
    color: red;
}