body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #121212;
    color: #fff;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

body.light-mode {
    background-color: #f5f5f5;
    color: #333;
}

header {
    text-align: center;
    padding: 2rem;
    position: relative;
}

.toggle-buttons {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
}

#theme-toggle, #lang-toggle {
    background-color: #6200ea;
    color: #fff;
    border: none;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

main {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.card {
    background-color: #1e1e1e;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2), 0 6px 6px rgba(0, 0, 0, 0.23);
    margin-bottom: 2rem;
}

body.light-mode .card {
    background-color: #fff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1), 0 6px 6px rgba(0, 0, 0, 0.1);
}

.game-section {
    text-align: center;
}

.controls {
    margin: 2rem 0;
}

button {
    background-color: #6200ea;
    color: #fff;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 10px;
}

button:disabled {
    background-color: #333;
    cursor: not-allowed;
}

.game-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.player-side, .computer-side {
    text-align: center;
}

#webcam-container, #computer-choice-display {
    width: 200px;
    height: 200px;
    margin: 1rem auto;
    border: 3px solid #6200ea;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

#computer-choice-display {
    font-size: 100px;
}

.result-display h2 {
    font-size: 4rem;
    font-weight: bold;
}

.scoreboard {
    background-color: #2a2a2a;
    padding: 1rem 2rem;
    border-radius: 15px;
    display: inline-block;
}

body.light-mode .scoreboard {
    background-color: #eee;
}

#label-container {
    display: none; /* Hide raw prediction labels */
}

.ad-container {
    margin: 2rem 0;
    min-height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #1e1e1e;
    border-radius: 15px;
}

body.light-mode .ad-container {
    background-color: #fff;
}

.content-section {
    text-align: left;
}
.content-section h2 {
    border-bottom: 2px solid #6200ea;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

footer {
    text-align: center;
    padding: 2rem;
    margin-top: 2rem;
    color: #888;
}