/* --- Google Font --- */
@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;700;800&display=swap');

/* --- CSS Variables for easy customization --- */
:root {
    --primary-color: #c792ea; /* A soft purple */
    --background-start: #1e132b;
    --background-end: #121212;
    --text-color: #f0f0f0;
    --card-background: rgba(255, 255, 255, 0.05);
    --card-border: rgba(255, 255, 255, 0.1);
}

/* --- Animated Gradient Background --- */
@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* --- Entry Animation for the card --- */
@keyframes fadeInCard {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- General Body Styles --- */
body {
    font-family: 'Vazirmatn', sans-serif;
    color: var(--text-color);
    background: linear-gradient(-45deg, var(--background-start), #3b164a, #1a1a2e, var(--background-end));
    background-size: 400% 400%;
    animation: gradientBG 20s ease infinite;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* --- Language Switcher --- */
.lang-switcher {
    position: absolute;
    top: 25px;
    right: 35px;
    z-index: 10;
    background: rgba(0,0,0,0.2);
    padding: 5px 10px;
    border-radius: 20px;
}

.lang-switcher a {
    color: #aaa;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: bold;
    margin: 0 8px;
    transition: color 0.3s ease;
    cursor: pointer;
}

.lang-switcher a:hover {
    color: #fff;
}

.lang-switcher a.active {
    color: var(--primary-color);
    cursor: default;
}

/* --- Main Container --- */
.container {
    width: 100%;
    max-width: 650px;
}

/* --- Glassmorphism Card --- */
.card {
    background: var(--card-background);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 50px 40px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); /* For Safari */
    animation: fadeInCard 1s ease-out forwards;
}

/* --- Content Styling --- */
.status {
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.domain-name {
    /* Responsive font size: min 1.8rem, ideal 8vw, max 3.5rem */
    font-size: clamp(1.8rem, 8vw, 3.5rem);
    font-weight: 800;
    color: #ffffff;
    margin: 10px 0;
    letter-spacing: 1px;
    text-shadow: 0 0 15px rgba(255,255,255,0.1);
    white-space: nowrap; /* Prevents the domain from breaking into two lines */
}

.description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #c0c0c0;
    margin: 20px 0 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.or-text {
    margin: 25px 0 15px;
    color: #888;
}

.contact-info {
    font-size: 1rem;
    color: var(--primary-color);
    letter-spacing: 0.5px;
}

/* --- CTA Button --- */
.cta-button {
    display: inline-block;
    background: var(--primary-color);
    color: #000;
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 0 20px rgba(199, 146, 234, 0.4);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 35px rgba(199, 146, 234, 0.7);
    background: #d4a3f5;
}

/* --- Footer --- */
.footer {
    margin-top: 30px;
    color: #777;
    font-size: 0.9rem;
}

/* --- Responsive Adjustments --- */
@media (max-width: 600px) {
    .card {
        padding: 40px 25px;
    }
    .lang-switcher {
        top: 15px;
        right: 15px;
    }
}

/* --- LTR Language Specific Styles --- */
/* Move language switcher to the left for LTR languages */
html[dir="ltr"] .lang-switcher {
    right: auto;
    left: 35px;
}

@media (max-width: 600px) {
    html[dir="ltr"] .lang-switcher {
        right: auto;
        left: 15px;
    }
}