/* Modern CSS Reset & Base Styles */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-weight: 400;
    line-height: 1.6;
    font-size: 16px;
    color: #2d3748;
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

input,
button,
textarea {
    font-family: inherit;
    border: none;
    outline: none;
}

/* Modern Container System */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container__menu {
    padding: 0 2rem;
}

/* Modern Header */
.header-area {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 1rem 2rem;
    transition: all 0.3s ease;
}

.site-navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.site-logo {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a202c;
    letter-spacing: -0.025em;
}

.site-navbar ul {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.site-navbar ul li a {
    color: #4a5568;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.site-navbar ul li a:hover {
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
}

.site-navbar ul li a::after {
    content: '';
    position: absolute;
    bottom: -0.25rem;
    left: 50%;
    width: 0;
    height: 2px;
    background: #667eea;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.site-navbar ul li a:hover::after {
    width: 80%;
}

/* Modern Mobile Menu */
.nav-toggler {
    display: none;
    background: transparent;
    border: none;
    width: 2rem;
    height: 2rem;
    cursor: pointer;
    position: relative;
}

.nav-toggler span {
    display: block;
    width: 100%;
    height: 2px;
    background: #4a5568;
    border-radius: 1px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-toggler span::before,
.nav-toggler span::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: #4a5568;
    border-radius: 1px;
    transition: all 0.3s ease;
}

.nav-toggler span::before {
    top: -0.5rem;
}

.nav-toggler span::after {
    bottom: -0.5rem;
}

.nav-toggler.toggler-open span {
    background: transparent;
}

.nav-toggler.toggler-open span::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggler.toggler-open span::after {
    bottom: 0;
    transform: rotate(-45deg);
}

.menu__phone a {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
}

.menu__phone a:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
}

/* Modern Hero Section */
.hero {
    background: #000;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('./images/hero.jpg') center/cover;
    opacity: 0.1;
    z-index: 1;
}

.hero__overlay {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero__container {
    padding: 2rem;
}

.hero__wrapper {
    /*max-width: 600px;*/
    color: white;
    text-align: center;
}

#cookieNotice p {
    margin: 12px 0;
}
#cookieNotice {
    max-width: 600px;
    margin: 0 auto;
    left: 20px;
    border-radius: 20px;
    padding: 20px;
}

div#cookieNotice .btn-primary {
    background: #fff;
    color: #000;
    width: 100px;
    height: 35px;
    border: none;
    border-radius: 12px;
}

div#cookieNotice h4 {
    margin-top: 0;
    font-size: 18px;
}

.hero__header {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #ffffff, #f7fafc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__text {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero__button {
    margin-top: 2rem;
}

.hero__button a,
.about__button a,
.menu__button a {
    display: inline-block;
    background: white;
    color: #667eea;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.hero__button a:hover,
.about__button a:hover,
.menu__button a:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    background: transparent;
    color: white;
    border-color: white;
}

/* Modern Typography */
.header {
    color: #1a202c;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.header::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

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

.header--center::after {
    left: 50%;
    transform: translateX(-50%);
}

/* Modern Layout System */
.container__wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin: 4rem 0;
}

.container__wrap {
    width: 100%;
}

.container--height {
    min-height: 80vh;
    display: flex;
    align-items: center;
}

/* Modern Card Design */
.games__wrap {
    background: white;
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.games__wrap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.games__wrap:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.games__wrap img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    object-fit: cover;
}

.games__header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1rem;
}

/* Modern About Section */
.about {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    padding: 6rem 0;
    position: relative;
}

.about__wrap {
    width: 100%;
}

.about-img {
    border-radius: 2rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.about__text {
    color: #4a5568;
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* Modern Form Styles */
.form-popup input,
.form-footer input,
.form-footer textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 0.75rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-popup input:focus,
.form-footer input:focus,
.form-footer textarea:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-popup label {
    font-size: 1rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.5rem;
    display: block;
}

.form_submit {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
}

.form_submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

/* Modern Gallery */
.gallery__wrap {
    margin: 1rem;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.gallery__wrap:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.gallery__wrap img {
    border: none;
    transition: all 0.3s ease;
}

.gallery__wrap:hover img {
    transform: scale(1.1);
}

/* Modern Footer */
.footer {
    background: #1a202c;
    color: #a0aec0;
    padding: 4rem 0 2rem;
}

.footer__wrap {
    background: transparent;
    border: 1px solid #2d3748;
    border-radius: 1rem;
    padding: 2rem;
    margin: 1rem;
    transition: all 0.3s ease;
}

.footer__wrap:hover {
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.05);
}

.contacts__header {
    color: #667eea;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer a {
    color: #a0aec0;
    transition: all 0.3s ease;
}

.footer a:hover {
    color: #667eea;
}

footer {
    background: #0d1117;
    color: #6b7280;
    padding: 1.5rem;
    text-align: center;
    font-size: 0.875rem;
}

/* Modern Age Popup */
.age-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 3000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.age-popup-content {
    background: white;
    padding: 3rem;
    border-radius: 1.5rem;
    text-align: center;
    max-width: 400px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    position: relative;
}

.age-popup p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    color: #4a5568;
}

.age-popup-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.age-popup-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    min-width: 120px;
}

.age-popup-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.age-popup-button.no {
    background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%);
}

.age-popup-button.no:hover {
    box-shadow: 0 10px 30px rgba(229, 62, 62, 0.4);
}

/* Modern Sections */
.games,
.video,
.contact,
.gallery {
    background: #f7fafc;
    padding: 6rem 0;
}

.video__wrap iframe {
    border-radius: 1rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

/* Modern Checkbox */
.check-form input[type=checkbox] {
    display: none;
}

.check-form input[type=checkbox] + label {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: #4a5568;
    cursor: pointer;
}

.check-form input[type=checkbox] + label:before {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid #cbd5e0;
    border-radius: 0.25rem;
    margin-right: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: all 0.3s ease;
    background: white;
}

.check-form input[type=checkbox]:checked + label:before {
    background: #667eea;
    border-color: #667eea;
    content: '✓';
    color: white;
}

/* Utility Classes */
.light {
    position: fixed;
    bottom: 2rem;
    left: 0;
    background: rgba(26, 32, 44, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 0 1rem 1rem 0;
    padding: 1rem;
    z-index: 2999;
    color: white;
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding-top: 80px;
    }

    .container {
        padding: 0 1rem;
    }

    .header-area {
        padding: 1rem;
    }

    .nav-toggler {
        display: block;
    }

    .site-navbar ul {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: all 0.3s ease;
        border-radius: 0 0 1rem 1rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .site-navbar ul.open {
        max-height: 300px;
        padding: 1rem 0;
    }

    .site-navbar ul li {
        width: 100%;
        text-align: center;
    }

    .site-navbar ul li a {
        padding: 1rem;
        display: block;
        border-radius: 0;
    }

    .site-navbar ul li a::after {
        display: none;
    }

    .menu__phone {
        display: none;
    }

    .hero__wrapper {
        width: 100%;
        padding: 2rem 0;
    }

    .container__wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin: 3rem 0;
    }

    .games__wrap {
        width: 100%;
        margin: 1rem 0;
    }

    .about__wrap,
    .contact__wrap {
        width: 100%;
        margin-bottom: 2rem;
    }

    .footer__wrap {
        margin: 1rem 0;
    }

    .age-popup-content {
        margin: 1rem;
        padding: 2rem;
    }

    .age-popup-buttons {
        flex-direction: column;
    }
}

.faq {
    padding: 48px 0;
}
.faq-wrap {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 48px 0;
}


.popup {
    display: none;
}
.footer__form, .header--center {
    text-align: center;
}
.form-popup label {
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
}
.form-popup input {
    width: 100%;
    margin: 5px 0px;
    padding: 10px;
    border: 1px solid grey;
}
.form-popup input:last-child {
    background: #282828;
    color: #fff;
    text-transform: uppercase;
    font-weight: 700;
}
.form-footer input, .form-footer textarea {
    width: 80%;
    padding: 10px;
    margin: 10px;
    border: 1px solid grey;
}
.form-footer .form_submit {
    background: linear-gradient(to right top, #6A0DAD, #A832A8, #D2691E, #FFC300, #FFD700);    font-size: 18px;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
}