/* Accounts Page Styles */
:root {
    --primary: #7B2CBF;
    --primary-dark: #5A189A;
    --secondary: #00D9FF;
    --dark: #0A0E27;
    --dark-light: #1A1F3A;
    --text: #E8E9F3;
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

body[data-theme="dark"] {
    background-color: var(--dark);
    color: var(--text);
}

.accounts-hero {
    background: linear-gradient(rgba(10, 14, 39, 0.8), rgba(10, 14, 39, 0.8)), url('../images/hero-bg.jpg') center/cover;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Fallback if image missing */
.accounts-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, #240b36 0%, #0A0E27 100%);
    z-index: -1;
}

.category-section {
    padding: 80px 0;
}

.section-header {
    margin-bottom: 50px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-bottom: 2px solid rgba(123, 44, 191, 0.2);
    padding-bottom: 20px;
    flex-wrap: wrap;
    gap: 20px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 15px;
    color: #fff;
    margin: 0;
}

.section-title i {
    color: var(--primary);
}

.accounts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.account-card {
    background: var(--dark-light);
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    display: flex;
    flex-direction: column;
}

.account-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.account-image-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #2a2f4c;
    /* Placeholder bg */
}

.account-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.account-card:hover .account-image {
    transform: scale(1.1);
}

.account-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gradient);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.account-info {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.account-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text);
}

.account-features {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
    flex-grow: 1;
}

.account-features li {
    font-size: 0.9rem;
    color: #9CA3AF;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.account-features li i {
    color: var(--secondary);
    font-size: 0.8rem;
}

.account-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.account-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
}

.btn-buy {
    background: var(--gradient);
    color: white;
    padding: 10px 25px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-buy:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(123, 44, 191, 0.4);
}

.stats-banner {
    background: var(--dark-light);
    padding: 40px 0;
    margin: 40px 0;
    border-radius: 20px;
    display: flex;
    justify-content: space-around;
    text-align: center;
    border: 1px solid rgba(123, 44, 191, 0.1);
    flex-wrap: wrap;
    gap: 20px;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 5px;
    font-weight: 800;
}

.stat-item p {
    color: #9CA3AF;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .stats-banner {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .accounts-hero h1 {
        font-size: 2.5rem !important;
    }
}