* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #1a1a2e;
    color: #e0e0e0;
    line-height: 1.6;
}

.hero {
    background: linear-gradient(135deg, #16213e 0%, #0f3460 50%, #533483 100%);
    padding: 80px 20px;
    text-align: center;
    border-bottom: 3px solid #e94560;
}

.hero h1 {
    font-size: 3rem;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 10px;
}

.hero .subtitle {
    font-size: 1.5rem;
    color: #e94560;
    font-style: italic;
}

.nav-bar {
    background-color: #16213e;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 2px solid #0f3460;
}

.nav-bar ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.nav-bar a {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 4px;
    transition: background-color 0.3s, color 0.3s;
}

.nav-bar a:hover {
    background-color: #e94560;
    color: #fff;
}

.container {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

.card {
    background-color: #16213e;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    border-left: 4px solid #e94560;
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-3px);
}

.card h2 {
    color: #e94560;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.card p {
    margin-bottom: 15px;
}

.abbreviations {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.abbr-item {
    background-color: #1a1a2e;
    padding: 15px 25px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #533483;
}

.abbr {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    color: #e94560;
    margin-bottom: 5px;
}

.meaning {
    color: #aaa;
    font-size: 0.9rem;
}

.level-progress {
    margin-top: 25px;
}

.level-bar {
    background-color: #1a1a2e;
    border-radius: 10px;
    overflow: hidden;
    height: 25px;
    margin-bottom: 10px;
}

.level-fill {
    height: 100%;
    background: linear-gradient(90deg, #e94560, #533483);
    transition: width 1.5s ease-out;
    border-radius: 10px;
}

.level-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #aaa;
}

.reset-list {
    list-style: none;
    margin: 20px 0;
}

.reset-list li {
    padding: 10px 15px;
    margin-bottom: 8px;
    border-radius: 5px;
    padding-left: 35px;
    position: relative;
}

.reset-list li::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 15px;
    height: 15px;
    border-radius: 50%;
}

.reset-list .lost {
    background-color: rgba(233, 69, 96, 0.2);
    border: 1px solid #e94560;
}

.reset-list .lost::before {
    background-color: #e94560;
}

.reset-list .kept {
    background-color: rgba(83, 52, 131, 0.2);
    border: 1px solid #533483;
}

.reset-list .kept::before {
    background-color: #533483;
}

.footer {
    background-color: #0f3460;
    text-align: center;
    padding: 30px;
    margin-top: 40px;
    border-top: 3px solid #e94560;
}

.footer p {
    margin-bottom: 5px;
    color: #aaa;
}

@media (max-width: 600px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero .subtitle {
        font-size: 1.1rem;
    }

    .nav-bar ul {
        gap: 15px;
    }

    .abbreviations {
        flex-direction: column;
    }
}
