body {
    background-color: #0a0a0a;
    font-family: 'Lilita One', cursive;
    color: white;
    align-items: flex-start;
    padding-top: 5vh;
    margin: 0;
}

.profile-container {
    margin-left: auto;
    margin-right: auto;
    background: rgba(30, 30, 40, 0.95);
    padding: 2rem 3rem;
    border-radius: 20px;
    box-shadow: 0 0 30px #7b2cbf, 0 0 15px #38bdf8;
    width: 80%;
    max-width: 900px;
    text-align: center;
    display: block;
}

.profile-header {
    margin-bottom: 2rem;
}

.avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid #38bdf8;
    margin-bottom: 1rem;
}

.rank {
    font-size: 1.2rem;
    color: #a78bfa;
    margin-top: -0.5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.2rem;
    margin-top: 2rem;
    font-size: 1.1rem;
}

.stat-box {
    background: #151515;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.4);
}

.button {
    display: inline-block;
    margin-top: 2rem;
    padding: 0.8rem 2rem;
    background: linear-gradient(90deg, #7b2cbf, #38bdf8);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    box-shadow: 0 0 15px #7b2cbf;
    transition: 0.3s;
}

.button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px #38bdf8;
}

.stats-carousel {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.stat-card {
    background: #151515;
    border-radius: 16px;
    box-shadow: 0 0 18px #38bdf855;
    padding: 1.5rem 2.2rem;
    min-width: 220px;
    max-width: 320px;
    text-align: left;
    border: 2px solid #38bdf8;
    transition: transform 0.18s, box-shadow 0.18s;
    font-size: 1.13rem;
    margin-bottom: 1rem;
}

.stat-card h2 {
    font-size: 1.4rem;
    margin-bottom: 1.1rem;
    font-family: 'Lilita One', cursive;
    letter-spacing: 1px;
    text-shadow: 0 2px 8px #7b2cbf, 0 0 4px #38bdf8;
}

.mode-training {
    border-color: #38bdf8;
}

.mode-geogame {
    border-color: #7b2cbf;
}

.mode-classic {
    border-color: #a78bfa;
}

.stat-card:hover {
    transform: scale(1.045);
    box-shadow: 0 6px 24px #7b2cbf99, 0 0 20px #38bdf899;
}
