html {
    box-sizing: border-box;
}
*,
*::before,
::after {
    box-sizing: inherit;
}
a {
    color: inherit;
    text-decoration: none;
}
body {
    margin: 0 auto;
    padding: 0;
    font-family: 'Fjalla One', sans-serif;
    font-weight: 400;
    background-color: #333;
}
ul {
    display: inline-block;
    margin: 0;
    padding: 0;
}
li {
    list-style-type: none;
}
.egn__header {
    background-color: #f44336;
    width: 100%;
    padding: 15px 30px;
    box-sizing: border-box;
}

.egn__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.egn__logo-img {
    width: 80px;
    height: auto;
}

.egn__nav {
    display: flex;
    align-items: center;
}

.egn__nav-list {
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.egn__nav-link {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    transition: color 0.3s, box-shadow 0.3s;
}

.egn__nav-link:hover {
    color: #ffeb3b;
    text-decoration: underline;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.egn__burger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    cursor: pointer;
}

.egn__burger-line {
    width: 100%;
    height: 3px;
    background-color: #fff;
    transition: background-color 0.3s;
}

.egn__burger-menu {
    display: none;
    position: absolute;
    top: 60px;
    right: 30px;
    background-color: #333;
    color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.egn__burger-list {
    list-style: none;
    margin: 0;
    padding: 10px;
}

.egn__burger-link {
    display: block;
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.egn__burger-link:hover {
    background-color: #555;
}

@media (max-width: 760px) {
    .egn__logo {
        display: none;
    }

    .egn__nav-list {
        display: none;
    }

    .egn__burger {
        display: flex;
    }

    .egn__burger-menu.active {
        display: block;
        z-index: 33;
        width: 100%;
        top: 55px;
        right: 0;
        text-align: center;
        animation: fadeIn 0.4s ease-in-out;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

.egn__about {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #ff6f61, #ffca28);
    padding: 40px;
}

.egn__about-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    padding: 30px;
    max-width: 1000px;
    width: 100%;
    animation: slideIn 1s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.egn__about-text {
    max-width: 50%;
    font-family: 'Georgia', serif;
    color: #fff;
}

.egn__about-title {
    font-family: 'Gloock', cursive;
    font-size: 32px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.egn__about-description {
    font-size: 18px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.egn__about-button {
    background-color: #2e7d32;
    color: #fff;
    border: none;
    padding: 12px 24px;
    font-family: 'Gloock', cursive;
    font-size: 16px;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.3s, transform 0.3s;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.egn__about-button:hover {
    background-color: #1b5e20;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.5);
}

.egn__about-image {
    max-width: 40%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.egn__about-img {
    width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .egn__about-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px;
    }

    .egn__about-text {
        max-width: 100%;
        margin-bottom: 20px;
    }

    .egn__about-image {
        max-width: 90%;
    }
}

.egn__welcome {
    background-image: url('../images-egn/egn-bg-img-1.jpg');
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    color: #fff;
    text-align: center;
    overflow: hidden;
}

.egn__welcome-overlay {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    animation: fadeIn 1.5s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.egn__welcome-title {
    font-size: 42px;
    margin-bottom: 20px;
    font-family: 'Gloock', cursive;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
}

.egn__welcome-text {
    font-size: 18px;
    margin-bottom: 25px;
    line-height: 1.6;
}

.egn__welcome-button {
    background-color: #ff5722;
    color: #fff;
    padding: 12px 28px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
    font-family: 'Gloock', cursive;
    font-size: 16px;
    transition: background-color 0.3s, transform 0.3s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.egn__welcome-button:hover {
    background-color: #e64a19;
    transform: translateY(-4px);
}

@media (max-width: 768px) {
    .egn__welcome-overlay {
        padding: 20px;
    }

    .egn__welcome-title {
        font-size: 32px;
    }

    .egn__welcome-text {
        font-size: 16px;
    }
}
.egn__game {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    background: linear-gradient(135deg, #42a5f5, #ab47bc);
    padding: 40px;
}

.egn__game-content {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap: 30px;
    padding: 30px;
    animation: bounceIn 1s ease-out;
}

@keyframes bounceIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.egn__game-text {
    color: #fff;
    font-family: 'Georgia', serif;
    max-width: 50%;
}

.egn__game-title {
    font-family: 'Gloock', cursive;
    font-size: 36px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.egn__game-button {
    background-color: #ff7043;
    color: #fff;
    padding: 12px 24px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
    font-family: 'Gloock', cursive;
    font-size: 16px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.egn__game-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4);
}

.egn__game-image {
    max-width: 40%;
}

.egn__game-img {
    width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .egn__game-content {
        flex-direction: column;
        text-align: center;
    }

    .egn__game-text {
        max-width: 100%;
        margin-bottom: 20px;
    }

    .egn__game-image {
        max-width: 80%;
    }
}

.egn__faq {
    background-image: url('../images-egn/egn-bg-img-2.jpg');
    background-size: cover;
    background-position: center;
    width: 100%;
    padding: 60px 20px;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.egn__faq-overlay {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
    max-width: 800px;
    animation: slideUp 1.2s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.egn__faq-title {
    font-size: 36px;
    margin-bottom: 30px;
    font-family: 'Gloock', cursive;
    text-align: center;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
}

.egn__faq-block {
    margin-bottom: 20px;
}

.egn__faq-question {
    font-size: 22px;
    margin-bottom: 10px;
    font-weight: bold;
}

.egn__faq-answer {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .egn__faq-overlay {
        padding: 20px;
    }

    .egn__faq-title {
        font-size: 28px;
    }

    .egn__faq-question {
        font-size: 20px;
    }

    .egn__faq-answer {
        font-size: 16px;
    }
}

.egn__reviews {
    background-color: #42a5f5;
    padding: 60px 20px;
    color: #fff;
    text-align: center;
}

.egn__reviews-title {
    font-size: 36px;
    margin-bottom: 40px;
    font-family: 'Georgia', serif;
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.egn__reviews-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.egn__review {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    animation: popIn 0.8s ease;
}

@keyframes popIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.egn__review img {
    width: 20%;
    height: auto;
}

.egn__review-text {
    font-size: 18px;
    margin-bottom: 10px;
    line-height: 1.6;
}

.egn__review-author {
    font-weight: bold;
    font-style: italic;
}

@media (max-width: 768px) {
    .egn__reviews-title {
        font-size: 28px;
    }

    .egn__review-text {
        font-size: 16px;
    }
}

.egn__contacts {
    background-color: #42a5f5;
    color: #fff;
    padding: 60px 20px;
    text-align: center;
    font-family: Arial, sans-serif;
}

.egn__contacts-title {
    font-size: 36px;
    margin-bottom: 30px;
    animation: fadeIn 1s ease;
}

.egn__contacts-wrapper {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.egn__form-block, .egn__contact-info {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    width: 350px;
    max-width: 100%;
    animation: slideIn 0.8s ease;
}

.egn__contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.egn__form-label {
    font-weight: bold;
    margin-bottom: 5px;
}

.egn__form-input, .egn__form-textarea {
    padding: 10px;
    border: 2px solid #fff;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.8);
    color: #333;
    font-family: 'Gloock', cursive;
    font-size: 16px;
    outline: none;
    transition: all 0.3s;
}

.egn__form-input:hover, .egn__form-textarea:hover {
    border-color: #ffeb3b;
    box-shadow: 0 0 10px #ffeb3b;
}

.egn__submit-btn {
    padding: 12px;
    background-color: #ffeb3b;
    color: #333;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.egn__submit-btn:hover {
    background-color: #ffca28;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.egn__modal-thanks {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.egn__modal-content {
    background-color: #fff;
    color: #333;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    width: 300px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    animation: popUp 0.5s ease;
}

.egn__modal-btn {
    margin-top: 20px;
    padding: 10px 20px;
    font-family: 'Gloock', cursive;
    background-color: #42a5f5;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.egn__modal-btn:hover {
    background-color: #1e88e5;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes popUp {
    from { transform: scale(0.8); }
    to { transform: scale(1); }
}

@media (max-width: 768px) {
    .egn__contacts-wrapper {
        flex-direction: column;
        gap: 20px;
    }
}

.egn__disclaimer {
    background: #ffcc00;
    padding: 20px;
    text-align: center;
    color: #222;
    font-family: Arial, sans-serif;
    border-radius: 10px;
}

.egn__disclaimer-title {
    font-family: 'Gloock', cursive;
    font-size: 24px;
    font-weight: bold;
}

.egn__disclaimer-text {
    font-size: 18px;
    margin: 10px 0;
}

.egn__disclaimer-logos {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

@media(max-width: 350px) {
    .egn__disclaimer-logos {
        flex-wrap: nowrap;
        flex-direction: column-reverse;
        align-items: center;
    }
}
.egn__aware {
    width: 300px; 
    height: 83px;
}
.egn__care {
    width: 300px; 
    height: 83px;
}
.age-restriction-icon {
    width: 70px;
    height: 70px;
    margin: 25px 0 25px 0;
}

.egn__footer {
    background: #222;
    color: #fff;
    text-align: center;
    padding: 20px;
}

.egn__footer-logos img {
    width: 100px;
    margin: 5px;
}

.egn__footer-links a {
    color: #ffcc00;
    text-decoration: none;
    margin: 0 10px;
}

.egn__footer-links a:hover {
    text-decoration: underline;
}

.egn__footer-rights {
    margin-top: 15px;
    font-size: 14px;
    opacity: 0.8;
}

.egn__page-title-top {    
    font-family: 'Gloock', cursive;
    font-size: 35px;
    color: #fff;
    text-align: center;
    margin: 0;
    padding-bottom: 20px;
    text-shadow: 0 0 6px #cecb0d, 0 0 10px #310abe88;
}
.egn__page-container {
    max-width: 100%;
    background-color: #42a5f5;
    color: rgb(126, 84, 84);
    text-align: center;
    padding: 20px 0px;
}
.egn__page-section {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: left;
}
.egn__page-titlelow {
    font-family: 'Gloock', cursive;
    font-size: 35px;
    color: #fff;
    text-align: left;
    margin-bottom: 40px;
    text-shadow: 0 0 8px #41850a, 0 0 10px #ce5f1f88;
}

.egn__page-text {
    font-size: 20px;
    color: #fff;
    text-align: left;

}

.egn__page-text-high {
    text-align: center;
    color: #fff;
    text-shadow: 0 0 8px #41850a, 0 0 10px #ce5f1f88;
}

.egn__page-item {
    color: #000;
    text-align: left;
}

.egn__page-list {
    padding-left: 15px;
    font-size: 20px;
    text-shadow: 0 0 8px #41850a, 0 0 10px #ce5f1f88;
    color: #444;
    text-align: left;
}

.egn__page-footer-text {
    font-size: 20px;
    color: #fff;
    text-align: center;
}

@media(max-width: 950px) {
    .egn__page-container {
        padding: 15px;
    }
}

@media(max-width: 350px) {
    .egn__page-container {
        padding: 15px;
    }

    .egn__page-title-top {
        font-size: 25px;
        padding-top: 5px;
        text-align: center;
    }

    .egn__page-section {
        padding: 10px;
    }

    .egn__page-titlelow {
        font-size: 20px;
    }

    .egn__page-text {
        font-size: 16px;
    }

    .egn__page-list {
        font-size: 15px;
        padding-bottom: 15px;
    }

    .egn__page-footer-text {
        font-size: 15px;
    }
}

#cookiesEgn {
    display: none;
    position: fixed;
    bottom: 0;
    right: 0;
    background: #333;
    margin: 15px;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.5);
    z-index: 9998;
    justify-content: flex-end;
    align-items: flex-end;
    max-width: 600px;
    width: 100%;
}

.egn__cookies-style {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    color: #fff;
}

@media (max-width: 760px) {
    .egn__cookies-style {
        flex-direction: column;
        justify-content: center;
    }

    .egn__cokies-text {
        text-align: center;
    }
}

.egn__cokies-text {
    font-size: 20px;
    color: #fff;
    margin-right: 15px;
}

.egn__cokies-text a {
    color: #00ffff;
}

.egn__page-link {
    color: #eeff00;
}
.egn__modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.egn__modal-block {
    background-color: #333;
    color: #fff;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.5);
    animation: appear 0.5s ease;
}

.egn__modal-title {
    font-size: 24px;
    margin-bottom: 15px;
    font-family: 'Gloock', cursive;
}

.egn__modal-text {
    font-size: 16px;
    margin-bottom: 20px;
}

.egn__modal-buttons button {
    margin: 5px;
    padding: 10px 20px;
    border: none;
    background-color: #ffcc00;
    color: #333;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-family: 'Gloock', cursive;
}

.egn__modal-buttons button:hover {
    background-color: #e6b800;
}

@keyframes appear {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
