/* ============================================================
   YALDY HEROES UNIVERSE — Shared Design System
   Version: 2.0 Merged (FINAL_1 + Universe Build)
   ============================================================ */

/* ===== RESET & DESIGN TOKENS ===== */
:root {
  /* Core palette */
  --navy: #0a0e1a;
  --navy-mid: #111827;
  --navy-light: #1a2236;
  --navy-deep: #060710;
  --gold: #d4af37;
  --gold-light: #f4d03f;
  --gold-dark: #9c7a2e;
  --gold-dim: rgba(212,175,55,0.15);
  --crimson: #8B1A1A;
  --white: #f5f0e8;
  --cream: #e8e0d0;
  --text-light: #e0dcd4;
  --text-muted: #8a9bb0;
  --text-dim: #8a8270;

  /* Typography */
  --font-hero: 'Bebas Neue', sans-serif;
  --font-heading: 'Oswald', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  --font-hebrew: 'Heebo', sans-serif;
  --font-hebrew-serif: 'Frank Ruhl Libre', serif;

  /* Transitions */
  --ease: all 0.35s ease;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  background: var(--navy);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== BILINGUAL: data-en / data-he ===== */
/* Hebrew mode: dir="rtl" on html element */
[dir="rtl"] { text-align: right; }
[dir="rtl"] body,
[dir="rtl"] p,
[dir="rtl"] span,
[dir="rtl"] a,
[dir="rtl"] button,
[dir="rtl"] input,
[dir="rtl"] li { font-family: var(--font-hebrew); }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4, [dir="rtl"] h5, [dir="rtl"] h6 {
  font-family: var(--font-hebrew);
  letter-spacing: 0 !important;
}
/* Keep centered sections centered in RTL */
[dir="rtl"] .section-header,
[dir="rtl"] .signup-box,
[dir="rtl"] .footer-bottom { text-align: center; }

/* ===== PARTICLES CANVAS ===== */
#particles {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 0; opacity: 0.25;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 16px 40px;
  display: flex; align-items: center; justify-content: space-between;
  transition: var(--ease);
}
.navbar.scrolled {
  background: rgba(10,14,26,0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(212,175,55,0.12);
  padding: 10px 40px;
  box-shadow: 0 2px 30px rgba(0,0,0,0.4);
}
.navbar .container {
  display: flex; justify-content: space-between; align-items: center; width: 100%;
}
.logo img { height: 52px; transition: height 0.3s; }
.navbar.scrolled .logo img { height: 40px; }

.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a {
  font-family: var(--font-heading); font-size: 0.82rem; color: var(--text-muted);
  text-decoration: none; text-transform: uppercase; letter-spacing: 2px;
  transition: var(--ease); font-weight: 500;
}
.nav-links a:hover { color: var(--gold); opacity: 1; }

.lang-toggle {
  background: transparent; border: 1px solid rgba(212,175,55,0.4); color: var(--gold);
  padding: 6px 16px; font-family: var(--font-heading); font-size: 0.78rem;
  font-weight: 600; cursor: pointer; transition: var(--ease); letter-spacing: 2px;
  text-transform: uppercase;
}
.lang-toggle:hover { background: rgba(212,175,55,0.1); }

/* Mobile nav */
.mobile-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 10px; z-index: 1001; }
.mobile-toggle span { width: 26px; height: 2px; background: var(--gold); transition: var(--ease); }
.mob-menu {
  display: none; position: fixed; inset: 0; background: rgba(6,7,16,0.97);
  z-index: 999; flex-direction: column; align-items: center; justify-content: center; gap: 28px;
}
.mob-menu.open { display: flex; }
.mob-menu a {
  font-family: var(--font-heading); font-size: 20px; letter-spacing: 3px;
  text-transform: uppercase; color: var(--cream); transition: color 0.3s;
}
.mob-menu a:hover { color: var(--gold); }

/* ===== SECTION DEFAULTS ===== */
section { padding: 100px 0; position: relative; z-index: 1; }
.section-header { text-align: center; margin-bottom: 55px; }
.section-eyebrow {
  font-family: var(--font-heading); font-size: 0.68rem; font-weight: 600;
  letter-spacing: 4px; color: var(--gold); text-transform: uppercase;
  margin-bottom: 10px; opacity: 0.7;
}
.section-title {
  font-family: var(--font-hero); font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: 12px; letter-spacing: 2px; text-transform: uppercase;
  line-height: 1;
}
.section-title .gold { color: var(--gold); }
.section-sub { color: var(--text-muted); font-size: 1rem; font-weight: 300; letter-spacing: 1px; }
.divider { width: 80px; height: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent); margin: 18px auto 0; }
/* Compact tag from FINAL_1 */
.stag {
  font-family: var(--font-heading); font-size: 11px; font-weight: 400;
  letter-spacing: 5px; text-transform: uppercase; color: var(--gold); margin-bottom: 10px;
}

/* ===== CTA BUTTONS ===== */
.cta-btn {
  display: inline-block; padding: 14px 36px;
  background: transparent; border: 1px solid rgba(212,175,55,0.5);
  color: var(--gold); font-family: var(--font-heading); font-size: 0.82rem;
  font-weight: 600; text-decoration: none; letter-spacing: 2.5px; text-transform: uppercase;
  cursor: pointer; transition: var(--ease); position: relative; overflow: hidden;
}
.cta-btn::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(212,175,55,0.08); transform: scaleX(0);
  transform-origin: right; transition: transform 0.35s ease;
}
.cta-btn:hover::before { transform: scaleX(1); transform-origin: left; }
.cta-btn:hover { border-color: var(--gold); color: var(--gold-light); }

.cta-btn-solid {
  display: inline-block; padding: 14px 36px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border: none; color: var(--navy);
  font-family: var(--font-hero); font-size: 0.92rem; font-weight: 700;
  text-decoration: none; letter-spacing: 3px; text-transform: uppercase;
  cursor: pointer; transition: var(--ease);
}
.cta-btn-solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212,175,55,0.25);
}

/* ===== HERO SLIDER (from FINAL_1) ===== */
.hero-slider {
  position: relative; height: 100vh; overflow: hidden; background: var(--navy-deep);
}
.hero-slide {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity 1.2s ease; pointer-events: none;
}
.hero-slide.active { opacity: 1; pointer-events: auto; }
.hero-slide .bg { width: 100%; height: 100%; object-fit: cover; }
.hero-slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,14,26,0.55) 0%, rgba(10,14,26,0.15) 35%, rgba(10,14,26,0.35) 65%, rgba(10,14,26,0.92) 100%);
}
.hero-slide-text {
  position: absolute; bottom: 120px; left: 60px; z-index: 10; max-width: 620px;
}
[dir="rtl"] .hero-slide-text { left: auto; right: 60px; }
.hero-slide-label {
  font-family: var(--font-heading); font-size: 13px; font-weight: 400;
  letter-spacing: 4px; text-transform: uppercase; color: var(--gold);
  margin-bottom: 10px; opacity: 0; transform: translateY(20px);
  transition: all 0.8s ease 0.2s;
}
.hero-slide-title {
  font-family: var(--font-hero); font-size: clamp(52px, 8vw, 96px);
  line-height: 0.92; letter-spacing: 3px; text-transform: uppercase;
  color: var(--white); margin-bottom: 16px;
  text-shadow: 0 4px 40px rgba(0,0,0,0.7);
  opacity: 0; transform: translateY(20px);
  transition: all 0.8s ease 0.4s;
}
.hero-slide-title .gold { color: var(--gold); }
.hero-slide-sub {
  font-family: var(--font-body); font-size: 15px; font-weight: 300;
  color: rgba(232,224,208,0.7); line-height: 1.7; max-width: 420px;
  opacity: 0; transform: translateY(20px);
  transition: all 0.8s ease 0.6s;
}
.hero-slide.active .hero-slide-label,
.hero-slide.active .hero-slide-title,
.hero-slide.active .hero-slide-sub { opacity: 1; transform: translateY(0); }
.hero-cta {
  display: inline-block; margin-top: 22px; padding: 12px 36px;
  font-family: var(--font-hero); font-size: 14px; letter-spacing: 4px;
  text-transform: uppercase; text-decoration: none;
  color: var(--gold); border: 1px solid var(--gold);
  background: transparent; cursor: pointer; transition: var(--ease);
  opacity: 0; transform: translateY(20px); transition: all 0.8s ease 0.8s;
}
.hero-cta:hover { background: var(--gold); color: var(--navy); }
.hero-slide.active .hero-cta { opacity: 1; transform: translateY(0); }

.hero-dots {
  position: absolute; bottom: 40px; left: 60px; z-index: 20; display: flex; gap: 10px;
}
[dir="rtl"] .hero-dots { left: auto; right: 60px; }
.hero-dot {
  width: 40px; height: 3px; background: rgba(232,224,208,0.25);
  cursor: pointer; transition: var(--ease); border: none; padding: 0;
}
.hero-dot.active { background: var(--gold); width: 60px; }
.hero-arrows {
  position: absolute; bottom: 36px; right: 60px; z-index: 20; display: flex; gap: 12px;
}
[dir="rtl"] .hero-arrows { right: auto; left: 60px; }
.hero-arrow {
  width: 44px; height: 44px; border: 1px solid rgba(232,224,208,0.25);
  background: transparent; color: var(--cream); font-size: 18px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: var(--ease);
}
.hero-arrow:hover { border-color: var(--gold); color: var(--gold); }

/* ===== HEROES GRID ===== */
.heroes-section { background: var(--navy); }
.heroes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; max-width: 1050px; margin: 0 auto; }
.hero-card {
  position: relative; overflow: hidden; cursor: pointer; text-decoration: none; color: inherit; display: block;
  transition: var(--ease); border: 1px solid rgba(212,175,55,0.08);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}
.hero-card:hover { transform: translateY(-8px); border-color: rgba(212,175,55,0.3); }
.hero-card-img { width: 100%; height: 440px; overflow: hidden; }
.hero-card-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 0.5s ease; }
.hero-card:hover .hero-card-img img { transform: scale(1.06); }
.hero-card-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 28px 22px; background: linear-gradient(180deg, transparent, rgba(10,14,26,0.92));
}
.hero-card-label {
  font-family: var(--font-heading); font-size: 0.6rem; font-weight: 600;
  letter-spacing: 3px; color: var(--gold); text-transform: uppercase; margin-bottom: 4px; opacity: 0.7;
}
.hero-card h3 {
  font-family: var(--font-hero); font-size: 1.5rem; color: var(--white);
  letter-spacing: 2px; text-transform: uppercase; margin-bottom: 2px;
}
.hero-card-cta {
  font-family: var(--font-heading); font-size: 0.6rem; font-weight: 500;
  letter-spacing: 2.5px; color: var(--text-muted); text-transform: uppercase; transition: var(--ease);
}
.hero-card:hover .hero-card-cta { color: var(--gold); letter-spacing: 3.5px; }
/* Locked card */
.hero-card.locked { opacity: 0.5; cursor: default; }
.hero-card.locked:hover { transform: none; border-color: rgba(212,175,55,0.08); }
.hero-card.locked:hover .hero-card-img img { transform: none; }
.lock-badge {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  z-index: 5; font-size: 2.5rem; opacity: 0.5;
  background: rgba(10,14,26,0.6); border-radius: 50%; width: 70px; height: 70px;
  display: flex; align-items: center; justify-content: center;
}

/* ===== PANORAMIC BANNER (from FINAL_1) ===== */
.panoramic {
  position: relative; height: 420px; overflow: hidden;
}
.panoramic img { width: 100%; height: 100%; object-fit: cover; }
.panoramic-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, var(--navy) 0%, transparent 25%, transparent 75%, var(--navy) 100%);
  display: flex; align-items: center; justify-content: center;
}
.panoramic-text {
  font-family: var(--font-hero); font-size: clamp(24px, 4vw, 42px);
  letter-spacing: 3px; text-transform: uppercase;
  text-shadow: 0 2px 20px rgba(0,0,0,0.7);
}
.panoramic-text .gold { color: var(--gold); }

/* ===== PRODUCTS GRID ===== */
.artifacts-section { background: linear-gradient(180deg, var(--navy), var(--navy-mid)); }
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; max-width: 1200px; margin: 0 auto; }
.product-card {
  background: rgba(17,24,39,0.7); overflow: hidden; transition: var(--ease);
  border: 1px solid rgba(212,175,55,0.08); position: relative;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}
.product-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0; transition: opacity 0.4s;
}
.product-card:hover { transform: translateY(-6px); border-color: rgba(212,175,55,0.3); box-shadow: 0 15px 40px rgba(0,0,0,0.4); }
.product-card:hover::before { opacity: 1; }
.product-image { width: 100%; height: 240px; overflow: hidden; position: relative; display: flex; align-items: center; justify-content: center; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.product-card:hover .product-image img { transform: scale(1.05); }
.product-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--crimson); color: white; font-size: 0.68rem; padding: 4px 10px;
  font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
}
[dir="rtl"] .product-badge { left: auto; right: 12px; }
.product-info { padding: 22px 18px; text-align: center; }
.product-name {
  font-family: var(--font-hero); font-size: 1.15rem;
  letter-spacing: 2px; text-transform: uppercase; margin-bottom: 4px;
}
.product-specs {
  font-size: 0.75rem; color: var(--text-dim); margin-bottom: 2px;
}
.product-price {
  font-family: var(--font-hero); font-size: 1.8rem;
  color: var(--gold); margin: 10px 0; letter-spacing: 1px;
}
.product-inc {
  font-family: var(--font-heading); font-size: 0.65rem;
  letter-spacing: 1.5px; color: var(--text-dim); margin-bottom: 14px; text-transform: uppercase;
}
.product-btn {
  display: inline-block; padding: 10px 28px;
  font-family: var(--font-hero); font-size: 15px; letter-spacing: 3px;
  text-transform: uppercase; color: var(--gold); text-decoration: none; text-align: center;
  border: 1px solid var(--gold); background: transparent;
  cursor: pointer; transition: var(--ease);
}
.product-btn:hover { background: var(--gold); color: var(--navy); }

/* ===== "WHAT'S INSIDE" SECTION (from FINAL_1) ===== */
.inside-section { padding: 90px 0; background: var(--navy-mid); }
.inside-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 50px;
  max-width: 1100px; margin: 0 auto; align-items: center;
}
.inside-img img { width: 100%; border-radius: 2px; }
.inside-text p { font-size: 0.9rem; color: var(--text-dim); line-height: 1.8; margin-bottom: 12px; font-weight: 300; }
.feat-list { display: flex; flex-direction: column; gap: 14px; margin-top: 20px; }
.feat-item { display: flex; align-items: center; gap: 12px; }
.feat-item img { width: 32px; height: 32px; }
.feat-item span { font-family: var(--font-heading); font-size: 13px; letter-spacing: 1px; color: var(--cream); }

/* ===== QUOTE DIVIDER ===== */
.quote-section {
  padding: 70px 0; text-align: center;
  background: linear-gradient(180deg, var(--navy-mid), var(--navy));
  position: relative; z-index: 1;
}
.quote-text {
  font-family: var(--font-heading); font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  color: var(--text-light); max-width: 850px; margin: 0 auto; line-height: 1.7;
  font-weight: 300; letter-spacing: 1px;
}
.quote-text em { color: var(--gold); font-style: normal; }

/* ===== STORY / FAMILY SECTION ===== */
.story-section { background: var(--navy-mid); position: relative; overflow: hidden; }
.story-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0.2;
}
.story-content {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr; gap: 55px; align-items: center;
}
.story-text h2 {
  font-family: var(--font-hero); font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 20px; text-transform: uppercase; letter-spacing: 2px;
}
.story-text p { font-size: 1.05rem; color: var(--text-light); line-height: 1.85; margin-bottom: 28px; font-weight: 300; }
.story-image { display: flex; justify-content: center; }
.story-image img { max-width: 340px; border-radius: 8px; box-shadow: 0 15px 50px rgba(0,0,0,0.5); }

/* ===== ABOUT VALUES GRID ===== */
.about-section { background: var(--navy-mid); }
.about-content { display: grid; grid-template-columns: 1fr 1fr; gap: 55px; align-items: center; }
.about-text h2 {
  font-family: var(--font-hero); font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  margin-bottom: 22px; text-transform: uppercase; letter-spacing: 2px; line-height: 1.25;
}
.about-text p { font-size: 1rem; color: var(--text-light); line-height: 1.9; margin-bottom: 28px; font-weight: 300; }
.about-images { display: flex; gap: 18px; align-items: flex-end; }
.about-images img { border-radius: 6px; box-shadow: 0 12px 40px rgba(0,0,0,0.45); }
.about-images img:first-child { width: 60%; }
.about-images img:last-child { width: 36%; }

/* Values cards (from FINAL_1) */
.values-grid { display: flex; justify-content: center; gap: 50px; flex-wrap: wrap; max-width: 900px; margin: 0 auto; }
.value-card { display: flex; flex-direction: column; align-items: center; gap: 10px; max-width: 180px; }
.value-card img { width: 44px; height: 44px; }
.value-card h4 { font-family: var(--font-hero); font-size: 18px; letter-spacing: 2px; text-transform: uppercase; }
.value-card p { font-size: 12px; color: var(--text-dim); line-height: 1.5; text-align: center; }

/* ===== SIGNUP / ENTER UNIVERSE ===== */
.signup-section {
  background: linear-gradient(135deg, #0d1b2a, #1b1040);
  position: relative; overflow: hidden;
}
.signup-section::before {
  content: ''; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(212,175,55,0.05), transparent 70%);
  pointer-events: none;
}
.signup-box { max-width: 650px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.signup-text { font-size: 1.05rem; color: var(--text-light); margin-bottom: 35px; line-height: 1.75; font-weight: 300; }
.signup-form { display: flex; flex-direction: column; gap: 14px; max-width: 420px; margin: 0 auto; }
.signup-form input {
  width: 100%; padding: 14px 18px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  color: var(--white); font-family: var(--font-body); font-size: 0.95rem;
  transition: var(--ease); outline: none;
}
.signup-form input::placeholder { color: rgba(255,255,255,0.4); }
.signup-form input:focus { border-color: var(--gold); background: rgba(255,255,255,0.1); }
.signup-note { font-size: 0.9rem; color: var(--gold); margin-top: 18px; display: none; }

/* ===== FOOTER (3-column from FINAL_1) ===== */
.footer {
  background: var(--navy-deep); padding: 50px 0 24px;
  border-top: 1px solid rgba(212,175,55,0.08); position: relative; z-index: 1;
}
.footer-inner {
  display: flex; justify-content: space-between; max-width: 1100px;
  margin: 0 auto; padding: 0 24px; flex-wrap: wrap; gap: 40px;
}
.footer-brand img { height: 40px; margin-bottom: 10px; }
.footer-brand p { font-size: 0.78rem; color: var(--text-dim); max-width: 240px; line-height: 1.6; }
.footer-col h4 {
  font-family: var(--font-hero); font-size: 16px; letter-spacing: 3px;
  text-transform: uppercase; color: var(--gold); margin-bottom: 12px;
}
.footer-col a, .footer-col p {
  display: block; font-size: 0.78rem; color: var(--text-dim); margin-bottom: 6px; transition: color 0.3s;
}
.footer-col a:hover { color: var(--cream); }
.footer-bottom {
  text-align: center; margin-top: 30px; padding: 16px 24px 0;
  border-top: 1px solid rgba(212,175,55,0.05);
  font-size: 0.72rem; color: var(--text-dim); letter-spacing: 1px;
}

/* ===== POLICY TABS (from FINAL_1) ===== */
.policy-section { padding: 40px 0 80px; }
.pol-tabs {
  display: flex; gap: 0; max-width: 700px; margin: 0 auto 30px; flex-wrap: wrap;
}
.pol-tab {
  font-family: var(--font-heading); font-size: 11px; letter-spacing: 2px;
  text-transform: uppercase; padding: 10px 18px;
  background: transparent; border: 1px solid rgba(212,175,55,0.15);
  color: var(--text-dim); cursor: pointer; transition: var(--ease);
}
.pol-tab.active, .pol-tab:hover {
  background: rgba(212,175,55,0.1); color: var(--gold); border-color: var(--gold);
}
.pol-content { display: none; max-width: 700px; margin: 0 auto; text-align: left; }
.pol-content.active { display: block; }
.pol-content h3 {
  font-family: var(--font-heading); font-size: 14px; color: var(--cream);
  margin: 20px 0 8px; font-weight: 600;
}
.pol-content p, .pol-content li { font-size: 0.78rem; color: var(--text-dim); line-height: 1.8; margin-bottom: 6px; }
.pol-content ul { list-style: none; padding: 0; }
.pol-content ul li::before { content: '· '; color: var(--gold); }
.pol-content a { color: var(--gold); }

/* ===== HERO RPG PAGES ===== */
.page-spacer { height: 80px; }
.breadcrumb {
  padding: 18px 0 12px; font-size: 0.78rem; color: var(--text-dim);
}
.breadcrumb a { color: var(--gold); transition: color 0.3s; }
.breadcrumb a:hover { color: var(--gold-light); }

/* Hero entrance */
.hero-entrance {
  min-height: 80vh; display: flex; align-items: center;
  position: relative; overflow: hidden; padding-top: 70px;
}
.hero-entrance-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center right;
  opacity: 0.3; animation: slowZoom 22s ease-in-out infinite alternate;
}
.hero-entrance-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(10,14,26,0.96) 0%, rgba(10,14,26,0.75) 45%, rgba(10,14,26,0.2) 100%);
}
[dir="rtl"] .hero-entrance-overlay {
  background: linear-gradient(260deg, rgba(10,14,26,0.96) 0%, rgba(10,14,26,0.75) 45%, rgba(10,14,26,0.2) 100%);
}
.hero-entrance .container {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center;
}
.hero-entrance-text { max-width: 600px; }
.hero-entrance-img { display: flex; justify-content: center; }
.hero-entrance-img img { max-height: 70vh; filter: drop-shadow(0 20px 50px rgba(0,0,0,0.6)); }

/* Profile card */
.profile-card {
  background: rgba(17,24,39,0.6); border: 1px solid rgba(212,175,55,0.1);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
  padding: 32px; margin-top: 24px;
}
.profile-card-accent {
  width: 60%; height: 2px; margin: 0 auto 20px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
/* RPG stat bars */
.stat-row { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.stat-label { font-family: var(--font-heading); font-size: 0.72rem; letter-spacing: 2px; text-transform: uppercase; color: var(--text-dim); width: 80px; }
.stat-bar-track { flex: 1; height: 6px; background: rgba(255,255,255,0.06); overflow: hidden; }
.stat-bar-fill { height: 100%; width: 0; transition: width 1.2s cubic-bezier(0.25,0.46,0.45,0.94); }
.stat-bar-fill.gold { background: linear-gradient(90deg, var(--gold-dark), var(--gold)); }
.stat-bar-fill.crimson { background: linear-gradient(90deg, #5a1010, var(--crimson)); }
.stat-bar-fill.blue { background: linear-gradient(90deg, #1a3a5c, #3b82f6); }
.stat-value { font-family: var(--font-hero); font-size: 1rem; color: var(--gold); min-width: 30px; text-align: right; }

/* Legendary moments */
.moment-card {
  background: rgba(17,24,39,0.5); border: 1px solid rgba(212,175,55,0.06);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  padding: 28px; transition: var(--ease);
}
.moment-card:hover { border-color: rgba(212,175,55,0.2); transform: translateY(-4px); }
.moment-card h4 {
  font-family: var(--font-hero); font-size: 15px; letter-spacing: 2px;
  text-transform: uppercase; color: var(--gold); margin-bottom: 8px;
}
.moment-card p { font-size: 0.82rem; color: var(--text-dim); line-height: 1.7; font-style: italic; }
.moment-moral { font-style: normal !important; color: var(--cream) !important; margin-top: 8px; font-weight: 600; }

/* Transformation teaser */
.transform-teaser {
  padding: 60px 0; text-align: center;
  background: linear-gradient(180deg, var(--navy-mid), var(--navy));
}

/* Contact page */
.contact-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
  max-width: 700px; margin: 0 auto;
}
.contact-item { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.contact-label {
  font-family: var(--font-heading); font-size: 11px; letter-spacing: 3px;
  text-transform: uppercase; color: var(--gold);
}
.contact-value { font-size: 0.85rem; color: var(--text-dim); }
.contact-item a { color: var(--cream); transition: color 0.3s; }
.contact-item a:hover { color: var(--gold); }

/* Contact form */
.contact-form { max-width: 500px; margin: 40px auto 0; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 14px 18px; margin-bottom: 12px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  color: var(--white); font-family: var(--font-body); font-size: 0.9rem;
  transition: var(--ease); outline: none;
}
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus {
  border-color: var(--gold); background: rgba(255,255,255,0.1);
}

/* FAQ */
.faq-item { max-width: 700px; margin: 0 auto 12px; border: 1px solid rgba(212,175,55,0.08); }
.faq-q {
  padding: 16px 20px; cursor: pointer; font-family: var(--font-heading);
  font-size: 0.9rem; letter-spacing: 1px; color: var(--cream);
  display: flex; justify-content: space-between; align-items: center;
  transition: background 0.3s;
}
.faq-q:hover { background: rgba(212,175,55,0.05); }
.faq-q::after { content: '+'; font-size: 1.2rem; color: var(--gold); transition: transform 0.3s; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { padding: 0 20px; max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease; }
.faq-item.open .faq-a { padding: 0 20px 16px; max-height: 300px; }
.faq-a p { font-size: 0.85rem; color: var(--text-dim); line-height: 1.8; }

/* ===== KEYFRAMES ===== */
@keyframes slowZoom { from { transform: scale(1); } to { transform: scale(1.08); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(25px); } to { opacity: 1; transform: translateY(0); } }

/* ===== SCROLL ANIMATIONS ===== */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .heroes-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-entrance .container { grid-template-columns: 1fr; text-align: center; }
  .hero-entrance-text { max-width: 100%; }
  .hero-entrance-img { display: none; }
  .story-content, .about-content, .inside-grid { grid-template-columns: 1fr; text-align: center; }
  .story-image { order: -1; }
  .about-images { justify-content: center; }
  .footer-inner { flex-direction: column; align-items: center; text-align: center; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-toggle { display: flex; }
  .navbar { padding: 12px 20px; }
  .hero-slider { height: 75vh; }
  .hero-slide-text { bottom: 70px; left: 24px; right: 24px; }
  .hero-dots { left: 24px; bottom: 30px; }
  .hero-arrows { right: 24px; bottom: 26px; }
  .heroes-grid { grid-template-columns: 1fr; max-width: 340px; margin: 0 auto; }
  .hero-card-img { height: 370px; }
  .products-grid { grid-template-columns: 1fr; max-width: 340px; margin: 0 auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .panoramic { height: 260px; }
  section { padding: 70px 0; }
  .footer-inner { padding: 0 20px; }
}

@media (max-width: 480px) {
  .hero-slider { height: 70vh; }
  .hero-slide-text { bottom: 60px; left: 16px; right: 16px; }
  .hero-slide-title { font-size: 40px !important; }
  .products-grid { grid-template-columns: 1fr; }
}

/* ===== LEGAL / CONTENT PAGES ===== */
.legal-page {
  max-width: 800px;
  margin: 120px auto 60px;
  padding: 0 24px;
}

.legal-page h1 {
  color: #c9a84c;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.legal-page h2 {
  color: #c9a84c;
  font-size: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  padding-left: 12px;
  border-left: 4px solid #c9a84c;
}

.legal-page h3 {
  color: #f5f5f5;
  font-size: 1.2rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.legal-page p, .legal-page li {
  color: #ccc;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.legal-page ul {
  padding-left: 24px;
}

.legal-page ul li {
  margin-bottom: 0.5rem;
}

.legal-page a {
  color: #c9a84c;
  text-decoration: underline;
}

/* RTL support for Hebrew */
[dir="rtl"] .legal-page h2 {
  padding-left: 0;
  padding-right: 12px;
  border-left: none;
  border-right: 4px solid #c9a84c;
}

[dir="rtl"] .legal-page ul {
  padding-left: 0;
  padding-right: 24px;
}

/* ===== UTILITY: page overlay for mobile menu ===== */
.overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.7);
  opacity: 0; visibility: hidden; transition: var(--ease); z-index: 999;
}
.overlay.active { opacity: 1; visibility: visible; }
