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

    :root{
        --bg: #EAE4DA;
        --surface: #F4EFE7;
        --surface-2: #DDD3C3;

        --gold: #B78A45;
        --gold-light: #D8BA7A;
        --gold-dark: #8D6732;

        --text: #2C2925;
        --muted: #746C61;

        --border: #D8CCBA;
        --gold-border: rgba(183,138,69,.22);
        --gold-dim: rgba(183,138,69,.08);

        --radius: 18px;
    }

    body {
      font-family: 'Vazirmatn', sans-serif;
      background: var(--bg);
      color: var(--text);
      min-height: 100vh;
      overflow-x: hidden;
    }
    a { text-decoration: none; color: inherit; }

    /* ── BACKGROUND ── */
    .bg-orb {
      position: fixed;
      top: 30%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 80vw;
      max-width: 900px;
      aspect-ratio: 1;
      background: radial-gradient(circle, rgba(255,191,0,0.18) 0%, rgba(255,120,0,0.06) 40%, transparent 70%);
      filter: blur(100px);
      animation: breathe 12s ease-in-out infinite alternate;
      pointer-events: none;
      z-index: 0;
    }
    @keyframes breathe {
      from { transform: translate(-50%, -50%) scale(0.85); opacity: 0.6; }
      to   { transform: translate(-50%, -50%) scale(1.1); opacity: 1; }
    }
    .noise {
      position: fixed; inset: 0;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
      opacity: 0.03;
      pointer-events: none;
      z-index: 1;
    }

    /* ── HEADER ── */
    .header {
      position: sticky; top: 0; z-index: 200;
      display: flex; align-items: center; justify-content: space-between;
      padding: 0 2.5rem;
      height: 70px;
      background: rgba(250,247,240,0.92);
      backdrop-filter: blur(20px);
      border-bottom: 1px solid var(--gold-border);
    }
    .brand {
      display: flex; align-items: center; gap: 10px;
      font-size: 1.4rem; font-weight: 800; color: var(--gold-light);
    }
    .brand img {
      height: 40px; width: 40px;
      border-radius: 10px;
      object-fit: cover;
      background: #fff;
      padding: 3px;
      box-shadow: 0 0 12px rgba(255,191,0,0.25);
    }
    .nav-links {
      display: flex; gap: 0.3rem;
    }
    .nav-links a {
      padding: 0.45rem 1rem;
      border-radius: 9999px;
      font-size: 0.9rem;
      font-weight: 500;
      color: var(--muted);
      transition: all 0.2s;
      cursor: pointer;
    }
    .nav-links a:hover, .nav-links a.active {
      color: var(--text);
      background: var(--gold-dim);
    }
    .hamburger {
      display: none;
      flex-direction: column; gap: 5px;
      cursor: pointer; padding: 6px;
    }
    .hamburger span {
      display: block; width: 24px; height: 2px;
      background: var(--gold-light);
      border-radius: 2px;
      transition: all 0.3s;
    }
    .mobile-menu {
      display: none;
      position: fixed; top: 70px; left: 0; right: 0;
      background: rgba(250,247,240,0.96);
      backdrop-filter: blur(20px);
      border-bottom: 1px solid var(--gold-border);
      padding: 1rem 1.5rem;
      flex-direction: column; gap: 0.5rem;
      z-index: 199;
    }
    .mobile-menu.open { display: flex; }
    .mobile-menu a {
      padding: 0.8rem 1rem;
      border-radius: 12px;
      font-size: 1rem;
      color: var(--muted);
      cursor: pointer;
      transition: all 0.2s;
      border: 1px solid transparent;
    }
    .mobile-menu a:hover {
      color: var(--text);
      background: var(--gold-dim);
      border-color: var(--gold-border);
    }

    /* ── HERO ── */
    .hero {
      position: relative; z-index: 10;
      display: flex; flex-direction: column; align-items: center; justify-content: center;
      text-align: center;
      padding: 5rem 1.5rem 3rem;
      min-height: calc(100vh - 70px);
    }
    .live-badge {
      display: inline-flex; align-items: center; gap: 8px;
      padding: 6px 16px; border-radius: 9999px;
      border: 1px solid var(--gold-border);
      background: rgba(0,0,0,0.5);
      backdrop-filter: blur(12px);
      font-size: 0.82rem; color: #D8CFC0; /* پس‌زمینه تیره است؛ var(--muted) در تم روشن تیره می‌شود و ناخوانا بود */
      margin-bottom: 2rem;
    }
    .live-dot {
      width: 8px; height: 8px; border-radius: 50%;
      background: #4ade80;
      box-shadow: 0 0 10px #4ade80;
      animation: blink 2s infinite;
    }
    @keyframes blink {
      0%,100% { opacity: 0.5; } 50% { opacity: 1; }
    }
    .price-display {
      font-size: clamp(2.8rem, 11vw, 8rem);
      font-weight: 900;
      line-height: 1;
      letter-spacing: -0.03em;
      direction: ltr;
      background: linear-gradient(160deg, #FFF8DC 0%, #FFD966 45%, #D4AF37 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      margin-bottom: 0.75rem;
      transition: opacity 0.3s;
    }
    .price-label {
      font-size: 1rem; color: var(--muted);
      letter-spacing: 0.12em;
      margin-bottom: 2.5rem;
    }
    .price-label span { color: var(--muted); opacity: 0.5; margin: 0 0.5rem; }

    /* کارت‌های آمار سریع */
    .quick-stats {
      display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center;
      margin-bottom: 3rem;
    }
    .stat-pill {
      display: flex; align-items: center; gap: 8px;
      padding: 0.6rem 1.2rem;
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 9999px;
      font-size: 0.85rem;
    }
    .stat-pill .label { color: var(--muted); }
    .stat-pill .val { font-weight: 700; color: var(--text); direction: ltr; }
    .stat-pill .chg { font-size: 0.78rem; direction: ltr; }
    .up { color: #4ade80; }
    .dn { color: #f87171; }

    /* ── جشنواره ── */
    .festival-section {
      position: relative; z-index: 10;
      width: 100%; max-width: 1100px;
      margin: 0 auto 3rem;
      padding: 0 1.5rem;
    }
    .festival-card {
      /* این بلوک پس‌زمینه‌ی تیره دارد (طراحی عمدی برای جلب توجه)، اما بقیه‌ی
         سایت تم روشن است. بدون این override، عناصر داخل کارت که از
         var(--text)/var(--muted) استفاده می‌کنند رنگ تیره‌ی تم روشن را
         می‌گیرند و روی این پس‌زمینه‌ی تقریباً مشکی نامرئی می‌شوند. */
      --text: #F7F1E3;
      --muted: #C9BFA8;
      position: relative;
      overflow: hidden;
      border-radius: 28px;
      padding: 3rem 3rem;
      background: linear-gradient(135deg, rgba(20,14,0,0.95) 0%, rgba(10,8,0,0.98) 100%);
      border: 1px solid rgba(255,191,0,0.35);
      box-shadow: 0 0 60px rgba(255,191,0,0.07), inset 0 1px 0 rgba(255,215,0,0.15);
    }
    .festival-card::before {
      content: '';
      position: absolute; top: -60px; left: -60px;
      width: 300px; height: 300px;
      background: radial-gradient(circle, rgba(255,191,0,0.2), transparent 70%);
      filter: blur(40px);
      pointer-events: none;
    }
    .festival-card::after {
      content: '';
      position: absolute; bottom: -40px; right: -40px;
      width: 200px; height: 200px;
      background: radial-gradient(circle, rgba(255,120,0,0.12), transparent 70%);
      filter: blur(30px);
      pointer-events: none;
    }
    .festival-top {
      display: flex; align-items: flex-start; justify-content: space-between;
      gap: 2rem; flex-wrap: wrap;
      margin-bottom: 2.5rem;
      position: relative; z-index: 1;
    }
    .festival-eyebrow {
      display: inline-flex; align-items: center; gap: 8px;
      font-size: 0.78rem; font-weight: 700;
      letter-spacing: 0.15em; text-transform: uppercase;
      color: var(--gold);
      background: rgba(255,191,0,0.1);
      border: 1px solid rgba(255,191,0,0.25);
      padding: 5px 12px; border-radius: 9999px;
      margin-bottom: 0.8rem;
    }
    .festival-title {
      font-size: clamp(1.6rem, 4vw, 2.4rem);
      font-weight: 900;
      color: var(--text);
      line-height: 1.3;
    }
    .festival-title em {
      font-style: normal;
      background: linear-gradient(90deg, #FFBF00, #FFD966);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }
    .festival-sub {
      font-size: 0.95rem; color: var(--muted);
      max-width: 480px; line-height: 1.7;
      margin-top: 0.8rem;
    }
    .countdown-block {
      display: flex; gap: 1rem; align-items: center; flex-shrink: 0;
    }
    .cd-unit {
      display: flex; flex-direction: column; align-items: center;
      background: rgba(255,255,255,0.04);
      border: 1px solid var(--gold-border);
      border-radius: 14px;
      padding: 0.8rem 1rem;
      min-width: 62px;
    }
    .cd-num {
      font-size: 2rem; font-weight: 900; line-height: 1;
      color: var(--gold); direction: ltr;
    }
    .cd-label {
      font-size: 0.7rem; color: var(--muted);
      margin-top: 4px;
    }
    .cd-sep { font-size: 1.5rem; color: var(--gold); opacity: 0.4; margin-top: -0.5rem; }

    /* آفرها */
    .festival-offers {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1rem;
      position: relative; z-index: 1;
    }
    .offer-card {
      background: rgba(255,255,255,0.03);
      border: 1px solid rgba(255,255,255,0.07);
      border-radius: 16px;
      padding: 1.4rem 1.2rem;
      transition: all 0.3s;
      position: relative;
      overflow: hidden;
    }
    .offer-card:hover {
      border-color: var(--gold-border);
      background: rgba(255,191,0,0.04);
      transform: translateY(-3px);
    }
    .offer-card.featured {
      border-color: rgba(255,191,0,0.4);
      background: linear-gradient(135deg, rgba(255,191,0,0.06), rgba(255,120,0,0.03));
    }
    .offer-card.featured::before {
      content: 'ویژه';
      position: absolute; top: 10px; left: 12px;
      font-size: 0.7rem; font-weight: 700;
      color: var(--text); background: var(--gold);
      padding: 2px 8px; border-radius: 9999px;
    }
    .offer-icon { font-size: 1.8rem; margin-bottom: 0.8rem; }
    .offer-name {
      font-size: 0.95rem; font-weight: 700; color: var(--text);
      margin-bottom: 0.4rem;
    }
    .offer-desc { font-size: 0.82rem; color: var(--muted); line-height: 1.5; }
    .offer-discount {
      margin-top: 0.8rem;
      font-size: 0.85rem; font-weight: 700; color: var(--gold);
    }

    /* ── PANELS ── */
    .panels-wrap {
      position: relative; z-index: 10;
      width: 100%; max-width: 1200px;
      margin: 0 auto;
      padding: 0 1.5rem 4rem;
    }
    .panel {
      display: none;
      animation: fadeUp 0.4s ease;
    }
    .panel.active { display: block; }
    @keyframes fadeUp {
      from { opacity: 0; transform: translateY(16px); }
      to   { opacity: 1; transform: translateY(0); }
    }
    .panel-header {
      display: flex; align-items: center; gap: 1rem;
      margin-bottom: 2rem;
    }
    .panel-header h2 {
      font-size: 1.8rem; font-weight: 800;
    }
    .panel-header .line {
      flex: 1; height: 1px;
      background: linear-gradient(to left, transparent, var(--gold-border));
    }

    /* Gallery */
    .gallery-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
      gap: 1.5rem;
    }
    .g-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      overflow: hidden;
      transition: all 0.35s;
      cursor: pointer;
    }
    .g-card:hover {
      border-color: var(--gold-border);
      transform: translateY(-6px);
      box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 20px rgba(255,191,0,0.07);
    }
    .g-thumb {
      height: 220px;
      background-size: cover;
      background-position: center;
      position: relative;
    }
    .g-thumb::after {
      content: '';
      position: absolute; inset: 0;
      background: linear-gradient(to top, rgba(250,247,240,0.95) 0%, transparent 55%);
    }
    .g-badge {
      position: absolute; top: 12px; right: 12px; z-index: 1;
      font-size: 0.72rem; font-weight: 700;
      padding: 3px 10px; border-radius: 9999px;
      background: rgba(0,0,0,0.7);
      border: 1px solid var(--gold-border);
      color: var(--gold);
      backdrop-filter: blur(8px);
    }
    .g-body { padding: 1.2rem; }
    .g-title { font-size: 1rem; font-weight: 700; margin-bottom: 1rem; }
    .g-specs {
      display: grid; grid-template-columns: 1fr 1fr;
      gap: 0.5rem; margin-bottom: 1rem;
    }
    .g-spec {
      display: flex; justify-content: space-between;
      font-size: 0.78rem;
      background: var(--surface-2);
      padding: 5px 8px; border-radius: 8px;
    }
    .g-spec .k { color: var(--muted); }
    .g-spec .v { color: var(--text); font-weight: 600; }
    .g-footer {
      display: flex; justify-content: space-between; align-items: center;
      padding-top: 1rem;
      border-top: 1px solid var(--border);
    }
    .g-price-label { font-size: 0.78rem; color: var(--muted); }
    .g-price-val { font-size: 1rem; font-weight: 800; color: var(--gold); }

    /* ── Market (live prices) ── */
    .market-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
      gap: 1.2rem;
    }
    .market-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 1.8rem 1.4rem;
      text-align: center;
      transition: border-color 0.3s;
    }
    .market-card:hover { border-color: var(--gold-border); }
    .market-label { font-size: 0.82rem; color: var(--muted); margin-bottom: 0.6rem; }
    .market-val {
      font-size: 1.9rem; font-weight: 900; color: var(--text);
      direction: ltr; margin-bottom: 0.4rem;
      transition: color 0.3s;
    }
    .market-val.gold { color: var(--gold); }
    .market-unit { font-size: 0.75rem; color: var(--muted); margin-bottom: 0.3rem; }
    .market-time { font-size: 0.7rem; color: var(--muted); opacity: 0.6; }

    /* skeleton */
    @keyframes shimmer {
      0% { background-position: 200% 0; }
      100% { background-position: -200% 0; }
    }
    .skeleton {
      background: linear-gradient(90deg, rgba(255,255,255,0.04) 25%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.04) 75%);
      background-size: 200% 100%;
      animation: shimmer 1.4s infinite;
      border-radius: 8px;
    }

    /* market meta bar */
    .market-meta {
      display: flex; align-items: center; justify-content: space-between;
      margin-bottom: 1.5rem; gap: 1rem; flex-wrap: wrap;
    }
    .market-meta-info { font-size: 0.8rem; color: var(--muted); }
    .market-refresh-btn {
      display: flex; align-items: center; gap: 6px;
      background: var(--gold-dim);
      border: 1px solid var(--gold-border);
      border-radius: 8px;
      padding: 0.4rem 0.9rem;
      font-family: 'Vazirmatn', sans-serif;
      font-size: 0.8rem; color: var(--gold);
      cursor: pointer;
      transition: background 0.2s;
    }
    .market-refresh-btn:hover { background: rgba(255,191,0,0.2); }
    .market-error {
      background: rgba(239,68,68,0.1);
      border: 1px solid rgba(239,68,68,0.3);
      border-radius: 10px;
      padding: 0.75rem 1rem;
      font-size: 0.85rem; color: #FCA5A5;
      margin-bottom: 1.5rem;
    }

    /* About & Contact */
    .prose {
      max-width: 680px;
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 2.5rem;
      line-height: 2;
      font-size: 1rem;
      color: var(--text); /* قبلاً سفید نیمه‌شفاف بود که روی این پس‌زمینه‌ی روشن نامرئی می‌شد */
    }
    .prose strong { color: var(--text); }
    .prose p + p { margin-top: 1rem; }

    /* ── درباره ما ── */
    .about-wrap { max-width: 980px; }
    .about-intro {
      max-width: 720px;
      margin-bottom: 2.5rem;
      font-size: 1.02rem;
      line-height: 2;
      color: var(--muted);
    }
    .about-lead {
      font-size: 1.15rem;
      color: var(--text);
      font-weight: 500;
      margin-bottom: 1rem;
    }
    .about-intro strong { color: var(--gold-dark); font-weight: 700; }

    .about-stats {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1rem;
      margin-bottom: 2.5rem;
      max-width: 720px;
    }
    .about-stat {
      text-align: center;
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 1.4rem 1rem;
    }
    .about-stat-num {
      display: block;
      font-size: 1.8rem;
      font-weight: 900;
      color: var(--gold-dark);
      direction: ltr;
    }
    .about-stat-label {
      display: block;
      font-size: 0.8rem;
      color: var(--muted);
      margin-top: 0.35rem;
    }

    .about-features {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1.25rem;
    }
    .about-feature {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 1.75rem 1.5rem;
      transition: border-color 0.25s, transform 0.25s;
    }
    .about-feature:hover {
      border-color: var(--gold-border);
      transform: translateY(-4px);
    }
    .about-feature-icon {
      width: 46px; height: 46px;
      display: flex; align-items: center; justify-content: center;
      border-radius: 14px;
      background: linear-gradient(135deg, #ffdf7a 0%, #b38600 100%);
      color: #000;
      margin-bottom: 1rem;
    }
    .about-feature-icon svg { width: 22px; height: 22px; }
    .about-feature h3 {
      font-size: 1rem;
      font-weight: 700;
      color: var(--text);
      margin-bottom: 0.5rem;
    }
    .about-feature p {
      font-size: 0.88rem;
      line-height: 1.8;
      color: var(--muted);
    }

    @media (max-width: 720px) {
      .about-stats, .about-features { grid-template-columns: 1fr; }
    }

    /* ── FOOTER ── */
    footer {
      position: relative; z-index: 10;
      display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem;
      padding: 1.5rem 2rem;
      background: rgba(0,0,0,0.7);
      border-top: 1px solid var(--gold-border);
      font-size: 0.85rem; color: var(--muted);
    }
    footer .fi { display: flex; align-items: center; gap: 0.5rem; }
    footer .fv { color: var(--text); font-weight: 600; direction: ltr; }
    footer .fg { color: var(--gold); font-weight: 700; direction: ltr; }

    /* ── RESPONSIVE ── */
    @media (max-width: 860px) {
      .festival-offers { grid-template-columns: 1fr 1fr; }
      .countdown-block { justify-content: flex-start; }
    }
    @media (max-width: 640px) {
      .header { padding: 0 1.2rem; }
      .nav-links { display: none; }
      .hamburger { display: flex; }
      .hero { padding: 3rem 1.2rem 2rem; min-height: auto; }
      .quick-stats { gap: 0.6rem; }
      .stat-pill { font-size: 0.78rem; padding: 0.5rem 0.9rem; }
      .festival-card { padding: 1.8rem 1.4rem; border-radius: 20px; }
      .festival-top { flex-direction: column; gap: 1.5rem; }
      .festival-offers { grid-template-columns: 1fr; }
      .gallery-grid { grid-template-columns: 1fr; }
      .market-grid { grid-template-columns: 1fr 1fr; }
      .panels-wrap { padding: 0 1rem 3rem; }
    }
    /* استایل‌های بخش تماس با ما پیشرفته */
    .contact-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 20px;
    }

    .contact-card-main {
    background: var(--surface);
    border: 1px solid var(--border);
    backdrop-filter: blur(12px);
    border-radius: 24px;
    padding: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    }

    .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    }

    .contact-icon-wrap {
    background: linear-gradient(135deg, #ffdf7a 0%, #b38600 100%);
    color: #000;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(179, 134, 0, 0.2);
    }

    .contact-icon-wrap svg {
    width: 22px;
    height: 22px;
    }

    .contact-text h3 {
    font-size: 1.1rem;
    color: var(--gold-dark);
    margin-bottom: 10px;
    font-weight: 600;
    }

    .contact-text p {
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.8;
    margin: 0;
    }

    .contact-text .shop-phone {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed var(--border);
    }

    .contact-text .shop-phone span {
    color: var(--muted);
    }

    .contact-text .work-hours span {
    color: var(--muted);
    opacity: 0.6;
    margin: 0 5px;
    }

    /* بخش شبکه‌های اجتماعی */
    .social-section {
    text-align: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 25px;
    }

    .social-title {
    font-size: 1rem;
    color: var(--text);
    margin-bottom: 20px;
    font-weight: 500;
    opacity: 0.9;
    }

    .social-links-grid {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    }

    .social-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 16px;
    text-decoration: none;
    color: var(--text);
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--surface-2);
    border: 1px solid var(--border);
    }

    .social-btn .social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    }

    .social-btn .social-icon svg {
    width: 22px;
    height: 22px;
    transition: transform 0.3s ease;
    }

    /* هاور و رنگ اختصاصی دکمه‌ها */
    .social-btn.telegram:hover {
    background: #229ED9;
    border-color: #229ED9;
    box-shadow: 0 10px 25px rgba(34, 158, 217, 0.3);
    }

    .social-btn.eitaa:hover {
    background: #E76F51;
    border-color: #E76F51;
    box-shadow: 0 10px 25px rgba(231, 111, 81, 0.3);
    }

    .social-btn.soroush:hover {
    background: #00B4D8;
    border-color: #00B4D8;
    box-shadow: 0 10px 25px rgba(0, 180, 216, 0.3);
    }

    .social-btn:hover {
    transform: translateY(-4px);
    color: var(--text) !important;
    }

    .social-btn:hover .social-icon svg {
    transform: scale(1.1);
    }

    /* بهینه‌سازی موبایل */
    @media (max-width: 600px) {
    .contact-card-main {
        padding: 20px;
        gap: 25px;
    }
    .social-links-grid {
        flex-direction: column;
        width: 100%;
    }
    .social-btn {
        width: 100%;
        justify-content: center;
    }
    }
    /* افکت هاور اختصاصی اینستاگرام */
    .social-btn.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: #e6683c;
    box-shadow: 0 10px 25px rgba(220, 39, 67, 0.4);
    }

    /* بهینه‌سازی چیدمان برای ۴ دکمه */
    @media (min-width: 601px) {
    .social-links-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr); /* هر ۴ دکمه در دسکتاپ در یک ردیف منظم قرار می‌گیرند */
        gap: 15px;
    }
    }


    .festival-exclusive-card {
    /* پس‌زمینه‌ی این کارت هم مثل .festival-card تیره است؛ همان دلیل نیاز به override */
    --text: #F7F1E3;
    --muted: #C9BFA8;
    border: 1px solid rgba(255, 191, 0, 0.3) !important;
    background: linear-gradient(145deg, rgba(255,191,0,0.03), rgba(18,18,18,0.8)) !important;
    box-shadow: 0 0 25px rgba(255, 191, 0, 0.05) !important;
  }
  .addon-tag {
    background: rgba(255, 191, 0, 0.15);
    color: #FFBF00;
    border: 1px solid rgba(255, 191, 0, 0.3);
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: bold;
    display: inline-block;
    margin-top: 0.5rem;
  }
  /* تایمر معکوس مدرن اپل استایل */
  .timer-box {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
    direction: ltr;
  }
  .timer-segment {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    min-width: 70px;
  }
  .timer-num { font-size: 1.8rem; font-weight: 700; color: #FFBF00; display: block; }
  .timer-lbl { font-size: 0.75rem; color: #888; }
@media (max-width: 1024px) {
  .header { padding: 0 1.5rem; }
  .panels-wrap { padding: 0 1.25rem; }
  .contact-container { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .header { height: 60px; padding: 0 1rem; }
  .brand { font-size: 1rem; gap: .5rem; }
  .brand img { width: 34px; height: 34px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .panels-wrap { padding: 0 .9rem; }
  .panel-header h2 { font-size: 1.4rem; }
  .market-grid { grid-template-columns: repeat(2, 1fr); gap: .7rem; }
  .market-card { padding: 1rem .75rem; }
  .market-val { font-size: 1.1rem; }
  .market-meta { flex-direction: column; align-items: flex-start; gap: .6rem; }
  .timer-box { gap: .5rem; }
  .timer-segment { padding: .5rem .7rem; min-width: 56px; }
  .timer-num { font-size: 1.3rem; }
  .footer, footer { flex-wrap: wrap; gap: .6rem 1.2rem; padding: 1.25rem 1rem; font-size: .78rem; justify-content: center; text-align: center; }
  .social-links-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-card-main { padding: 1.25rem; }
}

@media (max-width: 480px) {
  .header { padding: 0 .75rem; }
  .brand { font-size: .92rem; }
  .brand img { width: 30px; height: 30px; }
  .panels-wrap { padding: 0 .6rem; }
  .panel-header h2 { font-size: 1.2rem; }
  .market-grid { grid-template-columns: repeat(2, 1fr); gap: .5rem; }
  .market-card { padding: .8rem .6rem; border-radius: 14px; }
  .market-label { font-size: .72rem; }
  .market-val { font-size: .98rem; }
  .market-unit, .market-time { font-size: .65rem; }
  .timer-box { flex-wrap: wrap; justify-content: center; }
  .timer-segment { min-width: 48px; padding: .45rem .5rem; }
  .timer-num { font-size: 1.05rem; }
  .timer-lbl { font-size: .65rem; }
  .social-links-grid { grid-template-columns: 1fr; }
  .contact-item { flex-direction: column; text-align: center; gap: .5rem; }
  .contact-icon-wrap { margin: 0 auto; }
}

@media (max-width: 380px) {
  .market-grid { grid-template-columns: 1fr; }
  .brand { font-size: .85rem; }
}