.game-section {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background-color: #12121255;
    color: #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}
.container {
    text-align: center;
    width: 50%;
    max-width: 800px;
    padding: 20px;
}
.ticker-wrapper {
    overflow: hidden;
    border: 2px solid #00ffc8;
    padding: 0;
    height: 60px;
    margin: 20px 0;
    background: #1e1e1e;
    position: relative;
}
.ticker {
    display: inline-block;
    white-space: nowrap;
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: #00ffc8;
    will-change: transform;
    animation: ticker-scroll 30s linear infinite;
}
@keyframes ticker-scroll {
    0% { transform: translateX(0) translateY(-50%); }
    100% { transform: translateX(-100%) translateY(-50%); }
}
#wordInput {
    width: 90%;
    padding: 15px;
    font-size: 15px;
    margin: 15px 0;
    border: 2px solid #444;
    border-radius: 8px;
    background: #2a2a2a;
    color: white;
}
.stats {
    display: flex;
    justify-content: space-around;
    margin: 20px 0;
    font-size: 18px;
}
.buttons button {
    margin: 10px;
    padding: 12px 25px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}
#startBtn { background: #00ff88; color: #000; }
#pauseBtn { background: #ffd700; color: #000; }
#stopBtn { background: #ff4444; color: #fff; }
#howToBtn { background: #0099ff; color: #fff; }
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
.modal-content {
    background: #fff;
    color: #000;
    padding: 30px;
    border-radius: 10px;
    max-width: 500px;
    position: relative;
}
.close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
}
.error-flash {
    border-color: #ff4444 !important;
    background: #ffd4d4 !important;
}
#highScoreDisplay {
    margin-top: 30px;
    padding: 15px;
    background: #2a2a2a;
    border-radius: 8px;
}
#ticker {
    overflow-x: auto;
    white-space: nowrap;
    display: block;
    padding: 8px;
    font-size: 1.6em;
    background: #222;
    border-radius: 6px;
    min-height: 2em;
}