/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

.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: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.cookie-popup.show {
    display: flex;
}

.cookie-content {
    background: white;
    padding: 40px;
    border-radius: 20px;
    max-width: 600px;
    margin: 20px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.cookie-content h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: #333;
}

.cookie-content p {
    font-size: 1rem;
    margin-bottom: 30px;
    line-height: 1.6;
    color: #666;
}

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

.btn-accept, .btn-refuse {
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.btn-accept {
    background: linear-gradient(135deg, #c855a0, #8e44ad);
    color: white;
}

.btn-accept:hover {
    background: linear-gradient(135deg, #b44389, #7d3c98);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(200, 85, 160, 0.4);
}

.btn-refuse {
    background: linear-gradient(135deg, #5c34a4, #3d2570);
    color: white;
}

.btn-refuse:hover {
    background: linear-gradient(135deg, #4a2a85, #2e1b59);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(92, 52, 164, 0.4);
}

/* Header */
.header {
    background: white;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

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

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

.brand-name {
    font-size: 1.8rem;
    font-weight: 800;
    color: #8e44ad;
}

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

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

.nav-link:hover {
    color: #8e44ad;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #c855a0, #8e44ad);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

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

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    background: white;
    padding: 120px 0 80px;
    color: #333;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

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

.hero-text h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 30px;
    line-height: 1.2;
    color: #333;
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    line-height: 1.7;
    color: #666;
}

.btn-catalog {
    display: inline-block;
    background: linear-gradient(135deg, #c855a0, #8e44ad);
    color: white;
    padding: 18px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.btn-catalog:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(200, 85, 160, 0.4);
}

.hero-image {
    display: flex;
    justify-content: center;
}

.hero-img {
    width: 100%;
    max-width: 500px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* About Section */
.about {
    padding: 100px 0;
    background: #f8f9fa;
}

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

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 30px;
    color: #333;
    line-height: 1.2;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: #666;
    line-height: 1.7;
}

.stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
}

.stat-item {
    background: linear-gradient(135deg, #c855a0, #8e44ad);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
}

.stat-text {
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.4;
}

.about-image {
    display: flex;
    justify-content: center;
}

.about-img {
    width: 100%;
    max-width: 450px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* Catalog Section */
.catalog {
    padding: 100px 0;
    background: #2c3e50;
    color: white;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 60px;
    color: white;
}

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

.game-card {
    background: #34495e;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

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

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

.game-info {
    padding: 30px;
}

.game-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: white;
}

.game-info p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
    color: #bdc3c7;
}

.google-play-btn {
    display: inline-block;
    transition: transform 0.3s ease;
}

.google-play-btn:hover {
    transform: scale(1.05);
}

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

/* Reviews Section */
.reviews {
    padding: 100px 0;
    background: #5a5a5a;
    color: white;
}

.reviews .section-title {
    color: white;
    text-align: center;
    margin-bottom: 80px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.review-card {
    background: white;
    padding: 40px 30px;
    border-radius: 25px;
    text-align: left;
    transition: transform 0.3s ease;
    border: 2px solid #ddd;
    color: #333;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.reviewer-avatar {
    margin-bottom: 25px;
}

.reviewer-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.review-content h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}

.review-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
}

/* Gallery Section */
.gallery {
    padding: 100px 0;
    background: #2c3e50;
    color: white;
}

.gallery .section-title {
    text-align: center;
    color: white;
    margin-bottom: 60px;
}

.gallery-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.gallery-slider {
    position: relative;
    margin-bottom: 30px;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    height: 500px;
}

.gallery-slide {
    display: none;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.gallery-slide.active {
    display: block;
}

.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-thumbnails {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0 20px;
}

.thumbnail {
    cursor: pointer;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0.6;
    border: 3px solid transparent;
    transform: scale(0.9);
}

.thumbnail.active {
    opacity: 1;
    border-color: #c855a0;
    transform: scale(1);
}

.thumbnail:hover {
    opacity: 0.8;
    transform: scale(0.95);
}

.thumbnail img {
    width: 120px;
    height: 80px;
    object-fit: cover;
    display: block;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    background: url(./assets/bgf.png);
    background-size: cover;
}

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

.contact-info {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-info p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
    opacity: 0.9;
}

.contact-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-form h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 30px;
    text-align: center;
    color: white;
}

.contact-form input {
    width: 100%;
    padding: 18px;
    margin-bottom: 20px;
    border: none;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.9);
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    color: #333;
    transition: all 0.3s ease;
}

.contact-form input:focus {
    outline: none;
    background: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.contact-form input::placeholder {
    color: #999;
}

.btn-submit {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #c855a0, #8e44ad);
    color: white;
    border: none;
    border-radius: 15px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(200, 85, 160, 0.4);
}

/* Footer */
.footer {
    background: #1a1a1a;
    padding: 30px 0;
    color: #bbb;
}

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

.footer-content a {
    color: #bbb;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-content a:hover {
    color: #8e44ad;
}

.footer-content span {
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .about-text h2 {
        font-size: 2rem;
    }
    
    .stats {
        grid-template-columns: 1fr;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cookie-content {
        margin: 10px;
        padding: 30px 20px;
    }
    
    .cookie-content h3 {
        font-size: 1.5rem;
    }
    
    .cookie-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn-accept, .btn-refuse {
        padding: 12px 30px;
        font-size: 0.9rem;
    }
    
    .gallery-slider {
        height: 300px;
    }
    
    .thumbnail img {
        width: 80px;
        height: 60px;
    }
    
    .gallery-thumbnails {
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-text h1 {
        font-size: 1.8rem;
    }
    
    .hero-text p {
        font-size: 1rem;
    }
    
    .about-text h2 {
        font-size: 1.7rem;
    }
    
    .section-title {
        font-size: 1.7rem;
        margin-bottom: 40px;
    }
    
    .game-info {
        padding: 20px;
    }
    
    .review-card {
        padding: 25px 20px;
    }
    
    .contact-form {
        padding: 25px;
    }
    
    .contact-info {
        padding: 25px;
    }
    
    .contact-form h2 {
        font-size: 2rem;
    }
    
    .thumbnail img {
        width: 60px;
        height: 45px;
    }
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #c855a0, #8e44ad);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #b44389, #7d3c98);
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading Animation */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.pulse {
    animation: pulse 2s infinite;
}

/* Mobile Navigation */
.nav.mobile-active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 20px;
    gap: 15px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}