:root {
    --primary: #4494fd;
    --secondary: #a29bfe;
    --accent: #fd79a8;
    --dark: #2d3436;
    --light: #f5f6fa;
    --success: #2efc6c;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
}

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

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

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.active {
    border-bottom: 2px solid var(--primary);
}

.logo {
    display: flex;
    align-items: center;
    font-family: 'Press Start 2P', cursive;
    font-size: 1.2rem;
    color: var(--dark);
    text-decoration: none;
}

.logo i svg {
    width: 2.5rem;
    margin-top: 2px;
    margin-right: 8px;
    fill: var(--primary);
}

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

.nav-links a {
    color: var(--dark);
    font-weight: 500;
    text-decoration: none;
}

.nav-links a:hover {
    color: var(--primary);
}



/* hamburger */
.menu-toggle {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background: var(--primary);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    padding: 6rem 0;
    text-align: center;
    background: linear-gradient(rgba(108, 92, 231, 0.1), rgba(108, 92, 231, 0.05));
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 0.5rem;
    color: var(--dark);
}

.hero h3 {
    margin-bottom: 0.25rem;
}

.hero-follow {
    display: flex;
    gap: 10px;
    /* text-align: center; */
    justify-content: center;
    align-items: center;
}

.hero-follow i svg {
    width: 2rem;
    height: 2rem;
    fill: var(--dark);
}

.hero-follow i svg:hover {
    fill: var(--primary);
}

/* Games Section */
.games-section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary);
    font-size: 2rem;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.game-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.game-iframe-container {
    position: relative;
    padding-bottom: 75%;
    height: 0;
    overflow: hidden;
    cursor: pointer;
}

.game-iframe {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.game-title {
    padding: 1rem;
    display: flex;
    justify-content: space-between;
}

.game-title a {
    color: var(--dark);
    text-decoration: none;
    font-size: 1.5rem;
}

.paly-btn {
    border: none;
    color: var(--light);
    background: var(--success);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 1rem;
}

/* Footer */
footer {
    background: var(--dark);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo {
    font-family: 'Press Start 2P', cursive;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.footer-logo i svg {
    width: 1.5rem;
    height: 1.5rem;
    fill: var(--accent);
}

.social-links {
    margin-bottom: 1.5rem;
    display: flex;
}

.social-links a i svg {
    width: 1.5rem;
    height: 1.5rem;
    fill: white;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.social-links a i svg:hover {
    fill: var(--accent);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: white;
    margin: 0 15px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent);
}

.copyright {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: white;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        transition: all 0.5s ease;
    }

    .nav-links.active {
        left: 0;
    }

    .menu-toggle {
        display: block;
    }

    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

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

    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero {
        padding: 6rem 0 2rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .games-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1rem;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .inspiration-message {
        padding: 1.5rem;
    }
}