@font-face {
    font-family: 'Rubik';
    src: url('https://fonts.gstatic.com/s/rubik/v14/iJWKBXyIfDnIV7nBrXyw023e.woff2') format('woff2');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Rubik', Arial, sans-serif;
}
.desc {
line-height: 1.5rem;
}
body {
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    direction: rtl;
}

.container {
    width: 90%;
    max-width: 1200px;
    background: #ffffff10;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    flex-wrap: wrap;
}

.header img {
    width: 100px;
    height: auto;
}

.header nav {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.header-gray {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    padding: 8px 16px;
    border-radius: 8px;
    transition: background 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.hemayat {
    background: #ff9800;
    color: #000;
    font-size: 1rem;
    font-weight: bold;
    padding: 10px 15px;
    border-radius: 12px;
    order: -1;
    margin-bottom: 10px;
}

.hemayat {
    background: #ffa726;
}

.test {
    backdrop-filter: blur(5px);
    text-decoration: none;
    transition: 0.2s ease-in-out;
    background: #ff9800;
    color: #000;
    font-size: 1rem;
    font-weight: bold;
    padding: 10px 15px;
    border-radius: 12px;
    margin-left: auto; 
    margin-right: 10px;
}

.test:hover {
    background: #ffa726;
    scale: 105%;
    opacity: 110%;
}

.test:active {
    background: #d18005;
}

.header-gray:hover {
    background: rgba(255, 255, 255, 0.2);
}

.main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.main h1 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.main p {
    font-size: 1rem;
    text-align: center;
    max-width: 800px;
    margin-bottom: 30px;
}

.main button {
    padding: 10px 20px;
    font-size: 1rem;
    color: #2575fc;
    background: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease, background 0.3s ease;
    margin-top: 20px;
}

.main button:hover {
    background: #f0f0f0;
    transform: scale(1.05);
}

.footer {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer p {
    font-size: 0.9rem;
}

/* Start Responsive Styles */
@media (max-width: 1024px) {
    .header {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .header img {
        margin-bottom: 10px;
    }

    .header nav {
        flex-direction: column;
        gap: 5px;
    }

    .header-gray {
        padding: 8px 12px;
    }

    .hemayat {
        font-size: 0.9rem;
        padding: 8px 12px;
    }

    .main h1 {
        font-size: 1.8rem;
    }

    .main p {
        font-size: 0.9rem;
        padding: 0 10px;
    }

    .main button {
        font-size: 0.9rem;
        padding: 8px 15px;
    }
    .test {
        margin-left: auto !important; 
        margin-right: auto !important;
    }
}

@media (max-width: 768px) {
    .header nav {
        flex-direction: column;
        gap: 8px;
    }

    .header-gray, .hemayat {
        font-size: 0.8rem;
        padding: 6px 10px;
    }

    .main h1 {
        font-size: 1.5rem;
    }

    .main p {
        font-size: 0.85rem;
    }

    .main button {
        font-size: 0.8rem;
        padding: 6px 12px;
    }

    .container {
        width: 95%;
    }
    .test {
        margin-left: auto !important; 
        margin-right: auto !important;
    }
}

@media (max-width: 480px) {
    .main h1 {
        font-size: 1.4rem;
    }

    .main p {
        font-size: 0.8rem;
    }

    .header nav {
        gap: 8px;
    }

    .header-gray, .hemayat {
        font-size: 0.75rem;
        padding: 5px 10px;
    }

    .main button {
        font-size: 0.75rem;
        padding: 5px 10px;
    }

    .container {
        width: 100%;
        padding: 10px;
    }
    .test {
        margin-left: auto !important; 
        margin-right: auto !important;
    }
}
.social-icons {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-icons a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.2s ease;
}

.social-icons a:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}
.enamad-badge {
    position: fixed;
    bottom: 15px;
    left: 15px;
    z-index: 1000;
}

.enamad-badge {
    position: fixed;
    bottom: 15px; /* فاصله از پایین */
    left: 15px; /* فاصله از سمت چپ */
    z-index: 1000; /* نمایش در بالاترین لایه */
}

.enamad-badge img {
    width: 80px; /* اندازه پیش‌فرض برای دسکتاپ */
    height: auto;
}


@media screen and (max-width: 768px) {
    .enamad-badge img {
        width: 60px; /* اندازه کوچک‌تر برای موبایل */
    }
}
