/*
|--------------------------------------------------------------------------
| HUB REVISION
|--------------------------------------------------------------------------
*/

.revision-hub {

    max-width: 1100px;
    margin: 60px auto;
    padding: 0 20px;
}

/*
|--------------------------------------------------------------------------
| HERO
|--------------------------------------------------------------------------
*/

.revision-hero {

    text-align: center;
    margin-bottom: 50px;
}

.revision-hero h1 {

    font-size: 42px;
    font-weight: 800;
    margin-bottom: 12px;
    color: #111;
}

.revision-hero p {

    font-size: 18px;
    color: #666;
}

/*
|--------------------------------------------------------------------------
| STATS
|--------------------------------------------------------------------------
*/

.revision-stats {

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;

    margin-bottom: 50px;
}

.revision-stat-card {

    background: white;
    border-radius: 18px;
    padding: 30px;

    text-align: center;

    border: 2px solid #eee;

    transition: all 0.25s ease;
}

.revision-stat-card:hover {

    transform: translateY(-4px);

    border-color: #39C6CD;

    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.stat-number {

    display: block;

    font-size: 42px;
    font-weight: 800;

    color: #39C6CD;

    margin-bottom: 8px;
}

.stat-label {

    font-size: 16px;
    color: #666;
}

/*
|--------------------------------------------------------------------------
| EXERCICES
|--------------------------------------------------------------------------
*/

.revision-exercises {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));

    gap: 24px;
}

.revision-card {

    background: white;

    border-radius: 20px;

    padding: 30px;

    text-decoration: none;

    color: inherit;

    border: 2px solid #eee;

    transition: all 0.25s ease;

    position: relative;

    overflow: hidden;
}

.revision-card:hover {

    transform: translateY(-6px);

    border-color: #39C6CD;

    box-shadow: 0 12px 30px rgba(0,0,0,0.10);
}

.revision-card h2 {

    font-size: 24px;

    margin-bottom: 14px;

    color: #111;
}

.revision-card p {

    color: #666;

    line-height: 1.5;
}

/*
|--------------------------------------------------------------------------
| MOBILE
|--------------------------------------------------------------------------
*/

@media (max-width: 768px) {

    .revision-hero h1 {

        font-size: 32px;
    }

    .revision-stats {

        grid-template-columns: 1fr;
    }
}
.revision-locked-card{
    opacity:.6;
    cursor:default;
}

.revision-locked-card:hover{
    transform:none;
}

.revision-locked-card small{
    display:block;
    margin-top:10px;
    font-weight:600;
    color:#39C6CD;
}

.revision-unlock-message{
    background:#f5f5f5;
    border-left:4px solid #39C6CD;
    padding:15px;
    margin:20px 0;
    border-radius:8px;
}