:root {
    --primary-color: #2a6ab3;
    --secondary-color: #1d4b87;
    --dark-bg: #1a1a1a;
    --light-bg: #ffffff;
    --text-color: #333333;
    --light-text: #ffffff;
    --spacing: 2rem;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

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

.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}

.menu-toggle span {
    width: 30px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 10px;
    transition: all 0.3s linear;
    position: relative;
    transform-origin: 1px;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem var(--spacing);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    z-index: 10;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255, 255, 255, 0.98);
        padding: 80px 40px;
        gap: 2rem;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu a {
        font-size: 1.2rem;
    }
}

.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://picsum.photos/1920/1080');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 var(--spacing);
}

.hero-content {
    color: var(--light-text);
    max-width: 800px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section {
    padding: 5rem var(--spacing);
}

.section.dark {
    background-color: var(--dark-bg);
    color: var(--light-text);
}

.partners-section {
    display: none;
}

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

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.section-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
}

.game-grid, .tech-showcase, .project-grid, .expert-grid, .intro-grid, .featured-grid, .news-grid {
    display: grid;
    gap: 2rem;
    margin-top: 3rem;
}

.game-card, .tech-item, .project-card, .expert-card, .intro-card, .featured-card, .news-card {
    background: var(--light-bg);
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.section.dark .game-card,
.section.dark .tech-item,
.section.dark .project-card,
.section.dark .expert-card,
.section.dark .intro-card,
.section.dark .featured-card,
.section.dark .news-card {
    background: rgba(255, 255, 255, 0.1);
}

.game-card:hover,
.tech-item:hover,
.project-card:hover,
.expert-card:hover,
.intro-card:hover,
.featured-card:hover,
.news-card:hover {
    transform: translateY(-5px);
}

.game-image {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.game-card h3,
.tech-item h3,
.project-card h3,
.expert-card h3,
.intro-card h3,
.featured-card h3,
.news-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.game-card p,
.tech-item p,
.project-card p,
.expert-card p,
.intro-card p,
.featured-card p,
.news-card p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.game-card ul,
.tech-item ul,
.project-card ul,
.expert-card ul,
.intro-card ul,
.featured-card ul,
.news-card ul {
    list-style-position: inside;
    margin: 1rem 0;
    padding-left: 1rem;
}

.game-card ul li,
.tech-item ul li,
.project-card ul li,
.expert-card ul li,
.intro-card ul li,
.featured-card ul li,
.news-card ul li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
    position: relative;
    padding-left: 1rem;
}

.game-card ul li::before,
.tech-item ul li::before,
.project-card ul li::before,
.expert-card ul li::before,
.intro-card ul li::before,
.featured-card ul li::before,
.news-card ul li::before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

.featured-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.featured-card {
    text-align: center;
}

.featured-card h3 {
    font-size: 1.5rem;
}

.featured-card ul {
    text-align: left;
}

.news-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.footer {
    background-color: var(--dark-bg);
    color: var(--light-text);
    padding: 4rem var(--spacing) 2rem;
}

.footer-content {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: var(--light-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 1200px) {
    .featured-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .container {
        padding: 0 var(--spacing);
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .featured-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .container {
        padding: 0 2rem;
        max-width: 960px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .game-grid, .tech-showcase, .project-grid, .expert-grid, .featured-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .container {
        padding: 0 1.5rem;
        max-width: 720px;
    }

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

    h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 767px) {
    html {
        font-size: 14px;
    }

    .hero {
        height: 60vh;
        padding: 0 1rem;
    }

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

    .hero-content {
        padding: 0 1rem;
    }

    .section {
        padding: 3rem 1rem;
    }

    .container {
        padding: 0 1rem;
    }

    .game-grid, .tech-showcase, .project-grid, .expert-grid, .featured-grid, .intro-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }

    .section-intro {
        font-size: 1rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }

    .game-card, .tech-item, .project-card, .expert-card, .intro-card, .featured-card, .news-card {
        padding: 1.25rem;
    }

    .footer {
        padding: 3rem 1rem 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 2rem;
    }

    .section {
        padding: 2rem 1rem;
    }

    .game-card, .tech-item, .project-card, .expert-card, .intro-card, .featured-card, .news-card {
        padding: 1rem;
    }
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section {
    animation: fadeIn 1s ease-out;
}