/* صفحه کارت‌های اعتباری — عین استایل پلتفرم raitx-platform */

.vc-page {
  min-height: 100vh;
  background: var(--gray-50, #f9fafb);
  padding-top: 2rem;
  padding-bottom: 2.5rem;
}
@media (min-width: 640px) { .vc-page { padding-top: 2.5rem; padding-bottom: 3rem; } }
@media (min-width: 768px) { .vc-page { padding-top: 3rem; padding-bottom: 3.5rem; } }

/* فیلترها */
.vc-filters-wrap {
  margin-bottom: 2rem;
}
@media (min-width: 640px) { .vc-filters-wrap { margin-bottom: 2.5rem; } }
@media (min-width: 768px) { .vc-filters-wrap { margin-bottom: 3rem; } }

.vc-filter-btn {
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  border: 1px solid var(--border, #e5e7eb);
  background: var(--background, #fff);
  color: var(--gray-700, #374151);
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
  margin: 0.25rem;
}
@media (min-width: 640px) {
  .vc-filter-btn { padding: 0.5rem 1.25rem; font-size: 0.875rem; }
}
.vc-filter-btn:hover {
  background: var(--surface, #f9fafb);
  border-color: rgba(255, 85, 56, 0.3);
}
.vc-filter-btn.vc-filter-active {
  background: #ff5538;
  color: #fff;
  border-color: #ff5538;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

/* گرید کارت‌ها */
.vc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) { .vc-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; } }
@media (min-width: 1024px) { .vc-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
@media (min-width: 1280px) { .vc-grid { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; } }

.vc-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 0.875rem;
  padding: 1.5rem 1.75rem;
  box-shadow: 0 1px 3px rgb(0 0 0 / 0.06);
  border: 1px solid var(--border-light, #f3f4f6);
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s;
}
.vc-card:hover {
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  border-color: rgba(255, 85, 56, 0.3);
  transform: translateY(-4px);
}

.vc-card-icon-wrap {
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.25rem;
  border-radius: 0.875rem;
  background: var(--gray-50, #f9fafb);
  transition: all 0.3s;
}
.vc-card:hover .vc-card-icon-wrap {
  background: rgba(255, 85, 56, 0.05);
  transform: scale(1.1);
}

/* آیکون‌ها: باکس گرد + Font Awesome با رنگ برند */
.vc-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.875rem;
}
@media (min-width: 640px) { .vc-icon-wrap { width: 4rem; height: 4rem; } }

.vc-icon-wrap .vc-fa {
  font-size: 2rem;
  color: inherit;
}
@media (min-width: 640px) { .vc-icon-wrap .vc-fa { font-size: 2.25rem; } }

/* رنگ برند هر سرویس */
.vc-icon-playstation { color: #003087; }
.vc-icon-xbox { color: #107C10; }
.vc-icon-steam { color: #1B2838; }
.vc-icon-gamepad,
.vc-icon-battlenet,
.vc-icon-desktop { color: #148EFF; }
.vc-icon-visa { color: #1A1F71; }
.vc-icon-mastercard { color: #EB001B; }
.vc-icon-amazon { color: #FF9900; }
.vc-icon-apple { color: #111; }
.vc-icon-spotify { color: #1DB954; }
.vc-icon-netflix { color: #E50914; }
.vc-icon-gift,
.vc-icon-cardgift { color: #ff5538; }
.vc-icon-globe,
.vc-icon-creditcard { color: #ff5538; }

.vc-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900, #111827);
  margin: 0 0 0.35rem;
  transition: color 0.2s;
}
@media (min-width: 640px) { .vc-card-title { font-size: 1.1rem; } }
.vc-card:hover .vc-card-title { color: #ff5538; }

.vc-card-label-en {
  font-size: 0.75rem;
  color: var(--gray-400, #9ca3af);
  margin: 0 0 0.5rem;
}
@media (min-width: 640px) { .vc-card-label-en { font-size: 0.85rem; } }

.vc-card-desc {
  font-size: 0.8rem;
  color: var(--gray-600, #4b5563);
  line-height: 1.55;
  margin: 0;
  flex: 1;
}
@media (min-width: 640px) { .vc-card-desc { font-size: 0.9rem; } }

.vc-empty {
  text-align: center;
  padding: 2rem;
  color: var(--gray-500);
  grid-column: 1 / -1;
}

/* صفحه‌بندی */
.vc-pagination-wrap {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
}
@media (min-width: 640px) { .vc-pagination-wrap { margin-top: 2.5rem; } }

.vc-pagination-inner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.vc-pagination-pages {
  display: flex;
  gap: 0.25rem;
}

.vc-pagination-prev,
.vc-pagination-next,
.vc-pagination-num {
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--gray-700);
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}
.vc-pagination-prev:hover:not(.vc-pagination-disabled),
.vc-pagination-next:hover:not(.vc-pagination-disabled),
.vc-pagination-num:hover {
  background: var(--gray-50);
  border-color: rgba(255, 85, 56, 0.3);
}
.vc-pagination-num.vc-pagination-active {
  background: #ff5538;
  color: #fff;
  border-color: #ff5538;
}
.vc-pagination-prev.vc-pagination-disabled,
.vc-pagination-next.vc-pagination-disabled {
  background: var(--gray-100);
  color: var(--gray-400);
  cursor: not-allowed;
}

/* ========== صفحه جزئیات سرویس (عین پلتفرم) — اندازه‌های بزرگ‌تر ========== */
.vc-detail-page .container { max-width: 80rem; margin: 0 auto; padding-left: 1rem; padding-right: 1rem; padding-top: 1.5rem; padding-bottom: 3rem; }
@media (min-width: 1024px) { .vc-detail-page .container { padding-left: 2rem; padding-right: 2rem; } }

.vc-breadcrumb { font-size: 0.9rem; color: var(--gray-600); margin-bottom: 1.25rem; display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.vc-breadcrumb a { color: var(--gray-600); text-decoration: none; }
.vc-breadcrumb a:hover { color: #ff5538; }
.vc-breadcrumb span:last-child { color: var(--gray-800); }

.vc-detail-header { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 2rem; }
.vc-detail-header-icon { width: 3.5rem; height: 3.5rem; border-radius: 0.75rem; background: var(--gray-50); display: flex; align-items: center; justify-content: center; font-size: 1.75rem; flex-shrink: 0; color: #ff5538; }
@media (min-width: 640px) { .vc-detail-header-icon { width: 4rem; height: 4rem; font-size: 2rem; } }
.vc-detail-header-icon-playstation { color: #003087; background: rgba(0, 48, 135, 0.08); }
.vc-detail-header-icon-xbox { color: #107C10; background: rgba(16, 124, 16, 0.08); }
.vc-detail-header-icon-steam { color: #1B2838; background: rgba(27, 40, 56, 0.08); }
.vc-detail-header-icon-visa { color: #1A1F71; background: rgba(26, 31, 113, 0.08); }
.vc-detail-header-icon-mastercard { color: #EB001B; background: rgba(235, 0, 27, 0.08); }
.vc-detail-header-icon-battlenet,
.vc-detail-header-icon-desktop { color: #148EFF; background: rgba(20, 142, 255, 0.08); }
.vc-detail-header-icon-amazon { color: #FF9900; background: rgba(255, 153, 0, 0.08); }
.vc-detail-header-icon-apple { color: #111; background: rgba(0,0,0,0.06); }
.vc-detail-header-icon-spotify { color: #1DB954; background: rgba(29, 185, 84, 0.08); }
.vc-detail-header-icon-netflix { color: #E50914; background: rgba(229, 9, 20, 0.08); }
.vc-detail-header-icon-gift,
.vc-detail-header-icon-cardgift { color: #ff5538; background: rgba(255, 85, 56, 0.08); }
.vc-detail-header-icon-globe,
.vc-detail-header-icon-creditcard { color: #ff5538; background: rgba(255, 85, 56, 0.08); }
.vc-detail-header-text { flex: 1; min-width: 0; }
.vc-detail-title { font-size: 1.25rem; font-weight: 700; color: #ff5538; margin: 0 0 0.35rem; }
@media (min-width: 640px) { .vc-detail-title { font-size: 1.5rem; } }
.vc-detail-title-en { font-size: 1rem; color: var(--gray-500); font-weight: 400; }
.vc-detail-desc { font-size: 0.95rem; color: var(--gray-600); margin: 0; line-height: 1.6; }

.vc-detail-layout { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 1024px) { .vc-detail-layout { grid-template-columns: 1fr 22rem; gap: 2.5rem; } }

.vc-detail-main { min-width: 0; }
.vc-detail-block { background: #fff; border-radius: 0.875rem; box-shadow: 0 1px 3px rgb(0 0 0 / 0.06); border: 1px solid var(--border-light); padding: 1.25rem 1.5rem; margin-bottom: 1.75rem; }
@media (min-width: 640px) { .vc-detail-block { padding: 1.5rem 2rem; } }
.vc-detail-h2 { font-size: 1.1rem; font-weight: 700; color: var(--gray-900); margin: 0 0 1rem; display: flex; align-items: center; gap: 0.5rem; }
.vc-detail-h2::before { content: ''; width: 5px; height: 1.5rem; background: #ff5538; border-radius: 2px; }
.vc-detail-p { font-size: 0.95rem; color: var(--gray-700); line-height: 1.8; margin: 0; text-align: right; white-space: pre-line; }
.vc-detail-two-col { display: grid; grid-template-columns: 1fr; gap: 1.75rem; }
@media (min-width: 1024px) { .vc-detail-two-col { grid-template-columns: 1fr 1fr; } }
.vc-detail-list { list-style: none; padding: 0; margin: 0; text-align: right; }
.vc-detail-feature { font-size: 0.95rem; color: var(--gray-700); margin-bottom: 0.6rem; display: flex; align-items: flex-start; gap: 0.5rem; }
.vc-detail-check { color: #ff5538; flex-shrink: 0; font-size: 1rem; }
.vc-detail-steps { list-style: none; padding: 0; margin: 0; counter-reset: step; text-align: right; }
.vc-detail-step { font-size: 0.95rem; color: var(--gray-700); margin-bottom: 0.6rem; display: flex; align-items: flex-start; gap: 0.5rem; counter-increment: step; }
.vc-detail-step-num { width: 1.75rem; height: 1.75rem; border-radius: 9999px; background: rgba(255, 85, 56, 0.1); color: #ff5538; border: 2px solid rgba(255, 85, 56, 0.2); display: inline-flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: 700; flex-shrink: 0; }

.vc-detail-note { margin-top: 1.25rem; padding: 1rem 1.25rem; background: rgba(255, 85, 56, 0.05); border-right: 4px solid #ff5538; border-radius: 0.35rem; font-size: 0.9rem; color: var(--gray-700); text-align: right; }

.vc-faq-list { border: 1px solid var(--border); border-radius: 0.5rem; overflow: hidden; }
.vc-faq-item { border-bottom: 1px solid var(--border); }
.vc-faq-item:last-child { border-bottom: none; }
.vc-faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 1rem 1.25rem; font-size: 0.95rem; font-weight: 500; color: var(--gray-900); text-align: right; background: none; border: none; cursor: pointer; font-family: inherit; }
.vc-faq-q:hover { background: var(--gray-50); }
.vc-faq-toggle { font-size: 0.85rem; color: var(--gray-500); transition: transform 0.2s; flex-shrink: 0; }
.vc-faq-item.vc-faq-open .vc-faq-toggle { transform: rotate(45deg); }
.vc-faq-a { font-size: 0.9rem; color: var(--gray-600); line-height: 1.6; padding: 0 1.25rem 1rem; display: none; }
.vc-faq-item.vc-faq-open .vc-faq-a { display: block; }

.vc-related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (min-width: 640px) { .vc-related-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }
.vc-related-card { display: flex; align-items: flex-start; gap: 1rem; padding: 1rem 1.25rem; border: 1px solid var(--border); border-radius: 0.75rem; font-size: 0.95rem; font-weight: 500; color: var(--gray-700); text-decoration: none; transition: all 0.2s; text-align: right; }
.vc-related-card:hover { border-color: #ff5538; color: #ff5538; }
.vc-related-card-icon { width: 2.5rem; height: 2.5rem; border-radius: 0.5rem; background: var(--gray-50); display: flex; align-items: center; justify-content: center; font-size: 1.25rem; flex-shrink: 0; color: #ff5538; }
.vc-related-card:hover .vc-related-card-icon { background: rgba(255, 85, 56, 0.1); }
.vc-related-card-body { flex: 1; min-width: 0; }
.vc-related-card-title { font-weight: 700; margin: 0 0 0.35rem; }
.vc-related-card-desc { font-size: 0.8rem; font-weight: 400; color: var(--gray-600); line-height: 1.45; margin: 0; }
.vc-related-card:hover .vc-related-card-desc { color: var(--gray-500); }
/* رنگ برند آیکون خدمات مرتبط */
.vc-related-card .vc-detail-header-icon-playstation { color: #003087; background: rgba(0, 48, 135, 0.1); }
.vc-related-card .vc-detail-header-icon-xbox { color: #107C10; background: rgba(16, 124, 16, 0.1); }
.vc-related-card .vc-detail-header-icon-steam { color: #1B2838; background: rgba(27, 40, 56, 0.1); }
.vc-related-card .vc-detail-header-icon-visa { color: #1A1F71; background: rgba(26, 31, 113, 0.1); }
.vc-related-card .vc-detail-header-icon-mastercard { color: #EB001B; background: rgba(235, 0, 27, 0.1); }
.vc-related-card .vc-detail-header-icon-battlenet,
.vc-related-card .vc-detail-header-icon-desktop { color: #148EFF; background: rgba(20, 142, 255, 0.1); }
.vc-related-card .vc-detail-header-icon-amazon { color: #FF9900; background: rgba(255, 153, 0, 0.1); }
.vc-related-card .vc-detail-header-icon-apple { color: #111; background: rgba(0,0,0,0.06); }
.vc-related-card .vc-detail-header-icon-spotify { color: #1DB954; background: rgba(29, 185, 84, 0.1); }
.vc-related-card .vc-detail-header-icon-netflix { color: #E50914; background: rgba(229, 9, 20, 0.1); }
.vc-related-card .vc-detail-header-icon-gift,
.vc-related-card .vc-detail-header-icon-cardgift { color: #ff5538; background: rgba(255, 85, 56, 0.1); }
.vc-related-card .vc-detail-header-icon-globe,
.vc-related-card .vc-detail-header-icon-creditcard { color: #ff5538; background: rgba(255, 85, 56, 0.1); }

.vc-detail-sidebar { min-width: 0; }
@media (min-width: 1024px) { .vc-detail-sidebar { position: sticky; top: 1rem; } }
.vc-sidebar-box { background: #fff; border-radius: 0.875rem; box-shadow: 0 1px 3px rgb(0 0 0 / 0.06); border: 1px solid var(--border-light); padding: 1.5rem; }
.vc-sidebar-title { font-size: 1.1rem; font-weight: 700; color: var(--gray-900); margin: 0 0 1rem; }
.vc-sidebar-text { font-size: 0.95rem; color: var(--gray-600); margin: 0 0 1.25rem; line-height: 1.6; }
.vc-sidebar-btn { display: block; text-align: center; padding: 0.75rem 1.25rem; background: #ff5538; color: #fff; border-radius: 0.5rem; font-size: 1rem; font-weight: 500; text-decoration: none; transition: background 0.2s; }
.vc-sidebar-btn:hover { background: #e6452e; }
.vc-sidebar-back { margin: 1.25rem 0 0; padding-top: 1.25rem; border-top: 1px solid var(--border); font-size: 0.9rem; }
.vc-sidebar-back a { color: #ff5538; text-decoration: none; }
.vc-sidebar-back a:hover { text-decoration: underline; }

/* بخش مبالغ گیفت کارت (پلی‌استیشن) */
.vc-amount-subtitle { font-size: 0.95rem; font-weight: 700; color: var(--gray-800); margin: 0 0 0.75rem; text-align: right; }
.vc-amount-list { list-style: none; padding: 0; margin: 0; text-align: right; }
.vc-amount-item { font-size: 0.95rem; color: var(--gray-700); padding: 0.5rem 1rem; margin-bottom: 0.35rem; border-radius: 0.5rem; background: var(--gray-50); border: 1px solid transparent; transition: all 0.2s; }
.vc-amount-item:hover { background: rgba(255, 85, 56, 0.05); border-color: rgba(255, 85, 56, 0.2); }
.vc-amount-note { font-size: 0.9rem; color: var(--gray-500); margin: 1.25rem 0 0; text-align: right; }
.vc-amount-upgrade { font-size: 0.9rem; color: var(--gray-700); margin: 0.5rem 0 0; padding: 0.75rem 1rem; background: rgba(255, 85, 56, 0.05); border-right: 4px solid #ff5538; border-radius: 0.35rem; text-align: right; }

/* شرایط مسترکارت پرایم */
.vc-mastercard-terms .vc-detail-h2 { text-align: center; justify-content: center; }
.vc-detail-three-col { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 768px) { .vc-detail-three-col { grid-template-columns: repeat(3, 1fr); } }
.vc-terms-box { background: var(--gray-50); border-radius: 0.5rem; padding: 1rem; }
.vc-terms-box .vc-amount-subtitle { margin-bottom: 0.75rem; font-size: 0.95rem; }
.vc-terms-box .vc-detail-list { margin: 0; }
.vc-terms-box .vc-detail-feature { font-size: 0.9rem; }

/* آمار و ارقام */
.vc-detail-stats { background: linear-gradient(135deg, #1a3760 0%, #2a4a7a 100%); color: #fff; border: none; }
.vc-detail-stats .vc-detail-h2 { color: #fff; font-size: 1.1rem; }
.vc-detail-stats .vc-detail-h2::before { background: #ff5538; }
.vc-stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.vc-stat { text-align: center; padding: 1rem; background: rgba(255,255,255,0.1); border-radius: 0.75rem; }
.vc-stat-icon { width: 3rem; height: 3rem; margin: 0 auto 0.75rem; border-radius: 9999px; background: rgba(255, 85, 56, 0.2); color: #ff5538; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; }
.vc-stat-icon-light { background: rgba(255,255,255,0.2); color: #fff; }
.vc-stat-value { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.35rem; }
.vc-stat-label { font-size: 0.8rem; opacity: 0.9; }

/* بخش مزایا (از پلتفرم ServiceBenefits) */
.vc-benefits-block .vc-detail-h2 { text-align: center; justify-content: center; margin-bottom: 1rem; }
.vc-benefits-subtitle { font-size: 0.95rem; color: var(--gray-600); text-align: center; margin-bottom: 1.5rem; line-height: 1.6; }
.vc-benefits-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .vc-benefits-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .vc-benefits-grid { grid-template-columns: repeat(3, 1fr); } }
.vc-benefit-card { background: #fff; border: 1px solid var(--border-light); border-radius: 0.75rem; padding: 1.25rem; text-align: center; transition: box-shadow 0.2s; }
.vc-benefit-card:hover { box-shadow: 0 4px 12px rgb(0 0 0 / 0.08); }
.vc-benefit-icon { width: 3rem; height: 3rem; margin: 0 auto 1rem; border-radius: 0.75rem; background: #1a1f71; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; }
.vc-benefit-card h3 { font-size: 1rem; font-weight: 700; color: var(--gray-900); margin: 0 0 0.5rem; }
.vc-benefit-card p { font-size: 0.9rem; color: var(--gray-600); line-height: 1.55; margin: 0; text-align: right; }
