@font-face {
    font-family: 'IRANYekan';
    src: url('assets/fonts/iranyekanwebregular.woff2') format('woff2'),
    font-weight: normal;
    font-style: normal;
    font-display: swap; /* برای بهبود تجربه بارگذاری فونت */
}

@font-face {
    font-family: 'IRANYekan';
    src: url('assets/fonts/iranyekanwebbold.woff2') format('woff2'),
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary-gold: #D4AF37; /* طلایی اصلی */
    --secondary-gold: #FFD700; /* طلایی روشن‌تر */
    --dark-bg: #1a1a1a; /* پس‌زمینه تیره */
    --light-text: #f0f0f0; /* متن روشن */
    --semi-transparent-white: rgba(255, 255, 255, 0.1); /* پس‌زمینه کانتینر شیشه‌ای */
    --soft-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37); /* سایه ملایم */
    --border-color: rgba(255, 255, 255, 0.18); /* رنگ بوردر شیشه‌ای */
}

/* Base Styles */
body {
    margin: 0;
    padding: 0;
    font-family: 'IRANYekan', sans-serif;
    background: var(--dark-bg); /* پس‌زمینه تیره */
    background-image: url('assets/background.jpg'); /* تصویر پس‌زمینه */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--light-text);
    text-align: center;
    overflow: hidden; /* جلوگیری از اسکرول بی مورد */
}

/* Container Styling (Glassmorphism Effect) */
.container {
    background: var(--semi-transparent-white);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: var(--soft-shadow);
    backdrop-filter: blur(10px); /* افکت شیشه مات */
    -webkit-backdrop-filter: blur(10px); /* پشتیبانی مرورگرهای وب‌کیت */
    padding: 40px;
    max-width: 800px;
    width: 90%;
    box-sizing: border-box;
    opacity: 0; /* برای انیمیشن فید این */
    transform: translateY(20px); /* برای انیمیشن فید این */
    animation: fadeInSlideUp 1s ease-out forwards;
}

/* Animations */
@keyframes fadeInSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Logo */
.logo {
    margin-bottom: 30px;
}

.logo img {
    max-width: 100px;
    height: auto;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.4)); /* سایه طلایی برای لوگو */
}

/* Headings and Paragraphs */
h1 {
    font-size: 3.2em;
    margin-bottom: 15px;
    color: var(--primary-gold);
    font-weight: bold;
    line-height: 1.3;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3); /* سایه متنی برای h1 */
}

p {
    font-size: 1.1em;
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: var(--light-text);
}

/* Countdown */
.countdown-wrapper {
    display: flex;
    justify-content: center;
    gap: 30px; /* فاصله بین آیتم‌ها */
    margin-bottom: 40px;
    flex-wrap: wrap; /* برای واکنش‌گرایی بهتر */
}

.countdown-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 20px 25px;
    min-width: 100px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
}

.countdown-item:hover {
    transform: translateY(-5px); /* افکت شناور روی هاور */
}

.countdown-item span {
    font-size: 3.5em;
    font-weight: bold;
    color: var(--secondary-gold);
    margin-bottom: 5px;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
}

.countdown-item small {
    font-size: 0.9em;
    color: var(--light-text);
    opacity: 0.8;
}

/* Newsletter Section */
.newsletter h3 {
    font-size: 1.3em;
    margin-bottom: 20px;
    color: var(--primary-gold);
    font-weight: normal;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.newsletter-form input[type="email"] {
    padding: 12px 20px;
    width: 300px;
    max-width: 100%;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--light-text);
    font-family: IRANYekan;
    font-size: 1em;
    outline: none;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.newsletter-form input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form input[type="email"]:focus {
    border-color: var(--primary-gold);
    background-color: rgba(255, 255, 255, 0.15);
}

.newsletter-form button {
    padding: 12px 25px;
    background: linear-gradient(45deg, var(--primary-gold), var(--secondary-gold));
    color: var(--dark-bg); /* متن دکمه تیره روی پس زمینه طلایی */
    border: none;
    border-radius: 8px;
    font-family: IRANYekan;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.newsletter-form button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}
@media (max-width: 600px) {
    .newsletter {
        display: none;
    }
}

/* Social Links */
.social-links {
    margin-top: 40px;
    margin-bottom: 30px;
}

.social-links a {
    display: inline-block;
    margin: 0 15px;
    font-size: 2.2em;
    color: var(--light-text);
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-gold);
    transform: scale(1.1); /* افکت بزرگ شدن روی هاور */
}

/* Footer Text */
.footer-text {
    margin-top: 20px;
    font-size: 0.85em;
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 30px;
        width: 95%;
    }

    h1 {
        font-size: 2.5em;
    }

    p {
        font-size: 1em;
    }

    .countdown-wrapper {
        gap: 20px;
    }

    .countdown-item {
        padding: 15px 20px;
        min-width: 80px;
    }

    .countdown-item span {
        font-size: 2.5em;
    }

    .newsletter-form input[type="email"] {
        width: 100%; /* در موبایل تمام عرض را بگیرد */
        margin-bottom: 10px;
    }

    .newsletter-form button {
        width: 100%; /* در موبایل تمام عرض را بگیرد */
    }

    .social-links a {
        font-size: 1.8em;
        margin: 0 10px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2em;
    }

    .logo img {
        max-width: 120px;
    }

    .countdown-item {
        min-width: 60px;
        padding: 10px 15px;
    }

    .countdown-item span {
        font-size: 2em;
    }
}