﻿/* Game Account Cards Styling - Dark Gaming Theme */
.account-list {
    padding: 40px 0;
    background-color: transparent;
}

.account-list__content {
    margin-bottom: 40px;
}

.account-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.account-card {
    background: #1a1a2e;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.account-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.3);
}

.account-media {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.account-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    filter: brightness(0.85);
}

.account-card:hover .account-img {
    transform: scale(1.05);
    filter: brightness(1.0);
}

.account-code {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, #8b5cf6, #6d28d9);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 1.4rem;
    font-weight: 700;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.4);
    z-index: 1;
}

.account-price-top {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    color: white;
    font-size: 1.4rem;
    font-weight: 700;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0));
    padding: 20px 5px 8px;
    z-index: 1;
}

.account-info {
    padding: 18px 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.account-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 10px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 10px;
    padding: 8px 12px;
}

.info-item__title {
    color: #94a3b8;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.info-value {
    display: flex;
    align-items: center;
    font-weight: 700;
    color: #67e8f9;
    font-size: 1.5rem;
}

.info-value.highlight {
    color: #67e8f9;
}

.account-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 0 20px 20px;
    margin-top: auto;
    text-align: center;
}

.card-price {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #06b6d4;
    font-weight: 800;
    font-size: 1.6rem;
    padding: 8px 0;
    font-family: "Fz Poppins", sans-serif;
}

.action-btn {
    border-radius: 100px;
    font-size: 1.4rem;
    font-weight: 700;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 25px;
    width: 100%;
    font-family: "Fz Poppins", sans-serif;
}

.action-btn i {
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.action-btn--card {
    background: linear-gradient(135deg, #8b5cf6, #06b6d4);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.action-btn--card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.45);
    color: white;
}

.action-btn--detail {
    background: rgba(139, 92, 246, 0.1);
    color: #a78bfa;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.action-btn--detail:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: #8b5cf6;
    color: #c4b5fd;
    transform: translateY(-2px);
}

.action-btn--card:hover i,
.action-btn--detail:hover i {
    transform: translateX(3px);
}

.account-filter {
    background: #1a1a2e;
    padding: 25px 30px;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    margin-bottom: 30px;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.account-filter__row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.account-filter__group {
    position: relative;
}

.account-filter__label {
    display: block;
    font-weight: 600;
    color: #94a3b8;
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.account-filter__input {
    width: 100%;
    height: 45px;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    font-size: 1.4rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.06);
    color: #f1f5f9;
    font-family: "Fz Poppins", sans-serif;
}

.account-filter__input::placeholder {
    color: #64748b;
}

.account-filter__input option {
    background: #1a1a2e;
    color: #f1f5f9;
}

.account-filter__input:hover {
    border-color: rgba(139, 92, 246, 0.3);
}

.account-filter__input:focus {
    outline: none;
    border-color: #8b5cf6;
    background: rgba(139, 92, 246, 0.05);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
    color: #f1f5f9;
}

.account-filter__input--select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238b5cf6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

.account-filter__actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    padding-top: 25px;
    margin-top: 5px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.account-filter__button {
    border-radius: 100px;
    cursor: pointer;
    min-width: 160px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    font-family: "Fz Poppins", sans-serif;
    font-size: 1.4rem;
}

.account-filter__button--primary {
    background: linear-gradient(135deg, #8b5cf6, #06b6d4);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.account-filter__button--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.45);
    color: white;
}

.account-filter__button--outline {
    border: 1px solid rgba(139, 92, 246, 0.4);
    color: #94a3b8;
    background: transparent;
}

.account-filter__button--outline:hover {
    background: rgba(139, 92, 246, 0.1);
    border-color: #8b5cf6;
    color: #a78bfa;
    transform: translateY(-2px);
}

.no-results {
    background: #1a1a2e;
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.no-results__icon {
    font-size: 4rem;
    color: #06b6d4;
    margin-bottom: 20px;
}

.no-results__title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 10px;
}

.no-results__message {
    font-size: 1.6rem;
    color: #94a3b8;
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.pagination .page-item {
    margin: 0 5px;
}

.pagination .page-link {
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 10px 15px;
    color: #94a3b8;
    font-weight: 500;
    transition: all 0.3s ease;
    background: #1a1a2e;
}

.pagination .page-item.active .page-link {
    background: #8b5cf6;
    border-color: #8b5cf6;
    color: white;
}

.pagination .page-link:hover {
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.3);
    color: #a78bfa;
    transform: translateY(-2px);
}

.pagination .page-item.active .page-link:hover {
    background: #8b5cf6;
    color: white;
}

.filter-btn {
    background: linear-gradient(135deg, #8b5cf6, #6d28d9);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(139, 92, 246, 0.3);
}

.filter-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.45);
}

.account-action__btn--buy {
    background: linear-gradient(135deg, #8b5cf6, #06b6d4);
    color: white;
    border: none;
    box-shadow: 0 4px 10px rgba(139, 92, 246, 0.3);
}

.account-action__btn--buy:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.4);
    color: white;
}

@media (max-width: 992px) {
    .account-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: 20px;
    }

    .account-filter__row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .account-grid {
        grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
        gap: 15px;
    }

    .account-filter__row {
        grid-template-columns: 1fr;
    }

    .account-filter {
        padding: 20px;
    }

    .account-media {
        height: 160px;
    }

    .account-info {
        padding: 15px;
    }

    .account-filter__button {
        min-width: 140px;
    }
}

@media (max-width: 480px) {
    .account-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .account-media {
        height: 200px;
    }

    .account-filter__actions {
        flex-direction: column;
    }

    .account-filter__button {
        width: 100%;
        min-width: unset;
    }
}