@import url("bootstrap.rtl.min.css");
@import url("bootstrap-icons.min.css");
@import url(vazirmatn_font.css);

:root {
    --brand: rgb(163, 24, 24);
    --brand-dark: #5d0d0d;
    --soft: #f7eaea;
    --ink: #331818;
    --muted: #7d6b6b;
}

* {
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    font-family: "Vazirmatn", sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at 15% 15%, rgba(131, 22, 22, 0.1), transparent 28%),
        radial-gradient(circle at 85% 85%, rgba(131, 22, 22, 0.08), transparent 30%),
        #fbf7f7;
}

.sale-card {
    width: 100%;
    max-width: 680px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #eee4e4;
    border-radius: 28px;
    box-shadow: 0 24px 70px rgba(70, 20, 20, 0.1);
}

.top-line {
    height: 7px;
    background: linear-gradient(90deg, #5d0d0d, #a72828, #dfa5a5);
}

.domain-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--soft);
    color: var(--brand-dark);
    font-size: .9rem;
    font-weight: 600;
}

.domain-name {
    direction: ltr;
    font-size: clamp(2.2rem, 8vw, 4rem);
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -1.5px;
    color: var(--brand-dark);
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 15px;
    text-decoration: none;
    color: var(--ink);
    background: #fdfbfb;
    border: 1px solid #f0e8e8;
    border-radius: 14px;
    transition: .2s ease;
}

.contact-link:hover {
    transform: translateY(-2px);
    border-color: #deb7b7;
    background: #faf2f2;
    color: var(--brand-dark);
}

.contact-icon {
    display: grid;
    place-items: center;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    color: var(--brand);
    background: var(--soft);
    font-size: 1.1rem;
    font-weight: 700;
}

.contact-label {
    display: block;
    color: var(--muted);
    font-size: .78rem;
    margin-bottom: 2px;
}

.contact-value {
    display: block;
    direction: ltr;
    text-align: right;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.footer-note {
    color: #9a8a8a;
    font-size: .82rem;
}

.text-telegram {
    color: #0088CC;
}
.text-bale {
    color: #0cbc8d;
}
.text-whatsapp {
    color: #25D366;
}
.icon-reverse {
    display: inline-block;
    transform: scaleY(-1);
}

@media (max-width: 575.98px) {
    body {
        padding: 14px;
    }

    .sale-card {
        border-radius: 22px;
    }

    .card-content {
        padding: 28px 20px !important;
    }
}