/* ===== Reset & Base Styles ===== */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #1c1f26;
    color: #f5f5f5;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

main {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    background-color: #2a2d35;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

/* ===== Setup Section ===== */
.setup-section {
    text-align: center;
    margin-bottom: 20px;
}

.setup-section input[type="text"] {
    padding: 8px;
    font-size: 1rem;
    width: 200px;
    margin-bottom: 10px;
    border-radius: 4px;
    border: none;
}

.difficulty-select {
    margin: 15px 0;
}

.difficulty-button {
    padding: 10px 15px;
    margin: 0 5px;
    background-color: #444;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

.difficulty-button.selected {
    background-color: #4caf50;
    font-weight: bold;
}

#startBtn {
    margin-top: 10px;
    padding: 10px 25px;
    background-color: #0077cc;
    color: #fff;
    font-size: 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

#startBtn:disabled {
    background-color: #555;
    cursor: not-allowed;
}

/* ===== Game Section ===== */
.game-section {
    margin-top: 30px;
    display: none;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#muteBtn {
    padding: 6px 12px;
    background-color: #333;
    border: none;
    color: #f5f5f5;
    border-radius: 4px;
    cursor: pointer;
}

h2 {
    text-align: center;
    font-size: 1.8rem;
    margin-top: 20px;
}

#yourCard {
    font-weight: bold;
    color: #ffcc00;
}

/* ===== Quote Input ===== */
.quote-input {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
}

.quote-input label {
    margin-top: 6px;
}

.quote-input input[type="number"] {
    padding: 6px;
    width: 70px;
    border-radius: 4px;
    border: none;
}

.quote-input button {
    padding: 8px 14px;
    border: none;
    border-radius: 4px;
    background-color: #444;
    color: #fff;
    cursor: pointer;
}

.quote-input button:hover {
    background-color: #666;
}

/* ===== AI Quotes ===== */
.ai-quotes {
    list-style-type: none;
    padding: 0;
    margin: 10px 0 20px;
}

.ai-quotes li {
    margin-bottom: 12px;
    padding: 10px;
    background-color: #353940;
    border-left: 4px solid #888;
    border-radius: 4px;
}

/* ===== Result Box ===== */
.result-box {
    background-color: #111;
    padding: 15px;
    border: 1px solid #444;
    border-radius: 4px;
    margin-top: 10px;
}

/* ===== Tutorial Section ===== */
.tutorial-box {
    margin-top: 40px;
    background-color: #1a1d24;
    padding: 20px;
    border-left: 6px solid #4caf50;
    border-radius: 6px;
}

.tutorial-box h3 {
    margin-top: 0;
}

.tutorial-box p {
    margin-bottom: 12px;
}