﻿
.demo-container {
    width: 100%;
    max-width: 500px;
    padding: 0 10px;
}

/* ===== زیر هدر شیشه‌ای ساده ===== */
.sub-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 18px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.7);
    position: sticky;
    top: 10px;
    z-index: 1000;
}

/* ===== دکمه بازگشت (فلش چپ) ===== */
.back-btn {
    background: rgba(255, 215, 0, 0.06);
    border: 1px solid rgba(255, 215, 0, 0.15);
    color: #ffd700;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.25s ease;
}

    .back-btn:hover {
        background: rgba(255, 215, 0, 0.15);
        border-color: #ffd700;
        transform: scale(1.05);
    }

    .back-btn:active {
        transform: scale(0.92);
    }

/* ===== دکمه تماس ===== */
.contact-btn {
    background: rgba(255, 215, 0, 0.08);
    border: 1px solid rgba(255, 215, 0, 0.2);
    color: #ffd700;
    padding: 8px 18px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
}

    .contact-btn i {
        font-size: 14px;
    }

    .contact-btn:hover {
        background: rgba(255, 215, 0, 0.16);
        border-color: #ffd700;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(255, 215, 0, 0.1);
    }

    .contact-btn:active {
        transform: scale(0.95);
    }

/* ===== متن وسط ===== */
.sub-header-title {
    color: rgba(255, 215, 0, 0.5);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

    .sub-header-title span {
        color: #ffd700;
    }

/* ===== موبایل ===== */
@media (max-width: 768px) {
    .sub-header {
        padding: 10px 14px;
        border-radius: 16px;
        top: 8px;
    }

    .back-btn {
        width: 38px;
        height: 38px;
        font-size: 16px;
        border-radius: 10px;
    }

    .contact-btn {
        padding: 6px 14px;
        font-size: 12px;
        gap: 6px;
        border-radius: 10px;
    }

        .contact-btn i {
            font-size: 12px;
        }

    .sub-header-title {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .sub-header {
        padding: 8px 12px;
        border-radius: 14px;
        top: 6px;
    }

    .back-btn {
        width: 34px;
        height: 34px;
        font-size: 14px;
        border-radius: 8px;
    }

    .contact-btn {
        padding: 5px 12px;
        font-size: 10px;
        gap: 5px;
        border-radius: 8px;
    }

        .contact-btn i {
            font-size: 11px;
        }

    .sub-header-title {
        font-size: 10px;
    }
}

/* ===== فقط موبایل و تبلت ===== */
@media (min-width: 769px) {
    .sub-header {
        display: none !important;
    }
}

.content {
    margin-top: 20px;
    color: rgba(255, 215, 0, 0.2);
    text-align: center;
    padding: 40px 20px;
    font-size: 13px;
    border: 1px dashed rgba(255, 215, 0, 0.06);
    border-radius: 16px;
}
