@import url('https://fonts.googleapis.com/css2?family=Assistant:wght@400;700&display=swap');

body {
    font-family: 'Assistant', sans-serif;
    background-color: #f0f2f5;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px 0;
}

.game-container {
    background-color: white;
    padding: 30px 40px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    text-align: center;
    width: 90%;
    max-width: 500px;
}

h1 {
    color: #005a9c;
    margin-bottom: 5px;
}

.subtitle {
    font-size: 1.1em;
    color: #666;
    margin-top: 0;
    margin-bottom: 20px;
}

.stats-container {
    display: flex;
    justify-content: space-around;
    font-size: 1.2em;
    font-weight: bold;
    color: #555;
    margin-bottom: 25px;
}

#operation-name {
    font-size: 2em;
    font-weight: 700;
    color: #d9534f;
    margin-bottom: 30px;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn {
    font-family: 'Assistant', sans-serif;
    font-size: 1.2em;
    font-weight: bold;
    padding: 12px 25px;
    margin: 5px 10px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    color: white;
}

#real-btn {
    background-color: #5cb85c;
}

#fake-btn {
    background-color: #f0ad4e;
}

.blue-btn {
    background-color: #0275d8;
    display: block;
    margin: 20px auto 0 auto;
    width: fit-content;
}

.blue-btn:hover {
    background-color: #025aa5;
}

.btn:active {
    transform: scale(0.97);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

#feedback-container {
    margin-top: 20px;
    min-height: 60px;
}

#feedback-text {
    font-size: 1.5em;
    font-weight: bold;
    margin: 0;
}

#feedback-info {
    font-size: 1em;
    color: #555;
    margin-top: 5px;
}

.correct {
    color: #5cb85c;
}

.incorrect {
    color: #d9534f;
}

.final-score {
    font-size: 3em;
    font-weight: bold;
    color: #005a9c;
}

/* --- Name Entry Form Styles --- */
#name-entry-container {
    margin-top: 25px;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 8px;
}
#player-name-input {
    font-family: 'Assistant', sans-serif;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 1em;
    width: 60%;
    margin-left: 10px;
    text-align: center;
}
#name-entry-container .blue-btn {
    margin: 0;
    display: inline-block;
    width: auto;
}


/* --- Social Share Styles --- */
#social-share-container {
    margin-top: 25px;
    border-top: 1px solid #e0e0e0;
    padding-top: 20px;
}

.share-title {
    font-size: 1.1em;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-icon {
    display: inline-block;
    width: 40px;
    height: 40px;
    color: #555;
    transition: transform 0.2s, color 0.2s;
}

.social-icon:hover {
    transform: scale(1.15);
    color: #005a9c;
}

/* --- Leaderboard Styles --- */
#leaderboard-container {
    margin-top: 30px;
}

#leaderboard-container h2 {
    font-size: 1.5em;
    color: #005a9c;
}

#leaderboard-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    font-size: 1.1em;
}
#leaderboard-table th, #leaderboard-table td {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}
#leaderboard-table th {
    background-color: #0275d8;
    color: white;
    font-weight: 700;
}
#leaderboard-table tr:nth-child(even) {
    background-color: #f9f9f9;
}
#leaderboard-table tr.current-player td {
    background-color: #f0ad4e;
    color: white;
    font-weight: bold;
}
