/* ============================================
   17. ACCOUNT PAGE
   ============================================ */

.account-page {
    padding:100px 32px 64px;
    max-width:1200px;
    margin:0 auto;
}

.account-header {
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:48px;
    padding:32px;
    background:var(--white);
    border:none;
    box-shadow:none;
    flex-wrap:wrap;
    gap:24px;
}

.user-profile {
    display:flex;
    align-items:center;
    gap:24px;
}

.user-avatar-large {
    width:80px;
    height:80px;
    border-radius:0;
    background:var(--black);
    color:var(--white);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:2.5rem;
    font-weight:700;
    font-family:'IBM Plex Mono',monospace;
}

.user-info h1 {
    font-size:1.5rem;
    margin-bottom:4px;
}

.user-status {
    color:var(--charcoal);
    font-size:0.9rem;
}

.level-display {
    display:flex;
    align-items:center;
    gap:16px;
}

.level-circle {
    width:60px;
    height:60px;
    border-radius:0;
    background:var(--black);
    display:flex;
    align-items:center;
    justify-content:center;
    border:none;
}

.level-circle.level-1 { background:#8B4513; }
.level-circle.level-2 { background:#228B22; }
.level-circle.level-3 { background:#4169E1; }
.level-circle.level-4 { background:#9932CC; }
.level-circle.level-5 { background:#FF6347; }
.level-circle.level-6 { background:#FF8C00; }
.level-circle.level-7 { background:#FFD700; }
.level-circle.level-8 { background:#20B2AA; }
.level-circle.level-9 { background:#DC143C; }
.level-circle.level-10 { background:linear-gradient(135deg,#FFD700,#FF6347,#9932CC); }

.level-number {
    color:var(--white);
    font-size:1.5rem;
    font-weight:700;
    font-family:'IBM Plex Mono',monospace;
}

.level-info {
    display:flex;
    flex-direction:column;
}

.level-title {
    font-size:1.1rem;
    font-weight:700;
    text-transform:uppercase;
}

.xp-total {
    color:var(--charcoal);
    font-size:0.9rem;
}

.progress-section {
    margin-bottom:48px;
}

.progress-section h2 {
    font-size:1.5rem;
    margin-bottom:24px;
}

.progress-stats {
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(200px,1fr));
    gap:24px;
}

.stat-card {
    background:var(--white);
    border:1px solid #ccc;
    padding:24px;
    text-align:center;
    transition:all 0.1s;
}

.stat-card:hover {
    box-shadow:none;
    border-color:var(--black) !important;
}

[data-theme="dark"] .stat-card:hover {
    border-color:#e0e0e0 !important;
}

.stat-number {
    font-size:2.5rem;
    font-weight:700;
    color:var(--black);
    font-family:'IBM Plex Mono',monospace;
}

.stat-label {
    font-size:0.875rem;
    color:var(--charcoal);
    text-transform:uppercase;
    margin-top:8px;
}

.level-progress-section {
    margin-bottom:48px;
}

.level-progress-section h2 {
    font-size:1.5rem;
    margin-bottom:24px;
}

.level-bar-container {
    background:var(--white);
    border:none;
    padding:24px;
}

.level-bar-info {
    display:flex;
    justify-content:space-between;
    margin-bottom:12px;
    font-family:'IBM Plex Mono',monospace;
    font-size:0.9rem;
}

.current-level {
    font-weight:700;
}

.next-level {
    color:var(--charcoal);
}

.progress-bar-large {
    height:24px;
    background:var(--ivory);
    border:none;
    position:relative;
    overflow:hidden;
}

.progress-fill-large {
    height:100%;
    background:var(--black);
    transition:width 0.5s ease;
}

.xp-breakdown {
    margin-top:8px;
    text-align:right;
    font-family:'IBM Plex Mono',monospace;
    font-size:0.8rem;
    color:var(--charcoal);
}

.achievements-section {
    margin-bottom:48px;
}

.achievements-section h2 {
    font-size:1.5rem;
    margin-bottom:24px;
}

.achievements-grid {
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(280px,1fr));
    gap:24px;
}

.achievement-card {
    background:var(--white);
    border:1px solid #ccc;
    padding:20px;
    position:relative;
    transition:all 0.1s;
}

.achievement-card.unlocked {
    background:var(--white);
}

.achievement-card.locked {
    background:var(--ivory);
    opacity:0.6;
}

.achievement-card:hover {
    box-shadow:none;
    border-color:var(--black) !important;
}

[data-theme="dark"] .achievement-card:hover {
    border-color:#e0e0e0 !important;
}

.achievement-card-icon {
    font-size:2rem;
    margin-bottom:12px;
}

.achievement-card-name {
    font-weight:700;
    font-size:1.1rem;
    margin-bottom:4px;
}

.achievement-card-desc {
    font-size:0.85rem;
    color:var(--charcoal);
    margin-bottom:12px;
}

.achievement-card-xp {
    font-family:'IBM Plex Mono',monospace;
    font-size:0.8rem;
    color:var(--dark-green);
    font-weight:700;
}

.achievement-card-status {
    position:absolute;
    top:20px;
    right:20px;
    font-size:0.8rem;
}

/* Progress Lists */
.guides-progress-section,
.projects-progress-section,
.games-progress-section,
.tests-progress-section {
    margin-bottom:48px;
}

.guides-progress-section h2,
.projects-progress-section h2,
.games-progress-section h2,
.tests-progress-section h2 {
    font-size:1.5rem;
    margin-bottom:24px;
}

.guides-list,
.projects-list,
.games-list,
.tests-list {
    background:var(--white);
    border:none;
}

.progress-row {
    display:flex;
    align-items:center;
    padding:16px 24px;
    border-bottom:none;
    transition:background 0.2s;
}

.progress-row:last-child {
    border-bottom:none;
}

.progress-row:hover {
}

.progress-row.completed {
    background:#f0fff0;
}

.progress-row.completed .progress-status {
    color:var(--dark-green);
    font-weight:700;
}

.progress-icon {
    font-size:1.5rem;
    margin-right:16px;
    width:40px;
    text-align:center;
}

.progress-name {
    flex:1;
    font-weight:600;
}

.progress-status {
    margin-right:16px;
    font-family:'IBM Plex Mono',monospace;
    font-size:0.85rem;
    color:var(--charcoal);
}

.progress-link {
    color:var(--black);
    text-decoration:none;
    font-family:'IBM Plex Mono',monospace;
    font-size:0.85rem;
    padding:4px 12px;
    border:none;
    transition:all 0.1s;
}

.progress-link:hover {
}