/* --- Arcade Section --- */
.arcade-section {
    background: #000;
    border: 4px solid var(--accent-red);
    padding: 2rem;
    margin-top: 4rem;
    font-family: 'Courier New', monospace;
    position: relative;
    overflow: hidden;
}

.arcade-section::before {
    content: "ARCADE OF MISERY";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-red);
    color: #000;
    padding: 5px 20px;
    font-weight: bold;
    font-size: 1.2rem;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.arcade-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.game-card {
    background: #111;
    border: 2px solid #333;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s;
    position: relative;
}

.game-card:hover {
    border-color: var(--accent-purple);
    box-shadow: 0 0 15px rgba(156, 39, 176, 0.4);
}

.game-title {
    color: var(--accent-purple);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    text-shadow: 2px 2px 0 #000;
}

.game-screen {
    background: #000;
    border: 2px inset #555;
    height: 200px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0f0;
    font-size: 0.9rem;
    padding: 1rem;
    flex-direction: column;
    overflow-y: auto;
}

.game-btn {
    background: #333;
    color: #fff;
    border: 1px solid #555;
    padding: 5px 10px;
    margin: 5px;
    cursor: pointer;
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    transition: all 0.1s;
}

.game-btn:hover {
    background: var(--accent-red);
    color: #000;
}

.game-feedback {
    color: var(--accent-red);
    font-weight: bold;
    margin-top: 10px;
    min-height: 40px;
}

/* Specific Game Styles */
.status-bar {
    width: 100%;
    height: 10px;
    background: #333;
    margin-bottom: 5px;
}
.sanity-level {
    height: 100%;
    background: #0f0;
    width: 100%;
    transition: width 0.3s;
}

.pixel-pet {
    font-size: 3rem;
    animation: shake 0.5s infinite;
}

@keyframes shake {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(5deg); }
    75% { transform: rotate(-5deg); }
    100% { transform: rotate(0deg); }
}
