/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }



:root{
  /* Brand */
  --brand: #f5500c;
  --brand-2: #ff6a2b;                 /* روشن‌تر برای hover */
  --brand-dim: rgba(245, 80, 12, .15);/* بک‌گراندهای ملایم */

  /* Alias برای کد فعلی که همه جا --gold نوشته‌ای */
  --gold: var(--brand);
  --gold-light: var(--brand-2);
  --gold-dim: var(--brand-dim);

  /* Backgrounds */
  --bg: #0a0a0a;
  --bg-2: #111111;
  --bg-3: #161616;

  /* Text */
  --text: #e8e8e8;
  --text-muted: #b0b0b0;
  --text-dim: #777;

  /* Borders */
  --border: rgba(245, 80, 12, .22);

  /* UI */
  --radius: 12px;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --font-en: 'Cinzel', serif;
  --font-fa: 'Vazirmatn', 'Tahoma', sans-serif;

  /* Layout token (اختیاری ولی مفید) */
  --nav-height: 80px;
}


html { scroll-behavior: smooth; font-size: 16px; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-fa);
    line-height: 1.8;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Persian font fallback */
/* =========================
   LOCAL FONTS
========================= */

/* =========================
   LOCAL FONTS
========================= */
@font-face {
    font-family: 'Vazirmatn';
    src: url('./fonts/AradFD-Black.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    src: url('fonts/AradFD-Black.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    /* متغیر فونت فارسی */
    --font-fa: 'Vazirmatn', 'Tahoma', sans-serif;
    /* سایر متغیرها... */
}

body {
    background: var(--bg);
    color: var(--text);
    /* اعمال فونت روی بدنه اصلی سایت */
    font-family: var(--font-fa); 
    line-height: 1.8;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}


a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.gold-text { color: var(--gold); }

/* ===== TYPOGRAPHY ===== */
.section-label {
   
    color: var(--gold);

     font-family: var(--font-fa);
    letter-spacing: 0; /* letter-spacing روی فارسی بد به نظر میرسه */
    text-transform: none;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
}

.section-desc {
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gold);
    color: #0a0a0a;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(197,160,89,0.3); }

.btn-ghost {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

.btn-outline {
    background: transparent;
    color: var(--gold);
    border: 1px solid var(--gold);
}
.btn-outline:hover { background: var(--gold-dim); }

/* ===== NAVIGATION ===== */
.nav-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 0;
    transition: background var(--transition), backdrop-filter var(--transition);
}

.nav-header.scrolled {
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
}
.nav-logo .logo-text {
    font-family: var(--font-en);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.15em;
}
.nav-logo .logo-sub {
    font-family: var(--font-en);
    font-size: 0.9rem;
    letter-spacing: 0.5em;
    color: var(--text-muted);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}
.nav-links a {
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: color 0.3s;
    position: relative;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0; right: 0;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform 0.3s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta { color: var(--gold) !important; }

.nav-toggle{
    outline:none !important;
    border:none !important;
    box-shadow:none !important;

    -webkit-tap-highlight-color: transparent !important;
    -webkit-focus-ring-color: transparent !important;

    background-color: transparent !important;

    user-select:none;
    -webkit-user-select:none;

    touch-action: manipulation;
}

.nav-toggle *{
    outline:none !important;
    box-shadow:none !important;
    -webkit-tap-highlight-color: transparent !important;
}

.nav-toggle:focus,
.nav-toggle:focus-visible,
.nav-toggle:active{
    outline:none !important;
    box-shadow:none !important;
    background:transparent !important;
}
/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 120px 24px 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-glow {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(197,160,89,0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-particles {
    position: absolute;
    inset: 0;
}

.hero-content {
    position: relative;
    z-index: 1;max-width: 800px;
}

.hero-eyebrow {
    font-family: var(--font-en);
    font-size: 0.75rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(2.8rem, 8vw, 5.5rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 28px;
    letter-spacing: -0.02em;
}



.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.4;
}
.scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, transparent, var(--gold));
    animation: scrollPulse 2s ease-in-out infinite;
}
.scroll-label {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    color: var(--gold);
}
@keyframes scrollPulse {
    0%, 100% { opacity: 0.4; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(1.2); }
}

/* ===== ABOUT ===== */
.about {
    padding: 120px 0;
    background: var(--bg-2);
    position: relative;
    overflow: hidden;
}
.about::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border), transparent);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: center;
}

.about-frame {
    aspect-ratio: 1;
    max-width: 380px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--bg-3);
    overflow: hidden;
}
.about-inner-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(197,160,89,0.06) 0%, transparent 70%);
}
.about-symbol {
    font-size: 8rem;
    color: var(--gold);
    opacity: 0.15;
    font-family: sans-serif;
    animation: rotateSlow 20s linear infinite;
}
@keyframes rotateSlow { to { transform: rotate(360deg); } }

.about-text p {
    color: var(--text-muted);
    margin-bottom: 20px;
}
.about-text em { color: var(--gold); font-style: normal; }

/* ===== WORLDS ===== */
.worlds {
    padding: 120px 0;
    background: var(--bg);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.worlds-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.world-card {
    position: relative;
    background: var(--bg-3);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px 32px;
    transition: var(--transition);
    overflow: hidden;
}
.world-card:hover {
    border-color: rgba(197,160,89,0.5);
    transform: translateY(-6px);
}
.world-card:hover .card-glow { opacity: 1; }

.card-glow {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
    opacity: 0;    transition: opacity var(--transition);
}

.world-card--featured {
    border-color: rgba(197,160,89,0.4);
    background: linear-gradient(135deg, var(--bg-3) 0%, rgba(197,160,89,0.05) 100%);
}

.card-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    color: var(--bg);
    background: var(--gold);
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 700;
}

.card-icon {
    width: 60px;
    height: 60px;
    color: var(--gold);
    margin-bottom: 24px;
    opacity: 0.8;
}

.card-tag {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    font-family: var(--font-en);
}

.card-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 10px 0 14px;
}

.card-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.9;
    margin-bottom: 24px;
}

.card-link {
    font-size: 0.85rem;
    color: var(--gold);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s;
}
.card-link:hover { gap: 14px; }

/* ===== JOIN / NEWSLETTER ===== */
.join {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    background: var(--bg-2);
    text-align: center;
}
.join::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border), transparent);
}

.join-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center bottom, rgba(197,160,89,0.05) 0%, transparent 60%);
    pointer-events: none;
}

.join-content { position: relative; z-index: 1; max-width: 600px; margin: 0 auto; }

.join-desc {
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 2;
}

.join-form .form-group {
    display: flex;
    gap: 12px;
    max-width: 480px;
    margin: 0 auto 12px;
}

.join-form input[type="email"] {
    flex: 1;
    background: var(--bg-3);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 14px 20px;
    color: var(--text);
    font-family: var(--font-fa);
    font-size: 0.95rem;
    transition: border-color 0.3s;outline: none;
    direction: rtl;
}
.join-form input[type="email"]:focus { border-color: var(--gold); }
.join-form input[type="email"]::placeholder { color: var(--text-dim); }

.form-note {
    font-size: 0.78rem;
    color: var(--text-dim);
}

.form-message {
    margin-top: 16px;
    font-size: 0.9rem;
    min-height: 24px;
}
.form-message.success { color: #6fcf97; }
.form-message.error { color: #eb5757; }

/* ===== FOOTER ===== */
.footer {
    padding: 80px 0 40px;
    background: var(--bg);
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand .logo-text {
    font-family: var(--font-en);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.15em;
    display: block;
}
.footer-brand .logo-sub {
    font-family: var(--font-en);
    font-size: 0.55rem;
    letter-spacing: 0.4em;
    color: var(--text-muted);
    display: block;
    margin-bottom: 16px;
}
.footer-brand p { font-size: 0.9rem; color: var(--text-muted); max-width: 280px; }

.footer-nav h3,
.footer-social h3 {
   font-family: var(--font-fa);
    letter-spacing: 0; /* letter-spacing روی فارسی بد به نظر میرسه */
    text-transform: none;
    color: var(--gold);

    margin-bottom: 20px;
}

.footer-nav ul li,
.footer-social ul li { margin-bottom: 12px; }

.footer-nav a,
.footer-social a {
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: color 0.3s;
}
.footer-nav a:hover,
.footer-social a:hover { color: var(--gold); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 0.8rem;
    color: var(--text-dim);
}
.footer-bottom a { color: var(--gold); }

/* ===== SCROLL REVEAL ANIMATIONS ===== */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 0;
    transition: opacity 0.8s var(--transition), transform 0.8s var(--transition);
    transition-delay: var(--delay, 0s);
}
.reveal-up    { transform: translateY(40px); }
.reveal-left  { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }

.reveal-up.visible,
.reveal-left.visible,
.reveal-right.visible {
    opacity: 1;
    transform: translate(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .about-grid { grid-template-columns: 1fr; gap: 48px; }
    .about-visual { display: flex; justify-content: center; }
    .about-frame { max-width: 280px; }
    .worlds-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
    .nav-links {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(10,10,10,0.97);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        font-size: 1.2rem;
    }
    .nav-links.open { display: flex; }
    .nav-toggle { display: flex; }

    .join-form .form-group { flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
/* ═══════════════════════════════════════════
   UPDATED TOKENS — Orange palette
═══════════════════════════════════════════ */
:root {
  --gold:        #E8821A;
  --gold-light:  #F5A04A;
  --gold-dim:    rgba(232, 130, 26, 0.18);

  --bg:          #0d0b09;
  --bg-2:        #141109;
  --bg-3:        #1c1710;

  --text:        #f5ede0;
  --text-muted:  #c4a882;
  --text-dim:    #7a6248;

  --border:      rgba(232, 130, 26, 0.15);
  --radius:      12px;
  --transition:  0.3s ease;
}

/* ═══════════════════════════════════════════
   HEADER / NAV
═══════════════════════════════════════════ */
.nav-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 1000;
  transition: background var(--transition), border-color var(--transition);
}

.nav-header.scrolled {
  background: rgba(13, 11, 9, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding-inline: clamp(20px, 5vw, 64px);
  max-width: 1280px;
  margin-inline: auto;
}

/* ── Logo ── */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: filter var(--transition), transform var(--transition);
}

.nav-logo:hover,
.nav-logo:focus-visible {
  filter: drop-shadow(0 0 10px rgba(232, 130, 26, 0.55));
  transform: translateY(-1px);
}

/* SVG icon wrapper */
.logo-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-fa {
  font-family: var(--font-fa);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.02em;
}

.logo-en {
  font-family: var(--font-en);
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ── Nav links ── */
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-family: var(--font-fa);
  font-size: 0.92rem;
  color: var(--text-muted);
  text-decoration: none;
  position: relative;
  padding-block-end: 4px;
  transition: color var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  inset-block-end: 0;
  inset-inline-start: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--gold-light);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  width: 100%;
}

/* ── Actions ── */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn--sm {
  padding: 8px 20px;
  font-size: 0.85rem;
  border-radius: 8px;
}

.btn--outline {
  background: transparent;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  transition: background var(--transition), color var(--transition);
}

.btn--outline:hover,
.btn--outline:focus-visible {
  background: var(--gold);
  color: #0d0b09;
}

/* ── Hamburger ── */





/* ── Hero offset ── */
.hero { padding-top: 72px; }

/* ═══════════════════════════════════════════
   SECTION SPACING & TYPOGRAPHY
═══════════════════════════════════════════ */
.section-header {
  margin-bottom: clamp(48px, 7vw, 80px);
  text-align: center;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 18px;
  margin-bottom: 16px;
  background: var(--gold-dim);
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-desc {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: var(--text-muted);
  line-height: 1.9;
  max-width: 560px;
  margin-inline: auto;
}

/* ═══════════════════════════════════════════
   MOBILE  ≤ 900px
═══════════════════════════════════════════ */
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-actions .btn--sm { display: none; }

  .nav-links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    background: rgba(13, 11, 9, 0.97);
    backdrop-filter: blur(20px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 999;
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    font-size: 1.4rem;
    color: var(--text);
  }

  .logo-en { display: none; }

  .nav-inner { height: 64px; }
  .hero { padding-top: 64px; }
}
/* ═══════════════════════════════════════════
   HERO — full redesign
═══════════════════════════════════════════ */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 72px; /* header offset */
}

/* ── Background layers ── */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.18;
}

.hero-glow--1 {
  width: 600px;
  height: 600px;
  background: var(--gold);
  top: -100px;
  right: -150px;
  animation: glowPulse 8s ease-in-out infinite;
}

.hero-glow--2 {
  width: 400px;
  height: 400px;
  background: var(--gold-light);
  bottom: 0;
  left: -100px;
  opacity: 0.1;
  animation: glowPulse 10s ease-in-out infinite reverse;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(232, 130, 26, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 130, 26, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

@keyframes glowPulse {
  0%, 100% { transform: scale(1);   opacity: 0.18; }
  50%       { transform: scale(1.1); opacity: 0.25; }
}

/* ── Inner layout ── */
.hero-inner {
  align-items: center;        /* وسط افقی */
  text-align: center;
  margin-inline: auto;        /* وسط در container */
}


/* ── Tag ── */
.hero-tag {
  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);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 7px 18px;
  background: var(--gold-dim);
}

.tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

/* ── Title ── */
.hero-title {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 900;
  line-height: 1.05;
  color: var(--text);
  margin: 0;
}

.hero-title__line--accent {
  color: var(--gold);
  position: relative;
  display: inline-block;
}

/* underline decoration on accent word */
.hero-title__line--accent::after {
  content: '';
  position: absolute;
  inset-block-end: 4px;
  inset-inline-start: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
  border-radius: 2px;
}

/* ── Description ── */
.hero-desc {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--text-muted);
  line-height: 2;
  max-width: 520px;
  margin: 0;
}

/* ── CTAs ── */
.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn--lg {
  padding: 14px 32px;
  font-size: 1rem;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn--primary {
  background: var(--gold);
  color: #0d0b09;
  font-weight: 800;
  border: none;
  transition: background var(--transition), transform var(--transition),
              box-shadow var(--transition);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(232, 130, 26, 0.35);
}

.btn--ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
  transition: color var(--transition), border-color var(--transition),
              background var(--transition);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  color: var(--text);
  border-color: var(--gold);
  background: var(--gold-dim);
}

/* ── Stats ── */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  width: 100%;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat__num {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}

.stat__label {
  font-size: 0.75rem;
  color: var(--text-dim);
  letter-spacing: 0.05em;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
  flex-shrink: 0;
}

/* ── Scroll indicator ── */
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.scroll-line {
  display: block;
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollDrop 2s ease-in-out infinite;
}

@keyframes scrollDrop {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 1; }
  50%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  100% { transform: scaleY(1); transform-origin: bottom; opacity: 0; }
}

/* ── Reveal animation ── */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].visible {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal-delay="1"] { transition-delay: 0.1s; }
[data-reveal-delay="2"] { transition-delay: 0.2s; }
[data-reveal-delay="3"] { transition-delay: 0.35s; }
[data-reveal-delay="4"] { transition-delay: 0.5s; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .hero { padding-top: 64px; }

  .hero-inner {
    align-items: center;
    text-align: center;
    margin-inline: auto;
    padding-inline: 20px;
  }

  .hero-title__line--accent::after {
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
  }

  .hero-actions { justify-content: center; }

  .hero-stats {
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
  }

  .stat { align-items: center; }
}
:root {
    --gold: #E8821A; /* نارنجی برند هیران */
    --gold-light: #ff9d3d;
    --gold-dim: rgba(232, 130, 26, 0.1);
    --nav-height: 80px;
}

/* ── Header Base ── */
.nav-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
}

.nav-header.scrolled {
    background: rgba(13, 11, 9, 0.8);
    backdrop-filter: blur(12px);
    height: 70px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* ── Logo Styling ── */
.nav-logo {
    text-decoration: none;
    color: var(--gold);
    transition: transform 0.3s ease;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hiran-logo-icon {
    width: 40px;
    height: 40px;
    transition: transform 0.5s ease;
}

.nav-logo:hover .hiran-logo-icon {
    transform: rotate(-10deg) scale(1.1);
    filter: drop-shadow(0 0 8px var(--gold));
}

.logo-text-group {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 900;
    letter-spacing: 1px;
}

.logo-sub {
    font-size: 0.6rem;
    letter-spacing: 2px;
    color: var(--text-dim);
    margin-top: 4px;
}

/* ── Navigation Links ── */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 4px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--gold);
}

.nav-links a:hover::after {
    width: 100%;
}

/* ── Mobile Toggle ── */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}







/* ── Responsive ── */
@media (max-width: 992px) {
    .nav-toggle { display: block; }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: #0d0b09;
        flex-direction: column;
        justify-content: center;
        transition: 0.5s;
        z-index: 999;
    }

    .nav-menu.active { right: 0; }
    
    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }
}
/* آیکون داخل دکمه */
.btn--primary svg {
  transition: transform var(--transition);
}
.btn--primary:hover svg {
  transform: translateX(-4px); /* RTL: به چپ حرکت کنه */
}

/* فاصله hero-stats از hero-actions */
.hero-inner {
  gap: 32px;
}
.hero-stats {
  direction: rtl;
  justify-content: center; /* یا flex-start اگه راست‌چین می‌خوای */
  margin-top: 8px;
}

.stat {
  align-items: center;
  text-align: center;
}

.stat__num {
  font-family: var(--font-fa);
}

.stat__label {
  font-family: var(--font-fa);
  white-space: nowrap;
}
.hero-title__line--accent::after {
  display: none;
}

/* =========================
   FULL MOBILE RESPONSIVE
========================= */

@media (max-width: 1200px){

.container{
    width:min(92%,1200px);
}

.hero-title__line--accent{
    font-size:9rem !important;
}

}

/* =========================
   TABLET
========================= */

@media (max-width: 992px){

.nav-container{
    padding:14px 20px;
}

.hero{
    min-height:100svh;
    padding-top:120px;
}

.hero-inner{
    width:100%;
    align-items:center;
    text-align:center;
}

.hero-title{
    width:100%;
}

.hero-title__line{
    font-size:2rem;
}

.hero-title__line--accent{
    font-size:7rem !important;
    line-height:.95;
    letter-spacing:-4px;
}

.hero-title__line--accent::before{
    letter-spacing:8px;
    margin-bottom:18px;
}

.hero-actions{
    flex-direction:column;
    width:100%;
    gap:14px;
}

.hero-actions .btn{
    width:100%;
    justify-content:center;
}

.hero-stats{
    flex-wrap:wrap;
    justify-content:center;
    gap:18px;
    width:100%;
}

.stat-divider{
    display:none;
}

.about-grid{
    grid-template-columns:1fr;
    gap:60px;
}

.about-text{
    text-align:center;
}

.worlds-grid{
    grid-template-columns:1fr;
}

.join-content{
    padding:40px 24px;
}

.footer-grid{
    grid-template-columns:1fr;
    gap:40px;
    text-align:center;
}

.footer-nav ul,
.footer-social ul{
    display:flex;
    flex-direction:column;
    align-items:center;
}

}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px){

html{
    overflow-x:hidden;
}

body{
    overflow-x:hidden;
}

.container{
    width:92%;
}

.nav-header{
    padding:10px 0;
}

.logo-wrapper{
    padding:10px 14px;
    border-radius:16px;
}

.hiran-logo-icon{
    width:42px;
    height:42px;
}

.logo-text{
    font-size:1.2rem;
}

.logo-sub{
    font-size:.7rem;
    letter-spacing:2px;
}

.hero{
    min-height:100svh;
    padding-top:110px;
    padding-bottom:40px;
}

.hero-inner{
    gap:18px;
}

.hero-title{
    gap:6px;
}

.hero-title__line{
    font-size:1.1rem;
    letter-spacing:2px;
}

.hero-title__line--accent{
    font-size:5rem !important;
    letter-spacing:-3px;
    line-height:.9;
    word-break:break-word;
}

.hero-title__line--accent::before{
    font-size:.9rem;
    letter-spacing:4px;
    margin-bottom:12px;
}

.hero-title__line--accent::after{
    width:120px !important;
    bottom:-18px !important;
}

.hero-desc{
    font-size:.95rem;
    line-height:2;
    width:100%;
}

.hero-actions{
    margin-top:20px;
}

.btn{
    width:100%;
    min-height:54px;
    font-size:.95rem;
}

.hero-stats{
    margin-top:10px;
    gap:14px;
}

.stat{
    width:100%;
    padding:18px;
    border-radius:18px;
    background:rgba(255,255,255,.03);
    border:1px solid rgba(255,255,255,.05);
}

.stat__num{
    font-size:1.6rem;
}

.section-header{
    text-align:center;
}

.section-title{
    font-size:2rem;
    line-height:1.4;
}

.section-desc{
    font-size:.95rem;
    line-height:2;
}

.about{
    padding:90px 0;
}

.about-frame{
    min-height:300px;
}

.about-symbol{
    font-size:6rem;
}

.about-text p{
    font-size:.95rem;
    line-height:2.3;
}

.worlds{
    padding:90px 0;
}

.world-card{
    padding:26px;
    border-radius:24px;
}

.card-title{
    font-size:1.4rem;
}

.card-desc{
    font-size:.92rem;
    line-height:2;
}

.card-link{
    width:100%;
    justify-content:center;
}

.join{
    padding:90px 0;
}

.join-form .form-group{
    flex-direction:column;
    gap:12px;
}

.join-form input{
    width:100%;
    height:56px;
}

.join-form button{
    width:100%;
    height:56px;
}

.footer{
    padding-top:70px;
}

.footer-bottom{
    flex-direction:column;
    gap:10px;
    text-align:center;
}

}

/* =========================
   SMALL PHONES
========================= */

@media (max-width: 480px){

.hero-title__line--accent{
    font-size:4rem !important;
}

.hero-title__line--accent::before{
    font-size:.8rem;
    letter-spacing:3px;
}

.section-title{
    font-size:1.7rem;
}

.world-card{
    padding:22px;
}

.card-icon{
    width:58px;
    height:58px;
}

.about-text p{
    font-size:.9rem;
}

}

/* =========================
   REMOVE MOBILE TAP EFFECT
========================= */

button,
a,
div,
span,
.nav-toggle,
.hamburger,
.hamburger::before,
.hamburger::after{
    -webkit-tap-highlight-color: transparent !important;
    outline: none !important;
    box-shadow: none !important;
}

button:focus,
button:active,
button:focus-visible,
.nav-toggle:focus,
.nav-toggle:active,
.nav-toggle:focus-visible{
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

/* Samsung / Android Fix */
*{
    -webkit-touch-callout: none;
}
:root{
  /* Brand */
  --brand: #f5500c;
  --brand-2: #ff6a2b;
  --brand-dim: rgba(245, 80, 12, .15);

  /* Alias */
  --gold: var(--brand);
  --gold-light: var(--brand-2);
  --gold-dim: var(--brand-dim);

  /* Backgrounds */
  --bg: #0a0a0a;
  --bg-2: #111111;
  --bg-3: #161616;

  /* Text */
  --text: #e8e8e8;
  --text-muted: #b0b0b0;
  --text-dim: #777;

  /* Borders */
  --border: rgba(245, 80, 12, .22);

  /* UI */
  --radius: 12px;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --font-en: 'Cinzel', serif;
  --font-fa: 'Vazirmatn', 'Tahoma', sans-serif;

  --nav-height: 80px;
}

/* =========================
   UPDATED TOKENS — ORANGE
========================= */

:root {
  --gold: #f5500c;
  --gold-light: #ff6a2b;
  --gold-dim: rgba(245, 80, 12, 0.18);

  --bg: #0d0b09;
  --bg-2: #141109;
  --bg-3: #1c1710;

  --text: #f5ede0;
  --text-muted: #c4a882;
  --text-dim: #7a6248;

  --border: rgba(245, 80, 12, 0.15);
  --radius: 12px;
  --transition: 0.3s ease;
}

/* =========================
   HERO GLOW FIX
========================= */

.hero-glow {
    background: radial-gradient(circle,
    rgba(245,80,12,0.10) 0%,
    transparent 70%);
}

.about-inner-glow {
    background: radial-gradient(circle at center,
    rgba(245,80,12,0.06) 0%,
    transparent 70%);
}

.world-card:hover {
    border-color: rgba(245,80,12,0.5);
}

.world-card--featured {
    border-color: rgba(245,80,12,0.4);
    background: linear-gradient(
      135deg,
      var(--bg-3) 0%,
      rgba(245,80,12,0.05) 100%
    );
}

.join-bg {
    background: radial-gradient(
      ellipse at center bottom,
      rgba(245,80,12,0.05) 0%,
      transparent 60%
    );
}

.card-glow {
    background: linear-gradient(
      to right,
      transparent,
      var(--gold),
      transparent
    );
}

/* =========================
   BUTTON SHADOWS
========================= */

.btn-primary:hover,
.btn--primary:hover,
.btn-primary:focus-visible,
.btn--primary:focus-visible {
    box-shadow: 0 8px 32px rgba(245,80,12,0.35);
}

/* =========================
   GRID COLORS
========================= */

.hero-grid {
  background-image:
    linear-gradient(rgba(245,80,12,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,80,12,0.04) 1px, transparent 1px);
}

/* =========================
   SCROLL LINE
========================= */

.scroll-line {
    background: linear-gradient(
      to bottom,
      var(--gold),
      transparent
    );
}

/* =========================
   HERO GLOW V2
========================= */

.hero-glow--1 {
  background: var(--gold);
}

.hero-glow--2 {
  background: var(--gold-light);
}
/* =========================
   JOIN / CONTACT FORM - NEW
========================= */

.join {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    background: var(--bg-2);
    text-align: center;
}

.join::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(245,80,12,.18), transparent);
}

.join-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center bottom, rgba(245,80,12,0.05) 0%, transparent 60%);
    pointer-events: none;
}

.join-content {
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin: 0 auto;
}

.join-desc {
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 2;
    font-size: 1rem;
}

/* ── Form Styles ── */
.join-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: right;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.join-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
}

.join-form input,
.join-form select,
.join-form textarea {
    width: 100%;
    background: var(--bg-3);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 14px 18px;
    color: var(--text);
    font-family: var(--font-fa);
    font-size: 0.95rem;
    transition: border-color 0.3s, box-shadow 0.3s;
    outline: none;
    direction: rtl;
}

.join-form input:focus,
.join-form select:focus,
.join-form textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(245, 80, 12, 0.15);
}

.join-form input::placeholder,
.join-form textarea::placeholder {
    color: var(--text-dim);
}

.join-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%237a6248' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 14px center;
    cursor: pointer;
    color: var(--text);
}

.join-form select option {
    background: var(--bg-3);
    color: var(--text);
    padding: 8px;
}

.join-form textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.8;
}

/* ── Submit Button ── */
.btn-submit {
    width: 100%;
    justify-content: center;
    padding: 16px 32px;
    font-size: 1.05rem;
    border-radius: 10px;
    background: var(--gold);
    color: #0a0a0a;
    font-weight: 700;
    border: none;
    transition: var(--transition);
    margin-top: 4px;
}

.btn-submit:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(245, 80, 12, 0.35);
}

.btn-submit span {
    transition: transform 0.3s;
}

.btn-submit:hover span {
    transform: translateX(-4px);
}

/* ── Form Note ── */
.form-note {
    font-size: 0.78rem;
    color: var(--text-dim);
    margin-top: 8px;
}

.form-message {
    margin-top: 12px;
    font-size: 0.95rem;
    min-height: 28px;
    padding: 10px;
    border-radius: 8px;
}

.form-message.success {
    color: #6fcf97;
    background: rgba(111, 207, 151, 0.1);
    border: 1px solid rgba(111, 207, 151, 0.2);
}

.form-message.error {
    color: #eb5757;
    background: rgba(235, 87, 87, 0.1);
    border: 1px solid rgba(235, 87, 87, 0.2);
}

/* ── Contact Info ── */
.contact-info {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: color 0.3s;
}

.contact-item:hover {
    color: var(--gold);
}

.contact-item a {
    color: inherit;
    text-decoration: none;
}

.contact-item a:hover {
    color: var(--gold);
}

.contact-icon {
    font-size: 1.2rem;
    opacity: 0.7;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .join {
        padding: 80px 0;
    }

    .join-content {
        padding: 0 16px;
    }

    .contact-info {
        gap: 16px;
        flex-direction: column;
        align-items: center;
    }

    .btn-submit {
        font-size: 0.95rem;
        padding: 14px 24px;
    }
}

@media (max-width: 480px) {
    .join-form input,
    .join-form select,
    .join-form textarea {
        padding: 12px 14px;
        font-size: 0.9rem;
    }

    .join-desc {
        font-size: 0.9rem;
    }
}
/* =========================
   MOBILE STAT FIX
========================= */

.stat {
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(245,80,12,.08);
}

/* =========================
   EXTRA ORANGE OVERRIDES
========================= */

.nav-header.scrolled {
    border-bottom: 1px solid rgba(245,80,12,.14);
}

.footer {
    border-top: 1px solid rgba(245,80,12,.12);
}

.footer-bottom {
    border-top: 1px solid rgba(245,80,12,.08);
}

.join::before,
.about::before {
    background: linear-gradient(
      to right,
      transparent,
      rgba(245,80,12,.18),
      transparent
    );
}
.hero-brand{
    display: flex;
    align-items: center;
    justify-content: center;
}
/* =========================
   LOGO STYLE - RESPONSIVE FIX
========================= */

.hero-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 10px 0;
}

img.logo_style {
    width: min(460px, 40vw) !important;
    height: auto !important;
    max-width: 100% !important;
    object-fit: contain !important;
    aspect-ratio: 1 / 1 !important;
    display: block !important;
    margin: 0 auto !important;
}

/* تبلت */
@media (max-width: 992px) {
    img.logo_style {
        width: min(170px, 35vw) !important;
    }
}

/* موبایل */
@media (max-width: 768px) {
    img.logo_style {
        width: min(140px, 30vw) !important;
    }
}

/* موبایل کوچک */
@media (max-width: 480px) {
    img.logo_style {
        width: min(110px, 25vw) !important;
    }
}
/* =========================
   ABOUT LOGO
========================= */

.about-frame {
    aspect-ratio: 1;
    max-width: 380px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--bg-3);
    overflow: hidden;
    padding: 20px;
}

.about-logo {
    width: 80% !important;
    height: 80% !important;
    object-fit: contain !important;
    display: block !important;
    z-index: 1;
    position: relative;
    filter: drop-shadow(0 0 30px rgba(245, 80, 12, 0.15));
    transition: transform 0.6s ease, filter 0.6s ease;
}

.about-frame:hover .about-logo {
    transform: scale(1.05);
    filter: drop-shadow(0 0 50px rgba(245, 80, 12, 0.25));
}

/* موبایل */
@media (max-width: 768px) {
    .about-logo {
        width: 70% !important;
        height: 70% !important;
    }
    
    .about-frame {
        max-width: 280px;
        padding: 16px;
    }
}