body {
    background: #f5f7fb;
}

.dino-wrapper {
    max-width: 1100px;
    margin: 40px auto;
    font-family: Arial, sans-serif;
}

.game-title {
    text-align: center;
    font-size: 28px;
    margin-bottom: 20px;
}

.game-card {
    display: flex;
    gap: 20px;
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* LEFT */
.game-left {
    width: 200px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.game-left input {
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.game-left button {
    padding: 10px;
    border: none;
    background: #007bff;
    color: #fff;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.2s;
}

.game-left button:hover {
    background: #0056b3;
}

.score-box {
    margin-top: 10px;
    padding: 12px;
    background: #f1f3f9;
    border-radius: 8px;
    text-align: center;
}

.score-box span {
    display: block;
    font-size: 13px;
    color: #666;
}

.score-box strong {
    font-size: 22px;
}

/* CENTER */
.game-center {
    flex: 1;
    text-align: center;
}

canvas {
    border-radius: 10px;
    border: 1px solid #eee;
    background: #fafafa;
    max-width: 100%;
}

/* RIGHT */
.game-right {
    width: 220px;
}

.leaderboard {
    list-style: none;
    padding: 0;
    margin: 0;
}

.leaderboard li {
    padding: 10px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
}

.leaderboard li:nth-child(1) {
    font-weight: bold;
    color: #ff9800;
}

.leaderboard li:nth-child(2) {
    color: #9c27b0;
}

.leaderboard li:nth-child(3) {
    color: #2196f3;
}

/* ADS */
.ads-box {
    margin-top: 20px;
    padding: 20px;
    text-align: center;
}

.character-select {
    text-align: center;
}

.char-list {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.char-list img {
    width: 60px;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 10px;
    padding: 5px;
    transition: 0.2s;
}

.char-list img:hover {
    transform: scale(1.1);
}

.char-list img.active {
    border: 2px solid #007bff;
    background: #e7f1ff;
}

/* MOBILE */
@media (max-width: 768px) {
    .game-card {
        flex-direction: column;
    }

    .game-left, .game-right {
        width: 100%;
    }
}