﻿
/* ============================================================
   CTA (Call To Action)
   ============================================================ */
.cta-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin: 30px 0;
}

.cta-button {
    background: linear-gradient(135deg, #3aa2e0, #36c57d);
    color: #fff !important;
    text-decoration: none !important;
    font-size: 18px;
    font-weight: bold;
    padding: 15px 30px;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
}
.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    color: #ffff00 !important;
}

.cta-secondary {
    background: linear-gradient(135deg, #36c57d, #3aa2e0);
}

/* ============================================================
   عنوان اصلی گالری‌ها
   ============================================================ */
.gallery-main-title {
    border-radius: 10px !important;
    padding: 10px 20px !important;
    text-align: right;
    margin: 10px 0 ;
    font-size: 14pt !important;
    font-weight: bold !important;
    max-width: 100% !important;
    display: block !important;
    box-sizing: border-box !important;
}

/* ============================================================
   گالری محصول خدمات (Link Gallery)
   ============================================================ */
.link-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 20px 0;
    justify-content: flex-start;
    direction: rtl;
}

.link-card {
    flex: 1 1 calc(25% - 20px);
    min-width: 200px;
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    background: #fff;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}
.link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.link-icon {
    width: 100%;
    /* height: 180px; */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    background: #f5f5f5;
    max-width: 400px;
}

.link-card h4 {
    margin: 10px 0;
    font-size: 16px;
}
.link-card h4 a {
    color: #333;
    text-decoration: none;
}
.link-card h4 a:hover {
    color: #0066cc;
}

.link-card p {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin: 10px 0;
}

.link-price {
    display: inline-block;
    background: #28a745;
    color: #fff;
    padding: 6px 16px;
    border-radius: 5px;
    font-size: 13pt;
    font-weight: bold;
    margin: 8px 2px;
}

.link-more {
    display: inline-block;
    margin-top: 10px;
    padding: 6px 16px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 13pt;
    font-weight: bold;
    transition: all 0.3s ease;
}
.link-more.btn-view {
    background: #0066cc;
    color: #fff;
}
.link-more.btn-view:hover {
    background: #0052a3;
    text-decoration: none;
}
.link-more.btn-buy {
    display: inline-block;
    background: #28a745;
    color: #fff;
    padding: 6px 16px;
    border-radius: 5px;
    font-size: 13pt;
    font-weight: bold;
    margin: 8px 2px;
}
.link-more.btn-buy:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

/* ============================================================
   FAQ (سوالات متداول)
   ============================================================ */
.faq-item {
    border: 1px solid #4CAF50;
    border-radius: 8px;
    margin: 10px 0;
    padding: 10px;
    background: #f9fff9;
}

.faq-question {
    margin: 0;
    cursor: pointer;
    color: #2e7d32;
    text-align: justify;
}
.faq-question:hover {
    color: #1b5e20;
}

.faq-answer {
    display: none;
    margin-top: 8px;
    color: #333;
}
.faq-item.active .faq-answer {
    display: block;
    text-align: justify;
}
/* ============================================================
   گالری تصویر - استایل پایه (بدون flex، CSS Grid در JS اعمال میشه)
   ============================================================ */
.image-gallery {
    display: grid;
    gap: 20px;
    margin: 0;
    direction: rtl;
    width: 100%;
    box-sizing: border-box;
    /* grid-template-columns از JS اعمال میشه */
}

.image-gallery-item-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 12px;
    cursor: pointer;
    box-sizing: border-box;
    width: 100%;
    min-width: 0; /* مهم: اجازه بده کوچکتر از محتوا بشه */
    max-width: 100% !important;
}

.image-gallery-item-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.image-gallery-item-wrapper .image-gallery-item {
    display: block;
    width: 100%;
    text-decoration: none;
    flex: none;
    max-width: 100%;
    min-width: 0;
    text-align: center;
}

.image-gallery-item-wrapper .image-gallery-item img {
    width: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 10px 10px 0 0;
}

.image-gallery-item-wrapper .video-title-overlay {
    text-align: center;
    padding: 10px 8px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    width: 100%;
    background: #fff;
    border-top: 1px solid #eee;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 0 10px 10px;
    box-sizing: border-box;
}

/* ============================================================
   گالری تصویر داینامیک - حداقل 2 ستون در موبایل
   ============================================================ */

/* دسکتاپ (بالای 768px): auto-fit بر اساس min-width */
.image-gallery-dynamic {
    grid-template-columns: repeat(auto-fit, minmax(var(--gallery-min-width, 200px), 1fr));
}

/* تبلت (481px تا 768px): حداقل 2 ستون، حداکثر 4 ستون */
@media (max-width: 768px) {
    .image-gallery-dynamic {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

/* موبایل (زیر 480px): همیشه 2 ستون */
@media (max-width: 480px) {
    .image-gallery-dynamic {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }
}

/* موبایل خیلی کوچک (زیر 360px): همیشه 2 ستون با فاصله کمتر */
@media (max-width: 360px) {
    .image-gallery-dynamic {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
    }
}

/* ============================================================
   توضیحات زیر تصویر (جدید)
   ============================================================ */
.image-gallery-item-wrapper .image-desc-overlay {
    text-align: center;
    padding: 5px 8px;
    font-size: 12px;
    color: #666;
    width: 100%;
    background: #ffffff;
    min-height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
     white-space: pre-line !important;
}


/* ============================================================
   گالری ویدئو
   ============================================================ */
.video-title-overlay {
    text-align: center;
    padding: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border-radius: 0 0 10px 10px;
    margin-top: -5px;
    font-size: 13px;
    font-weight: bold;
}

/* ============================================================
   نظرات مشتریان (Testimonials)
   ============================================================ */
.testimonials-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
    margin: 30px 0;
    direction: rtl;
}

.testimonial-card {
    background: #fff;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    flex: 0 1 calc(33% - 65px);
    min-width: 260px;
    border: 1px solid #f0f0f0;
}
.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ff4757;
}

.testimonial-avatar-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: white;
}

.testimonial-info h4 {
    margin: 0 0 5px 0;
    font-size: 16px;
    color: #333;
}
.testimonial-info span {
    font-size: 13px;
    color: #777;
}

.testimonial-rating {
    color: #ffc107;
    font-size: 16px;
    letter-spacing: 2px;
    margin-right: auto;
}

.testimonial-text {
    font-size: 14px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 20px;
    text-align: justify;
}

.testimonial-date {
    font-size: 12px;
    color: #aaa;
    border-top: 1px solid #eee;
    padding-top: 15px;
    text-align: left;
}

/* ============================================================
   بلاک‌کوت (نقل‌قول)
   ============================================================ */
blockquote {
    background: linear-gradient(135deg, #f3f9f5 0%, #d0ebe0 100%);
    border-left: 8px solid #4a90e2;
    border-radius: 16px;
    padding: 20px 18px;
    font-size: 12pt;
    color: #1e2a3a;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1), 0 4px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    width: fit-content;
    max-width: 95%;
    margin: 20px auto;
    line-height: 200%;
}
blockquote:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.15);
}
blockquote p {
    margin: 0;
}

/* ============================================================
   گالری لینک ساده (مطالب مشابه)
   ============================================================ */
.simple-link-gallery {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    border: 1px solid #eaeef2;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    direction: rtl;
}
.simple-link-gallery li {
    border-bottom: 1px solid #f0f0f0;
}
.simple-link-gallery li:last-child {
    border-bottom: none;
}
.simple-link-gallery li a {
    display: block;
    padding: 14px 20px;
    color: #2c3e50;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.2s ease;
    background: #fff;
}
.simple-link-gallery li a:hover {
    background: #f8f9fa;
    color: #0066cc;
    padding-right: 25px;
}

/* ============================================================
   شمارنده آمار (Counter)
   ============================================================ */
.counter-section {
    background: #1a1a2e;
    background-image: radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 30%), radial-gradient(circle at 90% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 40%);
    padding: 60px 20px;
    margin: 40px 0;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}
.counter-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.counter-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.counter-item {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: 25px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.counter-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.counter-icon {
    font-size: 50px;
    margin-bottom: 20px;
    color: #ff4757;
    display: inline-block;
    transition: transform 0.3s ease;
}
.counter-item:hover .counter-icon {
    transform: scale(1.1);
}

.counter-number-wrapper {
    margin-bottom: 15px;
}
.counter-number {
    font-size: 48px;
    font-weight: 800;
    color: #ff4757;
    line-height: 1;
    display: inline-block;
}
.counter-suffix {
    font-size: 32px;
    font-weight: 700;
    color: #ff4757;
    margin-right: 5px;
}
.counter-label {
    font-size: 16px;
    color: #e0e0e0;
    font-weight: 500;
    margin-top: 10px;
}

.counter-progress {
    width: 80%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    margin: 15px auto 0;
    overflow: hidden;
}
.counter-progress-bar {
    width: 0%;
    height: 100%;
    background: #ff4757;
    border-radius: 4px;
    transition: width 1.5s ease-out;
}

/* ============================================================
   پکیج قیمت (Pricing Card)
   ============================================================ */
.pricing-section {
    margin: 50px 0;
    padding: 20px;
    direction: rtl;
}
.pricing-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    direction: rtl;
}
.pricing-card {
    flex: 1;
    min-width: 220px;
    max-width: calc(20% - 25px);
    background: #fff;
    border-radius: 20px;
    padding: 25px 20px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid #eee;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}
.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}
.pricing-card-featured {
    border: 2px solid #ffd700;
    background: linear-gradient(135deg, #fff, #fff9f0);
    transform: scale(1.02);
}
.pricing-card-featured:hover {
    transform: translateY(-10px) scale(1.02);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: #ffd700;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.pricing-icon {
    font-size: 48px;
    margin-bottom: 15px;
}
.pricing-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #ff4757;
}
.pricing-price {
    font-size: 32px;
    font-weight: 800;
    color: #ff4757;
    margin-bottom: 5px;
}
.pricing-period {
    font-size: 14px;
    color: #999;
    margin-bottom: 20px;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: right;
}
.pricing-features li {
    padding: 8px 0;
    font-size: 14px;
    color: #555;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
}
.pricing-features li .check {
    color: #28a745;
    font-size: 18px;
}
.pricing-features li .cross {
    color: #dc3545;
    font-size: 18px;
}

.pricing-btn {
    display: inline-block;
    background: #ff4757;
    color: #fff;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    margin-top: 15px;
}
.pricing-btn:hover {
    background: #e03a4a;
    transform: scale(1.05);
    color: #fff;
}
.pricing-card-featured .pricing-btn {
    background: #ffd700;
    color: #333;
}
.pricing-card-featured .pricing-btn:hover {
    background: #e6c200;
}

/* ============================================================
   جدول قیمت
   ============================================================ */
.price-table-container {
    margin: 30px 0;
    overflow-x: auto;
    overflow-y: visible;
    direction: rtl;
    width: 100%;
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
    position: relative;
}

.price-table-container::-webkit-scrollbar {
    height: 8px;
}
.price-table-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}
.price-table-container::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}
.price-table-container::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.price-table {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    overflow: hidden;
}

.price-table thead tr {
    background: linear-gradient(135deg, #ff4757, #ff6b81);
}
.price-table th {
    color: #fff;
    padding: 15px;
    font-size: 15px;
    font-weight: bold;
    white-space: nowrap;
}
.price-table tbody tr {
    transition: all 0.3s ease;
}
.price-table tbody tr:hover td {
    background: rgba(46, 213, 115, 0.2) !important;
    transform: scale(1.01);
}
.price-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}
.price-table tbody tr:last-child td {
    border-bottom: none;
}

@media (max-width: 768px) {
    .testimonial-card {
        flex: 0 1 100%;
    }
    .counter-section {
        padding: 40px 15px;
    }
    .counter-number {
        font-size: 32px;
    }
    .counter-suffix {
        font-size: 24px;
    }
    .counter-icon {
        font-size: 40px;
    }
    .counter-label {
        font-size: 13px;
    }
    .counter-item {
        padding: 15px 10px;
        min-width: 150px;
    }
    .pricing-card {
        max-width: 100%;
    }
    .pricing-section {
        padding: 10px;
    }
    
    .price-table-container {
        margin: 20px 0;
        border-radius: 12px;
        border: 1px solid #eee;
        background: #fafafa;
        padding: 5px 0;
    }
    .price-table {
        min-width: 500px;
        border-radius: 12px;
    }
    .price-table th,
    .price-table td {
        padding: 8px 12px;
        font-size: 12px;
        white-space: nowrap;
    }
    .price-table th {
        font-size: 11px;
        padding: 10px 12px;
    }
    .price-table td {
        font-size: 11px;
        padding: 8px 12px;
    }
    .price-table-container {
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }
    .price-table-container::after {
        content: "↔ برای دیدن بقیه جدول اسکرول کنید";
        display: block;
        text-align: center;
        font-size: 11px;
        color: #999;
        padding: 8px 0 4px 0;
        font-family: IRANSans, Tahoma, sans-serif;
    }
}

@media (max-width: 576px) {
    .link-card {
        flex: 0 1 100% !important;
        max-width: 100% !important;
    }
    .link-icon {
    }
}

@media (max-width: 480px) {
    .price-table {
        min-width: 400px;
    }
    .price-table th,
    .price-table td {
        padding: 6px 8px;
        font-size: 10px;
    }
    .price-table th {
        font-size: 10px;
    }
    .price-table td {
        font-size: 10px;
    }
}


/* ============================================================
   🎬 Video Gallery System
   ============================================================ */

.video-gallery-wrapper {
    width: 100%;
    box-sizing: border-box;
    direction: rtl;
    margin: 20px 0;
}

.video-gallery-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
}

.video-gallery-item {
    flex: 0 0 auto;
    width: 280px;
    max-width: 100%;
    box-sizing: border-box;
    background: #111;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

/* لینک روی عکس — اینجا کلاس popup-media هست */
.video-gallery-item .popup-media {
    display: block;
    position: relative;
    text-decoration: none;
    overflow: hidden;
    background: #000;
}

/* 🎯 دکمه پلی با CSS — به جای span داخل HTML */
.video-gallery-item .popup-media::after {
    content: '▶';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    line-height: 1;
    padding-left: 4px;
    pointer-events: none;
    box-sizing: border-box;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    animation: videoPlayPulse 2.2s infinite;
    z-index: 2;
}

.video-gallery-item:hover .popup-media::after {
    background: rgba(220, 53, 69, 0.95);
    transform: translate(-50%, -50%) scale(1.12);
    animation: none;
    box-shadow: 0 0 0 8px rgba(220, 53, 69, 0.2);
}

@keyframes videoPlayPulse {
    0%   { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.5); }
    70%  { box-shadow: 0 0 0 14px rgba(255, 255, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

/* thumbnail */
.video-thumb {
    display: block;
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.4s ease, filter 0.3s ease;
    filter: brightness(0.95);
    position: relative;
    z-index: 1;
}

.video-gallery-item:hover .video-thumb {
    transform: scale(1.06);
    filter: brightness(1);
}

/* عنوان زیر ویدئو */
.video-item-title {
    padding: 12px 14px;
    background: #1a1a1a;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    line-height: 1.5;
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============================================================
   📱 Responsive
   ============================================================ */
@media (max-width: 768px) {
    .video-gallery-grid { gap: 14px; }

    .video-gallery-item {
        width: calc(50% - 7px);
        max-width: 320px;
        border-radius: 10px;
    }

    .video-thumb { height: 150px; }

    .video-gallery-item .popup-media::after {
        width: 48px;
        height: 48px;
        font-size: 16px;
    }

    .video-item-title {
        font-size: 12px;
        padding: 10px;
        min-height: 38px;
    }
}

@media (max-width: 480px) {
    .video-gallery-wrapper { margin: 12px 0; }
    .video-gallery-grid { gap: 12px; }

    .video-gallery-item {
        width: 100%;
        max-width: 100%;
        border-radius: 10px;
    }

    .video-thumb { height: 190px; }

    .video-gallery-item .popup-media::after {
        width: 54px;
        height: 54px;
        font-size: 18px;
        padding-left: 5px;
    }

    .video-item-title {
        font-size: 13px;
        padding: 10px 12px;
        min-height: 40px;
    }
}



/* ============================================================
   🌑 جعبه نقل قول تیره با درخشش (Dark Glow Box)
   ============================================================ */

.dark-glow-box {
    display: block;
    box-sizing: border-box;
    width: 100%;
    max-width: 900px;
    margin: 24px auto;
    padding: 28px 32px;
    border-radius: 20px;
    background: rgb(0 0 0 / 70%);
    color: #ffffff;
    font-size: 16px;
    line-height: 2;
    text-align: right;
    direction: rtl;
    -webkit-box-shadow: inset 0px -1px 32px -10px rgba(0, 0, 0, 0.75),
                        1px 6px 32px -10px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: inset 0px -1px 32px -10px rgba(0, 0, 0, 0.75),
                     1px 6px 32px -10px rgba(0, 0, 0, 0.75);
    box-shadow: inset 0px -1px 32px -10px rgba(0, 0, 0, 0.75),
                1px 6px 32px -10px rgba(0, 0, 0, 0.75);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.dark-glow-box p {
    margin: 0 0 12px;
    color: inherit;
}

.dark-glow-box p:last-child {
    margin-bottom: 0;
}

.dark-glow-box a {
    color: #7fd8ff;
    text-decoration: underline;
}

.dark-glow-box strong,
.dark-glow-box b {
    color: #ffffff;
    font-weight: 700;
}

/* افکت هاور روی دسکتاپ */
.dark-glow-box:hover {
    transform: translateY(-2px);
    -webkit-box-shadow: inset 0px -1px 32px -10px rgba(0, 0, 0, 0.85),
                        1px 10px 40px -10px rgba(0, 0, 0, 0.85);
    -moz-box-shadow: inset 0px -1px 32px -10px rgba(0, 0, 0, 0.85),
                     1px 10px 40px -10px rgba(0, 0, 0, 0.85);
    box-shadow: inset 0px -1px 32px -10px rgba(0, 0, 0, 0.85),
                1px 10px 40px -10px rgba(0, 0, 0, 0.85);
}

/* ============================================================
   📱 Responsive
   ============================================================ */
@media (max-width: 768px) {
    .dark-glow-box {
        margin: 16px auto;
        padding: 20px 22px;
        border-radius: 16px;
        font-size: 15px;
        line-height: 1.9;
    }
}

@media (max-width: 480px) {
    .dark-glow-box {
        margin: 12px auto;
        padding: 16px 18px;
        border-radius: 14px;
        font-size: 14px;
        line-height: 1.85;
    }
}