* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Vazirmatn', 'Comic Neue', sans-serif;
}

body {
    background-color: #f5f5f5;
}

header {
    background-color: #fff;
    box-shadow: 0 2px 5px 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: 1rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0 auto;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: #2196F3;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 15px;
    border-radius: 5px;
    text-align: center;
    display: block;
}

.nav-links a:hover {
    color: #fff;
    background-color: #1976D2;
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #2196F3;
}

body.menu-open {
    overflow: hidden;
}

.hero {
    margin-top: 80px;
    height: 70vh;
    position: relative;
}

.slider {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about, .download, .games {
    padding: 4rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.about h2, .download h2, .games h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
}

.about-content {
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.about-intro {
    font-size: 1.2rem;
    color: #2196F3;
    font-weight: bold;
    margin-bottom: 1.5rem;
    text-align: center;
}

.about-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: #333;
}

.expertise, .experience, .slogan {
    margin: 2rem 0;
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.expertise h3, .experience h3, .slogan h3 {
    color: #2196F3;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.expertise ul {
    list-style-type: none;
    padding: 0;
}

.expertise li {
    margin: 1rem 0;
    padding-right: 1.5rem;
    position: relative;
    line-height: 1.6;
}

.expertise li:before {
    content: "•";
    color: #2196F3;
    font-weight: bold;
    position: absolute;
    right: 0;
}

.slogan p {
    font-style: italic;
    color: #666;
    text-align: center;
    margin: 1rem 0;
}

.features {
    display: flex;
    justify-content: space-around;
    margin-top: 2rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.feature {
    text-align: center;
    flex: 1;
    min-width: 200px;
}

.feature i {
    font-size: 2.5rem;
    color: #ff6b6b;
    margin-bottom: 1rem;
}

.download-content {
    text-align: center;
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background-color: #333;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.download-btn:hover {
    background-color: #ff6b6b;
}

footer {
    background-color: #333;
    color: #fff;
    padding: 2rem 5%;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.contact-info-footer {
    text-align: right;
}

.contact-info-footer h3 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.contact-info-footer p {
    margin: 0.5rem 0;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-info-footer i {
    color: #2196F3;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: #fff;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #2196F3;
}

.enamad {
    text-align: center;
    margin-top: 2rem;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.enamad img {
    max-width: 100px;
    height: auto;
    transition: transform 0.3s ease;
}

.enamad img:hover {
    transform: scale(1.1);
}

.theme-default {
    background: linear-gradient(45deg, #f3f4f6, #ffffff);
}

.theme-gradient {
    background: linear-gradient(120deg, #84fab0 0%, #8fd3f4 100%);
}

.theme-pattern {
    background-color: #ffffff;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%239C92AC' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.theme-animated {
    background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
}

.theme-particles {
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
}

.theme-particles::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, #000 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.1;
    animation: particleMove 20s linear infinite;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes particleMove {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50px);
    }
}

@media (max-width: 768px) {
    nav {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 1rem 5%;
    }

    .menu-toggle {
        display: block;
        font-size: 1.5rem;
        cursor: pointer;
        color: #2196F3;
    }

    .nav-links {
        display: none;
        width: 100%;
        position: absolute;
        top: 100%;
        right: 0;
        background-color: #fff;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        padding: 1rem 0;
        flex-direction: column;
        gap: 0;
        z-index: 1000;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 1rem 2rem;
        border-radius: 0;
        text-align: right;
    }

    .nav-links a:hover {
        background-color: #f5f5f5;
    }

    .hero {
        height: 50vh;
    }

    .features {
        flex-direction: column;
    }

    .download-buttons {
        flex-direction: column;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .contact-info-footer {
        text-align: center;
    }
    
    .contact-info-footer p {
        justify-content: center;
    }

    .games-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .game-card img {
        height: 180px;
    }

    .about-content {
        padding: 1.5rem;
    }
    
    .expertise, .experience, .slogan {
        padding: 1rem;
    }
    
    .about-intro {
        font-size: 1.1rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        padding: 1.5rem;
    }
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.game-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px 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 5px 15px rgba(0,0,0,0.2);
}

.game-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.game-card h3 {
    padding: 1rem;
    margin: 0;
    color: #333;
    text-align: center;
}

.game-card p {
    padding: 0 1rem 1rem;
    margin: 0;
    color: #666;
    text-align: center;
    font-size: 0.9rem;
    line-height: 1.5;
}

.contact {
    padding: 4rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.contact h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-info {
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.contact-info h3 {
    color: #2196F3;
    margin-bottom: 1rem;
    text-align: center;
}

.contact-info p {
    margin: 1rem 0;
    color: #666;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-info i {
    color: #2196F3;
    font-size: 1.2rem;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Comic Neue', 'Vazirmatn', sans-serif;
    font-weight: 700;
}

.about-intro, 
.slogan p {
    font-family: 'Comic Neue', 'Vazirmatn', sans-serif;
    font-weight: 700;
}

.game-card h3 {
    font-family: 'Comic Neue', 'Vazirmatn', sans-serif;
    font-weight: 700;
}

/* استایل‌های بخش گواهی‌نامه‌ها */
.certificates {
    padding: 4rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.certificates h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.certificate-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    padding: 1.5rem;
}

.certificate-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.certificate-card img {
    width: 100%;
    max-width: 250px;
    height: auto;
    margin-bottom: 1rem;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.certificate-card h3 {
    color: #2196F3;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.certificate-card p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .certificates-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .certificate-card {
        padding: 1rem;
    }
    
    .certificate-card img {
        max-width: 200px;
    }
} 