:root {
    --primary: #ff2d75;
    --secondary: #00f0ff;
    --accent: #ff00aa;
    --dark: #0a0a1a;
    --darker: #050510;
    --neon-glow: 0 0 10px var(--primary), 0 0 20px var(--primary), 0 0 40px var(--primary);
}
/* Dark/Transparent Theme Styles */
.dark-input {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
}
/* Shop Styles */
.shop-container {
    min-height: calc(100vh - 80px);
}

.shop-item {
    background: rgba(20, 20, 40, 0.6);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    height: 100%;
    transition: all 0.3s ease;
}

.shop-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.shop-item-header {
    background: linear-gradient(to right, var(--primary), var(--accent));
    padding: 1rem;
    color: white;
    position: relative;
}

.shop-item-header h5 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
}

.shop-item-header .price {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.3);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-weight: 700;
}

.shop-item-body {
    padding: 1.5rem;
}

.shop-item-body p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.balance-item {
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.balance-item:last-child {
    border-bottom: none;
}

.balance-item i {
    width: 20px;
    text-align: center;
}
/* Custom styles for the payment method modal */
#paymentMethodModal .modal-content {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

#paymentMethodModal .modal-body {
    scrollbar-width: thin;
    scrollbar-color: var(--primary) rgba(255, 255, 255, 0.1);
}

#paymentMethodModal .modal-body::-webkit-scrollbar {
    width: 6px;
}

#paymentMethodModal .modal-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

#paymentMethodModal .modal-body::-webkit-scrollbar-thumb {
    background-color: var(--primary);
    border-radius: 6px;
}

.select-payment-method {
    transition: none !important;
}

.select-payment-method:hover {
    background: rgba(255, 255, 255, 0.1) !important;
}

/* Pagination styles */
.pagination .page-item.active .page-link {
    background-color: var(--primary);
    border-color: var(--primary);
}

.pagination .page-link {
    color: white;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.pagination .page-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
}
.payment-methods {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
}

.payment-method {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
    transition: all 0.3s ease;
}

.payment-method:hover {
    background: rgba(255, 255, 255, 0.1);
}

.payment-method img {
    height: 30px;
    margin-bottom: 5px;
}

.payment-method span {
    font-size: 0.8rem;
    text-align: center;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .payment-methods {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }
}

@media (max-width: 767.98px) {
    .shop-item-header h5 {
        font-size: 1rem;
    }
    
    .shop-item-body {
        padding: 1rem;
    }
    
    .shop-item-body p {
        font-size: 0.8rem;
    }
}
.rank-list {
    border-radius: 8px;
    overflow: hidden;
}

.rank-list-item {
    padding: 12px 15px;
    border-bottom: 1px solid #2a2a2a;
    transition: background-color 0.2s;
}

.rank-list-item:last-child {
    border-bottom: none;
}

.rank-list-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.rank-list-item.current-rank {
    background-color: rgba(25, 135, 84, 0.15);
}

.rank-list-image {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.rank-list-info {
    min-width: 0;
    padding-right: 15px;
}

.rank-list-details {
    font-size: 0.85rem;
    color: #aaa;
    margin-top: 3px;
}

.rank-price-tag {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 6px;
    padding: 5px 10px;
    text-align: center;
    min-width: 80px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.price-value {
    font-weight: bold;
    font-size: 1.1rem;
    color: #ffc107;
}

.price-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #aaa;
    margin-top: -3px;
}

.rank-list-action {
    flex-shrink: 0;
}

.btn-upgrade {
    min-width: 100px;
}

/* CSS untuk PC Cafe Benefit Cards */
.benefit-card {
    background: rgba(20, 20, 40, 0.8);
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 174, 255, 0.4);
    border: 1px solid rgba(0, 174, 255, 0.3);
}

.benefit-header {
    position: relative;
    padding: 15px;
    margin: -15px -15px 15px -15px;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
    text-align: center;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Style khusus untuk masing-masing benefit */
.benefit-card[data-benefit="PC-CAFE"] .benefit-header {
    background: linear-gradient(135deg, #00a2ff 0%, #0066ff 100%);
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.2);
}

.benefit-card[data-benefit="CYBERINDO"] .benefit-header {
    background: linear-gradient(135deg, #ff4d4d 0%, #cc0000 100%);
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.2);
}

.benefit-card[data-benefit="BASECAMP"] .benefit-header {
    background: linear-gradient(135deg, #00cc66 0%, #00994d 100%);
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.2);
}

/* Text effect untuk benefit name */
.benefit-header h5 {
    font-size: 1.4rem;
    font-weight: 800;
    margin: 0;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
    position: relative;
    z-index: 2;
    text-transform: uppercase;
}

/* Level badge */
.benefit-level {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.3);
    color: white;
    padding: 3px 8px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    backdrop-filter: blur(5px);
}

/* Price tag */
.benefit-price {
    font-size: 1.2rem;
    color: #4facfe;
    font-weight: bold;
    margin: 10px 0;
    text-align: center;
}

.benefit-description {
    flex-grow: 1;
    margin-bottom: 15px;
    color: #ccc;
    font-size: 0.9rem;
}

/* Efek tambahan untuk membuat lebih seperti gambar */
.benefit-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect fill="white" width="10" height="10" opacity="0.1"/></svg>');
    background-size: 20px 20px;
    opacity: 0.1;
}

/* Logo untuk masing-masing benefit */
.benefit-header::after {
    content: "";
    position: absolute;
    width: 60px;
    height: 60px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.2;
    right: 10px;
    bottom: 10px;
    z-index: 1;
}

.benefit-card[data-benefit="PC-CAFE"] .benefit-header::after {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="white" viewBox="0 0 24 24"><path d="M4 4h16v12H4zm2 2v8h12V6zm2 2h8v4H8z"/></svg>');
}

.benefit-card[data-benefit="CYBERINDO"] .benefit-header::after {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="white" viewBox="0 0 24 24"><path d="M12 3C7.6 3 4 6.6 4 11c0 2.5 1.2 4.8 3.1 6.3L6 21l3.7-1.1c1.5.9 3.3 1.4 5.2 1.4 4.4 0 8-3.6 8-8s-3.6-8-8-8zm0 14c-1.7 0-3.3-.5-4.6-1.3l-.3-.2-1.8.5.5-1.8-.2-.3C5.5 13.3 5 11.7 5 10c0-3.3 2.7-6 6-6s6 2.7 6 6-2.7 6-6 6z"/></svg>');
}

.benefit-card[data-benefit="BASECAMP"] .benefit-header::after {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="white" viewBox="0 0 24 24"><path d="M12 2L2 7l10 5 10-5-10-5zM2 17l10 5 10-5M2 12l10 5 10-5"/></svg>');
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .benefit-header h5 {
        font-size: 1.2rem;
    }
    
    .benefit-price {
        font-size: 1rem;
    }
}
/* Mysteri Box Random Tabs CSS*/
.random-item-box {
    background: rgba(20, 20, 40, 0.7);
    border-radius: 10px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.random-item-box::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(
        135deg, 
        rgba(79, 172, 254, 0.8), 
        rgba(131, 58, 180, 0.8), 
        rgba(253, 29, 29, 0.8)
    );
    z-index: -1;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.random-item-box:hover::before {
    opacity: 1;
    animation: neoBorderGlow 2s infinite alternate;
}

.random-item-image {
    max-width: 200px;
    margin: 0 auto;
    position: relative;
}

.random-item-image img {
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.5));
    transition: transform 0.3s ease;
}

.random-item-box:hover .random-item-image img {
    transform: scale(1.05);
}

.possible-item-card {
    background: rgba(30, 30, 60, 0.5);
    border-radius: 8px;
    padding: 15px;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.possible-item-card:hover {
    background: rgba(40, 40, 80, 0.7);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.possible-item-image {
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.possible-item-image img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.possible-item-name {
    font-size: 14px;
    font-weight: 600;
    color: white;
    text-align: center;
    margin-bottom: 5px;
}

/* Rollbox Animation Styles */
.rollbox-container {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 15px;
    width: 100%;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 215, 0, 0.3);
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}

.rollbox-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        rgba(255, 215, 0, 0.1) 0%,
        rgba(255, 215, 0, 0) 20%,
        rgba(255, 215, 0, 0) 80%,
        rgba(255, 215, 0, 0.1) 100%
    );
    transform: rotate(30deg);
    animation: shine 3s infinite;
}

.rollbox-header {
    text-align: center;
    margin-bottom: 20px;
    color: #fff;
    position: relative;
}

.rollbox-header h3 {
    font-size: 24px;
    margin-bottom: 10px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.rollbox-timer {
    font-size: 20px;
    font-weight: bold;
    color: gold;
    margin-top: 10px;
}

.rollbox-items-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    margin: 20px 0;
}

.rollbox-items {
    display: flex;
    height: 200px;
    position: relative;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    justify-content: center;
    align-items: center;
}

.rollbox-item {
    min-width: 20%;
    padding: 15px;
    text-align: center;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    position: relative;
    z-index: 1;
}

.rollbox-item img {
    max-height: 100px;
    max-width: 100%;
    object-fit: contain;
    margin-bottom: 10px;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.5));
    transition: all 0.3s ease;
}

.rollbox-item.active {
    opacity: 1;
    transform: scale(1.1);
    z-index: 2;
}

.rollbox-item.active img {
    filter: drop-shadow(0 0 10px gold);
}

.rollbox-item-name {
    font-size: 12px;
    color: white;
    text-align: center;
    margin-top: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.rollbox-result {
    text-align: center;
    padding: 20px;
    animation: fadeIn 0.5s ease;
    display: none;
}

.result-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.result-image {
    width: 150px;
    height: 150px;
    margin-bottom: 20px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid gold;
    padding: 10px;
}

.result-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.result-details h4 {
    font-size: 22px;
    margin-bottom: 10px;
    color: gold;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

/* Rollbox preview styles */
.rollbox-preview {
    margin-bottom: 20px;
}

.rollbox-items-preview {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.rollbox-item-preview {
    width: 80px;
    text-align: center;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.rollbox-item-preview:hover {
    opacity: 1;
    transform: translateY(-5px);
}

.rollbox-item-preview img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.5));
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes shine {
    0% { transform: rotate(30deg) translate(-10%, -10%); }
    100% { transform: rotate(30deg) translate(10%, 10%); }
}

@keyframes neoBorderGlow {
    0% {
        opacity: 0.7;
    }
    100% {
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .random-item-box {
        padding: 20px;
    }
    
    .random-item-image {
        max-width: 150px;
    }
    
    .possible-item-card {
        padding: 10px;
    }
    
    .possible-item-name {
        font-size: 12px;
    }
    
    .rollbox-item {
        min-width: 25%;
    }
    
    .rollbox-item img {
        max-height: 70px;
    }
    
    .rollbox-header h3 {
        font-size: 20px;
    }
    
    .rollbox-items-preview {
        gap: 10px;
    }
    
    .rollbox-item-preview {
        width: 70px;
    }
    
    .rollbox-item-preview img {
        width: 50px;
        height: 50px;
    }
}
.item-price-random {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
    font-size: 18px;
    color: #ffc107;
}
/* Shop Tabs Adjustments */
.shop-tabs {
    margin-top: 10px;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.shop-tabs .nav-link {
    padding: 12px 20px;
    margin: 0 2px;
    font-size: 14px;
    font-weight: 500;
    color: #ddd;
    border: none;
    border-radius: 6px 6px 0 0;
    transition: all 0.3s ease;
    background: rgba(20, 20, 40, 0.5);
}

.shop-tabs .nav-link:hover {
    color: #fff;
    background: rgba(20, 20, 40, 0.8);
}

.shop-tabs .nav-link.active {
    color: #fff;
    background: linear-gradient(to right, #4facfe 0%, #00f2fe 100%);
    box-shadow: 0 4px 15px rgba(79, 172, 254, 0.3);
}

/* Shop Item Card with Neo Border */
.shop-item-card {
    background: rgba(20, 20, 40, 0.7);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.shop-item-card::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(
        135deg, 
        rgba(13, 185, 253, 0.8), 
        rgba(83, 31, 180, 0.8), 
        rgba(245, 13, 253, 0.8)
    );
    z-index: -1;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.shop-item-card:hover::before {
    opacity: 1;
    animation: neoBorderGlow 2s infinite alternate;
}

@keyframes neoBorderGlow {
    0% {
        opacity: 0.7;
    }
    100% {
        opacity: 1;
    }
}

/* Image Container Adjustments */
.item-image-container {
    position: relative;
    padding-top: 65%;
    overflow: hidden;
    margin: 12px 12px 0 12px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.item-image {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 75%;
    height: auto;
    max-height: 80%;
    transform: translate(-50%, -50%);
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
    transition: transform 0.3s ease;
}

.shop-item-card:hover .item-image {
    transform: translate(-50%, -50%) scale(1.05);
}

/* Border Tags */
.item-border-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 10px;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

/* Item Details */
.item-details {
    padding: 15px;
    flex-grow: 1;
    margin: 0 12px;
    background: rgba(0, 0, 0, 0.15);
}

.item-name {
    font-size: 15px;
    margin-bottom: 8px;
    color: white;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.item-price, .item-duration {
    font-size: 13px;
    color: #ddd;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
}

.item-price i {
    color: #4facfe;
    margin-right: 6px;
}

.item-duration i {
    color: #a770ef;
    margin-right: 6px;
}

/* Action Button - Modified */
.item-action {
    padding: 0 5px 25px;
    margin: 0 5px 20px;
}

.item-action .btn {
    font-size: 14px;
    padding: 10px 25px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    background: linear-gradient(to right, #4facfe 0%, #00f2fe 100%);
    border: none;
    width: calc(100% - 10px);
    display: block;
    margin: 12px auto 0;
    transform: translateY(18px);
}

/* Mobile responsiveness */
@media (max-width: 576px) {
    .item-action .btn {
        padding: 8px 25px;
        margin-top: 10px;
    }
}

.item-action .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.item-action .btn:disabled {
    background: linear-gradient(to right, #606060 0%, #3d3d3d 100%);
    cursor: not-allowed;
}

/* Additional spacing for tab content */
.tab-content {
    padding-top: 15px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .shop-tabs .nav-link {
        padding: 10px 15px;
        font-size: 13px;
    }
    
    .shop-item-card {
        margin-bottom: 15px;
    }
}

@media (max-width: 768px) {
    .shop-tabs {
        overflow-x: auto;
        white-space: nowrap;
        display: block;
        padding-bottom: 5px;
    }
    
    .shop-tabs .nav-item {
        display: inline-block;
        float: none;
    }
    
    .col-md-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 576px) {
    .col-md-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .item-action .btn {
        padding: 8px 15px;
        font-size: 13px;
    }
}

/* Border Tags Colors */
.item-border-tag.news {
    background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
    color: white;
	border-radius: 8px;
}

.item-border-tag.hot {
    background: linear-gradient(135deg, #F44336 0%, #C62828 100%);
    color: white;
	border-radius: 8px;
}

.item-border-tag.sale {
    background: linear-gradient(135deg, #FF4081 0%, #C2185B 100%);
    color: white;
	border-radius: 8px;
}

.item-border-tag.event {
    background: linear-gradient(135deg, #9C27B0 0%, #6A1B9A 100%);
    color: white;
	border-radius: 8px;
}

.item-border-tag.special {
    background: linear-gradient(135deg, #FFEB3B 0%, #FBC02D 100%);
    color: #333;
    text-shadow: 0 1px 1px rgba(255,255,255,0.3);
	border-radius: 8px;
}

.item-border-tag.basic {
    background: linear-gradient(135deg, #607D8B 0%, #455A64 100%);
    color: white;
	border-radius: 8px;
}

.item-border-tag.basic {
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    color: #333;
    text-shadow: 0 1px 1px rgba(0,0,0,0.1);
    border-radius: 8px;
}

/* Mobile-Optimized Modal Styles */
@media (max-width: 768px) {
    #confirmPurchaseModal .modal-dialog {
        margin: 10px;
    }
    
    #confirmPurchaseModal .modal-content {
        border-radius: 8px;
        box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    }
    
    #confirmPurchaseModal .modal-header {
        padding: 15px;
    }
    
    #confirmPurchaseModal .modal-title {
        font-size: 1.1rem;
    }
    
    #confirmPurchaseModal .modal-body {
        padding: 20px 15px;
    }
    
    #confirmPurchaseModal .modal-footer {
        padding: 15px;
    }
    
    #confirmPurchaseModal .btn {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
    
    #confirmPurchaseModal .alert {
        margin-bottom: 0;
    }
}

/* Touch-friendly elements */
.btn {
    -webkit-tap-highlight-color: transparent;
    position: relative;
    overflow: hidden;
}

.btn:active:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
    animation: ripple 0.6s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }
    100% {
        transform: scale(20, 20);
        opacity: 0;
    }
}

/* Prevent zoom on input focus on mobile */
@media (max-width: 768px) {
    select.form-control,
    textarea.form-control,
    input.form-control {
        font-size: 16px;
    }
    
    input[type="text"],
    input[type="password"],
    input[type="email"],
    input[type="tel"],
    textarea {
        -webkit-user-select: text;
        -moz-user-select: text;
        -ms-user-select: text;
        user-select: text;
    }
}

/* Touch Feedback Styles */
.btn-touch {
    transform: scale(0.98) !important;
    opacity: 0.9 !important;
    transition: all 0.1s ease !important;
}

/* Mobile tap highlights */
a, button, [role="button"], input, label, select, textarea {
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    touch-action: manipulation;
}

/* Prevent double-tap zoom */
@media (max-width: 768px) {
    button, a {
        touch-action: manipulation;
    }
}

.dark-input:focus {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    color: #ffffff;
    box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.1);
}

.dark-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.dark-select {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
}

.dark-select option {
    background-color: rgba(30, 30, 30, 0.95); /* Dark semi-transparent */
    color: #ffffff;
    padding: 8px 12px;
}

.dark-select:focus {
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.1);
}

/* Custom styling for the email domain selection */
.email-domain-select {
    height: calc(2.25rem + 15px); /* Match the height of input fields */
    padding-top: 0.375rem;
    padding-bottom: 0.375rem;
}

/* Style the select dropdown arrow */
.email-domain-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
}
@media (max-width: 576px) {
    .card-container {
        padding: 10px;
    }
    .ranking-table {
        font-size: 14px;
    }
    .btn-sm {
        padding: 0.25rem 0.5rem;
        font-size: 0.75rem;
    }
}

/* Untuk input PIN */
/* Style untuk note PIN */
.pin-note {
    color: red;
    border-color: #f8d7da;
    background-color: #f8d7da;
}

.card-container {
    position: relative;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    padding-bottom: 0;
    margin-bottom: 0;
}

.clan-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-bottom: 0;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
}

/* Style untuk input PIN */
.pin-input {
    font-family: monospace;
    letter-spacing: 0.3em;
    text-align: center;
    font-size: 1.2em;
    padding: 0.5em;
}

/* Untuk perangkat mobile - tampilkan keyboard numerik */
@media (max-width: 768px) {
    .pin-input {
        font-size: 1.5em;
        letter-spacing: 0.5em;
    }
}
/* Untuk memperjelas View All tanpa mengubah HTML */
.card-header a.view-all {
    color: #ffffff !important; /* Putih murni */
    opacity: 1 !important; /* Tidak transparan */
    text-shadow: 0 0 2px rgba(0,0,0,0.3); /* Sedikit shadow untuk kontras */
    font-weight: 600 !important; /* Lebih tebal */
}

.card-header a.view-all:hover {
    text-decoration: underline !important;
    text-underline-offset: 2px;
}

.card-container .card-header .view-all {
    color: rgba(255,255,255,0.9);
    transition: all 0.2s ease;
}

.card-container .card-header .view-all:hover {
    color: rgba(255,255,255,1);
    text-decoration: underline;
}

.vertical-bars-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
    height: 200px;
    align-items: flex-end;
    margin-top: 20px;
}
.rankings-section {
    background-color: #f8f9fa;
    border-top: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
}

.card-container {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow: hidden;
}

.card-header {
    background-color: #343a40;
    color: white;
    padding: 12px 15px;
    font-weight: 600;
}

.ranking-table {
    width: 100%;
    margin-bottom: 0;
}

.ranking-table th {
    background-color: #f8f9fa;
    padding: 10px 15px;
    font-weight: 600;
}

.ranking-table td {
    padding: 10px 15px;
    vertical-align: middle;
    border-top: 1px solid #dee2e6;
}

.rank-number {
    font-weight: 700;
    color: #495057;
    width: 50px;
}

.player-name, .clan-name {
    font-weight: 500;
}

.player-link {
    color: #212529;
    text-decoration: none;
}

.player-link:hover {
    color: #0d6efd;
    text-decoration: underline;
}

.level-icon-sm {
    width: 24px;
    height: 24px;
}

.view-all {
    color: #adb5bd;
    font-size: 0.85rem;
    text-decoration: none;
}

.view-all:hover {
    color: white;
}
.vertical-bar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.bar-container {
    height: 100%;
    width: 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 6px 6px 0 0;
    overflow: hidden;
}

.vertical-bar {
    width: 100%;
    height: 0%;
    transition: height 1s ease-out;
    border-radius: 6px 6px 0 0;
    position: relative;
}

.bar-value {
    position: absolute;
    top: -25px;
    width: 100%;
    text-align: center;
    font-size: 12px;
    font-weight: bold;
    color: #fff;
}

.bar-label {
    margin-top: 8px;
    text-align: center;
    font-size: 12px;
    color: #ddd;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bar-label i {
    font-size: 14px;
    margin-bottom: 3px;
    color: #fff;
}

.vertical-bars-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    height: 250px; /* Atur tinggi sesuai kebutuhan */
}

.vertical-bar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.bar-container {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
}

/* Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.fa-user-slash {
    opacity: 0.5;
}

/* Player Details Page Styles */
.player-details {
    padding-top: 30px;
    padding-bottom: 50px;
}

.level-icon-lg {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

/*.player-info {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    padding: 15px;
}*/

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    color: #aaa;
    font-weight: 500;
}

.info-value {
    color: #fff;
    font-weight: 600;
}

/* Circular Progress Bars */
.circular-progress {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 10px;
}

.progress-ring {
    transform: rotate(-90deg);
}

.progress-ring-circle {
    stroke: #0d6efd;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.5s;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.progress-value {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.progress-label {
    display: block;
    font-size: 12px;
    color: #aaa;
    text-transform: uppercase;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 20px;
}

/*.stat-item {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    padding: 15px;
    text-align: center;
}*/
.promo-banner {
    background-image: url('/assets/images/banner.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    max-width: 750px;
    height: auto;
    aspect-ratio: 800/550; /* Sesuaikan dengan rasio aspek gambar Anda */
    margin: 5rem auto 0;
}

.stat-number {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: #0d6efd;
    margin-bottom: 5px;
}

.stat-label {
    display: block;
    font-size: 12px;
    color: #aaa;
    text-transform: uppercase;
}

.player-name a {
    color: white !important;
    text-decoration: none !important;
}

/* Weapon Usage */
.weapon-row {
    margin-bottom: 15px;
}

.weapon-name {
    font-weight: 600;
    color: #fff;
}

.weapon-percent {
    font-weight: 600;
    color: #0d6efd;
}

.progress {
    height: 6px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.progress-bar {
    background-color: #0d6efd;
}

.stats-grid {
    margin-top: 0.5rem; /* Reduced from default */
    gap: 0.75rem; /* Reduced gap between items */
}

.stat-item {
    padding: 0.5rem; /* Reduced padding */
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* Pagination styling */
.pagination {
    margin: 20px 0;
}

.page-item {
    margin: 0 2px;
}

.page-link {
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    border: 1px solid #dee2e6;
    color: #007bff;
}

.page-item.active .page-link {
    background-color: #007bff;
    border-color: #007bff;
    color: white;
}

.page-item.disabled .page-link {
    color: #6c757d;
    pointer-events: none;
}

@media (max-width: 576px) {
    .page-link {
        padding: 0.3rem 0.5rem;
        font-size: 0.875rem;
    }
}

   /* Namecard styling */
.namecard-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 49px;
    min-width: 318px;
    overflow: hidden;
}

/* Player Modal Styles */
.player-row {
    cursor: pointer;
    transition: background-color 0.2s;
}

.player-row:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.stat-item {
    padding: 5px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
}

.stat-item span:first-child {
    font-weight: bold;
    color: #666;
}

.modal-content {
    background-color: #f8f9fa;
    border: none;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.modal-header {
    border-bottom: 1px solid #dee2e6;
    background-color: #343a40;
    color: white;
}

.modal-footer {
    border-top: 1px solid #dee2e6;
}

/* Badge styles */
.badge-vip {
    background-color: #ffc107;
    color: #000;
}

.badge-vvip {
    background-color: #dc3545;
    color: #fff;
}

.badge-basecamp {
    background-color: #0d6efd;
    color: #fff;
}

.badge-normal {
    background-color: #6c757d;
    color: #fff;
}

.namecard-wrapper {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.player-namecard {
    height: 80%;
    width: 80%;
    object-fit: cover;
    opacity: 0.65; /* Slightly more transparent */
    transition: all 0.3s ease;
}

.player-nickname {
    position: relative;
    z-index: 2;
    color: #fff;
    text-shadow: 1px 1px 3px #000, -1px -1px 3px #000;
    font-weight: bold;
    padding: 0 15px;
    white-space: nowrap;
}

.namecard-container:hover .player-namecard {
    opacity: 0.9;
}

/* Adjust table cell styling */
.ranking-table td.player-name {
    padding: 0;
    vertical-align: middle;
    height: 49px;
    position: relative;
}

/* Make sure table cells have enough space */
.ranking-table th:nth-child(2),
.ranking-table td:nth-child(2) {
    width: 25%;
    min-width: 200px;
}

html {
    scroll-behavior: smooth;
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    background-color: var(--darker);
    color: white;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 500;
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    background-image: radial-gradient(circle at 20% 30%, rgba(255, 45, 117, 0.15) 0%, transparent 25%), radial-gradient(circle at 80% 70%, rgba(0, 240, 255, 0.15) 0%, transparent 25%);
    background-repeat: no-repeat;
}

/* Download Section */
.download-section {
    padding: 3rem 0;
}

.download-header {
    margin-bottom: 3rem;
}

.download-title {
    font-size: 2.5rem;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.download-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
}

.file-size {
    background: rgba(0, 240, 255, 0.1);
    color: var(--secondary);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.9rem;
}

.download-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.download-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.btn-download {
    background: linear-gradient(to right, var(--primary), var(--accent));
    color: white;
    border: none;
    padding: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 45, 117, 0.3);
}

/* System Requirements */
.system-requirements {
    margin-top: 3rem;
}

.section-title {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.requirements-card {
    background: rgba(20, 20, 40, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1.5rem;
    height: 100%;
}

.requirements-card h5 {
    margin-bottom: 1rem;
    color: var(--secondary);
}

.requirements-card ul {
    list-style: none;
    padding: 0;
}

.requirements-card ul li {
    padding: 0.5rem 0;
    color: rgba(255, 255, 255, 0.8);
}

/* Installation Guide */
.installation-guide {
    margin-top: 3rem;
}

.guide-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.step {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.step-number {
    background: var(--primary);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content {
    background: rgba(20, 20, 40, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1rem;
    flex-grow: 1;
}

.step-content h5 {
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.step-content p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .download-title {
        font-size: 2rem;
    }
    
    .guide-steps {
        gap: 1rem;
    }
}

.main-content {
    flex: 1;
    padding-bottom: 2rem; /* Space before footer */
}

/* Typography */
h1, h2, h3, h4, .navbar-brand {
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.2;
    letter-spacing: 1px;
}

/* Particle Background */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    pointer-events: none;
}

/* Navbar */
.navbar {
	padding: 0.8rem 0;
    background: rgba(10, 10, 26, 0.85) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 45, 117, 0.3);
    padding: 0.8rem 0;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.1);
    z-index: 1000;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background: rgba(5, 5, 16, 0.95) !important;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
}

.navbar-brand {
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    color: white;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 15px rgba(255, 45, 117, 0.3);
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    text-shadow: 0 0 25px rgba(255, 45, 117, 0.5);
}

.navbar-brand img {
    height: 40px;
    transition: all 0.3s ease;
    width: auto;
    margin-right: 10px;
    filter: drop-shadow(0 0 5px var(--primary));
}

.nav-link {
    position: relative;
    margin: 0 0.5rem;
    font-weight: 600;
    padding: 0.5rem 0;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-link::before {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(to right, var(--primary), var(--secondary));
    transition: width 0.3s ease, box-shadow 0.3s ease;
}

.nav-link:hover {
    color: white;
}

.nav-link:hover::before {
    width: 100%;
    box-shadow: var(--neon-glow);
}

/* Active state */
.nav-link.active {
    color: white;
    position: relative;
}

.nav-link.active::before {
    width: 100%;
    box-shadow: var(--neon-glow);
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
    color: white;
    font-size: 1.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 65vh;
    display: flex;
    align-items: center;
    padding: 6rem 0 2rem;
    overflow: hidden;
    isolation: isolate;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, 
        rgba(255, 45, 117, 0.1) 0%, 
        rgba(5, 5, 16, 0.9) 70%);
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 1rem;
    text-align: center;
}

.welcome-text {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--secondary);
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
    animation: pulse 2s infinite alternate;
}

.game-title {
    font-size: calc(1.5rem + 3vw);
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, white, var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
    line-height: 1.1;
    letter-spacing: 3px;
}

.game-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn {
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: none;
    border-radius: 10px; /* Original 50 */
    padding: 0.9rem 1.8rem;
    font-size: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary), var(--accent), var(--secondary), var(--primary));
    background-size: 300% 300%;
    z-index: -1;
    transition: all 0.4s ease;
    opacity: 1;
    border-radius: 10px; /* Original 50 */
}

.btn:hover::before {
    background-position: 100% 100%;
    animation: gradientBG 1.5s ease infinite;
}

.btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(255, 45, 117, 0.4);
}

.btn:active {
    transform: translateY(0) scale(0.98);
}

.btn i {
    margin-right: 8px;
}

.btn-primary {
    background: transparent;
    color: white;
}

/* Dashboard Styles */
.dashboard-section {
    padding: 4rem 0;
    min-height: calc(100vh - 80px);
}

.dashboard-card {
    background: rgba(20, 20, 40, 0.6);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    margin-bottom: 2rem;
    height: 100%;
}

.card-body {
    padding: 1.5rem;
}

.player-avatar {
    text-align: center;
}

.player-avatar img {
    width: 120px;
    height: 120px;
    border: 3px solid var(--primary);
    box-shadow: 0 0 20px rgba(255, 45, 117, 0.5);
    border-radius: 50%;
}

.player-info-table {
    width: 100%;
    border-collapse: collapse;
}

.player-info-table th, 
.player-info-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.player-info-table th {
    color: var(--secondary);
    width: 40%;
    font-weight: 600;
}

.stats-title {
    color: var(--primary);
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 45, 117, 0.3);
    padding-bottom: 0.5rem;
}

.stats-table {
    width: 100%;
    border-collapse: collapse;
}

.stats-table th, 
.stats-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stats-table th {
    color: var(--secondary);
    width: 60%;
    font-weight: 600;
}

/* Ranking Section */
.ranking-section {
    padding: 10rem 0;
    background: linear-gradient(to bottom, rgba(5, 5, 16, 0.9), rgba(10, 10, 26, 0.9));
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

#section-title:before {
    content: "";
    display: block;
    height: 200px; /* atur berapa jauh ingin digeser */
    margin-top: -80px;
}

.section-title h2 {
    font-size: 2rem;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    position: relative;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    border-radius: 3px;
}

.card-container {
    background: rgba(20, 20, 40, 0.6);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    margin-bottom: 2rem;
}

.card-header {
    background: linear-gradient(to right, var(--primary), var(--accent));
    padding: 1rem;
    color: white;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.ranking-table {
    width: 100%;
    color: white;
    font-size: 0.9rem;
    border-collapse: collapse;
}

.ranking-table th {
    background: rgba(0, 240, 255, 0.1);
    color: var(--secondary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 1rem;
    text-align: center;
}

.ranking-table td {
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-weight: 600;
}

.ranking-table tr:last-child td {
    border-bottom: none;
}

.ranking-table tr:hover td {
    background: rgba(255, 255, 255, 0.05);
}

.rank-number {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--secondary);
    position: relative;
}

/* Tambahkan di CSS Anda jika diperlukan */
.ranking-table a {
    color: inherit !important;
    text-decoration: none !important;
}
.ranking-table a:hover {
    color: inherit !important;
    text-decoration: none !important;
}

.rank-number::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--secondary);
    box-shadow: 0 0 10px var(--secondary);
}

.player-name {
    font-weight: 700;
    color: white;
    position: relative;
}

.player-name::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.ranking-table tr:hover .player-name::after {
    width: 100%;
}

.clan-name {
    font-weight: 700;
    color: var(--secondary);
}

.badge-normal {
    display: inline-block;
    padding: 3px 8px;
    font-size: 12px;
    font-weight: bold;
    color: #333;
    background-color: #e0e0e0;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-premium {
    background: linear-gradient(to right, #ffd700, #ff9500);
    color: #000;
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Forms */
.neon-form {
    background: rgba(20, 20, 40, 0.6);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    margin: 2rem auto;
    max-width: 600px;
}

.form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    width: 100%;
    margin-bottom: 1.5rem;
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(255, 45, 117, 0.3);
    color: white;
    outline: none;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.text-muted {
    color: rgba(255, 255, 255, 0.6) !important;
}

.text-muted:hover {
    color: var(--secondary) !important;
    text-decoration: none;
}

/* Footer */
.footer {
    background: linear-gradient(to bottom, rgba(5, 5, 16, 0.95), rgba(2, 2, 10, 0.98));
    padding: 3rem 0 1rem;
    position: relative;
    border-top: 1px solid rgba(255, 45, 117, 0.2);
    text-align: center;
    margin-top: auto;
    width: 100%;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--primary), transparent);
}

.copyright {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Animations */
@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Dropdown menu alignment */
.dropdown-menu {
    text-align: left;
}

/* Mobile view */
@media (max-width: 991.98px) {
    .navbar-collapse {
        padding-top: 1rem;
    }
    
    .navbar-nav {
        margin: 1rem 0;
        gap: 0.5rem;
    }
    
    .d-flex {
        margin-bottom: 1rem;
    }
}

@keyframes pulse {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0.7;
    }
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .navbar-nav {
		gap: 1rem;
        padding: 1rem 0;
        background: rgba(10, 10, 26, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-radius: 10px;
        margin-top: 1rem;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-link {
        margin: 0.5rem 1rem;
        padding: 0.7rem 1rem;
    }
    
    .hero {
        padding: 5rem 0 2rem;
        min-height: 55vh;
    }
}

@media (max-width: 767.98px) {
    .game-title {
        font-size: calc(1.3rem + 3vw);
    }
    
    .game-subtitle {
        font-size: 1rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .dashboard-section {
        padding: 3rem 0;
    }
}

@media (max-width: 575.98px) {
    .navbar-brand {
        font-size: 1.3rem;
    }
    
    .navbar-brand img {
        height: 35px;
    }
    
    .ranking-table th, 
    .ranking-table td {
        padding: 0.8rem 0.5rem;
        font-size: 0.8rem;
    }
    
    .player-avatar img {
        width: 90px;
        height: 90px;
    }
    
    .neon-form {
        padding: 1.5rem;
    }
}

/* Clan Rank Icons */
.clan-rank-icon {
    width: 25px;
    height: 25px;
    object-fit: contain;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.clan-rank-icon:hover {
    transform: scale(1.2);
    box-shadow: 0 0 10px var(--secondary);
}

/* Level Icons */
.level-icon {
    width: 25px;
    height: 25px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.level-icon:hover {
    transform: scale(1.2);
}

/* Tooltip */
.tooltip-inner {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    background-color: var(--primary);
}

.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow::before,
.bs-tooltip-top .tooltip-arrow::before {
    border-top-color: var(--primary);
}

/* Badge Styles */

.badge-normal {
 background: linear-gradient(to right, #073e50, #0a6853);
    color: white;
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-left: 0.5rem;
    display: inline-block;
    box-shadow: 0 0 10px rgba(0, 191, 255, 0.5);
}

.badge-vip {
    background: linear-gradient(to right, #ffd700, #ff9500);
    color: #000;
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-left: 0.5rem;
    display: inline-block;
}

.badge-vvip {
    background: linear-gradient(to right, #a020f0, #ff00ff);
    color: white;
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-left: 0.5rem;
    display: inline-block;
}

.badge-basecamp {
    background: linear-gradient(to right, #ff0000, #ff0000);
    color: white;
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-left: 0.5rem;
    display: inline-block;
    box-shadow: 0 0 10px rgb(255, 115, 0);
}
/* Mobile-first responsive styles */
.hero {
    padding: 2rem 1rem;
}

.hero-content {
    padding: 1rem;
}

.game-title {
    font-size: 2.5rem;
    margin: 1rem 0;
}

.game-subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.btn-primary {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    margin: 0.25rem;
}

.ranking-section {
    padding: 1rem;
}

.card-container {
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.card-header {
    font-size: 1rem;
    padding: 0.75rem;
}

.ranking-table {
    font-size: 0.85rem;
    width: 100%;
}

.ranking-table th, 
.ranking-table td {
    padding: 0.5rem;
}

.level-icon, .clan-rank-icon {
    max-width: 24px;
    max-height: 24px;
}

.badge-vip, .badge-vvip, .badge-basecamp, .badge-normal {
    font-size: 0.7rem;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
}

/* Tablet and larger */
@media (min-width: 768px) {
    .hero {
        padding: 3rem 2rem;
    }
    
    .game-title {
        font-size: 3.5rem;
    }
    
    .game-subtitle {
        font-size: 1.2rem;
    }
    
    .btn-primary {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    .ranking-section {
        padding: 2rem;
    }
    
    .ranking-table {
        font-size: 0.9rem;
    }
    
    .ranking-table th, 
    .ranking-table td {
        padding: 0.75rem;
    }
}

/* Desktop */
@media (min-width: 992px) {
    .hero {
        padding: 4rem;
    }
    
    .game-title {
        font-size: 4rem;
    }
    
    .ranking-table {
        font-size: 1rem;
    }
}
/* Online Status */
.text-success {
    font-weight: 700;
    text-shadow: 0 0 8px rgba(0, 255, 0, 0.3);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--darker);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--primary), var(--secondary));
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(var(--secondary), var(--primary));
}

.transparent-alert {
    background: rgba(20, 20, 40, 0.95) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 10px !important;
}

.swal2-title, .swal2-content {
    color: #fff !important;
}

.swal2-confirm {
    background-color: #3085d6 !important;
    border: none !important;
}

.swal2-icon.swal2-error {
    color: #f27474 !important;
}

.swal2-timer-progress-bar {
    background: rgba(48, 133, 214, 0.4) !important;
}