.account-card {
    background: rgba(0, 0, 0, 0.85);
    border: 1px solid #333;
    border-radius: 12px;
    padding: 25px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 0 8px rgb(255, 255, 255);
    min-height: 450px;
}

.account-card.vip {
    border-color: #f39c12;
    box-shadow: 0 0 25px rgba(243, 156, 18, 0.2);
}

.account-card.ultra-vip {
    border-color: #9b59b6;
    box-shadow: 0 0 35px rgba(155, 89, 182, 0.3);
}

.vip-badge {
    position: absolute;
    top: -12px;
    left: 15px;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: bold;
    color: white;
}

.badge-vip {
    background: #f39c12;
    color: black;
}

.badge-ultra {
    background: #9b59b6;
}

.info-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #999;
}

.info-row b {
    color: #fff;
}

.rank-unranked { color: #9eaab5 !important; text-shadow: 0 0 1px rgba(158, 170, 181, 0.3); }
.rank-iron { color: #8e8785 !important; text-shadow: 0 0 1px rgba(142, 135, 133, 0.4); }
.rank-bronze { color: #c47b4d !important; text-shadow: 0 0 1px rgba(196, 123, 77, 0.5); }
.rank-silver { color: #d0d7e1 !important; text-shadow: 0 0 1px rgba(208, 215, 225, 0.6), 0 0 10px rgba(255, 255, 255, 0.2); }
.rank-gold { color: #ffdc33 !important; text-shadow: 0 0 1px rgba(255, 220, 51, 0.6), 0 0 12px rgba(212, 175, 55, 0.4); }
.rank-platinum { color: #14a294 !important; text-shadow: 0 0 1px rgba(67, 205, 174, 0.6), 0 0 15px rgba(24, 148, 121, 0.5); }
.rank-emerald { color: #2de27b !important; text-shadow: 0 0 1px rgba(45, 226, 123, 0.7), 0 0 18px rgba(18, 143, 72, 0.6); font-weight: bold; }
.rank-diamond { color: #f176ff !important; text-shadow: 0 0 1px rgba(125, 227, 255, 0.8), 0 0 15px rgba(35, 123, 206, 0.8), 0 0 22px rgba(14, 69, 183, 0.5); font-weight: bold; }
.rank-master { color: #e468ff !important; text-shadow: 0 0 1px rgba(228, 104, 255, 0.8), 0 0 18px rgba(142, 36, 170, 0.8), 0 0 25px rgba(74, 20, 140, 0.6); font-weight: bold; }
.rank-grandmaster { color: #ff4747 !important; text-shadow: 0 0 1px rgba(255, 71, 71, 0.8), 0 0 18px rgba(184, 21, 21, 0.8), 0 0 25px rgba(122, 10, 10, 0.6); font-weight: bold; }
.rank-challenger { color: #ffdf00 !important; text-shadow: 0 0 1px #ffdf00, 0 0 15px #f39c12, 0 0 25px #00e5ff, 0 0 35px #00bfff; font-weight: 900; letter-spacing: 0.5px; }

.price-tag {
    margin-top: auto;
    font-size: 1.4rem;
    color: #2ecc71;
    font-weight: bold;
    text-align: right;
}

.skin-list { 
    display: flex;
    flex-wrap: wrap; 
    gap: 8px; 
    font-size: 0.80rem; 
    color: #bbb; 
    max-height: 90px !important; 
    margin-top: 10px !important; 
    border-top: none !important;
    overflow-y: auto;
    padding-right: 5px; 
    padding-top: 4px;    
    padding-bottom: 4px; 
}

.skin-list::-webkit-scrollbar { width: 6px; }
.skin-list::-webkit-scrollbar-track { background: rgba(0,0,0,0.1); border-radius: 4px; }
.skin-list::-webkit-scrollbar-thumb { background: hsl(204, 34%, 64%); border-radius: 4px; }
.skin-list::-webkit-scrollbar-thumb:hover { background: hsl(204, 34%, 80%); }

.skin-legendary { color: #ff4d4d; font-weight: bold; } 
.skin-epic { color: #5dade2; font-weight: bold; } 
.skin-mythic { color: #a335ee; font-weight: bold; } 
.skin-prestige { color: #f1c40f !important; font-weight: bold; text-shadow: 0 0 5px rgba(241, 196, 15, 0.4); }

.skin-hover-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15); 
    padding: 4px 10px; 
    border-radius: 6px; 
    cursor: help;
    position: relative;
    transition: all 0.2s ease;
    display: inline-block;
    white-space: nowrap; 
}

.skin-hover-item:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: currentColor; 
    transform: translateY(-2px); 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
    filter: brightness(1.4); 
}

.skin-tooltip {
    position: absolute;
    z-index: 9999;
    background: rgba(10, 10, 10, 0.98);
    border: 1px solid #333;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8), 0 0 15px rgba(93, 173, 226, 0.3);
    display: none;
    pointer-events: none;
    width: 320px;
    text-align: center;
    overflow: hidden;
    transition: opacity 0.2s ease;
}

.skin-tooltip-img {
    width: 100%;
    height: auto;
    min-height: 150px;
    background: #111;
    object-fit: cover;
    border-bottom: 2px solid #5dade2;
}

.skin-tooltip-content {
    padding: 15px;
}

.skin-tooltip h4 {
    color: #5dade2;
    margin: 0 0 10px 0;
    font-size: 1.1rem;
    border-bottom: 1px dashed #444;
    padding-bottom: 8px;
}

.skin-tooltip-stats {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.85rem;
    color: #ccc;
    text-align: center;
}

.skin-tooltip-stats b {
    color: #fff;
}

.pagination {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    padding: 20px 0;
}

.pagination button {
    padding: 10px 18px;
    background: #162938;
    color: white;
    border: 1px solid hsl(204, 34%, 64%);
    cursor: pointer;
    border-radius: 8px;
    font-size: 1.1rem;
    transition: 0.3s;
}

.pagination button:hover:not(:disabled) {
    background: hsl(204, 34%, 64%);
    color: black;
}

.pagination button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    border-color: #444;
}

.page-info {
    color: white;
    font-weight: bold;
    font-size: 1rem;
    padding: 0 10px;
}

@media (max-width: 480px) {
    .account-card {
        padding: 15px; 
        min-height: auto; 
    }
    .pagination {
        flex-wrap: wrap; 
    }
}

@media (max-width: 400px) {
    .pagination button {
        padding: 6px 12px;
        font-size: 0.9rem;
    }
    .page-info {
        font-size: 0.8rem;
    }
}


/* --- SATIN AL BUTONU --- */
.buy-btn {
    width: 100%;
    padding: 12px;
    background: #2ecc71;
    color: #000;
    font-size: 1.1rem;
    font-weight: bold;
    text-align: center;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    margin-top: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.buy-btn:hover {
    background: #27ae60;
    transform: translateY(-2px);
}





/* --- SATIŞ MAĞAZALARI POP-UP (MODAL) --- */
.store-modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: none; 
    justify-content: center;
    align-items: center;
    z-index: 10000;
    backdrop-filter: blur(5px);
}

.store-modal-content {
    background: #0a0a0a;
    border: 1px solid #333;
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    max-width: 800px;
    width: 90%;
    position: relative;
    box-shadow: 0 10px 40px rgba(0,0,0,0.9);
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

.store-modal-close {
    position: absolute;
    top: 15px; right: 20px;
    font-size: 2rem;
    color: #555;
    cursor: pointer;
    transition: color 0.3s;
    line-height: 1;
}

.store-modal-close:hover {
    color: #fff;
}

.store-modal-title {
    font-size: 2rem; 
    color: #fff; 
    margin-bottom: 15px;
}

.store-modal-desc {
    color: #aaa; 
    font-size: 1.05rem; 
    margin-bottom: 40px;
}

.store-modal-links {
    display: flex; 
    justify-content: center; 
    gap: 20px; 
    flex-wrap: wrap;
}

.store-modal-btn {
    display: flex; justify-content: center; align-items: center;
    padding: 15px 30px; border-radius: 12px;
    transition: all 0.3s ease; min-width: 200px; height: 65px;
    background: rgba(0, 0, 0, 0.6); border: 1px solid #333;
    cursor: pointer; text-decoration: none;
}

.store-modal-btn img { height: 30px; transition: transform 0.3s; }
.store-modal-btn.hesapcomtr img { height: 50px; }
.store-modal-btn:hover img { transform: scale(1.08); }

.store-modal-btn.itemsatis:hover { border-color: #fff; box-shadow: 0 8px 25px rgba(255, 255, 255, 0.1); }
.store-modal-btn.gamesatis:hover { border-color: #00b894; box-shadow: 0 8px 25px rgba(0, 184, 148, 0.2); }
.store-modal-btn.hesapcomtr:hover { border-color: #3742fa; box-shadow: 0 8px 25px rgba(55, 66, 250, 0.2); }


/* --- OTOMATİK İNDİRİM AFİŞİ --- */
.discount-banner {
    background: #00637c;
    color: white;
    text-align: center;
    padding: 8px 15px;
    font-size: 0.95rem;
    font-weight: bold;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px #383838;
    position: relative;
    z-index: 1000;
    animation: slideDown 0.5s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.discount-banner span {
    background: #fff;
    color: #00637c;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 900;
}

@keyframes slideDown {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* --- SIRALAMA (SORT) ARACI VE SAYACA ÖZEL TASARIM --- */
.sort-container {
    display: flex;
    justify-content: space-between; /* Sayaç solda, Sıralama sağda durur */
    align-items: center;
    background: rgba(0, 0, 0, 0.6);
    padding: 12px 20px;
    border-radius: 12px;
    border: 1px solid #333;
    margin-bottom: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.sort-container label {
    color: #aaa;
    font-size: 0.9rem;
}

.sort-container select {
    background: #162938;
    color: white;
    border: 1px solid #5dade2;
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    outline: none;
    transition: 0.3s;
}

.sort-container select:hover {
    border-color: #fff;
}

@media (max-width: 650px) {
    .sort-container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}
@media (max-width: 370px) {
    aside, .filter-container, .announce, .sort-container, .account-boxes {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
        box-sizing: border-box !important;
    }
    input, select, .fresh-toggle-container {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .sort-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
    }
    .account-card {
        padding: 15px !important;
        width: 100% !important;
    }
    .discount-banner {
        font-size: 0.75rem !important;
        width: 95% !important;
    }
}
