
/* Game Accounts Section Styles */

.acc-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.acc-cat-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.acc-cat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.08);
    border-color: var(--primary);
}

.acc-cat-banner {
    width: 100%;
    height: 160px;
    background: #f1f5f9;
    position: relative;
    overflow: hidden;
}

.acc-cat-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.acc-cat-card:hover .acc-cat-banner img {
    transform: scale(1.08);
}

.acc-cat-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    padding: 6px 14px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 900;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.acc-cat-info {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.acc-cat-title {
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--text-main);
    margin-bottom: 10px;
}

.acc-cat-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 0;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Individual Account Grid */

.acc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    padding-bottom: 40px;
}

.acc-card {
    background: #fff;
    border-radius: 20px;
    border: 1px solid var(--border);
    overflow: hidden;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.acc-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--primary);
}

.acc-card-banner {
    width: 100%;
    height: 180px;
    background: #e2e8f0;
    position: relative;
    overflow: hidden;
}

.acc-card-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.acc-card:hover .acc-card-banner img {
    transform: scale(1.05);
}

.acc-card-id {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(8px);
    color: white;
    padding: 6px 14px;
    border-radius: 10px;
    font-size: 0.72rem;
    font-weight: 900;
    z-index: 2;
}

.acc-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.acc-card-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 16px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 3.1rem;
}

.acc-card-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8fafc;
    padding: 14px;
    border-radius: 14px;
    margin-bottom: 20px;
    border: 1px solid #f1f5f9;
}

.acc-price-money {
    color: #10b981;
    font-weight: 900;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.acc-price-coin {
    color: #f59e0b;
    font-weight: 900;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.acc-btn-detail {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background: var(--primary-soft);
    color: var(--primary);
    padding: 14px;
    border-radius: 14px;
    font-weight: 800;
    font-size: 0.95rem;
    text-decoration: none;
    transition: 0.2s;
    margin-top: auto;
}

.acc-btn-detail:hover {
    background: var(--primary);
    color: white;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.2);
}

/* Mobile Responsive */
@media (max-width: 640px) {
    .acc-grid {
        grid-template-columns: 1fr;
    }
    .acc-category-grid {
        grid-template-columns: 1fr;
    }
    .acc-card-banner {
        height: 220px;
    }
}
