/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
}

/* Age Verification Popup */
.age-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
}

.age-content {
    background: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    margin: 20px;
}

.age-icon {
    font-size: 4rem;
    font-weight: 900;
    color: #ff6b35;
    margin-bottom: 20px;
    font-family: 'Orbitron', sans-serif;
}

.age-content h2 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.age-content p {
    color: #666;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.age-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.age-btn {
    padding: 15px 30px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 150px;
}

.age-yes {
    background: #ff6b35;
    color: white;
}

.age-yes:hover {
    background: #e55a2b;
    transform: translateY(-2px);
}

.age-no {
    background: #ddd;
    color: #666;
}

.age-no:hover {
    background: #ccc;
}

/* Under 18 Screen */
.under-age-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10002;
}

.under-age-content {
    text-align: center;
    color: white;
    padding: 40px;
}

.under-age-icon {
    font-size: 6rem;
    font-weight: 900;
    color: #ff6b35;
    margin-bottom: 30px;
    font-family: 'Orbitron', sans-serif;
}

.under-age-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: white;
}

.under-age-content p {
    font-size: 1.2rem;
    color: #ccc;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(51, 51, 51, 0.98);
    color: white;
    padding: 20px;
    z-index: 1000;
    display: none;
}
.container{
    max-width: 1200px;
    margin: 0 auto;
}
.cookie-content {

    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.cookie-content h3 {
    color: #ff6b35;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.cookie-content p {
    margin: 0;
    flex: 1;
    min-width: 300px;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-accept {
    background: #ff6b35;
    color: white;
}

.cookie-accept:hover {
    background: #e55a2b;
}

.cookie-decline {
    background: transparent;
    color: white;
    border: 2px solid #666;
}

.cookie-decline:hover {
    border-color: #999;
    background: rgba(255, 255, 255, 0.1);
}

/* Header */
.disclaimer-bar {
    background: #FFA547;
    color: white;
    text-align: center;
    padding: 12px 20px;
    font-size: 0.95rem;
    font-weight: 500;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    backdrop-filter: blur(10px);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    width: 45px;
    height: 45px;
}

.brand-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #333;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 1.05rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #ff6b35;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(247, 147, 30, 0.3), rgba(255, 107, 53, 0.3)), url('./assets/bg.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: white;
    padding: 0 50px;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.2));
    z-index: 1;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 2;
}

.hero-text {
    max-width: 700px;
}

.hero-text h1 {
    font-size: 4rem;
    margin-bottom: 30px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-text p {
    font-size: 1.15rem;
    margin-bottom: 40px;
    line-height: 1.8;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.cta-button {
    background: #FFCC3F;
    color: white;
    padding: 20px 45px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 107, 53, 0.4);
}

/* Why Section */
.why-section {
    padding: 120px 50px;
    background: white;
}

.why-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 80px;
    align-items: center;
}

.why-text h2 {
    font-size: 2.8rem;
    color: #ff6b35;
    margin-bottom: 35px;
    line-height: 1.3;
}

.why-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 25px;
    text-align: justify;
}

.why-image {
    text-align: center;
}

.why-img {
    width: 100%;
    max-width: 400px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.2);
}

/* Built Section */
.built-section {
    padding: 120px 50px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
}

.built-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 100px;
}

.built-content-reverse {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 80px;
    align-items: center;
}

.built-text h2 {
    font-size: 2.8rem;
    margin-bottom: 35px;
    line-height: 1.3;
    color: white;
}

.built-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 25px;
    opacity: 0.95;
    text-align: justify;
}

.built-img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Games Section */
.games-section {
    padding: 120px 50px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
}

.games-container {
    max-width: 1200px;
    margin: 0 auto;
}

.games-container h2 {
    text-align: center;
    font-size: 3.5rem;
    color: white;
    margin-bottom: 80px;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.game-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.game-card:hover {
    transform: translateY(-5px);
}

.game-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.game-info {
    padding: 35px;
}

.game-info h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.game-info p {
    font-size: 1rem;
    line-height: 1.7;
    color: #666;
    margin-bottom: 30px;
    text-align: justify;
}

.play-button {
    width: 100%;
    display: flex;
    justify-content: center;
    background: linear-gradient(45deg, #f7931e, #ff6b35);
    color: white;
    padding: 15px;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid #ff6b35;
    text-decoration: none;
}

.play-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
    background: transparent;
    color: #ff6b35;
}

/* Trust Section */
.trust-section {
    padding: 120px 50px;
    background: white;
}

.trust-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.trust-container h2 {
    font-size: 3rem;
    color: #ff6b35;
    margin-bottom: 50px;
}

.trust-container p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
    text-align: justify;
}

/* Gallery Section */
.gallery-section {
    padding: 120px 50px;
    background: white;
}

.gallery-container {
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-container h2 {
    text-align: center;
    font-size: 3rem;
    color: #ff6b35;
    margin-bottom: 80px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.gallery-item {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    cursor: pointer;
}

/* Contact Section */
.contact-section {
    padding: 120px 50px;
    background: white;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 80px;
    align-items: flex-start;
    margin-bottom: 60px;
}

.contact-text h2 {
    font-size: 2.8rem;
    color: #ff6b35;
    margin-bottom: 35px;
}

.contact-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    text-align: justify;
}

.contact-form {
    background: transparent;
    padding: 0;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 18px;
    margin-bottom: 25px;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s ease;
    background: white;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #ff6b35;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.send-button {
    width: 100%;
    background: #f7931e;
    color: #333;
    padding: 18px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.send-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(247, 147, 30, 0.3);
    background: #e6841b;
}

.contact-image {
    text-align: center;
    margin-top: 60px;
}

.contact-img {
    max-width: 400px;
    width: 100%;
    border-radius: 20px;
}

/* Footer */
.footer {
    background: #f7931e;
    color: white;
    padding: 80px 50px 40px;
    border-radius: 30px 30px 0 0;
    margin-top: 50px;
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
}

.footer-disclaimer {
    text-align: center;
    margin-bottom: 50px;
}

/* .age-badge {
    display: inline-block;
    background: white;
    color: #ff6b35;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 900;
    font-size: 1.3rem;
    margin-bottom: 30px;
    font-family: 'Orbitron', sans-serif;
    border: 3px solid #ff6b35;
} */

.footer-disclaimer h3 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: white;
}

.footer-disclaimer p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 25px;
    opacity: 0.95;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 25px;
}

.support-logos {
    background: white;
    border-radius: 20px;
    padding: 30px;
    display: flex;
    gap: 50px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.support-logo {
    height: 50px;
    filter: none;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.support-logo:hover {
    opacity: 0.8;
}

.footer-bottom {
    text-align: center;
    margin-top: 50px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
}

.footer-logo-img {
    width: 45px;
    height: 45px;
}

.footer-logo span {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
}

.footer-links {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s ease;
    font-weight: 500;
    font-size: 1rem;
}

.footer-links a:hover {
    opacity: 1;
    text-decoration: underline;
}

.copyright {
    text-align: center;
    opacity: 0.8;
    font-size: 0.95rem;
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .why-content,
    .built-content,
    .built-content-reverse {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .hero {
        padding: 0 20px;
        min-height: 80vh;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-text p {
        text-align: left;
    }
    
    .why-section,
    .built-section,
    .games-section,
    .trust-section,
    .gallery-section,
    .contact-section {
        padding: 80px 20px;
    }
    
    .why-text h2,
    .built-text h2,
    .trust-container h2,
    .games-container h2,
    .gallery-container h2,
    .contact-text h2 {
        font-size: 2.2rem;
    }
    
    .footer {
        padding: 60px 20px 30px;
        border-radius: 20px 20px 0 0;
    }
    
    .footer-disclaimer {
        padding: 40px 20px;
    }
    
    .footer-links {
        justify-content: center;
        gap: 25px;
    }
    
    .support-logos {
        gap: 25px;
        padding: 25px;
    }
    
    .support-logo {
        height: 40px;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
    
    .age-buttons {
        flex-direction: column;
    }
    
    .age-content {
        padding: 30px 20px;
        margin: 15px;
    }
    
    .age-icon {
        font-size: 3rem;
    }
    
    .under-age-icon {
        font-size: 4rem;
    }
    
    .under-age-content h1 {
        font-size: 2rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-image {
        grid-column: span 1;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .disclaimer-bar {
        font-size: 0.8rem;
        padding: 10px;
    }
    
    .games-container h2 {
        font-size: 2.5rem;
    }
    
    .gallery-container h2 {
        font-size: 2.5rem;
    }
    
    .contact-form {
        padding: 25px;
    }
    
    .footer-disclaimer h3 {
        font-size: 2rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Utility classes */
.hidden {
    display: none !important;
}

.game__wrapper{
    margin: 0 auto;
    display: flex;
    justify-content: center;
    background-color: #FFA547;
    padding: 20px 0px;
    border-radius: 20px;
    max-width: 940px;
}
iframe{
    max-width: 900px;
    width: 100%;
    min-height: 400px;
    border-radius: 20px;
}
.game-page .built-section{
    padding-bottom: 0px;
}


/* Mobile navigation fixes */
@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
    }
    
    .hamburger {
        display: flex;
        z-index: 1001;
    }
   
    .nav-menu {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        border-radius: 0 0 15px 15px;
        z-index: 9999 !important;
    }
    
    /* Ключевое исправление - показываем меню когда active */
    .nav-menu.active {
        display: flex !important;
    }
    
    .nav-link {
        padding: 15px 0;
        border-bottom: 1px solid #eee;
        text-align: center;
        font-size: 1.1rem;
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    /* Анимация для гамбургера */
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}


header{
    position: relative;
    z-index: 9999 !important;
}

