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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background-color: #000000;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    height: 80px;
    box-shadow: 0 2px 10px rgba(255, 255, 255, 0.1);
}

/* Logo scroll animation */
@keyframes scrollUp {
    0% {
        transform: translateY(100px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.scroll-up {
    animation: scrollUp 1s ease-out;
}

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

.nav-logo .logo {
    height: 60px;
    width: auto;
}

.nav-links {
    display: flex;
    height: 100%;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    padding: 0 48px;
    height: 100%;
}

.nav-link:hover {
    background-color: #ffffff;
    color: #000000;
    transform: translateY(-2px);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

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

.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);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

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

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.9), 1px 1px 4px rgba(0, 0, 0, 0.7);
    line-height: 1.2;
    color: #ff9d9d;
}

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

.about-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-image {
    margin-bottom: 40px;
}

.about-image img {
    width: 400px;
    height: auto;
    border-radius: 8px;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #cccccc;
}

/* Games Section */
.games {
    padding: 100px 0;
    background-color: #000000;
}

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

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

.game-card {
    background-color: #111111;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.05);
}

.game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(255, 255, 255, 0.15);
}

.game-card.clickable {
    cursor: pointer;
}

.game-image {
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
    position: relative;
}

.game-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.coming-soon-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.coming-soon-overlay span {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.game-card:hover .coming-soon-overlay {
    opacity: 1;
}

.game-card:hover .game-image img {
    transform: scale(1.05);
}


/* Contact Section */
.contact {
    padding: 100px 0;
    background-color: #111111;
    text-align: center;
}

.contact-info {
    margin: 40px 0;
}

.email-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.email-contact i {
    color: #ffffff;
    font-size: 1.5rem;
}

.email-contact a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.email-contact a:hover {
    color: #cccccc;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.social-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 2rem;
    padding: 20px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
}

.social-link:hover {
    background-color: #ffffff;
    color: #000000;
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 8px 16px rgba(255, 255, 255, 0.2);
}

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

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

.footer-text p {
    color: #cccccc;
    font-size: 0.9rem;
}

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

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

.footer-link:hover {
    color: #ffffff;
}

/* Overlay Modal */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

.overlay-content {
    background-color: #111111;
    border-radius: 8px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 16px 64px rgba(255, 255, 255, 0.1);
}

.overlay-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    color: #ffffff;
    cursor: pointer;
    z-index: 1;
    transition: color 0.3s ease;
}

.overlay-close:hover {
    color: #cccccc;
}

.overlay-body {
    padding: 40px;
}

.overlay-body h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 15px;
}

.game-icon {
    height: 4rem;
    width: auto;
}

.overlay-image {
    margin: 20px 0;
}

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

.overlay-body p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #cccccc;
}

/* Steam Button */
.steam-button-container {
    text-align: center;
    margin-top: 30px;
}

.steam-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: #1b2838;
    color: #ffffff;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(27, 40, 56, 0.3);
}

.steam-button:hover {
    background-color: #2a3f5f;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(27, 40, 56, 0.4);
}

.steam-button i {
    font-size: 1.3rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        height: 80px;
        padding: 0;
    }
    
    .nav-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 0;
    }
    
    .nav-logo .logo {
        height: 50px;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 50px;
        gap: 30px;
        transition: right 0.3s ease;
        z-index: 1000;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-link {
        height: auto;
        margin: 0;
        padding: 15px 30px;
        border-radius: 25px;
        font-size: 1.2rem;
        width: 200px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;

        color: #ff9d9d;
    }
    
    .hero-content {
        padding: 30px 20px;
        margin: 0 20px;
        color: #ff9d9d;
    }
    
    .about-image img {
        width: 300px;
    }
    
    .about-text p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .social-links {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .email-contact {
        font-size: 1rem;
        flex-direction: column;
        gap: 10px;
    }
    
    .steam-button {
        font-size: 1rem;
        padding: 12px 24px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .overlay-body {
        padding: 30px 20px;
    }
    
    .overlay-body h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .nav-links {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    .social-link {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}
