* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Vazir', sans-serif;
}

body {
    background: #F8F9FA;
    color: #2D3436;
    direction: rtl;
    overflow-x: hidden;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
       background: linear-gradient(45deg, #ff0000, #ffae00);
    position: fixed;
    width: calc(100% - 40px);
    top: 20px;
    left: 20px;
    right: 20px;
    z-index: 1000;
    border-radius: 50px; 
    box-shadow: 0 4px 20px rgba(107, 72, 255, 0.2);
}

.logo {
    font-family: 'Yekan', sans-serif;
    font-size: 28px;
    font-weight: bold;
    color: #ff0000;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.nav-menu ul {
    display: flex;
    list-style: none;
}

.nav-menu ul li {
    margin-left: 30px;
}

.nav-menu ul li a {
    color: #ff0000;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    transition: color 0.3s ease, transform 0.3s ease;
    position: relative;
}

.nav-menu ul li a:hover {
    color: #ff0000; 
    transform: translateY(-2px);
}

.nav-menu ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, #ff0000, #ffae00);
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
}

.nav-menu ul li a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: #ff0000;
}

.player-count {
    background: #FFFFFF;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    color: #ff4848;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero-section {
    height: 100vh;
    background: url('Images/bg.jpg') no-repeat center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 72, 72, 0.3), rgba(235, 133, 0, 0.3));
    z-index: 1;
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-family: 'Yekan', sans-serif;
    font-size: 60px;
    font-weight: bold;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #ffffff, #fff7f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: scaleIn 1s ease-in-out;
}

.hero-content p {
    font-size: 22px;
    margin-bottom: 30px;
    color: #FFFFFF;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1.2s ease-in-out;
}

.cta-btn {
    background: linear-gradient(45deg, #ff4848, #eb9900);
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    color: #FFFFFF;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 72, 72, 0.3);
    animation: fadeInUp 1.4s ease-in-out;
}

.cta-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 72, 72, 0.5);
    background: linear-gradient(45deg, #ff0000, #FFCC70);
}

.decorative-line {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(45deg, #ff4848, #ebac00);
    border-radius: 2px;
    animation: slideIn 1.5s ease-in-out;
}

.features-section {
    padding: 80px 50px;
    text-align: center;
    background: #FFFFFF;
    position: relative;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('Images/asfalt-light.png');
    opacity: 0.05;
    z-index: 0;
}

.section-title {
    font-family: 'Yekan', sans-serif;
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 50px;
    background: linear-gradient(45deg, #ff4848, #ebac00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 10px rgba(255, 72, 72, 0.2);
    animation: fadeIn 1s ease-in-out;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.feature-card {
    padding: 30px;
    text-align: center;
    background: #FFFFFF;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(255, 72, 72, 0.2);
}

.feature-card i {
    font-size: 40px;
    color: #ff4848;
    margin-bottom: 20px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.feature-card:hover i {
    transform: scale(1.2);
    color: #ff0000;
}

.feature-card h3 {
    font-family: 'Yekan', sans-serif;
    font-size: 24px;
    margin-bottom: 10px;
    color: #362d2d;
}

.feature-card p {
    font-size: 16px;
    color: #636E72;
}

/* افکت شیشه‌ای */
.glass-effect {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* صفحه درباره ما */
.about-section {
    padding: 60px 20px;
    text-align: center;
    background: #F8F9FA;
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('Images/asfalt-light.png');
    opacity: 0.05;
    z-index: 0;
}

.about-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 30px;
    position: relative;
    z-index: 1;
}

.about-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 72, 72, 0.1), rgba(235, 161, 0, 0.1));
    z-index: -1;
    border-radius: 15px;
}

.about-logo-circle {
    flex: 0 0 150px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(255, 72, 72, 0.5);
    box-shadow: 0 0 20px rgba(255, 72, 72, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-logo-circle:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(235, 0, 0, 0.5);
}

.about-logo-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-text-content {
    flex: 1;
    text-align: right;
}

.about-text-content h3 {
    font-family: 'Yekan', sans-serif;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 15px;
    background: linear-gradient(45deg, #ff4848, #ebac00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 10px rgba(255, 72, 72, 0.2);
}

.about-text-content p {
    font-size: 16px;
    line-height: 1.6;
    color: #726363;
}

/* صفحه تماس با ما */
.contact-section {
    padding: 80px 50px;
    text-align: center;
    background: #F8F9FA;
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('Images/asfalt-light.png');
    opacity: 0.05;
    z-index: 0;
}

.contact-container {
    position: relative;
    padding: 40px;
    margin: 0 20px;
    z-index: 1;
}

.contact-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 72, 72, 0.1), rgba(235, 153, 0, 0.1));
    z-index: -1;
    border-radius: 15px;
}

.contact-content {
    display: flex;
    justify-content: space-between;
    gap: 50px;
}

.contact-form {
    flex: 1;
    padding: 30px;
    text-align: right;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-form:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 72, 72, 0.2);
}

.contact-form h3 {
    font-family: 'Yekan', sans-serif;
    font-size: 24px;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #ff4848, #eba100);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: none;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.05);
    color: #362d2d;
    font-family: 'Vazir', sans-serif;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    background: rgba(0, 0, 0, 0.1);
    box-shadow: 0 0 10px rgba(255, 72, 72, 0.3);
    outline: none;
}

.contact-form textarea {
    height: 150px;
    resize: none;
}

.submit-btn {
    background: linear-gradient(45deg, #ff4848, #eba100);
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    color: #FFFFFF;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 72, 72, 0.3);
}

.submit-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 72, 72, 0.5);
    background: linear-gradient(45deg, #ff0000, #FFCC70);
}

.contact-map {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.map-container {
    width: 100%;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(255, 72, 72, 0.3);
    transition: transform 0.3s ease;
}

.map-container:hover {
    transform: translateY(-5px);
}

.contact-details {
    text-align: right;
    font-size: 16px;
}

.contact-details p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s ease;
}

.contact-details p:hover {
    color: #ff4848;
}

.contact-details i {
    color: #ff4848;
    font-size: 20px;
    transition: transform 0.3s ease;
}

.contact-details p:hover i {
    transform: scale(1.2);
}

.footer {
    padding: 30px 50px;
    background: #FFFFFF;
    text-align: center;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links a {
    color: #362d2d;
    font-size: 24px;
    margin-left: 20px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
    color: #ff4848;
    transform: translateY(-3px);
}

@keyframes scaleIn {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes fadeInUp {
    0% {
        transform: translateY(20px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideIn {
    0% {
        width: 0;
        opacity: 0;
    }
    100% {
        width: 100px;
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 15px 20px;
        width: calc(100% - 20px);
        left: 10px;
        right: 10px;
        top: 10px;
    }

    .player-count {
        display: none;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 70px;
        right: 10px;
        width: calc(100% - 20px);
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(10px);
        border-radius: 15px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        display: block;
    }

    .nav-menu ul {
        flex-direction: column;
        padding: 20px;
        text-align: center;
    }

    .nav-menu ul li {
        margin: 15px 0; 
    }

    .nav-menu ul li a {
        color: #362d2d;
        font-size: 18px;
        font-weight: 500;
        display: block; 
    }

    .nav-menu ul li a:hover {
        color: #ff4848;
    }

    .hamburger {
        display: block;
    }

    .hero-content h1 {
        font-size: 40px;
    }

    .hero-content p {
        font-size: 18px;
    }

    .about-container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .about-text-content {
        text-align: center;
    }

    .contact-section {
        padding: 60px 20px; 
    }

    .contact-container {
        padding: 30px;
        margin: 0 10px;
    }

    .contact-content {
        flex-direction: column;
        gap: 40px;
    }

    .contact-form {
        padding: 40px; 
        border-radius: 20px; 
    }

    .contact-form h3 {
        font-size: 28px; 
        margin-bottom: 30px;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 15px; 
        margin-bottom: 25px;
        font-size: 16px;
        border-radius: 12px;
    }

    .contact-form textarea {
        height: 180px; 
    }

    .submit-btn {
        padding: 15px 40px; 
        font-size: 18px; 
        border-radius: 30px;
    }

    .contact-map {
        gap: 25px; 
    }

    .map-container {
        display: none;
    }

    .contact-details {
        text-align: center;
        font-size: 18px;
    }

    .contact-details p {
        justify-content: center; 
        margin-bottom: 15px;
    }

    .contact-details i {
        font-size: 24px; 
    }
}