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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    background-color: #f5f5f5;
}

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

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.cookie-content {
    background-color: #f4c2c2;
    padding: 30px;
    border-radius: 0;
    max-width: 500px;
    width: 90%;
    text-align: center;
}

.cookie-content h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}

.cookie-content p {
    font-size: 14px;
    color: #333;
    margin-bottom: 25px;
    line-height: 1.5;
}

.cookie-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-accept, .btn-refuse {
    padding: 12px 30px;
    border: none;
    border-radius: 0;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    color: white;
    background-color: #e55a96;
    transition: background-color 0.3s;
}

.btn-accept:hover, .btn-refuse:hover {
    background-color: #d14889;
}

/* Header */
.header {
    background-color: rgba(248, 215, 215, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

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

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

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

.brand-name {
    font-size: 24px;
    font-weight: 700;
    color: #333;
}

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

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #e55a96;
}

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

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

/* Hero section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('./assets/bg1.png');
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
    padding-top: 80px;
}

.hero-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.2;
}

.hero p {
    font-size: 18px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.hero-subtitle {
    font-size: 16px;
    margin-bottom: 40px !important;
}

.cta-button {
    background-color: #e55a96;
    color: white;
    padding: 15px 40px;
    font-size: 18px;
    font-weight: 600;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #d14889;
}

/* About section */
.about {
    padding: 100px 0;
    background-color: #f8d7d7;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.about-text h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #333;
}

.about-text p {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Features Grid in About Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    background-color: #e55a96;
    padding: 40px 20px;
    text-align: center;
    color: white;
    border-radius: 10px;
}

.feature-card img {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.feature-card p {
    font-size: 14px;
    font-weight: 500;
}

/* Catalog section */
.catalog {
    padding: 100px 0;
    background:  url('./assets/bg2.png');
    background-size: cover;
    background-position: center;
    color: white;
}

.catalog h2 {
    font-size: 48px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
}

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

.game-card {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 30px;
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

.game-card img {
    width: 120px;
    height: 120px;
    margin-bottom: 20px;
    border-radius: 10px;
}

.game-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}

.game-card p {
    font-size: 14px;
    margin-bottom: 25px;
    opacity: 0.9;
    line-height: 1.6;
}

.google-play-btn {
    background: none;
    border: none;
    cursor: pointer;
}

.google-play-btn img {
    width: 150px;
    height: auto;
}

/* FAQ section */
.faq {
    padding: 100px 0;
    background-color: #f8d7d7;
}

.faq h2 {
    font-size: 48px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: #333;
}

.faq-items {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background-color: #e55a96;
    color: white;
    padding: 30px;
    border-radius: 0;
}

.faq-item h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
}

.faq-item p {
    font-size: 14px;
    line-height: 1.6;
}

/* Gallery section */
.gallery {
    padding: 100px 0;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('./assets/gallery-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
}

.gallery h2 {
    font-size: 48px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
}

.gallery-description {
    text-align: center;
    font-size: 16px;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

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

.gallery-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s;
    border: 3px solid #e55a96;
}

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

/* Contact section */
.contact {
    padding: 100px 0;
    background-color: #f8d7d7;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
}

.contact-form-wrapper h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 40px;
    color: #333;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input {
    padding: 15px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Inter', sans-serif;
}

.contact-form input:focus {
    outline: none;
    border-color: #e55a96;
}

.submit-btn {
    background-color: #e55a96;
    color: white;
    padding: 15px;
    font-size: 18px;
    font-weight: 600;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #d14889;
}

/* Footer */
.footer {
    background-color: #f8d7d7;
    color: #333;
    padding: 40px 0;
    border-top: 1px solid #ddd;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #e55a96;
}

.footer-copyright {
    font-size: 14px;
    opacity: 0.8;
}

/* Hidden class for cookie popup */
.hidden {
    display: none !important;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #f8d7d7;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .about-text h2,
    .catalog h2,
    .faq h2,
    .gallery h2,
    .contact-form-wrapper h2 {
        font-size: 32px;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
    
    .cookie-buttons {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding-top: 100px;
    }
    
    .hero h1 {
        font-size: 24px;
    }
    
    .hero p {
        font-size: 14px;
    }
    
    .cta-button {
        padding: 12px 30px;
        font-size: 16px;
    }
    
    .about,
    .catalog,
    .faq,
    .gallery,
    .contact {
        padding: 60px 0;
    }
    
    .about-text h2,
    .catalog h2,
    .faq h2,
    .gallery h2,
    .contact-form-wrapper h2 {
        font-size: 24px;
        margin-bottom: 30px;
    }
    
    .feature-card {
        padding: 30px 15px;
    }
    
    .game-card {
        padding: 20px;
    }
    
    .game-card h3 {
        font-size: 20px;
    }
    
    .faq-item {
        padding: 20px;
    }
    
    .cookie-content {
        padding: 20px;
        margin: 20px;
    }
    
    .cookie-content h3 {
        font-size: 20px;
    }
}