/* ═══════════════════════════════════════════════════
   C FRONT — Cyclemon-style Fixed Stage
═══════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700;900&family=Inter:wght@300;400;600;700;900&display=swap');

:root {
  --pink:   #E91E8C;
  --cyan:   #00BCD4;
  --orange: #FF6D00;
  --yellow: #FFCA28;
  --green:  #4CAF50;
  --purple: #9C27B0;
  --red:    #F44336;
  --blue:   #1565C0;
  --ink:    #0D0D0D;
  --ink2:   rgba(13,13,13,.55);
  --bg:     #FFFFFF;
  --bg2:    #F7F7F7;
  --bg3:    #F0F0F0;
  --border: rgba(13,13,13,.08);
  --font-en: 'Inter',  sans-serif;
  --font-ar: 'Cairo',  sans-serif;
  --expo:    cubic-bezier(.16,1,.3,1);
  --back:    cubic-bezier(.34,1.56,.64,1);
}

/* Reset */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { -webkit-font-smoothing:antialiased; scroll-behavior:auto; background: #FFFFFF; }
html.lenis, html.lenis body { height:auto; }
.lenis.lenis-smooth { scroll-behavior:auto !important; }

body {
  background: transparent;
  color: var(--ink);
  font-family: var(--font-en);
  overflow-x: hidden;
}
html[dir="rtl"] body { font-family: var(--font-ar); }
img { display:block; max-width:100%; }
a   { text-decoration:none; color:inherit; }
button { border:none; background:none; cursor:pointer; font-family:inherit; }

/* ── Background canvas ───────────────────────────── */
#bg-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}
#bg-overlay {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* Soft white veil over background for legibility - more transparent for vivid colors */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px) saturate(2.0);
  -webkit-backdrop-filter: blur(8px) saturate(2.0);
  z-index: 1;
  pointer-events: none;
}

@media (max-width: 768px) {
  body::before {
    backdrop-filter: blur(6px) saturate(1.8);
    -webkit-backdrop-filter: blur(6px) saturate(1.8);
    background: rgba(255, 255, 255, 0.18);
  }
}

/* Grain */
.site-grain {
  position:fixed; inset:-50%;
  width:200%; height:200%;
  z-index: 9999; pointer-events:none; opacity:.020;
  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.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 8s steps(10) infinite;
}
@keyframes grain {
  0%  {transform:translate(0,0)}      10% {transform:translate(-5%,-10%)}
  20% {transform:translate(-15%,5%)}  30% {transform:translate(7%,-25%)}
  40% {transform:translate(-5%,25%)}  50% {transform:translate(-15%,10%)}
  60% {transform:translate(15%,0%)}   70% {transform:translate(0%,15%)}
  80% {transform:translate(3%,35%)}   90% {transform:translate(-10%,10%)}
}

/* Tags */
.tag {
  display:inline-block;
  font-size:11px; font-weight:700; letter-spacing:4px; text-transform:uppercase;
  color: var(--tc, var(--pink));
  border:1.5px solid var(--tc, var(--pink));
  padding:5px 16px; border-radius:100px; margin-bottom:20px;
}

/* ══════════════════════════════════════════════════════════
   HEADER
══════════════════════════════════════════════════════════ */
.app-header {
  position:fixed; top:0; left:0; width:100%;
  z-index: 100;
  display:flex; align-items:center; justify-content:space-between;
  padding:22px 52px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  transition: padding .4s;
}
.app-header.scrolled { padding:14px 52px; }

.hdr-logo img { height:50px; transition:height .4s; }
.app-header.scrolled .hdr-logo img { height:38px; }

.hdr-nav { display:flex; align-items:center; gap:36px; }
.hdr-nav a {
  font-size:14px; font-weight:600; color:var(--ink2);
  position:relative; transition:color .25s;
}
.hdr-nav a::after {
  content:''; position:absolute; bottom:-3px; left:0;
  width:0; height:1.5px; background:var(--pink);
  transition:width .3s var(--expo);
}
.hdr-nav a:hover { color:var(--ink); }
.hdr-nav a:hover::after { width:100%; }

.hdr-actions { display:flex; align-items:center; gap:12px; }

.hdr-icon {
  width:38px; height:38px; border-radius:50%;
  border:1.5px solid var(--border);
  display:flex; align-items:center; justify-content:center;
  font-size:16px; color:var(--ink2);
  transition:all .25s;
}
.hdr-icon:hover { color:var(--ink); border-color:rgba(13,13,13,.25); background:var(--bg3); }
.hdr-icon.whatsapp { border-color:rgba(37,211,102,.35); color:#25D366; }
.hdr-icon.whatsapp:hover { background:#25D366; color:#fff; border-color:#25D366; }

.hdr-lang {
  font-size:12px; font-weight:700; letter-spacing:2px;
  border:1.5px solid var(--border); padding:6px 16px;
  border-radius:100px; color:var(--ink2); transition:all .25s;
}
.hdr-lang:hover { color:var(--ink); border-color:rgba(13,13,13,.3); }

.hdr-burger { display:none; flex-direction:column; gap:5px; padding:8px; }
.hdr-burger span { display:block; width:22px; height:1.5px; background:var(--ink); border-radius:2px; transition:all .3s; }

/* Mobile Drawer */
.mobile-drawer {
  position:fixed; inset:0; z-index: 9000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display:flex; flex-direction:column; justify-content:center;
  align-items:center; gap:28px;
  transform:translateX(-100%);
  transition:transform .55s var(--expo);
}
html[dir="rtl"] .mobile-drawer { transform:translateX(100%); }
.mobile-drawer.open { transform:translateX(0); }
html[dir="rtl"] .mobile-drawer.open { transform:translateX(0); }

.drawer-close {
  position:absolute; top:24px; right:24px;
  font-size:22px; color:var(--ink2); transition:color .2s;
}
html[dir="rtl"] .drawer-close { right:auto; left:24px; }

.drawer-nav { display:flex; flex-direction:column; align-items:center; gap:24px; }
.drawer-nav a { font-size:2rem; font-weight:700; color:var(--ink2); transition:color .2s; }
.drawer-nav a:hover { color:var(--pink); }

.drawer-social { display:flex; gap:20px; }
.drawer-social a { font-size:20px; color:var(--ink2); transition:color .2s; }

.drawer-overlay {
  position:fixed; inset:0; background:rgba(0,0,0,.25);
  z-index:1999; opacity:0; pointer-events:none; transition:opacity .4s;
}
.drawer-overlay.active { opacity:1; pointer-events:auto; }

/* ══════════════════════════════════════════════════════════
   FIXED STAGE — cyclemon-style central element
   This stays put while sections scroll.
══════════════════════════════════════════════════════════ */
.stage-fixed {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  height: 100svh;
  z-index: 5;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1500px;
  perspective-origin: 50% 50%;
}

/* Hide stage when we reach Events section onwards */
.stage-fixed.hidden {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s var(--expo);
}

/* Center logo — z-index 50 sits between front and back orbs */
.stage-center {
  position: absolute;
  top: 50%; left: 50%;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  will-change: transform, opacity;
  transition: filter 0.4s ease;
}

.stage-logo {
  width: 200px;
  max-width: 50vw;
  filter: drop-shadow(0 12px 40px rgba(0,0,0,0.18));
  animation: stageFloat 5s ease-in-out infinite;
}
@keyframes stageFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

/* Orbs container — anchor only, no stacking context */
.stage-orbs {
  position: absolute;
  top: 50%; left: 50%;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

/* Each orb is a liquid 3D bubble - shines, glows, breathes */
.orb {
  position: absolute;
  top: 0; left: 0;
  width: 130px;
  height: 130px;
  margin-left: -65px;
  margin-top: -65px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  
  /* Real water droplet: mostly transparent glass tinted by color */
  background: 
    /* Top-left highlight (light source) */
    radial-gradient(
      circle at 28% 22%,
      rgba(255, 255, 255, 0.95) 0%,
      rgba(255, 255, 255, 0.45) 12%,
      rgba(255, 255, 255, 0.18) 28%,
      rgba(255, 255, 255, 0.05) 50%,
      transparent 70%
    ),
    /* Bottom edge color refraction (darker at bottom, lighter top) */
    radial-gradient(
      circle at 50% 75%,
      color-mix(in srgb, var(--orb-color, #E91E8C) 65%, transparent) 0%,
      color-mix(in srgb, var(--orb-color, #E91E8C) 40%, transparent) 35%,
      color-mix(in srgb, var(--orb-color, #E91E8C) 18%, transparent) 60%,
      transparent 90%
    ),
    /* Soft tint over whole bubble */
    radial-gradient(
      circle at 50% 50%,
      color-mix(in srgb, var(--orb-color, #E91E8C) 22%, rgba(255,255,255,0.4)) 0%,
      color-mix(in srgb, var(--orb-color, #E91E8C) 32%, rgba(255,255,255,0.25)) 100%
    );
  
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  box-shadow:
    /* Outer soft colored halo */
    0 0 60px var(--orb-shadow, rgba(0,0,0,0.18)),
    0 12px 40px var(--orb-shadow, rgba(0,0,0,0.12)),
    /* Inner top highlight - dome 3D */
    inset 0 6px 18px rgba(255, 255, 255, 0.5),
    /* Inner bottom darker rim */
    inset 0 -8px 20px rgba(0, 0, 0, 0.12),
    /* Edge crisp white */
    inset 0 0 0 1px rgba(255, 255, 255, 0.25);
  
  will-change: transform, opacity;
  pointer-events: auto;
  cursor: pointer;
}

/* Big specular highlight on top - the main reflection of light */
.orb::before {
  content: '';
  position: absolute;
  top: 8%;
  left: 18%;
  width: 38%;
  height: 28%;
  border-radius: 50%;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0.75) 25%,
    rgba(255, 255, 255, 0.25) 50%,
    rgba(255, 255, 255, 0) 75%
  );
  filter: blur(4px);
  pointer-events: none;
  transform: rotate(-15deg);
}

/* Small secondary specular on the right */
.orb::after {
  content: '';
  position: absolute;
  top: 15%;
  right: 18%;
  width: 12%;
  height: 12%;
  border-radius: 50%;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 255, 255, 0.85) 0%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0) 80%
  );
  filter: blur(2px);
  pointer-events: none;
}

/* Inner content wrapper */
.orb-glass-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-align: center;
}

.orb i {
  font-size: 1.6rem;
  color: #fff;
  text-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.35),
    0 0 12px var(--orb-shadow, rgba(0,0,0,0.4));
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.2));
}
.orb span {
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  margin-top: 2px;
}

/* Stage container — grab cursor signals draggability */
.stage-fixed {
  cursor: default;
}

/* Invisible drag-capture region.
   Mobile: full-screen so user can swipe from anywhere.
   Desktop: restricted to center to leave the rest of the page hover-friendly. */
.stage-drag-area {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: auto;
  cursor: grab;
  z-index: 3;
  background: transparent;
  -webkit-tap-highlight-color: transparent;
  touch-action: pan-y;   /* allow vertical scroll, capture horizontal */
}
.stage-drag-area.dragging {
  cursor: grabbing;
}

@media (min-width: 769px) {
  .stage-drag-area {
    top: 50%;
    left: 50%;
    width: 800px;
    max-width: 90vw;
    height: 600px;
    max-height: 75vh;
    transform: translate(-50%, -50%);
    border-radius: 50%;
  }
}

/* Hide drag area pointer when stage is faded out */
.stage-fixed[style*="visibility: hidden"] .stage-drag-area,
.stage-fixed[style*="opacity: 0"] .stage-drag-area {
  pointer-events: none;
}

/* Drag hint — appears briefly on hero, fades out after first interaction */
.drag-hint {
  position: absolute;
  bottom: 22vh;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.65);
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink2);
  letter-spacing: 0.5px;
  opacity: 0;
  pointer-events: none;
  z-index: 8;
  transition: opacity 0.5s var(--expo);
}
.drag-hint.visible {
  opacity: 1;
}
.drag-hint i {
  font-size: 14px;
  color: var(--pink);
  animation: dragHintBounce 1.6s ease-in-out infinite;
}
@keyframes dragHintBounce {
  0%, 100% { transform: translateX(0); }
  25%      { transform: translateX(-4px); }
  75%      { transform: translateX(4px); }
}

@media (max-width: 768px) {
  .drag-hint {
    bottom: 18vh;
    font-size: 11px;
    padding: 8px 18px;
  }
}

/* Caption wrapper — anchor for stacked captions */
.stage-caption-wrap {
  position: absolute;
  bottom: 10vh;
  left: 50%;
  transform: translateX(-50%);
  width: min(760px, 92vw);
  z-index: 7;
  pointer-events: none;
  height: 230px;
  transition: opacity 0.4s ease;
}

/* All captions stacked on top of each other */
.stage-caption {
  position: absolute;
  inset: 0;
  text-align: center;
  pointer-events: none;
  opacity: 0;
  transform: translateY(0);
  will-change: opacity, transform;
}
.stage-caption[data-cap="0"] { opacity: 1; }   /* default visible */

.stage-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--ink2);
  background: rgba(255,255,255,0.55);
  padding: 5px 16px;
  border-radius: 100px;
  margin-bottom: 16px;
  border: 1px solid rgba(255,255,255,0.6);
}

.stage-title {
  font-size: clamp(1.7rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  text-wrap: balance;
}

.stage-desc {
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  color: var(--ink2);
  line-height: 1.6;
  max-width: 560px;
  margin: 0 auto;
}

/* ══════════════════════════════════════════════════════════
   SCENES — empty scroll regions that trigger stage states
══════════════════════════════════════════════════════════ */
.scene {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  z-index: 2;
  pointer-events: none;
}

/* Hero scene */
.scene-hero {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 60px;
  min-height: 130vh;
}

.hero-cue {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--ink2);
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  opacity: 0;
  z-index: 8;
}
.cue-line {
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, var(--ink2), transparent);
  animation: cue 2s ease-in-out infinite;
}
@keyframes cue {
  0%, 100% { opacity:1; transform:scaleY(1); }
  50%      { opacity:.3; transform:scaleY(.6); }
}

/* Discovery scene — short for fast scroll feel */
.scene-discovery {
  min-height: 70vh;
}

/* Panel scenes — they hold the content card */
.scene-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  pointer-events: auto;
}

/* Panel card — glass content card */
.panel-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  max-width: 1080px;
  width: 100%;
  align-items: center;
  background: rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(28px) saturate(1.8);
  -webkit-backdrop-filter: blur(28px) saturate(1.8);
  border-radius: 32px;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  box-shadow: 
    0 24px 64px rgba(0,0,0,0.12),
    0 8px 24px rgba(0,0,0,0.06),
    inset 0 1px 0 rgba(255,255,255,0.7);
  padding: 48px;
  will-change: transform, opacity;
}

/* Flip layout — image on right (LTR) / left (RTL) */
.panel-card[data-flip="true"] {
  direction: ltr;
}
.panel-card[data-flip="true"] .panel-img-wrap { order: 2; }
.panel-card[data-flip="true"] .panel-text { order: 1; direction: rtl; text-align: start; }
html[dir="ltr"] .panel-card[data-flip="true"] .panel-text { direction: ltr; }

.panel-img-wrap {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: 0 16px 40px rgba(0,0,0,0.15);
}

.panel-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s var(--expo);
}
.panel-img:hover { transform: scale(1.05); }

.panel-glow {
  position: absolute;
  bottom: -60px; right: -60px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: var(--gc);
  filter: blur(80px);
  opacity: 0.4;
  pointer-events: none;
}

.panel-text {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: start;
}
.panel-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 4px;
  color: rgba(13,13,13,.3);
}
.panel-h2 {
  font-size: clamp(1.7rem, 3vw, 2.8rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.panel-p {
  font-size: 1rem;
  color: var(--ink2);
  line-height: 1.7;
}

.panel-btn {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  border: 2px solid var(--bc, var(--pink));
  color: var(--bc, var(--pink));
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .5px;
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(8px);
  transition: all .35s var(--back);
  margin-top: 8px;
}
.panel-btn::after { content:' →'; }
html[dir="rtl"] .panel-btn::after { content:' ←'; }
.panel-btn:hover {
  background: var(--bc);
  color: #fff;
  transform: translateX(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,.18);
}
html[dir="rtl"] .panel-btn:hover { transform: translateX(4px); }

/* ══════════════════════════════════════════════════════════
   EVENTS
══════════════════════════════════════════════════════════ */
.events-section {
  position: relative;
  background: var(--bg2);
  padding: 120px 80px;
  z-index: 10;
  border-top: 1px solid var(--border);
}

.events-header { text-align:center; margin-bottom:64px; }
.events-header h2 { font-size:clamp(2.5rem,5vw,4rem); font-weight:900; margin-bottom:12px; }
.events-header p  { color:var(--ink2); font-size:1.1rem; }

.events-grid {
  max-width:1300px; margin:0 auto;
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:20px;
}
.events-grid .event-list-card.ev-home-big { grid-column: span 2; }

.ev-card {
  border-radius:22px; overflow:hidden;
  min-height:260px; position:relative;
  display:flex; flex-direction:column; justify-content:flex-end;
  cursor:pointer; transition:transform .4s var(--back);
}
.ev-card:hover { transform:translateY(-7px); }
.ev-card.ev-big { grid-column:span 2; min-height:380px; }

.ev-bg { position:absolute; inset:0; transition:transform .55s var(--expo); }
.ev-card:hover .ev-bg { transform:scale(1.05); }

.ev-icon {
  position:absolute; top:28px; right:28px;
  font-size:1.8rem; color:rgba(255,255,255,.85); z-index:2;
}
html[dir="rtl"] .ev-icon { right:auto; left:28px; }

.ev-body {
  position:relative; z-index:2;
  padding:28px;
  background:linear-gradient(to top,rgba(0,0,0,.65) 0%,transparent 100%);
}
.ev-date { display:block; font-size:10px; letter-spacing:3px; text-transform:uppercase; color:rgba(255,255,255,.6); margin-bottom:8px; }
.ev-card h3 { font-size:1.2rem; font-weight:800; color:#fff; }
.ev-card.ev-big h3 { font-size:1.65rem; }
.ev-card p  { font-size:.9rem; color:rgba(255,255,255,.7); margin-top:8px; }

/* Upcoming event badge */
.ev-card.ev-upcoming { 
  position: relative;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.6), 0 16px 50px rgba(233,30,140,0.35);
}
.ev-badge {
  position: absolute;
  top: 24px;
  inset-inline-start: 24px;
  z-index: 3;
  background: rgba(255,255,255,0.95);
  color: #E91E8C;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  padding: 7px 14px;
  border-radius: 100px;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  animation: badgePulse 2s ease-in-out infinite;
}
@keyframes badgePulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.06); }
}

/* View all events CTA */
.events-cta {
  text-align: center;
  margin-top: 48px;
  max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
}
.events-view-all {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: 100px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  transition: all .35s var(--back);
  text-transform: uppercase;
}
.events-view-all i { 
  font-size: 12px; 
  transition: transform .3s var(--expo);
}
html[dir="ltr"] .events-view-all i { transform: rotate(180deg); }
.events-view-all:hover {
  background: var(--pink);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(233,30,140,0.35);
}
.events-view-all:hover i {
  transform: translateX(-6px);
}
html[dir="ltr"] .events-view-all:hover i { transform: rotate(180deg) translateX(-6px); }

/* ══════════════════════════════════════════════════════════
   PARTNERS
══════════════════════════════════════════════════════════ */
.partners-section { 
  position: relative;
  background: var(--bg);
  padding: 100px 0;
  border-top: 1px solid var(--border);
  overflow: hidden;
  z-index: 10;
}
.partners-header  { text-align:center; padding:0 48px; margin-bottom:56px; }
.partners-header h2 { font-size:clamp(2rem,4vw,3.5rem); font-weight:900; }

.partners-section { overflow:hidden; }
.marquee-row  { overflow:hidden; margin-bottom:20px; direction:ltr; -webkit-mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent); mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent); }
.marquee-track {
  display:flex; flex-wrap:nowrap; width:max-content;
  direction:ltr;
  will-change:transform;
  backface-visibility:hidden;
  -webkit-backface-visibility:hidden;
}
.marquee-track .p-item { flex:0 0 auto; }
.marquee-fwd { animation:mfwd 45s linear infinite; }
.marquee-rev { animation:mrev 45s linear infinite; }
.marquee-row:hover .marquee-track { animation-play-state:paused; }
@keyframes mfwd { 0%{transform:translate3d(0,0,0)}      100%{transform:translate3d(-50%,0,0)} }
@keyframes mrev { 0%{transform:translate3d(-50%,0,0)}    100%{transform:translate3d(0,0,0)} }

.p-item {
  display:flex; align-items:center;
  padding:0 11px;
  white-space:nowrap;
}
.p-item .pl {
  height:70px; width:150px;
  display:flex; align-items:center; justify-content:center;
  background:#fff; border-radius:16px;
  padding:12px 18px;
  box-shadow:0 4px 16px rgba(0,0,0,.06);
  border:1px solid rgba(0,0,0,.05);
  transition:transform .3s var(--back), box-shadow .3s;
}
.p-item img {
  max-height:44px; max-width:118px; width:auto; height:auto;
  object-fit:contain; display:block;
  filter:grayscale(1) opacity(.7);
  transition:filter .3s;
}
.p-item .pl:hover { transform:translateY(-4px); box-shadow:0 14px 30px rgba(0,0,0,.12); }
.p-item .pl:hover img { filter:grayscale(0) opacity(1); }

/* ══════════════════════════════════════════════════════════
   CONTACT
══════════════════════════════════════════════════════════ */
.contact-section {
  position: relative;
  background: var(--ink);
  padding: 140px 48px;
  text-align: center;
  overflow: hidden;
  z-index: 10;
}
.contact-inner { position:relative; max-width:900px; margin:0 auto; }
.contact-inner .tag { border-color:rgba(255,255,255,.3); color:rgba(255,255,255,.6); }
.contact-inner h2 {
  font-size:clamp(2.5rem,5vw,4.5rem); font-weight:900;
  color:#fff; margin-bottom:16px;
}
.contact-inner > p { color:rgba(255,255,255,.5); font-size:1.1rem; margin-bottom:64px; }

.ccards { display:flex; gap:20px; justify-content:center; flex-wrap:wrap; margin-bottom:48px; }
.ccard {
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:10px; width:240px; padding:32px 20px;
  background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.08);
  border-radius:18px;
  transition:all .35s var(--back);
}
.ccard:hover {
  background:rgba(255,255,255,.06);
  border-color:var(--cc, var(--pink));
  transform:translateY(-4px);
  box-shadow:0 20px 50px rgba(0,0,0,.3);
}
.ccard i      { font-size:2rem; color:var(--cc); }
.ccard span   { font-size:11px; letter-spacing:2px; text-transform:uppercase; color:rgba(255,255,255,.4); }
.ccard strong { font-size:1rem; font-weight:700; color:#fff; }

.social-row { display:flex; justify-content:center; gap:16px; }
.s-btn {
  width:52px; height:52px; border-radius:50%;
  border:1.5px solid rgba(255,255,255,.12);
  display:flex; align-items:center; justify-content:center;
  font-size:20px; color:rgba(255,255,255,.5);
  transition:all .3s var(--back);
}
.s-btn:hover { color:#fff; border-color:var(--pink); transform:translateY(-4px) scale(1.1); box-shadow:0 8px 24px rgba(233,30,140,.3); }

/* ══════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════ */
.site-footer { 
  position: relative;
  background:#080808; 
  padding:80px 80px 32px; 
  border-top:1px solid rgba(255,255,255,.05);
  z-index: 10;
}

.footer-inner {
  display:grid; grid-template-columns:1.5fr 1fr 1fr;
  gap:60px; max-width:1200px; margin:0 auto;
  padding-bottom:60px; border-bottom:1px solid rgba(255,255,255,.06);
}
.footer-brand p { font-size:.9rem; color:rgba(255,255,255,.4); margin-top:16px; max-width:280px; line-height:1.6; }
.footer-social  { display:flex; gap:12px; margin-top:24px; }
.footer-social a {
  width:38px; height:38px; border-radius:50%;
  border:1px solid rgba(255,255,255,.1);
  display:flex; align-items:center; justify-content:center;
  font-size:15px; color:rgba(255,255,255,.4); transition:all .3s;
}
.footer-social a:hover { color:#fff; border-color:rgba(255,255,255,.4); }

.footer-col { display:flex; flex-direction:column; gap:14px; }
.footer-col h4 { font-size:11px; letter-spacing:3px; text-transform:uppercase; color:var(--pink); margin-bottom:8px; }
.footer-col a  { font-size:.95rem; color:rgba(255,255,255,.4); transition:color .2s; }
.footer-col a:hover { color:#fff; }

.footer-bottom {
  display:flex; justify-content:space-between; align-items:center;
  padding-top:32px; max-width:1200px; margin:0 auto;
}
.footer-bottom p { font-size:.85rem; color:rgba(255,255,255,.25); }
.footer-lang { font-size:11px; font-weight:700; letter-spacing:2px; color:rgba(255,255,255,.3); }

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════ */
@media (max-width:1100px) {
  .panel-card   { gap:40px; padding:40px; }
}

@media (max-width:900px) {
  .hdr-nav  { display:none; }
  .hdr-burger { display:flex; }
  .hdr-icon:not(.whatsapp) { display:none; }

  .events-grid { grid-template-columns:1fr 1fr; }
  .ev-card.ev-big { grid-column:span 2; }

  .footer-inner { grid-template-columns:1fr; gap:40px; }
  .footer-bottom { flex-direction:column; gap:16px; }
}

@media (max-width: 768px) {
  /* Stage adjustments for mobile */
  .orb {
    width: 92px;
    height: 92px;
    margin-left: -46px;
    margin-top: -46px;
  }
  .orb i { font-size: 1.25rem; }
  .orb span { font-size: 9px; }
  
  .stage-logo {
    width: 130px;
  }
  
  .stage-caption-wrap {
    bottom: 10vh;
    height: 180px;
  }
  
  .stage-tag {
    font-size: 10px;
    padding: 4px 12px;
    margin-bottom: 12px;
  }
  
  .stage-title {
    font-size: clamp(1.4rem, 6vw, 2rem);
  }
  
  .stage-desc {
    font-size: 0.88rem;
    padding: 0 20px;
  }
  
  /* Panel cards on mobile */
  .scene-panel { padding: 60px 16px; }
  
  .panel-card {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 28px 22px;
    max-width: 420px;
    border-radius: 26px;
  }
  
  .panel-card[data-flip="true"] .panel-img-wrap { order: 1; }
  .panel-card[data-flip="true"] .panel-text { order: 2; }
  
  .panel-img-wrap {
    aspect-ratio: 16/10;
    border-radius: 18px;
  }
  
  .panel-h2 { font-size: clamp(1.4rem, 6vw, 1.9rem); line-height: 1.2; }
  .panel-p { font-size: 0.94rem; line-height: 1.65; }
  .panel-btn { 
    padding: 12px 22px;
    font-size: 13px;
    align-self: stretch;
    justify-content: center;
  }
}

@media (max-width:640px) {
  .app-header { padding:16px 20px; }
  .app-header.scrolled { padding:12px 20px; }

  .events-section { padding:80px 20px; }
  .events-grid { grid-template-columns:1fr; }
  .ev-card.ev-big { grid-column:span 1; }

  .partners-section { padding:80px 0; }
  .contact-section  { padding:100px 20px; }
  .ccards { flex-direction:column; align-items:center; }
  .ccard  { width:100%; max-width:320px; }

  .site-footer { padding:60px 20px 24px; }
}

@media (max-width: 380px) {
  .orb {
    width: 80px;
    height: 80px;
    margin-left: -40px;
    margin-top: -40px;
  }
  .orb i { font-size: 1.1rem; }
  .orb span { font-size: 8px; }
  .stage-logo { width: 110px; }
  .panel-card { padding: 22px 18px; }
  .panel-h2 { font-size: 1.3rem; }
  .panel-p { font-size: 0.88rem; }
}

/* Sections that need to be opaque (after stage hides) */
.events-section,
.partners-section,
.contact-section,
.site-footer {
  pointer-events: auto;
}



/* ════════════════════════════════════════════════════════════
   ▓▓▓  CINEMATIC SCROLL SEQUENCE LAYER  ▓▓▓
   Crisp video-on-canvas. No vignette, no grain — pure sharp.
═════════════════════════════════════════════════════════════ */
#seqLayer {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.7s ease;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}
#seqLayer.active { opacity: 1; }

#seqCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  background: #021320;
  /* Better image-rendering for canvas-drawn frames */
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

/* Vignette element kept in DOM but neutralized — no haze */
#seqVignette { display: none; }

/* Hide the old orbital orbs / center-logo / drag area entirely */
.stage-orbs,
.stage-center,
.stage-drag-area,
.drag-hint {
  display: none !important;
}

/* While cinematic plays: hide bg-canvas blob + grain entirely.
   No haze, no overlay, no extra fuzz on top of the video. */
body.seq-active #bg-canvas,
body.seq-active #bg-overlay,
body.seq-active .site-grain {
  opacity: 0;
  transition: opacity 0.8s ease;
}
#bg-canvas, #bg-overlay, .site-grain {
  transition: opacity 0.8s ease;
}

/* Captions on cinematic — bright, glowing, readable */
body.seq-active .stage-caption-wrap {
  z-index: 50;
  /* Reposition captions to the upper-center of the screen instead of
     the default bottom-anchored placement. */
  bottom: auto;
  top: 32vh;
}
@media (max-width: 768px) {
  body.seq-active .stage-caption-wrap {
    top: 28vh;
  }
}
body.seq-active .stage-tag {
  color: rgba(255, 255, 255, 0.92) !important;
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.28) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
body.seq-active .stage-title {
  color: #fff !important;
  text-shadow:
    0 2px 24px rgba(0,0,0,0.65),
    0 0 64px rgba(0,0,0,0.40);
}
body.seq-active .stage-desc {
  color: rgba(255, 255, 255, 0.92) !important;
  text-shadow: 0 2px 16px rgba(0,0,0,0.65);
}
body.seq-active .hero-cue { color: rgba(255,255,255,0.85); }
body.seq-active .cue-line {
  background: linear-gradient(to bottom, rgba(255,255,255,0.85), transparent);
}

/* Header over the cinematic */
body.seq-active .app-header:not(.scrolled) .hdr-nav a,
body.seq-active .app-header:not(.scrolled) .hdr-icon,
body.seq-active .app-header:not(.scrolled) .hdr-lang {
  color: #fff;
  text-shadow: 0 1px 12px rgba(0,0,0,0.5);
}
body.seq-active .app-header:not(.scrolled) .hdr-burger span { background: #fff; }


/* ════════════════════════════════════════════════════════════
   ▓▓▓  HERO LOGO — visible after loader, blurs out on scroll  ▓▓▓
═════════════════════════════════════════════════════════════ */
#heroLogo {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 60;
  pointer-events: none;
  width: clamp(180px, 32vw, 320px);
  height: auto;
  transform: translate(-50%, -50%);
  opacity: 0;
  filter: blur(0px);
  transition: opacity 1.4s cubic-bezier(0.65, 0, 0.35, 1);
  will-change: opacity, filter, transform;
}
#heroLogo.show { opacity: 1; }
#heroLogo img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 12px 48px rgba(0, 0, 0, 0.45))
          drop-shadow(0 0 32px rgba(255, 255, 255, 0.10));
  animation: heroLogoBreath 4.5s ease-in-out infinite;
}
@keyframes heroLogoBreath {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.04); }
}


/* ════════════════════════════════════════════════════════════
   ▓▓▓  LOADER — Logo only, with circular progress ring  ▓▓▓
═════════════════════════════════════════════════════════════ */
#seqLoader {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background:
    radial-gradient(ellipse at center, #0a2942 0%, #021320 70%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 80px;
  transition: opacity 1s cubic-bezier(0.65, 0, 0.35, 1),
              visibility 1s cubic-bezier(0.65, 0, 0.35, 1);
  overflow: hidden;
}
#seqLoader.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Ambient color drift */
#seqLoader::before,
#seqLoader::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  pointer-events: none;
}
#seqLoader::before {
  width: 380px; height: 380px;
  background: radial-gradient(circle, #FFCA28, transparent 70%);
  top: 20%; left: 18%;
  animation: loaderBlob1 6s ease-in-out infinite;
}
#seqLoader::after {
  width: 420px; height: 420px;
  background: radial-gradient(circle, #E91E8C, transparent 70%);
  bottom: 15%; right: 15%;
  animation: loaderBlob2 7s ease-in-out infinite;
}
@keyframes loaderBlob1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(40px, -30px) scale(1.15); }
}
@keyframes loaderBlob2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(-30px, 30px) scale(1.1); }
}

/* Logo stage — smaller now (no ring around it) */
.seq-loader-stage {
  position: relative;
  width: clamp(120px, 28vw, 160px);
  height: clamp(120px, 28vw, 160px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.seq-loader-glow {
  position: absolute;
  inset: -10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 202, 40, 0.30), transparent 70%);
  filter: blur(40px);
  animation: loaderGlow 2.4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes loaderGlow {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.15); }
}
.seq-loader-logo {
  position: relative;
  width: 100%;
  height: auto;
  z-index: 2;
  filter: drop-shadow(0 12px 40px rgba(0,0,0,0.4));
  animation: loaderLogoBreath 2.4s ease-in-out infinite;
}
@keyframes loaderLogoBreath {
  0%, 100% { transform: scale(1);    opacity: 0.92; }
  50%      { transform: scale(1.06); opacity: 1; }
}

/* Thin progress bar below the logo */
.seq-loader-bar-wrap {
  position: relative;
  width: clamp(140px, 32vw, 200px);
  height: 2px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 100px;
  overflow: hidden;
}
.seq-loader-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #FFCA28, #E91E8C, #00BCD4);
  border-radius: 100px;
  transition: width 0.35s ease-out;
  box-shadow: 0 0 12px rgba(255, 202, 40, 0.6);
}


/* ════════════════════════════════════════════════════════════
   ▓▓▓  DISCOVER GRID — VERY COMPACT cards (mobile + desktop)  ▓▓▓
═════════════════════════════════════════════════════════════ */
.scene-discovery {
  min-height: auto;
  padding: 70px 16px 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
}
.discover-inner {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
}
.discover-header {
  text-align: center;
  margin-bottom: 28px;
}
.discover-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 14px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.25);
}
[lang="ar"] .discover-tag { letter-spacing: 0.05em; font-family: 'Cairo', sans-serif; }
.discover-title {
  font-size: clamp(22px, 4.5vw, 38px);
  font-weight: 800;
  line-height: 1.2;
  color: #ffffff;
  letter-spacing: -0.015em;
  max-width: 720px;
  margin: 0 auto;
  text-shadow:
    0 2px 24px rgba(0, 0, 0, 0.45),
    0 1px 6px rgba(0, 0, 0, 0.25);
}
[lang="ar"] .discover-title { font-family: 'Cairo', sans-serif; font-weight: 900; }

/* Grid: 4 cols on mobile, 8 cols on desktop — all cards small */
.discover-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
@media (min-width: 768px)  { .discover-grid { grid-template-columns: repeat(8, 1fr); gap: 12px; } }

/* Compact card */
.discover-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 6px 8px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(16px) saturate(1.5);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow:
    0 6px 18px rgba(0, 0, 0, 0.06),
    0 2px 6px rgba(0, 0, 0, 0.03),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
  text-decoration: none;
  color: inherit;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.4s ease,
              border-color 0.4s ease;
  /* entrance state */
  opacity: 0;
  transform: translateY(18px) scale(0.92);
  will-change: transform, opacity;
  transition-delay: calc(var(--d, 0) * 50ms);
}
.discover-card.in {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.discover-card:active { transform: translateY(1px) scale(0.96); }

@media (hover: hover) {
  .discover-card:hover {
    transform: translateY(-4px) scale(1.04);
    border-color: var(--cc);
    box-shadow:
      0 16px 32px color-mix(in srgb, var(--cc) 28%, transparent),
      0 4px 10px rgba(0, 0, 0, 0.08);
  }
  .discover-card:hover .dc-icon {
    transform: scale(1.1);
    background: var(--cc);
    color: #fff;
    box-shadow: 0 8px 20px color-mix(in srgb, var(--cc) 50%, transparent);
  }
}

.dc-icon {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--cc) 16%, white);
  color: var(--cc);
  font-size: 13px;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
              background 0.4s ease,
              color 0.4s ease,
              box-shadow 0.4s ease;
}
@media (min-width: 768px) { .dc-icon { width: 36px; height: 36px; font-size: 14px; } }

.dc-name {
  font-size: 9.5px;
  font-weight: 700;
  color: var(--ink, #1a1a1a);
  text-align: center;
  line-height: 1.2;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
[lang="ar"] .dc-name { font-family: 'Cairo', sans-serif; font-size: 10px; }
@media (min-width: 768px) { .dc-name { font-size: 10.5px; } [lang="ar"] .dc-name { font-size: 11px; } }


/* Hero scroll length: longer on mobile so cinematic doesn't fly past */
@media (max-width: 768px) {
  .scene-hero { min-height: 180vh; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  #seqLayer, #heroLogo { display: none !important; }
  .seq-loader-logo,
  .seq-loader-glow,
  #seqLoader::before,
  #seqLoader::after { animation: none !important; }
  .discover-card { opacity: 1; transform: none; }
}

/* ════════════════════════════════════════════════════════════
   ▓▓▓  SCROLL LOCK during loading  ▓▓▓
   Applied via JS to <html> while the loader is visible. Prevents
   user from scrolling so the cinematic always begins from frame 0.
═════════════════════════════════════════════════════════════ */
html.seq-locked,
html.seq-locked body {
  overflow: hidden !important;
  height: 100% !important;
  /* iOS Safari needs this combination to truly stop momentum scroll */
  touch-action: none !important;
  -webkit-overflow-scrolling: auto !important;
  overscroll-behavior: none !important;
}
html.seq-locked body {
  position: fixed !important;
  inset: 0 !important;
  width: 100% !important;
}

/* ═══ Homepage event FLIP cards ═══ */
.events-grid .event-list-card {
  position: relative;
  min-height: 300px;
  cursor: pointer;
  perspective: 1500px;
}
.events-grid .event-list-card.ev-home-big { grid-column: span 2; min-height: 360px; }
.events-grid .ev-flip-inner {
  position: relative; width: 100%; height: 100%; min-height: 300px;
  transform-style: preserve-3d; transition: transform .7s cubic-bezier(.22,1,.36,1);
}
.events-grid .ev-home-big .ev-flip-inner { min-height: 360px; }
.events-grid .event-list-card.flipped .ev-flip-inner { transform: rotateY(180deg); }
.events-grid .event-list-card:not(.flipped):hover .ev-flip-inner { transform: translateY(-6px); }
.events-grid .ev-face {
  position: absolute; inset: 0; border-radius: 22px; overflow: hidden;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  box-shadow: 0 14px 40px rgba(0,0,0,0.18);
}
.events-grid .ev-front {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  padding: 28px 22px 38px;
}
.events-grid .ev-front::after {
  content:''; position:absolute; inset:0;
  background: linear-gradient(to top, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.08) 50%, rgba(0,0,0,0.28) 100%);
  z-index:1;
}
.events-grid .ev-logo {
  position:relative; margin-bottom:6px;
  width:116px; height:116px; border-radius:22px; background:rgba(255,255,255,0.96);
  display:flex; align-items:center; justify-content:center; padding:13px;
  box-shadow:0 12px 32px rgba(0,0,0,0.28); z-index:2;
}
.events-grid .ev-home-big .ev-logo { width:140px; height:140px; }
.events-grid .ev-logo img { width:100%; height:100%; object-fit:contain; }
.events-grid .ev-icon-lg {
  position:relative; margin-bottom:10px;
  font-size:2.8rem; color:rgba(255,255,255,0.92); z-index:2;
}
.events-grid .event-list-card .body { position:relative; z-index:2; padding:0; text-align:center; }
.events-grid .event-list-card .body .date {
  display:block; font-size:11px; letter-spacing:2.5px; text-transform:uppercase;
  color:rgba(255,255,255,0.85); margin-bottom:8px; font-weight:700;
}
.events-grid .event-list-card .body h3 { font-size:1.25rem; font-weight:800; color:#fff; margin-bottom:8px; }
.events-grid .ev-home-big .body h3 { font-size:1.6rem; }
.events-grid .event-list-card .body p { font-size:0.9rem; color:rgba(255,255,255,0.88); line-height:1.55; }
.events-grid .badge-corner {
  position:absolute; top:20px; inset-inline-start:20px; z-index:5;
  font-size:10px; font-weight:800; letter-spacing:2px; padding:6px 14px;
  border-radius:100px; text-transform:uppercase;
}
.events-grid .badge-corner.upcoming { background:#fff; color:#1B5E20; }
.events-grid .badge-corner.past { background:rgba(0,0,0,0.45); color:rgba(255,255,255,0.9); backdrop-filter:blur(10px); }
.events-grid .event-list-card.upcoming .ev-front { box-shadow:0 0 0 3px rgba(255,255,255,0.7), 0 14px 40px rgba(0,0,0,0.22); }
.events-grid .ev-flip-hint {
  position:absolute; bottom:16px; inset-inline-end:18px; z-index:3;
  font-size:10px; font-weight:700; color:rgba(255,255,255,0.9);
  display:inline-flex; align-items:center; gap:6px;
}
.events-grid .ev-back {
  transform: rotateY(180deg); background:#11131a; display:flex; flex-direction:column;
}
.events-grid .ev-col-img { background-size:cover; background-position:center; }
.events-grid .ev-col-img.full { position:absolute; inset:0; }
.events-grid .ev-collage { position:absolute; inset:0; display:grid; gap:3px; }
.events-grid .ev-collage-3 { grid-template-columns:1fr 1fr; grid-template-rows:1fr 1fr; }
.events-grid .ev-collage-3 .ev-col-img:first-child { grid-row:1 / span 2; }
.events-grid .ev-back-label {
  position:absolute; inset-inline:0; bottom:0; z-index:2; padding:20px 22px;
  background:linear-gradient(to top, rgba(0,0,0,0.78) 0%, transparent 100%);
  display:flex; align-items:flex-end; justify-content:space-between; gap:12px;
}
.events-grid .ev-back-label h3 { font-size:1.1rem; font-weight:800; color:#fff; margin:0; }
.events-grid .ev-back-label .ev-flip-hint { position:static; }

@media (max-width: 920px) {
  .events-grid { grid-template-columns:1fr 1fr; }
  .events-grid .event-list-card.ev-home-big { grid-column:span 2; }
}
@media (max-width: 560px) {
  .events-grid { grid-template-columns:1fr; }
  .events-grid .event-list-card.ev-home-big { grid-column:span 1; }
}
