:root {
    /* Paleta Romântica - Consistência dos jogos */
    --bg-color: #fdf6f5;       
    --bg-darker: #f9e8e8;      
    --text-main: #5d2a42;      
    --text-light: #8a5a70;     
    --exact-match: #d81b60;    
    --present-match: #eaaa79;  
    --shadow: rgba(93, 42, 66, 0.08);
    --radius: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: 'Lato', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

/* --- CABEÇALHO --- */
header {
    text-align: center;
    margin-bottom: 40px;
    margin-top: 30px;
    animation: fadeInDown 0.8s ease-out;
}

header h1 {
    font-family: 'Playfair Display', serif;
    color: var(--exact-match);
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1.2;
}

header p {
    font-size: 16px;
    color: var(--text-light);
    font-weight: 400;
}

/* --- LISTA DE FASES --- */
main {
    width: 100%;
    max-width: 450px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.card {
    background: #ffffff;
    padding: 30px 24px;
    border-radius: var(--radius);
    box-shadow: 0 10px 30px var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.card:nth-child(2) { animation-delay: 0.2s; }

.card-icon {
    font-size: 48px;
    margin-bottom: 15px;
    line-height: 1;
}

.card-info h2 {
    font-family: 'Playfair Display', serif;
    color: var(--exact-match);
    font-size: 22px;
    margin-bottom: 8px;
}

.card-info p {
    font-size: 15px;
    color: var(--text-main);
    margin-bottom: 16px;
    line-height: 1.4;
}

/* STATUS */
.status {
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.status.locked {
    background: #f1f1f1;
    color: #999;
}

.status.unlocked {
    background: var(--bg-darker);
    color: var(--exact-match);
}

/* BOTOES */
.btn-play {
    margin-top: 24px;
    width: 100%;
    padding: 16px;
    background: var(--exact-match);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(216, 27, 96, 0.3);
    transition: all 0.2s;
}

.btn-play:active {
    transform: scale(0.96);
}

.btn-play:disabled {
    background: #e0d5d9;
    color: #9c8a92;
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
}

/* ESTADO BLOQUEADO */
.card.is-locked {
    border: 2px dashed #e0d5d9;
    background: #faf7f8;
}

.card.is-locked .card-icon {
    filter: grayscale(1);
    opacity: 0.5;
}

.card.is-locked .card-info h2,
.card.is-locked .card-info p {
    color: #9c8a92;
}

/* BOTAO RESET */
.btn-reset {
    margin-top: 40px;
    background: none;
    border: none;
    color: var(--text-light);
    text-decoration: underline;
    font-size: 14px;
    cursor: pointer;
}

/* Animações */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
