/* --- Global Styles & Variables --- */
:root {
    --primary-blue: #0a192f;
    /* Dark blue from logo */
    --accent-gold: #ffc843;
    /* Gold/Yellow from logo */
    --text-light: #e6f1ff;
    /* A light, soft white for text */
    --text-secondary: #8892b0;
    --font-family: 'Tajawal', sans-serif;
    /* Arabic Font */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background-color: var(--primary-blue);
    color: var(--text-light);
    overflow: hidden;
    /* Prevents scrollbars */
}

/* --- Particles Background --- */
#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
}

/* --- Content Layout --- */
.content-container {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    text-align: center;
}

.card {
    background: rgba(10, 25, 47, 0.75);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 200, 67, 0.2);
    border-radius: 15px;
    padding: 40px 50px;
    max-width: 700px;
    width: 100%;
    animation: fadeIn 1.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Logo & Typography --- */
.logo {
    max-width: 250px;
    width: 100%;
    height: auto;
    margin-bottom: 30px;
}

.main-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.4;
    text-shadow: 0 0 15px rgba(255, 200, 67, 0.4);
}

.subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 550px;
    margin: 0 auto 35px auto;
}

/* --- Social Media Links --- */
.social-links a {
    color: var(--text-secondary);
    font-size: 1.5rem;
    margin: 0 15px;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-gold);
    transform: translateY(-5px);
}

/* --- Footer --- */
.main-footer {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    z-index: 1;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    .card {
        padding: 30px 25px;
    }

    .main-title {
        font-size: 2.1rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .logo {
        max-width: 200px;
    }
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    .card {
        padding: 30px 25px;
    }

    .main-title {
        font-size: 2.1rem;
        /* فونت عنوان اصلی کوچکتر می‌شود */
    }

    .subtitle {
        font-size: 1rem;
        /* فونت متن کوچکتر می‌شود */
    }

    .logo {
        max-width: 200px;
        /* اندازه لوگو کوچکتر می‌شود */
    }
}