/* خلفية الموقع الفاخرة — مستخرجة من luxury_background.html */
/* ═══════════════════════════════════════════════════════════
   SHASHA — Premium Streaming Platform Background
   STATIC VERSION — No animations. Pure elegance.
   ═══════════════════════════════════════════════════════════ */



:root {
  --black-void:    #020202;
  --black-deep:    #050505;
  --black-matte:   #0a0a0a;
  --charcoal:      #111111;
  --charcoal-soft: #161616;
  --gold-raw:      #b8a472;
  --gold-dim:      rgba(184,164,114,0.08);
  --gold-whisper:  rgba(184,164,114,0.04);
  --gold-accent:   rgba(196,176,120,0.22);
  --gold-line:     rgba(196,176,120,0.16);
  --gold-warm:     rgba(210,190,130,0.10);
  --gold-particle: rgba(210,190,130,0.55);
}



/* ─────────────────────────────────────────────────────────
   LAYER 1 — Ultra Deep Matte Black Surface
   Luxury leather × anodized aluminum texture
   ───────────────────────────────────────────────────────── */
.layer-surface {
  position: fixed; inset: 0; z-index: 1;
  background:
    repeating-conic-gradient(
      var(--black-matte) 0% 25%,
      var(--black-deep) 0% 50%
    ) 0 0 / 4px 4px,
    linear-gradient(
      178deg,
      var(--black-deep) 0%,
      #070707 30%,
      var(--black-matte) 60%,
      #060606 100%
    );
  opacity: 0.95;
}

/* Carbon-fiber micro-pattern */
.layer-surface::after {
  content: '';
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 1px,
      rgba(255,255,255,0.008) 1px,
      rgba(255,255,255,0.008) 2px
    );
  opacity: 0.4;
}


/* ─────────────────────────────────────────────────────────
   LAYER 2 — Volumetric Fog (Static)
   ───────────────────────────────────────────────────────── */
.layer-fog {
  position: fixed; inset: 0; z-index: 2;
  pointer-events: none;
}

.fog-zone {
  position: absolute;
  border-radius: 50%;
  filter: blur(45px);
}

.fog-1 {
  width: 65vw; height: 65vh;
  bottom: -22vh; left: -18vw;
  background: radial-gradient(circle, var(--gold-whisper) 0%, transparent 70%);
  opacity: 0.7;
}

.fog-2 {
  width: 55vw; height: 55vh;
  top: -18vh; right: -12vw;
  background: radial-gradient(circle, var(--gold-whisper) 0%, transparent 70%);
  opacity: 0.5;
}

.fog-3 {
  width: 45vw; height: 40vh;
  bottom: -12vh; right: -8vw;
  background: radial-gradient(circle, rgba(20,18,14,0.12) 0%, transparent 70%);
  opacity: 0.45;
}


/* ─────────────────────────────────────────────────────────
   LAYER 3 — Flowing Matte-Black Ribbons (Static)
   ───────────────────────────────────────────────────────── */
.layer-ribbons {
  position: fixed; inset: 0; z-index: 3;
  pointer-events: none;
  overflow: hidden;
}

.ribbon {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(
    160deg,
    var(--charcoal) 0%,
    var(--black-matte) 40%,
    var(--black-deep) 100%
  );
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.02),
    inset 0 -2px 30px rgba(0,0,0,0.8),
    0 0 80px rgba(0,0,0,0.9);
}

.ribbon-a {
  width: 120vmax; height: 120vmax;
  left: -55vmax; bottom: -75vmax;
  transform: rotate(-6deg);
}

.ribbon-b {
  width: 100vmax; height: 100vmax;
  right: -45vmax; top: -60vmax;
  background: linear-gradient(
    200deg,
    var(--charcoal-soft) 0%,
    var(--black-matte) 35%,
    var(--black-deep) 100%
  );
  transform: rotate(7deg);
}

.ribbon-c {
  width: 80vmax; height: 60vmax;
  right: -25vmax; bottom: -40vmax;
  border-radius: 45%;
  background: linear-gradient(140deg, #0e0e0e 0%, var(--black-deep) 100%);
  transform: rotate(-11deg);
}

.ribbon-d {
  width: 50vmax; height: 40vmax;
  left: -18vmax; top: -22vmax;
  border-radius: 48%;
  background: linear-gradient(170deg, #0d0d0d 0%, var(--black-deep) 100%);
  transform: rotate(4deg);
}


/* ─────────────────────────────────────────────────────────
   LAYER 4 — Champagne Gold Highlights (Enhanced + Static)
   ───────────────────────────────────────────────────────── */
.layer-gold {
  position: fixed; inset: 0; z-index: 4;
  pointer-events: none;
  overflow: hidden;
}

.gold-edge {
  position: absolute;
  border-radius: 50%;
  border: 1px solid transparent;
}

/* Bottom-left gold rim */
.gold-a {
  width: 120vmax; height: 120vmax;
  left: -55vmax; bottom: -75vmax;
  transform: rotate(-6deg);
  border-top: 1px solid var(--gold-line);
  border-right: 1px solid rgba(196,176,120,0.06);
  box-shadow: 0 -1px 40px var(--gold-dim);
}

/* Inner gold echo — slightly offset for depth */
.gold-a2 {
  width: 118vmax; height: 118vmax;
  left: -54vmax; bottom: -74vmax;
  transform: rotate(-5.5deg);
  border-top: 1px solid rgba(196,176,120,0.07);
}

/* Top-right gold rim */
.gold-b {
  width: 100vmax; height: 100vmax;
  right: -45vmax; top: -60vmax;
  transform: rotate(7deg);
  border-bottom: 1px solid var(--gold-line);
  border-left: 1px solid rgba(196,176,120,0.05);
  box-shadow: 0 1px 35px var(--gold-dim);
}

/* Inner echo top-right */
.gold-b2 {
  width: 98vmax; height: 98vmax;
  right: -44vmax; top: -59vmax;
  transform: rotate(7.5deg);
  border-bottom: 1px solid rgba(196,176,120,0.06);
}

/* Bottom-right subtle gold */
.gold-c {
  width: 80vmax; height: 60vmax;
  right: -25vmax; bottom: -40vmax;
  border-radius: 45%;
  transform: rotate(-11deg);
  border-top: 1px solid rgba(196,176,120,0.10);
  box-shadow: 0 -1px 25px rgba(184,164,114,0.05);
}

/* Warm glow patches — static studio rim lights */
.rim-light {
  position: absolute;
  border-radius: 50%;
  filter: blur(38px);
}

.rim-1 {
  width: 30vw; height: 25vh;
  bottom: 2vh; left: 5vw;
  background: radial-gradient(circle, var(--gold-warm) 0%, transparent 70%);
  opacity: 0.5;
}

.rim-2 {
  width: 25vw; height: 18vh;
  top: 5vh; right: 8vw;
  background: radial-gradient(circle, var(--gold-dim) 0%, transparent 70%);
  opacity: 0.45;
}

.rim-3 {
  width: 18vw; height: 14vh;
  bottom: 12vh; right: 12vw;
  background: radial-gradient(circle, rgba(184,164,114,0.06) 0%, transparent 70%);
  opacity: 0.4;
}

/* Extra gold warmth — corner glows */
.rim-4 {
  width: 35vw; height: 30vh;
  bottom: -5vh; left: -5vw;
  background: radial-gradient(circle, rgba(184,164,114,0.05) 0%, transparent 60%);
  opacity: 0.6;
  filter: blur(45px);
}

.rim-5 {
  width: 28vw; height: 22vh;
  top: -3vh; right: -3vw;
  background: radial-gradient(circle, rgba(184,164,114,0.04) 0%, transparent 60%);
  opacity: 0.5;
  filter: blur(45px);
}

/* ── Corner Golden Reflections ──
   Soft golden light falling on all 4 corners
   Like a shadow of warm light — reduces harsh black */
.corner-glow {
  position: absolute;
  pointer-events: none;
}

/* Bottom-Left corner */
.corner-bl {
  width: 45vw; height: 40vh;
  bottom: 0; left: 0;
  background:
    radial-gradient(ellipse at 0% 100%, rgba(184,164,114,0.07) 0%, transparent 55%),
    radial-gradient(ellipse at 5% 90%, rgba(196,176,120,0.05) 0%, transparent 40%);
  filter: blur(32px);
}

/* Bottom-Right corner */
.corner-br {
  width: 40vw; height: 35vh;
  bottom: 0; right: 0;
  background:
    radial-gradient(ellipse at 100% 100%, rgba(184,164,114,0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 90% 85%, rgba(196,176,120,0.04) 0%, transparent 40%);
  filter: blur(32px);
}

/* Top-Right corner */
.corner-tr {
  width: 40vw; height: 35vh;
  top: 0; right: 0;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(184,164,114,0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 85% 10%, rgba(196,176,120,0.04) 0%, transparent 40%);
  filter: blur(32px);
}

/* Top-Left corner */
.corner-tl {
  width: 38vw; height: 32vh;
  top: 0; left: 0;
  background:
    radial-gradient(ellipse at 0% 0%, rgba(184,164,114,0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 8% 12%, rgba(196,176,120,0.035) 0%, transparent 40%);
  filter: blur(32px);
}


/* ─────────────────────────────────────────────────────────
   LAYER 5 — Golden Dust Particles (Static, scattered)
   Fixed positions, no movement, just sparkle dots.
   ───────────────────────────────────────────────────────── */
.layer-particles {
  position: fixed; inset: 0; z-index: 5;
  pointer-events: none;
  overflow: hidden;
}

.dust {
  position: absolute;
  border-radius: 50%;
  background: var(--gold-particle);
  width: var(--s);
  height: var(--s);
  left: var(--x);
  top: var(--y);
  opacity: var(--o);
  filter: blur(var(--b));
  box-shadow: 0 0 4px rgba(210,190,130,0.3);
}


/* ─────────────────────────────────────────────────────────
   LAYER 6 — Cinematic Vignette
   ───────────────────────────────────────────────────────── */
.layer-vignette {
  position: fixed; inset: 0; z-index: 6;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse 75% 70% at 50% 50%,
      transparent 0%,
      rgba(2,2,2,0.2) 50%,
      rgba(2,2,2,0.7) 80%,
      rgba(2,2,2,0.95) 100%
    ),
    linear-gradient(to bottom, rgba(2,2,2,0.6) 0%, transparent 15%),
    linear-gradient(to top, rgba(2,2,2,0.5) 0%, transparent 12%);
}


/* ─────────────────────────────────────────────────────────
   CONTENT AREA
   ───────────────────────────────────────────────────────── */



/* ─────────────────────────────────────────────────────────
   RESPONSIVE
   ───────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .ribbon-a, .gold-a  { width: 140vmax; height: 140vmax; left: -70vmax; bottom: -90vmax; }
  .ribbon-b, .gold-b  { width: 120vmax; height: 120vmax; right: -60vmax; top: -75vmax; }
  .gold-a2 { width: 138vmax; height: 138vmax; left: -69vmax; bottom: -89vmax; }
  .gold-b2 { width: 118vmax; height: 118vmax; right: -59vmax; top: -74vmax; }
  .fog-1, .fog-2, .fog-3 { filter: blur(40px); }
}

@media (max-width: 600px) {
  .ribbon-c, .ribbon-d, .gold-c, .gold-a2, .gold-b2 { display: none; }
  .rim-3, .rim-5 { display: none; }
  .fog-3 { display: none; }
}

/* ── إبقاء كل طبقات الخلفية خلف المحتوى ── */
.layer-surface{z-index:-6 !important}
.layer-fog{z-index:-5 !important}
.layer-ribbons{z-index:-4 !important}
.layer-gold{z-index:-3 !important}
.layer-particles{z-index:-2 !important}
.layer-vignette{z-index:-1 !important}

/* ── إظهار الطبقات: html أسود في الخلف، body شفاف ── */
html{background:#020202 !important}
body{background:transparent !important}

/* ═══ راحة العين: رمادي فحمي + تعتيم خفيف ═══ */
html{background:#16161d !important}
.layer-surface{
  background:linear-gradient(178deg,#1a1a22 0%,#16161d 50%,#141419 100%) !important;
  opacity:1 !important;
}
.layer-surface::after{opacity:.25 !important}
.layer-vignette{display:block !important;z-index:-1 !important;
  background:radial-gradient(ellipse 100% 95% at 50% 40%,
    transparent 55%, rgba(0,0,0,0.14) 88%, rgba(0,0,0,0.26) 100%) !important}

/* ═══ تفتيح الأشرطة والضباب (إزالة البقع السوداء) ═══ */
.ribbon{
  background:linear-gradient(160deg,#20202a 0%,#1a1a22 45%,#16161d 100%) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.03), 0 0 60px rgba(0,0,0,.25) !important;
}
.ribbon-b{background:linear-gradient(200deg,#22222c 0%,#1a1a22 40%,#16161d 100%) !important}
.ribbon-c{background:linear-gradient(140deg,#1e1e26 0%,#16161d 100%) !important}
.ribbon-d{background:linear-gradient(170deg,#1e1e26 0%,#16161d 100%) !important}
.fog-3{background:radial-gradient(circle, rgba(40,38,32,0.1) 0%, transparent 70%) !important}
