body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    padding: 10px 0px;
    margin-bottom: 10px;
    border-bottom: 1px solid #ddd;
}

.navbar svg {
    margin-right: 5px;
    vertical-align: middle;
}
.navbar button {

    display: flex;
    align-items: center;
    background-color: #f0f0f0;
    border: none;
    border-radius: 10px;
    padding: 8px 14px;
    font-size: 14px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    transition: background-color 0.2s;
}

.navbar #coin button {
    background-color: #ffa800;
}

.navbar button:hover {
    background-color: #ddd;
}

.navbar .coins {
    display: flex;
    align-items: center;
    background-color: #f8d100;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
}

.navbar .coins img {
    width: 20px;
    height: 20px;
    margin-right: 5px;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding-top: 2px;
    padding-bottom: 2px;
    padding-left: 20px;
    padding-right: 20px;
    border-radius: 10px;
    background-color: white;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.game-card {
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    position: relative;
    width: 100%;
    height: 200px;
    background: url('./img/subway_surface_400x200.png') no-repeat center center;
    background-size: cover;
    margin-bottom: 20px;
}

.game-card h2 {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: white;
    font-size: 24px;
    text-shadow: 0 2px 2px rgba(0, 0, 0, 0.5);
}

.game-card p {
    position: absolute;
    bottom: 0;
    left: 20px;
    color: white;
    font-size: 14px;
    text-shadow: 0 2px 2px rgba(0, 0, 0, 0.5);
}

.game-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.game-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.game-list li:last-child {
    border-bottom: none;
}

.game-list li img {
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;

    width: 60px;
    height: 60px;
    border-radius: 10px;
    margin-right: 10px;
}

.game-list li .game-info {
    display: flex;
    align-items: start;
}

.game-list li .game-title {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    margin-bottom: 2px;
}

.game-list li .game-description {
    font-size: 12px;
    color: #888;
}

.play-link {
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    color: white;
    font-size: 16px;
    text-decoration: none;
    background-color: #007bff;
    padding: 5px;
    border-radius: 100px;
    display: flex;
    justify-content: center;
    vertical-align: center;
    transition: background-color 0.2s;
    transform: rotate(25deg);
}

.play-link:hover {
    background-color: #0056b3;
}
a, button {
    outline: none;
    text-decoration: none; /* Убираем подчеркивание у ссылок */
    border: none; /* Убираем обводку у кнопок */
}

a:focus, a:hover, a:active {
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

button:focus, button:hover, button:active {
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.carousel {

    position: relative;
    width: 100%;
    max-width: 400px;
    max-height: 200px;
    overflow: hidden;
    margin: auto;
    border-radius: 15px;

}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-slide {
    min-width: 100%;
    box-sizing: border-box;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    width: 300px;
    text-align: center;
}

.close {
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #3aa5db;
    color: white;
    border-radius: 5px;
    cursor: pointer;
}

.task-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 15px;
}

.task-item button {
    padding: 5px 10px;
    border: none;
    background-color: #3aa5db;
    color: white;
    border-radius: 10px;
    cursor: pointer;
}

.task-reward {
    margin-right: 5px;
    font-weight: bold;
    color: #333;
}

.task-text {
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-grow: 1;
    margin-left: 5px;
}

.task-item svg {
    width: 24px;
    height: 24px;
    margin-right: 5px;
}