/* Source: screens-components-misc.css — split from consolidated CSS */

/* Bro Rogue — Screen Components: Learn, DickDex, Settings, Game Over & Rewards CSS */

/* Split from screens-components.css */

/* Contains: Learn Move + DickDex + Settings + Game Over/Victory + Reward screen styles */

/* ── LEARN MOVE SCREEN ───────────────────────────────────── */
.learnMoveContainer {
    text-align: center;
    padding: 2rem;
    background-color: rgb(0 0 0 / 70%);
    border-radius: 8px;
    max-width: 500px;
}

.learnMoveMessage {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.learnMoveOptions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── DICKDEX SCREEN ──────────────────────────────────────── */
.dickdexContainer {
    width: 90%;
    height: 90%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    background-color: rgb(0 0 0 / 70%);
    padding: 2rem;
    border-radius: 8px;
}

.dickdexContainer h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2rem;
}

.dickdexGrid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 1rem;
    flex: 1;
    overflow-y: auto;
}

.dickdexEntry {
    background-color: rgb(255 255 255 / 10%);
    padding: 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.dickdexEntry:hover {
    background-color: rgb(255 255 255 / 20%);
}

.dickdexEntry img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    margin-bottom: 0.5rem;
}

.dickdexEntry span {
    display: block;
    font-size: 0.85rem;
}

/* ── SETTINGS SCREEN ─────────────────────────────────────── */
.settingsContainer {
    text-align: center;
    padding: 2rem;
    background-color: rgb(0 0 0 / 70%);
    border-radius: 8px;
    max-width: 500px;
}

.settingsList {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
    text-align: left;
    padding: 1rem;
}

.settingsList label {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
}

.settingsList input[type='checkbox'] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.settingsList input[type='range'] {
    flex: 1;
    cursor: pointer;
}

.settingsActions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
}

.settingsBtn {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
}

/* ── GAME OVER & VICTORY SCREENS ─────────────────────────── */
.gameOverContainer,
.victoryContainer {
    text-align: center;
    padding: 2rem;
    background-color: rgb(0 0 0 / 70%);
    border-radius: 8px;
    max-width: 500px;
}

.gameOverContainer h2,
.victoryContainer h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--danger-color);
}

.victoryContainer h2 {
    color: var(--success-color);
}

.gameOverStats,
.victoryStats {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* ── REWARD SCREENS ──────────────────────────────────────── */
.itemRewardContainer {
    text-align: center;
    padding: 2rem;
    background-color: rgb(0 0 0 / 70%);
    border-radius: 8px;
}

.rewardMessage {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--success-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.rewardMessage img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    background: rgb(255 255 255 / 10%);
    padding: 4px;
    border-radius: 8px;
}

.rewardAnimation {
    width: 100px;
    height: 100px;
    margin: 1rem auto;
    animation: rewardPulse 0.5s infinite;
}

@keyframes rewardPulse {
    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

.moneyRewardContainer {
    text-align: center;
    padding: 2rem;
    background-color: rgb(0 0 0 / 70%);
    border-radius: 8px;
}

.moneyMessage {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: var(--success-color);
}

/* ── CONFIRM DIALOG ──────────────────────────────────────── */
.confirm-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(0 0 0 / 70%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.2s ease-out;
}

.confirm-dialog {
    background: #1a1a2e;
    border: 2px solid #e94560;
    border-radius: 12px;
    padding: 24px;
    max-width: 420px;
    width: 90%;
    box-shadow: 0 8px 32px rgb(0 0 0 / 50%);
    animation: scaleIn 0.2s ease-out;
}

.confirm-message {
    color: #fff;
    font-size: 16px;
    line-height: 1.5;
    margin: 0 0 20px;
    white-space: pre-line;
}

.confirm-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.confirm-no {
    padding: 10px 24px;
    border: 1px solid #555;
    border-radius: 8px;
    background: linear-gradient(135deg, #2a2a3e, #222236);
    color: #ccc;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.15s ease;
    box-shadow:
        0 1px 3px rgb(0 0 0 / 20%),
        inset 0 1px 0 rgb(255 255 255 / 6%);
}

.confirm-no:hover {
    background: linear-gradient(135deg, #3a3a4e, #2e2e42);
    color: #fff;
    border-color: #888;
    box-shadow:
        0 3px 8px rgb(0 0 0 / 30%),
        inset 0 1px 0 rgb(255 255 255 / 10%);
}

.confirm-no:active {
    transform: translateY(1px) scale(0.97);
    box-shadow:
        0 1px 2px rgb(0 0 0 / 20%),
        inset 0 2px 5px rgb(0 0 0 / 25%);
    transition: all 0.05s ease;
}

.confirm-yes {
    padding: 10px 24px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #e94560, #c73a52);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    box-shadow:
        0 2px 6px rgb(0 0 0 / 25%),
        inset 0 1px 0 rgb(255 255 255 / 15%);
}

.confirm-yes:hover {
    background: linear-gradient(135deg, #ff6b81, #e94560);
    transform: translateY(-1px);
    box-shadow:
        0 4px 12px rgb(233 69 96 / 40%),
        inset 0 1px 0 rgb(255 255 255 / 20%);
}

.confirm-yes:active {
    transform: translateY(1px) scale(0.97);
    box-shadow:
        0 1px 3px rgb(0 0 0 / 25%),
        inset 0 3px 6px rgb(0 0 0 / 30%);
    transition: all 0.05s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}
