* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    background-color: #0a0a0a;
    color: #f2f6fb;
    line-height: 1.7;
    position: relative;
}
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    background-image: linear-gradient(rgba(10,10,10,0.72), rgba(10,10,10,0.72)), url('../img/hero-bg.jpg');
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

/* هدر */
.site-header {
    background: transparent;
    position: sticky;
    top: 0;
    z-index: 10;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    flex-wrap: wrap;
    gap: 12px;
}

.logo {
    font-size: 22px;
    font-weight: bold;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo span { color: #fff; opacity: 0.6; }
.logo-img {
    height: 44px;
    width: auto;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
    row-gap: 14px;
}

.nav-auth-group {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-right: 8px;
    padding-right: 8px;
    border-right: 1px solid rgba(255,255,255,0.2);
}

.main-nav a {
    font-size: 15px;
    color: #d4d4d4;
    position: relative;
    transition: color 0.2s;
}
.main-nav a:hover { color: #fff; }

.nav-highlight {
    background: #ffffff;
    color: #0a0a0a !important;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    transition: 0.2s;
}
.nav-highlight:hover {
    background: #ffd6de;
    color: #0a0a0a !important;
}

.badge {
    background: #1c0a0d;
    color: #ffffff;
    font-size: 11px;
    padding: 1px 6px;
    border-radius: 10px;
    margin-right: 4px;
    font-weight: 700;
}

.btn-outline {
    border: 1px solid #ffffff;
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 8px;
    transition: 0.2s;
}
.btn-outline:hover {
    background: #be0733;
    color: #ffffff;
    border-color: #be0733;
}
.site-header .btn-outline {
    border-color: #ffffff;
    color: #ffffff;
}
.site-header .btn-outline:hover {
    background: #ffffff;
    color: #0a0a0a;
}

.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    padding: 4px 8px;
}

@media (max-width: 640px) {
    .header-inner {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: center;
        padding: 16px 16px;
        gap: 14px;
        flex-wrap: wrap;
    }
    .nav-toggle {
        display: block;
    }
    .main-nav {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 0;
    }
    .main-nav.nav-open {
        display: flex;
    }
    .main-nav a {
        display: block;
        width: 100%;
        padding: 12px 0;
        border-top: 1px solid rgba(255,255,255,0.2);
    }
    .main-nav a.nav-highlight {
        width: auto;
        display: inline-block;
        margin: 10px auto 4px;
        border-top: none;
        padding: 8px 20px;
    }
    .nav-auth-group {
        flex-direction: column;
        width: 100%;
        border-right: none;
        margin-right: 0;
        padding-right: 0;
        gap: 0;
    }
    .nav-auth-group .btn-outline {
        display: block;
        width: 100%;
        text-align: center;
        border-radius: 0;
        border-top: 1px solid rgba(255,255,255,0.2);
        border-left: none;
        border-right: none;
        border-bottom: none;
        padding: 12px 0;
    }
    .nav-auth-group .btn-outline:first-child {
        border-top: 1px solid rgba(255,255,255,0.2);
    }
    .main-nav > a.btn-outline {
        border: none;
        border-top: 1px solid rgba(255,255,255,0.2);
        border-radius: 0;
        width: 100%;
        text-align: center;
        padding: 12px 0;
    }
}

.admin-link {
    font-size: 13px;
    color: #a8646f;
    border: 1px dashed rgba(255,255,255,0.3);
    padding: 5px 12px;
    border-radius: 8px;
}
.admin-link:hover {
    color: #ffffff;
    border-color: #ffffff;
}

/* هیرو */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 82vh;
    text-align: center;
    padding: 40px 0;
}
.hero-logo {
    width: 115px;
    height: 115px;
    object-fit: contain;
    margin-bottom: 18px;
    filter: drop-shadow(0 0 24px rgba(190, 7, 51, 0.55));
    animation: heroLogoFloat 4s ease-in-out infinite;
}
@keyframes heroLogoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
.hero h1 {
    font-family: 'Yekan', 'Vazirmatn', sans-serif;
    font-weight: 700;
    font-size: 34px;
    margin-bottom: 12px;
    color: #ffffff;
    text-shadow: 0 0 24px rgba(190, 7, 51, 0.35);
}
.hero p {
    color: #c98a95;
    font-size: 16px;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 28px;
    flex-wrap: wrap;
}
.hero-actions .btn,
.hero-actions .btn-outline {
    padding: 13px 30px;
    font-size: 15px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 42px;
    flex-wrap: wrap;
}
.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 110px;
    padding: 16px 18px;
    border-radius: 12px;
    background: rgba(28, 10, 13, 0.6);
    border: 1px solid rgba(190, 7, 51, 0.35);
}
.hero-stat-value {
    display: flex;
    align-items: center;
    gap: 7px;
    font-family: 'Yekan', 'Vazirmatn', sans-serif;
    font-weight: 700;
    font-size: 21px;
    color: #ffffff;
}
.hero-stat-label {
    font-size: 12px;
    color: #c98a95;
}
.hero-stat-live .hero-stat-value {
    color: #4ade80;
}
.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 0 rgba(74, 222, 128, 0.6);
    animation: liveDotPulse 1.8s ease-out infinite;
}
@keyframes liveDotPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.55);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(74, 222, 128, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(74, 222, 128, 0);
    }
}
@media (max-width: 640px) {
    .hero-stats {
        gap: 10px;
    }
    .hero-stat {
        min-width: 42%;
    }
}

/* دایره‌ها */
.circles-section {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    padding: 30px 0 80px;
}

.circle-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    cursor: pointer;
}
.circle-card.circle-disabled {
    cursor: not-allowed;
    opacity: 0.45;
}
.circle-card.circle-disabled:hover .circle {
    transform: none;
    box-shadow: 0 0 40px color-mix(in srgb, var(--circle-color) 40%, transparent);
}

.circle {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, color-mix(in srgb, var(--circle-color) 35%, #1a1a1a), #0a0a0a);
    border: 3px solid var(--circle-color);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 40px color-mix(in srgb, var(--circle-color) 40%, transparent);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.circle-card:hover .circle {
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 0 55px color-mix(in srgb, var(--circle-color) 55%, transparent);
}

.circle-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.circle-title {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 6px;
}

.circle-vip {
    background: var(--circle-color);
    color: #fff;
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.circle-price {
    font-size: 15px;
    color: #e0e0e0;
    font-weight: 600;
}

.circle-form {
    width: 220px;
}

/* دکمه‌ها */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    background: #be0733;
    color: #fff;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.2s;
}
.btn:hover { background: #8f0527; }
.btn-full { width: 100%; }
.btn-large { padding: 14px 30px; font-size: 16px; }
.btn-primary { background: #be0733; }

.btn-remove {
    background: transparent;
    border: 1px solid #ffffff;
    color: #ffffff;
    padding: 5px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
}
.btn-remove:hover { background: #be0733; color: #fff; }

/* فرم‌های ورود/ثبت‌نام */
.auth-page {
    display: flex;
    justify-content: center;
    padding: 60px 0;
}

.auth-box {
    background: #1c0a0d;
    border: 1px solid #be0733;
    border-radius: 14px;
    padding: 40px;
    width: 100%;
    max-width: 420px;
}

.auth-box h1 {
    text-align: center;
    margin-bottom: 24px;
    font-size: 22px;
    color: #ffffff;
}

.form-group {
    margin-bottom: 16px;
}
.form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    color: #c98a95;
}
.form-group input {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #be0733;
    background: #1c0a0d;
    color: #ffffff;
    font-size: 14px;
}
.form-group input:focus {
    outline: none;
    border-color: #ffffff;
}
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #be0733;
    background: #1c0a0d;
    color: #ffffff;
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
}
.form-group textarea:focus {
    outline: none;
    border-color: #ffffff;
}

.auth-link {
    text-align: center;
    margin-top: 16px;
    font-size: 14px;
    color: #c98a95;
}
.auth-link a { color: #ffffff; text-decoration: underline; }

.otp-note {
    background: #1c0a0d;
    border: 1px solid #be0733;
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 18px;
    font-size: 14px;
    color: #c98a95;
    text-align: center;
}
.otp-note strong {
    color: #ffffff;
}

.resend-form {
    text-align: center;
    margin-top: 12px;
}
.btn-resend {
    background: transparent;
    border: none;
    color: #a8646f;
    font-size: 13px;
    cursor: pointer;
    text-decoration: underline;
}
.btn-resend:hover {
    color: #ffffff;
}

.captcha-question {
    display: inline-block;
    background: #1c0a0d;
    border: 1px solid #be0733;
    border-radius: 6px;
    padding: 2px 12px;
    color: #ffffff;
    font-size: 15px;
    margin-right: 6px;
}

/* پیام‌ها */
.alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin: 16px 0;
    font-size: 14px;
}
.alert-success {
    background: #1c0a0d;
    border: 1px solid #be0733;
    color: #f2f6fb;
}
.alert-error {
    background: #1c0a0d;
    border: 2px solid #be0733;
    color: #f2f6fb;
    font-weight: 600;
}
.alert-info {
    background: #101820;
    border: 1px solid #2f6f9e;
    color: #f2f6fb;
}
.alert ul { padding-right: 18px; }

/* سبد خرید */
h1 { margin: 30px 0 20px; color: #ffffff; }

.cart-table-wrapper {
    overflow-x: auto;
    margin-bottom: 24px;
}
.cart-table {
    width: 100%;
    border-collapse: collapse;
    background: #1c0a0d;
    border: 1px solid #be0733;
    border-radius: 10px;
    overflow: hidden;
}
.cart-table th, .cart-table td {
    padding: 14px 16px;
    text-align: right;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}
.cart-table th {
    background: #0a0a0a;
    color: #ffffff;
    font-size: 13px;
}

.cart-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #1c0a0d;
    border: 1px solid #be0733;
    padding: 20px;
    border-radius: 10px;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 60px;
}
.cart-total {
    font-size: 18px;
}
.cart-total strong {
    color: #ffffff;
    margin-right: 8px;
}

.empty-cart {
    text-align: center;
    padding: 60px 0;
    color: #c98a95;
}
.empty-cart .btn { margin-top: 16px; }

.order-success-box {
    text-align: center;
    background: #1c0a0d;
    border: 1px solid #be0733;
    padding: 50px;
    border-radius: 14px;
    margin: 60px auto;
    max-width: 500px;
}
.order-success-box h1 { font-size: 24px; margin-bottom: 20px; }
.order-success-box p { margin-bottom: 10px; color: #c98a95; }
.order-success-box .btn { margin-top: 20px; }

/* صفحه دسته‌بندی (چند محصول داخل هر دایره) */
.back-link {
    display: inline-block;
    margin: 24px 0 10px;
    color: #ffffff;
    font-size: 14px;
    text-decoration: underline;
}

.category-page {
    padding: 20px 0 80px;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.circle-large {
    width: 140px;
    height: 140px;
    cursor: default;
    flex-shrink: 0;
}
.circle-large .circle-title {
    font-size: 20px;
}

.category-header h1 {
    margin: 0;
    font-size: 26px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.product-card {
    background: #1c0a0d;
    border: 1px solid #be0733;
    border-radius: 14px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 4px 4px 0px rgba(255,255,255,0.25);
}

.product-card h2 {
    font-size: 19px;
    margin-bottom: 8px;
    color: #ffffff;
}

.product-desc {
    color: #c98a95;
    margin-bottom: 18px;
    font-size: 14px;
    flex: 1;
}

.product-price-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #1c0a0d;
    border: 1px solid #be0733;
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 16px;
    font-size: 15px;
}
.product-price-box strong {
    color: #ffffff;
    font-size: 18px;
}

/* پنل مدیریت */
.admin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.admin-orders {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 24px 0 60px;
}

.admin-order-card {
    background: #1c0a0d;
    border: 1px solid #be0733;
    border-radius: 12px;
    padding: 20px;
}

.admin-order-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.admin-order-user {
    color: #c98a95;
    font-size: 13px;
    margin-right: 10px;
}

.admin-order-date {
    color: #a8646f;
    font-size: 13px;
}

.admin-order-items {
    list-style: none;
    color: #c98a95;
    font-size: 14px;
    margin-bottom: 14px;
    padding-right: 4px;
}
.admin-order-items li {
    padding: 3px 0;
}

.admin-order-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 14px;
}

.admin-order-total {
    font-weight: bold;
    color: #ffffff;
    font-size: 15px;
}

.admin-status-form {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.admin-status-form select {
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid #be0733;
    background: #1c0a0d;
    color: #ffffff;
    font-size: 14px;
}

/* مدیریت محصولات */
.admin-header-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.admin-add-box {
    background: #1c0a0d;
    border: 1px solid #be0733;
    border-radius: 12px;
    padding: 24px;
    margin: 24px 0 40px;
}
.admin-add-box h2 {
    margin-bottom: 16px;
    font-size: 18px;
}

.admin-add-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    align-items: end;
}
.admin-add-form .form-group {
    margin-bottom: 0;
}
.form-group-full {
    grid-column: 1 / -1;
}
.admin-add-form button {
    grid-column: 1 / -1;
    justify-self: start;
}

.category-section-title {
    margin: 30px 0 12px;
    font-size: 18px;
    color: #c98a95;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    padding-bottom: 8px;
}

.admin-empty-note {
    color: #a8646f;
    font-size: 14px;
    margin-bottom: 10px;
}

.admin-products-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 10px;
}

.admin-product-row {
    background: #1c0a0d;
    border: 1px solid #be0733;
    border-radius: 10px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.admin-product-fields {
    display: flex;
    gap: 10px;
    flex: 1;
    flex-wrap: wrap;
}

.admin-product-fields input {
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid #be0733;
    background: #1c0a0d;
    color: #ffffff;
    font-size: 14px;
}

.admin-input-name { flex: 1; min-width: 150px; }
.admin-input-price { width: 130px; }
.admin-input-desc { flex: 2; min-width: 180px; }

.admin-product-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.btn-small {
    padding: 8px 16px;
    font-size: 13px;
}

/* آیکون داخل دایره صفحه اصلی */
.circle-icon {
    width: 32px;
    height: 32px;
    color: #fff;
    opacity: 0.85;
    margin-bottom: 4px;
}
.circle-icon svg {
    width: 100%;
    height: 100%;
}

/* آیکون داخل کارت محصول */
.product-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 14px;
    color: #ffffff;
}
.product-icon svg {
    width: 100%;
    height: 100%;
}

/* بج سطح VIP */
.tier-badge {
    display: inline-block;
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
    font-weight: 600;
}
.tier-bronze { background: #ffffff; color: #000000; border: 1px dashed #000000; }
.tier-silver { background: #eeeeee; color: #000000; border: 1px solid #000000; }
.tier-gold   { background: #000000; color: #ffffff; border: 1px solid #000000; }

/* قیمت تخفیف‌دار */
.price-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}
.old-price {
    color: #a8646f;
    font-size: 13px;
}

/* بج پرفروش‌ترین */
.best-seller-tag {
    font-size: 12px;
    color: #ffffff;
    font-weight: 700;
    margin-top: -4px;
}
.best-seller-ribbon {
    display: inline-block;
    background: #be0733;
    color: #ffffff;
    border: 1px solid #be0733;
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
    font-weight: 600;
    align-self: flex-start;
}

/* بخش نظرات کاربران */
.reviews-section {
    margin-top: 60px;
}
.reviews-section h2 {
    font-size: 20px;
    margin-bottom: 18px;
}
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
}
.review-card {
    background: #1c0a0d;
    border: 1px solid #be0733;
    border-radius: 12px;
    padding: 18px;
}
.review-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}
.review-stars {
    color: #ffffff;
    font-size: 14px;
    letter-spacing: 1px;
}
.review-card p {
    color: #c98a95;
    font-size: 14px;
}

/* مدیریت نظرات در پنل ادمین */
.admin-review-info p {
    margin-top: 6px;
    color: #c98a95;
    font-size: 14px;
}
.admin-review-cat {
    color: #a8646f;
    font-size: 13px;
    margin-right: 8px;
}

/* صفحه درباره ما */
.about-hero {
    text-align: center;
    padding: 50px 0 20px;
}
.about-hero h1 {
    font-size: 30px;
    margin-bottom: 10px;
    color: #ffffff;
}
.about-hero p {
    color: #c98a95;
    font-size: 16px;
}

.about-section {
    padding: 30px 0;
    border-top: 1px solid rgba(255,255,255,0.15);
}
.about-section h2 {
    font-size: 22px;
    margin-bottom: 16px;
    color: #ffffff;
}
.about-section > p {
    color: #c98a95;
    font-size: 15px;
    line-height: 2;
}

.about-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.about-feature-card {
    background: #1c0a0d;
    border: 1px solid #be0733;
    border-radius: 14px;
    padding: 24px;
    text-align: center;
}
.about-feature-icon {
    font-size: 32px;
    margin-bottom: 12px;
}
.about-feature-card h3 {
    font-size: 16px;
    color: #ffffff;
    margin-bottom: 8px;
}
.about-feature-card p {
    color: #a8646f;
    font-size: 13.5px;
    line-height: 1.8;
}

.about-contact-cta {
    text-align: center;
}
.about-contact-cta p {
    color: #c98a95;
    margin-bottom: 20px;
}
.about-contact-info {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}
.about-contact-info a {
    background: #1c0a0d;
    border: 1px solid #be0733;
    padding: 12px 22px;
    border-radius: 10px;
    color: #ffffff;
    font-size: 14px;
    transition: 0.2s;
}
.about-contact-info a:hover {
    background: #be0733;
    color: #ffffff;
}

/* صفحات قوانین و حریم خصوصی */
.legal-page {
    max-width: 760px;
    margin: 0 auto;
    padding: 40px 0 80px;
}
.legal-page h1 {
    font-size: 26px;
    margin-bottom: 6px;
    color: #ffffff;
}
.legal-updated {
    color: #a8646f;
    font-size: 13px;
    margin-bottom: 30px;
}
.legal-block {
    margin-bottom: 26px;
}
.legal-block h2 {
    font-size: 17px;
    color: #ffffff;
    margin-bottom: 10px;
}
.legal-block p {
    color: #c98a95;
    font-size: 14.5px;
    line-height: 2;
}
.legal-block a {
    color: #ffffff;
    text-decoration: underline;
}
.legal-list {
    color: #c98a95;
    font-size: 14.5px;
    line-height: 2;
    padding-right: 20px;
}

.site-footer {
    text-align: center;
    padding: 70px 0 40px;
    color: #cccccc;
    font-size: 14.5px;
    background: transparent;
    margin-top: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 40px;
    text-align: right;
    margin-bottom: 34px;
}

.footer-col h3 {
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 16px;
}

.footer-text {
    color: #bbbbbb;
    font-size: 14.5px;
    line-height: 2.1;
}

.footer-contact-list {
    list-style: none;
    color: #bbbbbb;
    font-size: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-contact-list a {
    color: #ffffff;
}
.footer-contact-list a:hover {
    text-decoration: underline;
}

.footer-divider {
    border: none;
    border-top: 1px solid rgba(255,255,255,0.15);
    margin: 20px 0;
}

.enamad-box {
    margin-top: 14px;
    display: flex;
    justify-content: center;
}

/* ===== بنر ران رسمی امشب ===== */
.launch-banner {
    position: relative;
    overflow: hidden;
    background: #1c0a0d;
    border-bottom: 1px solid #be0733;
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    padding: 11px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}
.launch-banner::before {
    content: '';
    position: absolute;
    top: 0;
    right: -50%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(190, 7, 51, 0.35), transparent);
    animation: launchShine 4s ease-in-out infinite;
}
@keyframes launchShine {
    0% { right: 110%; }
    60%, 100% { right: -60%; }
}
.launch-banner span {
    position: relative;
    z-index: 1;
}
.launch-countdown {
    background: rgba(190, 7, 51, 0.25);
    border: 1px solid #be0733;
    border-radius: 6px;
    padding: 2px 10px;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.5px;
}
@media (prefers-reduced-motion: reduce) {
    .launch-banner::before {
        animation: none;
    }
}

/* ===== نشان ران رسمی روی هیرو ===== */
.launch-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    padding: 6px 16px;
    border-radius: 20px;
    background: rgba(190, 7, 51, 0.15);
    border: 1px solid #be0733;
    color: #ffb0bd;
    font-size: 13px;
    font-weight: 600;
    animation: launchBadgePulse 2s ease-in-out infinite;
}
@keyframes launchBadgePulse {
    0%, 100% { box-shadow: 0 0 0 rgba(190, 7, 51, 0.4); }
    50% { box-shadow: 0 0 16px rgba(190, 7, 51, 0.55); }
}

/* ===== ذرات جشن روی هیرو ===== */
.confetti-layer {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}
.hero {
    position: relative;
}
.hero > * {
    position: relative;
    z-index: 1;
}
.confetti-piece {
    position: absolute;
    top: -20px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    opacity: 0.6;
    animation: confettiFall linear infinite;
}
@keyframes confettiFall {
    0% { transform: translateY(-20px); opacity: 0.7; }
    100% { transform: translateY(220px); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .confetti-piece, .launch-badge {
        animation: none;
    }
}

/* ===== تیم مدیریت ===== */
.team-section {
    padding: 60px 0 20px;
}
.team-heading {
    text-align: center;
    margin-bottom: 30px;
}
.team-eyebrow {
    display: inline-block;
    color: #ff6b8a;
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 8px;
}
.team-heading h2 {
    color: #ffffff;
    margin-bottom: 8px;
}
.team-heading p {
    color: #c98a95;
    font-size: 14.5px;
}
.team-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 0.65fr;
    grid-template-rows: auto auto;
    gap: 18px;
}
.team-card-wide {
    grid-row: 1;
}
.team-card-narrow:nth-of-type(4) {
    grid-column: 4;
    grid-row: 1;
}
.team-card-narrow:nth-of-type(5) {
    grid-column: 4;
    grid-row: 2;
}
@media (max-width: 900px) {
    .team-grid {
        grid-template-columns: 1fr 1fr;
    }
    .team-card-narrow:nth-of-type(4),
    .team-card-narrow:nth-of-type(5) {
        grid-column: auto;
        grid-row: auto;
    }
}
@media (max-width: 560px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}
.team-card {
    background: rgba(28, 10, 13, 0.6);
    border: 1px solid rgba(190, 7, 51, 0.5);
    border-radius: 14px;
    padding: 28px 18px;
    text-align: center;
}
.team-avatar {
    width: 64px;
    height: 64px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #ff9fb5, #be0733 70%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 700;
    font-size: 15px;
    box-shadow: 0 0 18px rgba(190, 7, 51, 0.45);
}
.team-card h3 {
    color: #ffffff;
    font-size: 15px;
    margin-bottom: 4px;
}
.team-card p {
    color: #c98a95;
    font-size: 14px;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 18px;
    margin-bottom: 60px;
}
.photo-card {
    background: rgba(28, 10, 13, 0.6);
    border: 1px solid rgba(190, 7, 51, 0.5);
    border-radius: 12px;
    overflow: hidden;
}
.photo-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}
.photo-caption {
    padding: 10px 12px 0;
    color: #dddddd;
    font-size: 13px;
    margin: 0;
}
.photo-date {
    display: block;
    padding: 6px 12px 12px;
    color: #c98a95;
    font-size: 12px;
}

/* ===== باکس حساب کاربری - گوشه بالا-چپ ===== */
.account-corner {
    position: fixed;
    top: 14px;
    left: 14px;
    z-index: 1000;
}
.account-corner .account-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(28, 10, 13, 0.85);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(190, 7, 51, 0.6);
    border-radius: 10px;
    padding: 8px 16px;
    font-family: inherit;
    font-size: 14px;
    color: #ffffff;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
    transition: 0.2s;
}
.account-corner .account-toggle:hover {
    background: #be0733;
    border-color: #be0733;
}
.account-corner .account-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 200px;
    background: rgba(20, 8, 10, 0.97);
    border: 1px solid rgba(190, 7, 51, 0.5);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}
.account-corner.open .account-menu {
    display: block;
}
.account-corner .account-menu a {
    display: block;
    padding: 12px 16px;
    font-size: 14px;
    color: #f2f6fb;
    transition: 0.15s;
}
.account-corner .account-menu a:hover {
    background: rgba(190, 7, 51, 0.25);
    color: #ffffff;
}
.account-corner .account-menu a.logout-link {
    color: #ff8a9a;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.account-corner .account-menu a.logout-link:hover {
    background: #be0733;
    color: #ffffff;
}
@media (max-width: 640px) {
    .account-corner {
        top: 10px;
        left: 10px;
    }
    .account-corner .account-toggle {
        padding: 6px 12px;
        font-size: 13px;
    }
}

/* ===== لینک پنل مدیریت - گوشه پایین-چپ، کم‌رنگ ===== */
.admin-corner-link {
    position: fixed;
    bottom: 8px;
    left: 8px;
    z-index: 500;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.12);
    letter-spacing: 0.2px;
    padding: 3px 5px;
    transition: color 0.3s;
}
.admin-corner-link:hover {
    color: rgba(255, 255, 255, 0.45);
}

/* ===== یادآوری چک کردن اسپم در صفحه ورود ===== */
.otp-spam-note {
    font-size: 13px;
    color: #c98a95;
    background: rgba(28, 10, 13, 0.6);
    border: 1px solid rgba(190, 7, 51, 0.35);
    border-radius: 8px;
    padding: 10px 14px;
    margin-top: -6px;
    margin-bottom: 16px;
}


/* ===== کارت کیف پول - صفحه لاواستار من ===== */
.wallet-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #2a0d14 0%, #1c0a0d 55%, #0f0508 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 28px 26px;
    margin-top: 10px;
    box-shadow: 0 20px 50px rgba(190, 7, 51, 0.18), inset 0 1px 0 rgba(255,255,255,0.06);
}
.wallet-card-glow {
    position: absolute;
    top: -60%;
    left: -20%;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(190, 7, 51, 0.55), transparent 70%);
    filter: blur(10px);
    pointer-events: none;
}
.wallet-card-top {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}
.wallet-card-label {
    font-size: 13px;
    color: #d9a3ac;
    letter-spacing: 0.3px;
}
.wallet-card-icon {
    font-size: 22px;
    opacity: 0.9;
}
.wallet-card-amount {
    position: relative;
    font-family: 'Yekan', 'Vazirmatn', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
    text-shadow: 0 0 20px rgba(190, 7, 51, 0.35);
}
.wallet-charge-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background: linear-gradient(135deg, #be0733, #8f0527);
    color: #ffffff;
    font-weight: 700;
    font-size: 15px;
    padding: 14px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(190, 7, 51, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wallet-charge-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(190, 7, 51, 0.55);
}

/* ===== صفحه شارژ کیف پول ===== */
.wallet-charge-page {
    max-width: 520px;
}
.wallet-mini-balance {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(28, 10, 13, 0.55);
    border: 1px solid rgba(190, 7, 51, 0.35);
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 26px;
}
.wallet-mini-balance span {
    color: #c98a95;
    font-size: 14px;
}
.wallet-mini-balance strong {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
}

.wallet-charge-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.wallet-quick-amounts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
@media (min-width: 480px) {
    .wallet-quick-amounts {
        grid-template-columns: repeat(3, 1fr);
    }
}
.wallet-quick-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    background: rgba(255, 255, 255, 0.03);
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 16px 8px;
    border-radius: 14px;
    cursor: pointer;
    font-family: inherit;
    transition: 0.2s ease;
}
.wallet-quick-btn-num {
    font-size: 16px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}
.wallet-quick-btn-unit {
    font-size: 11px;
    color: #c98a95;
}
.wallet-quick-btn:hover {
    border-color: rgba(190, 7, 51, 0.6);
    background: rgba(190, 7, 51, 0.1);
    transform: translateY(-2px);
}
.wallet-quick-btn.active {
    background: linear-gradient(135deg, #be0733, #8f0527);
    border-color: #be0733;
    box-shadow: 0 8px 20px rgba(190, 7, 51, 0.35);
}
.wallet-quick-btn.active .wallet-quick-btn-unit {
    color: #ffd6de;
}

.wallet-custom-amount label {
    display: block;
    font-size: 13.5px;
    color: #c98a95;
    margin-bottom: 8px;
}
.wallet-custom-amount input {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 15px;
    padding: 13px 16px;
    border-radius: 12px;
    font-family: inherit;
    transition: 0.2s;
}
.wallet-custom-amount input:focus {
    outline: none;
    border-color: #be0733;
    background: rgba(190, 7, 51, 0.06);
}

.wallet-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: linear-gradient(135deg, #be0733, #8f0527);
    color: #ffffff;
    font-weight: 700;
    font-size: 15.5px;
    padding: 15px 20px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-family: inherit;
    box-shadow: 0 10px 26px rgba(190, 7, 51, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wallet-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(190, 7, 51, 0.55);
}

/* ===== بخش اخبار - لاواستار من و صفحه اخبار ===== */
.mylovestar-news-section {
    margin-top: 30px;
}
.mylovestar-news-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}
.mylovestar-news-header h2 {
    font-size: 18px;
    color: #ffffff;
}
.mylovestar-news-more {
    font-size: 13.5px;
    color: #ff8a9a;
}
.mylovestar-news-more:hover {
    color: #ffffff;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.news-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 18px 20px;
    transition: border-color 0.2s;
}
.news-card:hover {
    border-color: rgba(190, 7, 51, 0.4);
}
.news-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}
.news-card-title {
    font-size: 15.5px;
    color: #ffffff;
    font-weight: 700;
}
.news-card-date {
    font-size: 11.5px;
    color: #9a7278;
    white-space: nowrap;
}
.news-card-content {
    font-size: 13.5px;
    color: #d9c3c7;
    line-height: 1.9;
}

/* ===== مدیریت اخبار - پنل ادمین ===== */
.admin-news-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.admin-news-card {
    background: #141414;
    border: 1px solid #2a2a2a;
    border-radius: 10px;
    padding: 16px 18px;
}
.admin-news-card-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}
.admin-news-title-input {
    flex: 1;
    padding: 8px 10px;
    border-radius: 6px;
    border: 1px solid #333;
    background: #1c1c1c;
    color: #fff;
    font-size: 14px;
}
.admin-news-status {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 6px;
    white-space: nowrap;
}
.admin-news-status.is-published {
    background: #123a1e;
    color: #6fd68f;
}
.admin-news-status.is-draft {
    background: #3a2a12;
    color: #d6a86f;
}
.admin-news-edit-form textarea {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #333;
    background: #1c1c1c;
    color: #fff;
    font-family: inherit;
    resize: vertical;
    margin-bottom: 10px;
}
.admin-news-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}
.admin-news-date {
    font-size: 12px;
    color: #888;
}
.admin-news-extra-actions {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}
.form-checkbox-group {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13.5px;
    color: #ccc;
}

/* ===== ابلاغیه عدل لاواستار ===== */
.court-notice-section {
    margin-bottom: 30px;
}
.court-notice-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}
.court-notice-seal {
    font-size: 22px;
}
.court-notice-header h2 {
    font-size: 18px;
    color: #ffffff;
}

.court-notice-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.court-notice-card {
    position: relative;
    background: linear-gradient(160deg, rgba(30, 26, 10, 0.7), rgba(15, 12, 6, 0.9));
    border: 1px solid rgba(212, 168, 60, 0.35);
    border-radius: 14px;
    padding: 18px 20px;
}
.court-notice-card.is-new {
    border-color: rgba(212, 168, 60, 0.75);
    box-shadow: 0 0 0 1px rgba(212, 168, 60, 0.15), 0 10px 26px rgba(212, 168, 60, 0.12);
}
.court-notice-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}
.court-notice-title {
    font-size: 15.5px;
    font-weight: 700;
    color: #f0d9a0;
}
.court-notice-badge {
    font-size: 11px;
    font-weight: 700;
    color: #1c1a0d;
    background: #d4a83c;
    padding: 3px 10px;
    border-radius: 20px;
    white-space: nowrap;
}
.court-notice-content {
    font-size: 13.5px;
    color: #d9d0bb;
    line-height: 2;
    margin-bottom: 14px;
    border-top: 1px dashed rgba(212, 168, 60, 0.25);
    padding-top: 12px;
}
.court-notice-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}
.court-notice-date {
    font-size: 11.5px;
    color: #9c9377;
}
.court-notice-acked {
    font-size: 12.5px;
    color: #7fbf8f;
}
.court-notice-ack-btn {
    background: linear-gradient(135deg, #d4a83c, #a67e1f);
    color: #1c1a0d;
    font-weight: 700;
    font-size: 13px;
    border: none;
    padding: 9px 18px;
    border-radius: 9px;
    cursor: pointer;
    font-family: inherit;
    box-shadow: 0 8px 18px rgba(212, 168, 60, 0.3);
    transition: transform 0.15s ease;
}
.court-notice-ack-btn:hover {
    transform: translateY(-1px);
}

/* ===== حالت تعمیر و نگهداری - پنل ادمین ===== */
.maintenance-panel-box {
    background: #141414;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    padding: 24px;
    max-width: 560px;
}
.maintenance-panel-status {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
}
.maintenance-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-top: 6px;
    flex-shrink: 0;
}
.maintenance-dot.is-on {
    background: #d4a83c;
    box-shadow: 0 0 10px rgba(212, 168, 60, 0.7);
}
.maintenance-dot.is-off {
    background: #4caf50;
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.7);
}
.maintenance-panel-status strong {
    color: #ffffff;
    font-size: 15.5px;
}
.maintenance-panel-status p {
    color: #999;
    font-size: 13.5px;
    margin-top: 6px;
    line-height: 1.8;
}
.maintenance-note {
    font-size: 12.5px;
    color: #777;
    margin-top: 16px;
}

/* ===== پنل مدیریت ابلاغیه عدل لاواستار - هماهنگ با تم طلایی ===== */
.admin-notice-section-title {
    margin: 40px 0 16px;
    color: #f0d9a0;
}
.admin-notice-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.admin-notice-card {
    background: linear-gradient(160deg, rgba(30, 26, 10, 0.55), rgba(15, 12, 6, 0.85));
    border: 1px solid rgba(212, 168, 60, 0.3);
    border-radius: 12px;
    padding: 18px 20px;
}
.admin-notice-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}
.admin-notice-title {
    color: #ffffff;
    font-size: 15px;
}
.admin-notice-status {
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 20px;
    white-space: nowrap;
    font-weight: 600;
}
.admin-notice-status.is-all {
    background: rgba(212, 168, 60, 0.15);
    color: #e6c169;
    border: 1px solid rgba(212, 168, 60, 0.35);
}
.admin-notice-status.is-user {
    background: rgba(190, 7, 51, 0.15);
    color: #ff9fb2;
    border: 1px solid rgba(190, 7, 51, 0.35);
}
.admin-notice-content {
    color: #d9d0bb;
    white-space: pre-line;
    line-height: 1.9;
    margin-bottom: 12px;
    font-size: 13.5px;
}
.admin-notice-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    border-top: 1px dashed rgba(212, 168, 60, 0.2);
    padding-top: 10px;
}
.admin-notice-date {
    font-size: 12px;
    color: #9c9377;
}
.admin-notice-seen {
    font-size: 12px;
    color: #a89f85;
}
.admin-notice-delete-btn {
    background: transparent;
    border: 1px solid rgba(190, 7, 51, 0.5);
    color: #ff8a9a;
    font-size: 12.5px;
    padding: 6px 14px;
    border-radius: 8px;
    cursor: pointer;
    font-family: inherit;
    transition: 0.2s;
}
.admin-notice-delete-btn:hover {
    background: #be0733;
    color: #ffffff;
}

/* توست پیام موفقیت/خطا - هماهنگ با تم طلایی */
.admin-notice-toast {
    display: inline-block;
    margin: 10px 0;
    padding: 7px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
}
.admin-notice-toast.is-success {
    background: linear-gradient(135deg, #d4a83c, #a67e1f);
    color: #1c1a0d;
}
.admin-notice-toast.is-error {
    background: rgba(190, 7, 51, 0.15);
    border: 1.5px solid #be0733;
    color: #ff9fb2;
}
.admin-notice-toast.is-floating {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 9999;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

/* گروه انتخاب گیرنده در فرم صدور ابلاغیه */
#targetUsernameGroup {
    transition: opacity 0.2s;
}

/* ===== انتخاب روش پرداخت - سبد خرید ===== */
.payment-method-group {
    margin-bottom: 18px;
}
.payment-method-label {
    display: block;
    font-size: 13.5px;
    color: #c98a95;
    margin-bottom: 10px;
}
.payment-method-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}
@media (min-width: 480px) {
    .payment-method-options {
        grid-template-columns: 1fr 1fr;
    }
}
.payment-method-option {
    display: block;
    cursor: pointer;
}
.payment-method-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.payment-method-card {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 14px 16px;
    transition: 0.2s;
}
.payment-method-icon {
    font-size: 20px;
}
.payment-method-text {
    font-size: 13.5px;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.payment-method-note {
    font-size: 11.5px;
    color: #ff8a9a;
}
.payment-method-option input[type="radio"]:checked + .payment-method-card {
    border-color: #be0733;
    background: rgba(190, 7, 51, 0.12);
    box-shadow: 0 6px 16px rgba(190, 7, 51, 0.25);
}
.payment-method-option.is-disabled {
    cursor: not-allowed;
    opacity: 0.5;
}
.payment-method-hint {
    font-size: 12.5px;
    color: #c98a95;
    margin-top: 8px;
}
.payment-method-hint a {
    color: #ff8a9a;
    text-decoration: underline;
}

/* ===== انیمیشن ورود لوگو (Intro) - فقط صفحه اصلی ===== */
.intro-overlay {
    position: fixed;
    inset: 0;
    z-index: 100000;
    background: radial-gradient(circle at 50% 42%, #3a0f18, #0a0a0a 72%);
    display: flex;
    align-items: center;
    justify-content: center;
}
.intro-logo {
    width: 160px;
    height: 160px;
    object-fit: contain;
    filter: drop-shadow(0 0 40px rgba(190, 7, 51, 0.45));
    will-change: transform;
}
@media (max-width: 640px) {
    .intro-logo {
        width: 120px;
        height: 120px;
    }
}

/* ===== اتصال حساب کاربری به سرور بازی ===== */
.link-account-box {
    max-width: 480px;
}
.link-status-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px 18px;
    margin-bottom: 6px;
}
.link-status-card.is-linked {
    border-color: rgba(76, 175, 80, 0.4);
    background: rgba(76, 175, 80, 0.06);
}
.link-status-card.is-pending {
    border-color: rgba(212, 168, 60, 0.4);
    background: rgba(212, 168, 60, 0.06);
}
.link-status-icon {
    font-size: 22px;
}
.link-status-card strong {
    color: #ffffff;
    font-size: 14.5px;
}
.link-status-card p {
    color: #b8b0a8;
    font-size: 13px;
    margin-top: 4px;
    line-height: 1.8;
}

.link-code-display {
    text-align: center;
    font-size: 40px;
    font-weight: 800;
    letter-spacing: 10px;
    color: #ffffff;
    background: rgba(190, 7, 51, 0.08);
    border: 1.5px dashed rgba(190, 7, 51, 0.4);
    border-radius: 14px;
    padding: 22px 10px;
    margin: 18px 0 10px;
    direction: ltr;
}
.link-code-hint {
    text-align: center;
    font-size: 13px;
    color: #c98a95;
}
.link-code-hint code {
    background: rgba(255, 255, 255, 0.08);
    padding: 2px 8px;
    border-radius: 6px;
    color: #fff;
    direction: ltr;
    display: inline-block;
}
.link-auto-refresh-note {
    font-size: 12px;
    color: #8a8078;
    margin-top: 14px;
    text-align: center;
}

/* ---------- دکمه اتصال به سرور (VMP) ---------- */
.btn-connect {
    background: #5dbb46;
    color: #ffffff;
}
.btn-connect:hover {
    background: #489937;
}
.btn:disabled {
    background: #6e1023;
    color: rgba(255, 255, 255, 0.6);
    cursor: not-allowed;
}


/* ---------- تب‌های دسته‌بندی فروشگاه ---------- */
.shop-category-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 18px 0 30px;
}
.shop-tab {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 22px;
    border-radius: 999px;
    border: 1px solid rgba(190, 7, 51, 0.45);
    background: rgba(28, 10, 13, 0.6);
    color: #d8aeb6;
    font-size: 14.5px;
    font-weight: 600;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.shop-tab:hover {
    border-color: #be0733;
    color: #ffffff;
}
.shop-tab.active {
    background: #be0733;
    border-color: #be0733;
    color: #ffffff;
}
.shop-tab-icon {
    font-size: 15px;
}
@media (max-width: 560px) {
    .shop-tab {
        padding: 9px 16px;
        font-size: 13px;
    }
}

/* زیرعنوان فروشگاه ماینکرفت (توضیح کوتاه زیر تیتر دسته) */
.category-subtitle {
    width: 100%;
    color: #c98a95;
    font-size: 15px;
    margin-top: -8px;
    margin-bottom: 6px;
}

/* ================= بخش‌های جدید صفحه اصلی (v=43) ================= */
.home-section {
    margin-top: 34px;
}
.home-section-head {
    text-align: center;
    margin-bottom: 22px;
}
.home-section-head h2 {
    font-size: 24px;
    color: #ffffff;
    margin-bottom: 8px;
}
.home-section-head p {
    color: #c98a95;
    font-size: 15px;
}
.home-section-cta {
    text-align: center;
    margin-top: 22px;
}

/* --- کارت وضعیت زنده سرور --- */
.home-status-card {
    background: linear-gradient(160deg, #1c0a0d, #260d13);
    border: 1px solid rgba(190, 7, 51, 0.45);
    border-radius: 18px;
    padding: 24px 26px;
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.35);
}
.hsc-status {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    flex: 1 1 320px;
}
.hsc-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    margin-top: 6px;
    flex-shrink: 0;
}
.hsc-dot.is-online {
    background: #46d369;
    box-shadow: 0 0 0 0 rgba(70, 211, 105, 0.6);
    animation: hscPulse 1.8s infinite;
}
.hsc-dot.is-offline {
    background: #6b6f76;
}
@keyframes hscPulse {
    0% { box-shadow: 0 0 0 0 rgba(70, 211, 105, 0.55); }
    70% { box-shadow: 0 0 0 12px rgba(70, 211, 105, 0); }
    100% { box-shadow: 0 0 0 0 rgba(70, 211, 105, 0); }
}
.hsc-text h2 {
    font-size: 19px;
    color: #ffffff;
    margin-bottom: 6px;
}
.hsc-text p {
    color: #c98a95;
    font-size: 14.5px;
    line-height: 1.9;
}
.hsc-text strong { color: #ffffff; }
.hsc-online-text { color: #46d369 !important; }
.hsc-offline-text { color: #ff9fb2 !important; }
.hsc-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
}
.hsc-ip {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px dashed rgba(93, 187, 70, 0.55);
    border-radius: 12px;
    padding: 10px 14px;
}
.hsc-ip code {
    direction: ltr;
    font-family: Consolas, Monaco, monospace;
    color: #7fe364;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

/* --- پیش‌نمایش رنک‌ها --- */
.home-ranks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}
.home-rank-card {
    background: linear-gradient(165deg, #1c0a0d, #230b11);
    border: 1px solid rgba(190, 7, 51, 0.35);
    border-radius: 16px;
    padding: 20px 16px;
    text-align: center;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.home-rank-card:hover {
    transform: translateY(-4px);
    border-color: #5dbb46;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4);
}
.home-rank-icon { font-size: 30px; }
.home-rank-name {
    color: #ffffff;
    font-weight: 800;
    font-size: 16.5px;
}
.home-rank-price {
    color: #7fe364;
    font-weight: 700;
    font-size: 14px;
}
.home-rank-cta {
    color: #c98a95;
    font-size: 12.5px;
    margin-top: 4px;
}
.home-rank-card:hover .home-rank-cta { color: #ffffff; }

/* --- مراحل ورود --- */
.home-join-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 16px;
}
.home-join-step {
    background: linear-gradient(165deg, #1c0a0d, #230b11);
    border: 1px solid rgba(190, 7, 51, 0.35);
    border-radius: 16px;
    padding: 20px 18px;
    text-align: center;
}
.home-join-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #be0733;
    color: #ffffff;
    font-weight: 800;
    font-size: 17px;
    margin-bottom: 12px;
}
.home-join-step h3 {
    color: #ffffff;
    font-size: 15.5px;
    margin-bottom: 8px;
}
.home-join-step p {
    color: #c98a95;
    font-size: 13.5px;
    line-height: 1.9;
}

/* --- اخبار صفحه اصلی --- */
.home-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}
.home-news-grid .news-card-content {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* --- دیسکورد --- */
.home-join-cta {
    background: linear-gradient(160deg, rgba(190, 7, 51, 0.16), rgba(190, 7, 51, 0.05));
    border: 1px solid rgba(190, 7, 51, 0.4);
    border-radius: 18px;
    padding: 34px 24px;
}
.home-join-cta-inner {
    text-align: center;
    max-width: 520px;
    margin: 0 auto;
}
.home-join-cta-inner h2 {
    color: #ffffff;
    font-size: 22px;
    margin-bottom: 10px;
}
.home-join-cta-inner p {
    color: #c98a95;
    font-size: 14.5px;
    line-height: 1.9;
    margin-bottom: 18px;
}

/* ================= سوالات متداول ================= */
.faq-page { max-width: 860px; }
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
}
.faq-item {
    background: linear-gradient(165deg, #1c0a0d, #230b11);
    border: 1px solid rgba(190, 7, 51, 0.35);
    border-radius: 14px;
    overflow: hidden;
}
.faq-item summary {
    cursor: pointer;
    padding: 16px 18px;
    color: #ffffff;
    font-weight: 700;
    font-size: 15.5px;
    list-style: none;
    position: relative;
    padding-left: 44px;
    transition: color 0.15s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(190, 7, 51, 0.22);
    color: #ff9fb2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    font-weight: 800;
    transition: transform 0.2s ease, background 0.2s ease;
}
.faq-item[open] summary::after {
    content: '−';
    background: #be0733;
    color: #ffffff;
}
.faq-item summary:hover { color: #ff9fb2; }
.faq-a {
    padding: 0 18px 18px;
    color: #c98a95;
    font-size: 14.5px;
    line-height: 2;
}
.faq-a a {
    color: #ff9fb2;
    text-decoration: underline;
}
.faq-a strong { color: #ffffff; }
.faq-support-note {
    margin-top: 26px;
    background: rgba(190, 7, 51, 0.1);
    border: 1px dashed rgba(190, 7, 51, 0.5);
    border-radius: 14px;
    padding: 18px 20px;
    text-align: center;
}
.faq-support-note p { color: #c98a95; line-height: 2; }
.faq-support-note p:first-child { font-weight: 800; color: #ffffff; font-size: 16px; }
.faq-support-note a { color: #ff9fb2; text-decoration: underline; }

/* ================= فروشگاه: راهنمای انتخاب رنک ================= */
.rank-ladder {
    width: 100%;
    background: linear-gradient(165deg, #1c0a0d, #230b11);
    border: 1px solid rgba(93, 187, 70, 0.35);
    border-radius: 16px;
    padding: 20px 22px;
    margin-bottom: 26px;
}
.rank-ladder-title {
    color: #ffffff;
    font-size: 17px;
    text-align: center;
    margin-bottom: 16px;
}
.rank-ladder-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 12px;
}
.rank-ladder-step {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(190, 7, 51, 0.3);
    border-radius: 12px;
    padding: 14px 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: relative;
}
.rank-ladder-step .rls-name {
    color: #7fe364;
    font-weight: 800;
    font-size: 15px;
}
.rank-ladder-step .rls-desc {
    color: #c98a95;
    font-size: 12.5px;
    line-height: 1.8;
}
.rank-ladder-step.rls-top {
    border-color: rgba(93, 187, 70, 0.6);
    background: rgba(93, 187, 70, 0.08);
}
.rls-badge {
    position: absolute;
    top: -10px;
    right: 12px;
    background: #5dbb46;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 20px;
}

/* --- کارت به‌زودی فروشگاه --- */
.product-card.product-soon {
    opacity: 0.82;
    border-style: dashed;
    position: relative;
    overflow: hidden;
}
.soon-ribbon {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(93, 187, 70, 0.15);
    border: 1px solid rgba(93, 187, 70, 0.5);
    color: #7fe364;
    font-size: 11.5px;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 20px;
}
.soon-price {
    color: #c98a95;
    font-size: 13.5px;
    font-weight: 700;
}
.shop-faq-hint {
    width: 100%;
    text-align: center;
    margin-top: 22px;
    background: rgba(190, 7, 51, 0.08);
    border: 1px dashed rgba(190, 7, 51, 0.4);
    border-radius: 12px;
    padding: 14px 16px;
}
.shop-faq-hint p { color: #c98a95; font-size: 14px; }
.shop-faq-hint a { color: #ff9fb2; text-decoration: underline; }

/* ================= صفحه 404 ================= */
.notfound-page {
    text-align: center;
    padding: 60px 20px;
    max-width: 640px;
    margin: 0 auto;
}
.nf-code {
    font-size: 92px;
    font-weight: 900;
    background: linear-gradient(180deg, #ff3d63, #be0733);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1.1;
    margin-bottom: 10px;
}
.notfound-page h1 {
    color: #ffffff;
    font-size: 20px;
    margin-bottom: 14px;
}
.nf-text {
    color: #c98a95;
    font-size: 14.5px;
    line-height: 2;
    margin-bottom: 26px;
}
.nf-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 24px;
}
.nf-links {
    color: #c98a95;
    font-size: 13.5px;
}
.nf-links a { color: #ff9fb2; text-decoration: underline; }

/* ================= واکنش‌گرایی بخش‌های جدید ================= */
@media (max-width: 760px) {
    .home-status-card {
        flex-direction: column;
        align-items: stretch;
    }
    .hsc-actions { width: 100%; }
    .nf-code { font-size: 68px; }
}
@media (max-width: 560px) {
    .home-section-head h2 { font-size: 20px; }
    .home-status-card { padding: 20px 16px; }
    .hsc-ip { flex-wrap: wrap; justify-content: center; }
    .hsc-actions .btn { width: 100%; text-align: center; }
    .rank-ladder { padding: 16px 14px; }
    .nf-actions { flex-direction: column; align-items: stretch; }
}

/* وقتی سرور آفلاینه، نقطه کنار آمار hero سبز چشمک‌زن نباشه */
.live-dot-off {
    background: #8b909a;
    animation: none;
    box-shadow: none;
}

/* ---------- گوگل reCAPTCHA (چک‌باکس) ---------- */
.g-recaptcha {
    margin: 6px 0 18px;
}
