@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@400;700;800&display=swap');

body { 
    background: #f0f2f5; 
    padding-bottom: 160px; 
    font-family: 'Lexend', sans-serif; 
}

/* A kártya alapja */
.word-card { 
    border-radius: 3rem; 
    border: none; 
    box-shadow: 0 20px 40px rgba(0,0,0,0.06); 
    background: white; 
    overflow: hidden; /* Hogy a felső sáv ne lógjon ki */
    position: relative;
    padding-top: 0 !important;
}

/* Felső színes dekor sáv */
.card-top-bar {
    height: 12px;
    width: 100%;
    margin-bottom: 20px;
}

/* Kategória felirat (pl. ISKOLA) */
.category-label {
    text-transform: uppercase;
    color: #6c757d;
    font-weight: 800;
    letter-spacing: 1px;
    font-size: 0.9rem;
    margin-top: 20px;
}

/* Módosítás a style.css-ben, hogy a sárga badge-en is látszódjon a felirat */
.article-badge {
    display: inline-block;
    padding: 6px 25px;
    border-radius: 15px;
    color: white; /* Alapértelmezett fehér */
    font-weight: 700;
    font-size: 1.2rem;
    margin: 15px 0;
}
/* Ha a háttér sárga (das), a szöveg legyen sötét az olvashatóságért */
.article-badge[style*="#ffc107"] {
    color: #212529 !important;
}
/* A fő szó stílusa */
.display-word {
    font-size: 3rem !important;
    font-weight: 800;
    color: #2d3436;
    margin-bottom: 30px;
}

/* Sárga gomb stílusa */
.btn-show-yellow {
    background-color: #f6c23e;
    border: none;
    border-radius: 50px;
    color: #2d3436;
    font-weight: 800;
    font-size: 1.5rem;
    padding: 15px 0;
    transition: transform 0.2s;
}

.btn-show-yellow:hover {
    background-color: #f4b619;
    transform: scale(1.02);
}

/* Statisztika ablak (Overlay) */
.stats-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(255,255,255,0.98); z-index: 12000;
    display: none; padding: 20px; overflow-y: auto;
}

.stats-card {
    border-radius: 15px; padding: 10px 20px; margin-bottom: 10px;
    display: flex; justify-content: space-between; align-items: center;
}

.stats-ok { background: #e8f5e9; border-left: 5px solid #4caf50; }
.stats-fail { background: #ffebee; border-left: 5px solid #f44336; }

/* Rejtett sáv stílusa */
.card-top-bar.hidden-color {
    background-color: #e0e0e0 !important; /* Szürke, amíg nincs felfedve */
}

/* Progress bar és egyebek maradnak a régiek... */
.progress-fixed { position: fixed; bottom: 0; left: 0; width: 100%; background: white; padding: 25px; border-top: 2px solid #edf2f7; z-index: 1000; }
.avatar-box { border-radius: 30px; background: white; padding: 30px 10px; border: 4px solid #f1f3f5; transition: 0.3s; cursor: pointer; }
.congrats-layer { position: fixed; top:0; left:0; width:100%; height:100%; background: white; z-index: 11000; display: flex; align-items: center; justify-content: center; text-align: center; }
.btn-status { width: 80px; height: 80px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2.2rem; text-decoration: none; color: white; }