/* ===== فونت ایران‌سنس ===== */
@font-face {
    font-family: iransans;
    src: url("/IRANSansXFaNum-Regular.ttf");
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ===== بدنه ===== */
body {
    min-height: 100vh;
    font-family: iransans, 'Segoe UI', Tahoma, sans-serif;
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    color: #fff;
    line-height: 1.8;
}

/* ===== Header ===== */
.header {
    text-align: center;
    padding: 40px 20px 25px;
}

.header h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 6px;
}

.header p {
    font-size: 16px;
    opacity: 0.8;
}

/* ===== Container اصلی ===== */
.container {
    max-width: 960px;
    margin: 0 auto 50px;
    padding: 0 16px;
}

/* ===== لیست آیتم‌ها ===== */
.list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ===== کارت آیتم‌ها ===== */
.copy-btn {
    margin-top: 6px;
    padding: 5px 12px;
    font-size: 12px;
    border: none;
    border-radius: 999px;
    background: #00c6ff;
    color: #000;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.2s;
}

.copy-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* موبایل */
@media (max-width: 420px) {
    .copy-btn {
        font-size: 11px;
        padding: 4px 10px;
    }
}

.item {
    background: rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 16px 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.35);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.item:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.45);
}

/* ===== متن آیتم ===== */
.value {
    font-size: 16px;
    word-break: break-word;
    font-family: iransans;
}

/* لینک‌ها */
.item a {
    color: #9be7ff;
    text-decoration: none;
}

.item a:hover {
    text-decoration: underline;
}

/* ===== برچسب ===== */
.badge {
    align-self: flex-start;
    font-size: 13px;
    background: rgba(0,0,0,0.45);
    padding: 5px 12px;
    border-radius: 999px;
    font-family: iransans;
    font-weight: 500;
}

/* ===== Footer ===== */
.footer {
    text-align: center;
    opacity: 0.6;
    margin-top: 30px;
    font-size: 14px;
}

/* ===== موبایل کوچک ===== */
@media (max-width: 420px) {
    .header h1 {
        font-size: 26px;
    }

    .header p {
        font-size: 14px;
    }

    .value {
        font-size: 15px;
    }

    .badge {
        font-size: 12px;
        padding: 4px 10px;
    }

    .item {
        padding: 14px 16px;
    }
}

/* ===== تبلت ===== */
@media (min-width: 421px) and (max-width: 767px) {
    .header h1 {
        font-size: 28px;
    }

    .header p {
        font-size: 15px;
    }

    .value {
        font-size: 16px;
    }

    .badge {
        font-size: 13px;
        padding: 5px 12px;
    }
}

/* ===== دسکتاپ ===== */
@media (min-width: 768px) {
    .header h1 {
        font-size: 34px;
    }

    .header p {
        font-size: 16px;
    }

    .container {
        padding: 0 24px;
    }

    .item {
        flex-direction: row; /* افقی در دسکتاپ */
        align-items: center;
        justify-content: space-between;
        gap: 20px;
    }

    .value {
        font-size: 17px;
    }

    .badge {
        align-self: center;
    }
}

/* ===== دسکتاپ بزرگ ===== */
@media (min-width: 1024px) {
    .header h1 {
        font-size: 36px;
    }

    .value {
        font-size: 18px;
    }

    .badge {
        font-size: 14px;
        padding: 6px 14px;
    }
}
