/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #ffffff;
}

/* Header Styles */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.logo h1 {
    font-size: 2rem;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #4ecdc4;
}

.home-btn i {
    margin-right: 5px;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 1rem;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)),
                url('https://images.unsplash.com/photo-1511512578047-dfb367046420?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero p {
    font-size: 1.5rem;
    color: #ffffff;
}

/* Game Section */
.game-section {
    padding: 4rem 5%;
}

.game-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    color: #4ecdc4;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.game-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.game-card:hover {
    transform: translateY(-5px);
}

.game-thumbnail {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    overflow: hidden;
}

.game-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.game-card:hover .game-thumbnail img {
    transform: scale(1.05);
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #4ecdc4;
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.game-card:hover .play-btn {
    opacity: 1;
}

.play-btn i {
    font-size: 1.2rem;
}

.game-card h3 {
    padding: 1rem;
    color: #4ecdc4;
    font-size: 1.2rem;
}

.game-card p {
    padding: 0 1rem 1rem;
    color: #ffffff;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Footer Styles */
footer {
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem 5%;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h3 {
    color: #4ecdc4;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #4ecdc4;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.social-links a:hover {
    background: #4ecdc4;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Menu Button (Mobile) */
.menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background: #ffffff;
    transition: 0.3s;
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-btn {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(26, 26, 46, 0.95);
        padding: 1rem;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
    }

    .nav-links a {
        margin: 0.5rem 0;
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .games-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    .play-btn {
        opacity: 1;
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero h1, .hero p {
    animation: fadeIn 1s ease-out forwards;
}

/* Info Links Section */
.info-links-section {
    padding: 4rem 5%;
    background: rgba(255, 255, 255, 0.02);
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.info-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 3rem 2rem;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(78, 205, 196, 0.1), rgba(255, 107, 107, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.info-card:hover::before {
    opacity: 1;
}

.card-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.info-card i {
    font-size: 3rem;
    color: #4ecdc4;
    margin-bottom: 1.5rem;
}

.info-card h2 {
    color: #4ecdc4;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.info-card p {
    color: #ffffff;
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.learn-more {
    color: #4ecdc4;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.learn-more i {
    font-size: 1rem;
    margin-bottom: 0;
    transition: transform 0.3s ease;
}

.info-card:hover .learn-more i {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .info-links-section {
        padding: 3rem 1rem;
    }

    .info-card {
        padding: 2rem 1.5rem;
    }

    .info-card h2 {
        font-size: 1.75rem;
    }
}

/* Game Description Section */
.game-description {
    padding: 6rem 5%;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.95) 0%, rgba(22, 33, 62, 0.95) 100%);
}

.game-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.game-text h2 {
    font-size: 2.5rem;
    color: #4ecdc4;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.game-features {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.feature i {
    font-size: 2rem;
    color: #4ecdc4;
    margin-bottom: 1rem;
}

.feature h3 {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.feature p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.game-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #4ecdc4;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.game-cta {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.play-now-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: #4ecdc4;
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease, background-color 0.3s ease;
    width: fit-content;
}

.play-now-btn:hover {
    background: #3dbdb4;
    transform: translateY(-2px);
}

.game-badges {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-size: 0.9rem;
    color: #ffffff;
}

.badge i {
    color: #4ecdc4;
}

.game-media {
    position: relative;
}

.game-preview {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.main-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.game-preview:hover .main-image {
    transform: scale(1.05);
}

.feature-highlights {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    display: flex;
    justify-content: space-around;
}

.highlight {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ffffff;
}

.highlight i {
    color: #4ecdc4;
}

@media (max-width: 1024px) {
    .game-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .game-text {
        order: 2;
    }

    .game-media {
        order: 1;
    }
}

@media (max-width: 768px) {
    .game-description {
        padding: 4rem 1rem;
    }

    .game-text h2 {
        font-size: 2rem;
    }

    .game-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .game-badges {
        justify-content: center;
    }

    .play-now-btn {
        width: 100%;
        justify-content: center;
    }

    .feature-highlights {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
} 