body {
    background-color: #F9DCF8;
}

.container1 header {
    background-color: #fff;
    width: auto;
    height: 49px;
    border-radius: 5px;
}

.container {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    padding: 0 20px;
}

.left-group, .right-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.center-group { text-align: center; }

.logo { font-family: 'Itim', cursive; font-size: 24px; }

a { text-decoration: none; }
.home  { font-family: 'Itim', cursive; font-size: 20px; }
.about { font-family: 'Itim', cursive; font-size: 18px; }

.button, .buy-button {
    font-family: 'Itim', cursive;
    font-size: 18px;
    background-color: #F6C0EF;
    border-radius: 5px;
    border: 0;
    padding: 6px 12px;
    cursor: pointer;
    transition: all 0.3s;
}
.button:hover, .buy-button:hover {
    background-color: #c56adc;
    transform: scale(1.1);
    box-shadow: 0 0 15px #F06EC9;
}

/* -------------------- Первая секция -------------------- */
.lox {
    background-color: #fff;
    margin-top: 10px;
    border-radius: 5px;
    display: flex;
    position: relative;               
    align-items: center;
    padding: 30px;
}

.main { font-size: 12px; width: 800px; text-align: start; }

/* Анимация подпрыгивающей картинки */
.img1.bounce {
    position: absolute;
    width: 250px;
    height: 250px;
    right: 100px;
    animation: bounce 2s infinite alternate;
}

@keyframes bounce {
    0% { transform: translateY(0); }
    100% { transform: translateY(-20px); }
}

/* Анимация текста */
.animated-text {
    opacity: 0;
    animation: fadeInText 2s forwards;
}

@keyframes fadeInText {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* -------------------- Video -------------------- */
.lox1 { background-color: #fff; margin-top: 20px; padding: 20px; border-radius: 5px; display: flex; justify-content: center; }
.video-container { display: flex; flex-direction: column; align-items: center; }
.video-title { font-family: 'Itim', cursive; font-size: 30px; margin-bottom: 10px; color: #F06EC9; }
.video-wrapper { display: flex; align-items: center; gap: 50px; }
.video-wrapper video { display: block; border-radius: 10px; }
.video-wrapper img { width: 100px; height: auto; }

/* -------------------- Columns -------------------- */
.lox2 { display: flex; justify-content: space-between; gap: 40px; background-color: #fff; border-radius: 5px; padding: 20px; margin-top: 15px; }
.columns { display: flex; width: 100%; gap: 40px; }
.left-column, .right-column { flex: 1; display: flex; flex-direction: column; gap: 20px; }
.text-img, .img-text { display: flex; gap: 20px; align-items: center; }
.text-left, .text-right { width: 300px; font-size: 20px; }
.text-img img, .img-text img { width: 180px; border-radius: 5px; }

/* -------------------- Shop -------------------- */
.lox3 { background-color: #fff; padding: 30px 20px; margin-top: 10px; border-radius: 5px; }
.head h1 { text-align: center; font-family: 'Itim', cursive; font-size: 36px; color: #F06EC9; margin-bottom: 30px; }
.top-game, .bottom-games { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; }
.game-card { position: relative; width: 200px; text-align: center; border-radius: 10px; overflow: hidden; cursor: pointer; transition: transform 0.3s; }
.game-card img { width: 100%; border-radius: 10px; transition: transform 0.3s; }
.game-card:hover img { transform: scale(1.1); }
.game-info { position: absolute; bottom: 15px; left: 50%; transform: translateX(-50%); text-align: center; }
.price { font-weight: bold; color: #F06EC9; font-family: 'Itim', cursive; margin: 0; }

/* -------------------- Modal -------------------- */
.modal { display: none; position: fixed; z-index: 1000; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgba(0,0,0,0.6); }
.modal-content { background-color: #fff; margin: 50px auto; padding: 20px; border-radius: 10px; width: 80%; max-width: 900px; display: flex; gap: 30px; position: relative; }
.modal-left img { width: 400px; border-radius: 10px; }
.modal-right { flex: 1; display: flex; flex-direction: column; justify-content: flex-start; }
.modal-right .modal-top { display: flex; flex-direction: column; gap: 10px; }
.modal-right h2 { font-family: 'Itim', cursive; font-size: 28px; color: #F06EC9; }
.modal-right .price { font-size: 24px; font-weight: bold; color: #F06EC9; }
.modal-right .buy-button { align-self: flex-start; padding: 8px 15px; }
.modal-right .description { font-family: 'Itim', cursive; font-size: 16px; margin-top: 10px; }
.close-modal { position: absolute; top: 20px; right: 30px; font-size: 30px; color: #F06EC9; font-weight: bold; cursor: pointer; }

/* -------------------- FOOTER -------------------- */
.footer { background-color: #111; color: #fff; font-family: 'Itim', cursive; padding: 30px 20px; margin-top: 30px; border-radius: 5px 5px 0 0; }
.footer-container { display: flex; justify-content: space-between; flex-wrap: wrap; max-width: 1200px; margin: 0 auto; gap: 20px; }
.footer-left h3 { font-size: 24px; margin-bottom: 10px; color: #F06EC9; }
.footer-left p { margin: 5px 0; font-size: 16px; }
.footer-right { display: flex; align-items: flex-end; font-size: 14px; color: #F6C0EF; }
