* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: #151515;
    color: #f8f8f8;
    overflow-x: hidden;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 50px;
    background: rgba(0, 0, 0, 0.9);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1500;
}

.logo-img {
    max-height: 100px;
    width: 150px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.menu-toggle .bar {
    height: 3px;
    width: 100%;
    background-color: #fff;
    border-radius: 10px;
    transition: all 0.3s ease-in-out;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 100px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #ffcc00;
}

.btn {
    background: linear-gradient(135deg, #ffcc00, #ffaa00);
    color: #111;
    border: none;
    padding: 12px 25px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(231, 186, 3, 0.4);
    transition: all 0.5s ease;
}

.btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(231, 186, 3, 0.5);
}

.header-btn {
    margin-left: 20px;
}

/* Games Gallery Section */
.games-gallery {
    padding: 150px 50px 100px;
    max-width: 1600px;
    margin: 0 auto;
    text-align: center;
}

.games-gallery h1 {
    font-size: 60px;
    color: #f8f8f8;
    margin-bottom: 60px;
    font-weight: bold;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    border: 2px solid #ffcc00;
    background: #222222;
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gallery-item img {
    width: 80%;
    height: 200px;
    margin: 0 auto;
    object-fit: fill;
    display: block;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
}

.gallery-item:hover img {
    animation: bounce 0.4s ease-in-out;
}

@keyframes bounce {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.try-now-btn {
    background: linear-gradient(135deg, #ffcc00, #ffaa00);
    color: #111;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 20px;
    margin-top: 15px;
    box-shadow: 0 4px 10px rgba(231, 186, 3, 0.4);
    transition: all 0.3s ease;
}

.try-now-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(231, 186, 3, 0.5);
}

/* Footer Section */
.footer {
    background-color: #222222;
    color: #ffffff;
    padding: 60px 50px 20px;
    position: relative;
    margin-top: 20px;
    border-radius: 40px 40px 0 0;
    overflow: hidden;
}

.footer-warning-section {
    background: rgba(255, 255, 255, 0);
    border: 1px solid rgba(255, 255, 255, 0.048);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 40px;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.footer-warning {
    display: inline-block;
    text-align: center;
}

.footer-warning h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #ffcc00;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
}

.footer-warning p {
    font-size: 16px;
    line-height: 1.8;
    color: #aaa;
}

.footer-warning-logos {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.footer-warning-logo {
    width: 80px;
    height: auto;
    display: block;
}

.footer-warning-logo-2 {
    width: 250px;
    height: auto;
    display: block;
}

.footer-content {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-logo-img {
    max-height: 100px;
    width: 150px;
}

.footer-links, .footer-contact, .footer-social {
    flex: 1;
    min-width: 200px;
}

.footer-links h3, .footer-contact h3, .footer-social h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #ffcc00;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    font-size: 16px;
    line-height: 2;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ffcc00;
}

.footer-contact p {
    font-size: 16px;
    line-height: 1.8;
    color: #aaa;
}

.footer-social .social-icons {
    display: flex;
    gap: 20px;
}

.social-icon img {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease;
}

.social-icon:hover img {
    transform: scale(1.1);
}

.footer-bottom {
    max-width: 1600px;
    margin: 40px auto 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.footer-bottom p {
    font-size: 14px;
    color: #aaa;
}

.footer-btn {
    background: linear-gradient(135deg, #ffcc00, #ffaa00);
    color: #111;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    transition: all 0.5s ease;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(231, 186, 3, 0.4);
    letter-spacing: 1px;
    font-weight: bold;
}

/* Responsive Design for Footer Warning */
@media screen and (max-width: 1024px) {
    .footer-warning h3 {
        font-size: 20px;
    }
    
    .footer-warning-logo {
        width: 50px;
    }
}

@media screen and (max-width: 768px) {
    .footer-warning-logo {
        width: 45px;
    }
}

@media screen and (max-width: 480px) {
    .footer-warning h3 {
        font-size: 18px;
    }
    
    .footer-warning p {
        font-size: 14px;
    }
    
    .footer-warning-logo {
        width: 40px;
    }
}

/* Responsive Design for Footer */
@media screen and (max-width: 1024px) {
    .footer {
        padding: 40px 40px 20px;
    }
    
    .footer-content {
        gap: 30px;
    }
    
    .footer-logo-img {
        max-height: 80px;
        width: 120px;
    }
    
    .footer-links h3, .footer-contact h3, .footer-social h3 {
        font-size: 20px;
    }
}

@media screen and (max-width: 768px) {
    .footer {
        padding: 30px 20px 15px;
        border-radius: 30px 30px 0 0;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-btn {
        padding: 8px 15px;
        font-size: 14px;
    }
}

@media screen and (max-width: 480px) {
    .footer {
        padding: 20px 15px 10px;
        border-radius: 20px 20px 0 0;
    }
    
    .footer-links h3, .footer-contact h3, .footer-social h3 {
        font-size: 18px;
    }
    
    .footer-links a, .footer-contact p {
        font-size: 14px;
    }
    
    .social-icon img {
        width: 25px;
        height: 25px;
    }
    
    .footer-bottom p {
        font-size: 12px;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .games-gallery h1 {
        font-size: 50px;
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header {
        padding: 10px 20px;
    }
    .menu-toggle {
        display: flex;
    }
    nav {
        display: none;
        width: 100%;
    }
    nav.active {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        background: #151515;
        padding: 20px;
    }
    .nav-links {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    .header-btn {
        display: none;
    }
    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    .games-gallery {
        padding: 100px 20px;
    }
    .games-gallery h1 {
        font-size: 40px;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .games-gallery h1 {
        font-size: 32px;
    }
    .gallery-item img {
        height: 150px;
    }
    .try-now-btn {
        padding: 8px 15px;
        font-size: 14px;
    }
}