* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #000000;
    color: #ffffff;
    font-family: system-ui, -apple-system, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    width: 100vw;
    overflow-x: hidden;
}

.app-container {
    width: 100%;
    max-width: 480px;
    padding: 15px;
    text-align: center;
}

.screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.hidden {
    display: none !important;
}

.flash-title {
    font-size: 2.2rem;
    font-weight: 900;
    animation: neonFlash 2s infinite alternate;
    line-height: 1.2;
    margin-bottom: 10px;
}

@keyframes neonFlash {
    0% { color: #ff0055; text-shadow: 0 0 10px #ff0055; }
    33% { color: #00ffcc; text-shadow: 0 0 10px #00ffcc; }
    66% { color: #ffff00; text-shadow: 0 0 10px #ffff00; }
    100% { color: #ff00ff; text-shadow: 0 0 10px #ff00ff; }
}

.red-btn {
    background-color: #cc1111;
    color: #ffffff;
    border: 2px solid #ff6b6b;
    padding: 12px 28px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    max-width: 250px;
    box-shadow: 0 4px 15px rgba(204, 17, 17, 0.4);
    margin-top: 5px;
}

.clues-container {
    background: #121212;
    padding: 8px 12px;
    border-radius: 8px;
    text-align: left;
    width: 100%;
    font-size: 0.75rem;
    color: #ccc;
    border: 1px solid #222;
}

.clue {
    margin-bottom: 2px;
}

/* Word Row / Letter Box Styles */
.word-row {
    display: flex;
    gap: 5px;
    justify-content: center;
}

.letter-box {
    width: 32px;
    height: 32px;
    background: #111;
    border: 1px solid #444;
    color: #fff;
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
    border-radius: 4px;
}

.letter-box:focus {
    outline: none;
    border-color: #00ffcc;
}

.letter-box.yellow {
    background-color: #333300;
    border-color: #facc15;
    color: #facc15;
}

.secret-prompt-box {
    background: #161616;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #333;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-top: 5px;
}

.secret-prompt-box p {
    font-size: 0.8rem;
    color: #bbb;
}

.secret-input {
    background: #111;
    border: 1px solid #555;
    color: #fff;
    padding: 6px;
    font-size: 0.95rem;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 4px;
    width: 180px;
    text-align: center;
    letter-spacing: 2px;
}

.secret-input:focus {
    outline: none;
    border-color: #facc15;
}

.sentence-box {
    font-size: 1.1rem;
    line-height: 2.5rem;
}

.drop-zone {
    display: inline-block;
    min-width: 80px;
    border-bottom: 2px dashed #ff6b6b;
    padding: 0 10px;
    color: #ff6b6b;
    font-weight: bold;
}

.drag-items {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 15px;
}

.draggable-pill {
    background: #1e293b;
    border: 1px solid #475569;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: grab;
    font-weight: bold;
}

.reveal-card {
    background: #111111;
    border: 1px solid #222;
    padding: 20px;
    border-radius: 12px;
    text-align: left;
    font-size: 0.95rem;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.logistics {
    color: #94a3b8;
    font-size: 0.85rem;
    border-top: 1px solid #222;
    padding-top: 10px;
}

.error {
    color: #ff4d4d;
    font-size: 0.82rem;
}
