/* File: css/style.css */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #ffe3f1;
    font-family: 'Baloo 2', cursive;
    color: #2e278c;
    line-height: 1.6;
}

header {
    background-color: #2e278c;
    color: #ffffff;
    padding: 20px;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
    position: relative;
}

header .logo {
    font-size: 1.8rem;
    font-weight: 700;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav ul li a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
}

.menu-toggle {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 20px;
}

main {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

/* Overview section */
.overview h1 {
    font-size: 2.4rem;
    color: #ff69b4;
    text-align: center;
    margin-bottom: 20px;
}

.overview h2 {
    font-size: 1.6rem;
    color: #ff69b4;
    margin-top: 20px;
    margin-bottom: 10px;
}

.overview p {
    font-size: 1rem;
    margin-bottom: 15px;
}

.overview ul {
    list-style: disc inside;
    margin-bottom: 20px;
}

.overview ul li {
    margin-bottom: 8px;
}

/* About section */
.about {
    margin-top: 60px;
    padding-top: 20px;
    border-top: 2px dashed #ff69b4;
}

.about h2 {
    font-size: 2rem;
    color: #ff69b4;
    text-align: center;
    margin-bottom: 20px;
}

.about p {
    font-size: 1rem;
    margin-bottom: 15px;
}

.about h3 {
    font-size: 1.4rem;
    color: #ff69b4;
    margin-top: 30px;
    margin-bottom: 10px;
}

.about a {
    color: #ff69b4;
    text-decoration: underline;
}

/* Footer */
footer {
    background-color: #fff5f9;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}

.footer-nav {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 10px;
}

.footer-nav li a {
    color: #ff69b4;
    text-decoration: none;
    font-weight: 700;
}

/* Mobile menu */
@media (max-width: 600px) {
    nav ul {
        display: none;
        flex-direction: column;
        background-color: #2e278c;
        position: absolute;
        top: 60px;
        right: 20px;
        padding: 10px;
        border-radius: 10px;
    }
    nav ul.active {
        display: flex;
    }
    .menu-toggle {
        display: block;
    }
}
/* Дополнения и правки стилей для play.html */

/* Игра в iframe */
.play-frame iframe {
    display: block;
    width: 100%;
    max-width: 800px;
    height: 600px;
    margin: 0 auto 30px;
    border-radius: 20px;
    border: none;
}

/* Блок с призывом к игре */
.description {
    text-align: center;
    margin-bottom: 40px;
    padding: 0 20px;
}
.description h1 {
    font-size: 2rem;
    color: #ff69b4;
    margin-bottom: 15px;
}
.description p {
    font-size: 1rem;
    color: #2e278c;
    line-height: 1.6;
}

/* Информационный раздел */
.details {
    max-width: 800px;
    margin: 0 auto 60px;
    padding: 0 20px;
    border-top: 2px dashed #ff69b4;
}
.details h2 {
    font-size: 1.8rem;
    color: #ff69b4;
    text-align: center;
    margin: 30px 0 15px;
}
.details p {
    font-size: 1rem;
    color: #2e278c;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Мобильная адаптация */
@media (max-width: 600px) {
    .play-frame iframe {
        height: 400px;
    }
    .details h2 {
        font-size: 1.5rem;
        margin: 20px 0 10px;
    }
    .description h1 {
        font-size: 1.8rem;
    }
}
