/* Chasse au trésor */
.chasse-game-screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fadeIn 1s ease-out;
    max-width: 100%;
}

.chasse-step {
    color: var(--text-muted);
    font-family: 'IM Fell DW Pica', serif;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.chasse-question {
    color: var(--text-secondary);
    font-family: 'IM Fell French Canon', serif;
    font-size: 1.4rem;
    text-align: center;
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 500px;
}

.chasse-input-section {
    display: flex;
    gap: 1rem;
    align-items: center;
    width: 100%;
    max-width: 400px;
    justify-content: center;
}

.chasse-input {
    padding: 12px 24px;
    border: 2px solid var(--sage-green-dark);
    border-radius: 30px;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--cream-light);
    font-family: 'IM Fell DW Pica', serif;
    font-size: 1.1rem;
    outline: none;
    transition: all 0.3s ease;
    flex: 1;
    text-align: center;
}

.chasse-input::placeholder {
    color: var(--text-muted);
    opacity: 0.6;
}

.chasse-input:focus {
    border-color: var(--sage-green-light);
    background-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 12px rgba(93, 123, 85, 0.3);
}

.chasse-validate-button {
    padding: 12px 28px;
    background-color: var(--sage-green-dark);
    color: var(--cream-light);
    border: none;
    border-radius: 30px;
    font-family: 'IM Fell DW Pica', serif;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px var(--shadow-color);
    white-space: nowrap;
}

.chasse-validate-button:hover {
    background-color: var(--sage-green-light);
    color: var(--forest-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow-color-dark);
}

.chasse-error {
    color: #e07a5f;
    font-family: 'IM Fell DW Pica', serif;
    font-size: 1.1rem;
    margin-top: 1.5rem;
    animation: fadeIn 0.3s ease-out;
}

/* Success Screen */
.chasse-success-screen {
    position: relative;
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.chasse-confetti-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
}

.chasse-success-content {
    text-align: center;
    animation: fadeInScale 0.8s ease-out;
    z-index: 5;
    max-width: 500px;
}

.chasse-success-title {
    font-size: 3.5rem !important;
    margin-bottom: 1.5rem;
}

.chasse-hint {
    color: var(--text-secondary);
    font-family: 'IM Fell DW Pica', serif;
    font-size: 1.3rem;
    font-style: italic;
    line-height: 1.6;
    margin-top: 1rem;
    padding: 1.5rem 2rem;
    border: 1px solid rgba(93, 123, 85, 0.3);
    border-radius: 12px;
    background:
        radial-gradient(ellipse at center, rgba(93, 123, 85, 0.08) 0%, transparent 70%),
        rgba(255, 255, 255, 0.03);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(186, 212, 181, 0.05);
}

.chasse-hint-label {
    display: block;
    color: var(--text-primary);
    font-family: 'IM Fell French Canon', serif;
    font-style: normal;
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    letter-spacing: 1px;
}

/* Victory (final step) */
.chasse-victory-title {
    font-size: 4rem !important;
}

.chasse-victory-message {
    color: var(--text-secondary);
    font-family: 'IM Fell DW Pica', serif;
    font-size: 1.3rem;
    margin-top: 1.5rem;
    line-height: 1.6;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .chasse-input-section {
        flex-direction: column;
        max-width: 300px;
    }

    .chasse-input {
        width: 100%;
        box-sizing: border-box;
    }

    .chasse-question {
        font-size: 1.2rem;
    }

    .chasse-success-title {
        font-size: 2.8rem !important;
    }

    .chasse-victory-title {
        font-size: 2.8rem !important;
    }

    .chasse-hint {
        padding: 1.2rem 1.5rem;
        font-size: 1.15rem;
    }
}

@media (max-width: 480px) {
    .chasse-success-title {
        font-size: 2.2rem !important;
    }

    .chasse-victory-title {
        font-size: 2.2rem !important;
    }
}

/* Touch-friendly */
@media (hover: none) and (pointer: coarse) {
    .chasse-input {
        min-height: 44px;
    }

    .chasse-validate-button {
        min-height: 44px;
    }
}
