/* =================================================================
   ActivGate Landing Page — Full Redesign
   Prefix: l- (landing namespace)
   Based on full-page-v3 mockup with l- prefix convention
   ================================================================= */


/* =================================================================
   KEYFRAMES
   ================================================================= */
@keyframes l-aurora-1 {
  0%   { transform: translate(0, 0) rotate(0) scale(1); }
  100% { transform: translate(30px, -20px) rotate(15deg) scale(1.05); }
}
@keyframes l-aurora-2 {
  0%   { transform: translate(0, 0) rotate(0) scale(1); }
  100% { transform: translate(-20px, 30px) rotate(-10deg) scale(1.08); }
}
@keyframes l-aurora-3 {
  0%   { transform: translate(0, 0) rotate(0); }
  100% { transform: translate(15px, 15px) rotate(8deg) scale(1.03); }
}
@keyframes l-aurora-4 {
  0%   { transform: translate(0, 0); }
  100% { transform: translate(-10px, -15px) rotate(-5deg); }
}
@keyframes l-pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.5; }
}
@keyframes l-marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes l-float-1 {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
@keyframes l-float-2 {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}
@keyframes l-float-3 {
  0%, 100% { transform: translateY(0) rotate(0); }
  50%      { transform: translateY(-8px) rotate(2deg); }
}
@keyframes l-float-4 {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}
@keyframes l-bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(6px); }
}

/* =================================================================
   RESET & BASE
   ================================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #1E284A;
  background: #f8faff;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

ul {
  list-style: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* =================================================================
   AURORA BLOBS
   ================================================================= */
.l-aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  will-change: transform;
  opacity: 1;
  z-index: 0;
}

/* Aurora animated bands */
.l-aurora__band {
  position: absolute;
  border-radius: 50%;
  opacity: 0.6;
  filter: blur(80px);
  will-change: transform;
}
.l-aurora__band--1 {
  width: 600px; height: 600px;
  top: -15%; left: -8%;
  background: radial-gradient(ellipse at 40% 50%, rgba(37,99,235,0.2) 0%, transparent 70%);
  animation: l-aurora-1 10s ease-in-out infinite alternate;
}
.l-aurora__band--2 {
  width: 500px; height: 500px;
  top: 10%; right: -5%;
  background: radial-gradient(ellipse at 50% 50%, rgba(236,72,153,0.15) 0%, transparent 70%);
  animation: l-aurora-2 12s ease-in-out infinite alternate;
}
.l-aurora__band--3 {
  width: 550px; height: 550px;
  bottom: -10%; left: 25%;
  background: radial-gradient(ellipse at 60% 50%, rgba(79,70,229,0.18) 0%, transparent 70%);
  animation: l-aurora-3 14s ease-in-out infinite alternate;
}
.l-aurora__band--4 {
  width: 400px; height: 400px;
  bottom: 20%; right: 15%;
  background: radial-gradient(ellipse at 35% 50%, rgba(245,158,11,0.12) 0%, transparent 70%);
  animation: l-aurora-4 9s ease-in-out infinite alternate;
}

/* =================================================================
   LAYOUT
   ================================================================= */
.l-wide,
.l-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 36px;
  position: relative;
  z-index: 2;
}

.l-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
}

.l-two-col--center {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

/* Gradient text utility */
.l-grad {
  background: linear-gradient(135deg, #2563eb, #4f46e5, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* =================================================================
   NAV
   ================================================================= */
.l-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(248, 250, 255, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(46, 116, 184, 0.06);
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 36px;
}

.l-nav__logo {
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
}

.l-nav__logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.l-nav__logo-text span:first-child {
  color: #2563eb;
}

.l-nav__links {
  display: flex;
  gap: 28px;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
}

.l-nav__link {
  color: #1E284A;
  opacity: 0.55;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s;
}

.l-nav__link:hover {
  opacity: 1;
}

.l-nav__actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.l-nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.l-nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #1E284A;
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

/* Mobile nav drawer */
.l-nav-mobile {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 24px;
  flex-direction: column;
  gap: 16px;
  border-bottom: 1px solid rgba(30, 40, 74, 0.08);
}

.l-nav-mobile.open {
  display: flex;
}

.l-nav-mobile__link {
  font-size: 16px;
  font-weight: 500;
  color: rgba(30, 40, 74, 0.8);
  padding: 8px 0;
}

.l-nav-mobile__divider {
  border: none;
  border-top: 1px solid rgba(30, 40, 74, 0.08);
  margin: 4px 0;
}

/* =================================================================
   BUTTONS
   ================================================================= */
.l-btn--pill {
  padding: 9px 22px;
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  border-radius: 999px;
  font-weight: 600;
  font-size: 13px;
  color: #fff !important;
  opacity: 1 !important;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  display: inline-block;
  text-decoration: none;
}

.l-btn--pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3);
}

.l-btn--pill-o {
  padding: 9px 22px;
  border: 1.5px solid rgba(37, 99, 235, 0.2);
  border-radius: 999px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.5);
  display: inline-block;
  text-decoration: none;
  transition: border-color 0.2s;
}

.l-btn--pill-o:hover {
  border-color: rgba(37, 99, 235, 0.4);
}

.l-btn--primary {
  padding: 14px 32px;
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 4px 24px rgba(37, 99, 235, 0.3);
  border: none;
  display: inline-block;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}

.l-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(37, 99, 235, 0.4);
}

.l-btn--outline {
  padding: 14px 32px;
  border: 1.5px solid rgba(37, 99, 235, 0.2);
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  color: #1E284A;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  display: inline-block;
  text-decoration: none;
  transition: border-color 0.2s;
}

.l-btn--outline:hover {
  border-color: rgba(37, 99, 235, 0.4);
}

.l-btn--sm {
  padding: 12px 28px;
  font-size: 14px;
}

.l-btn--link {
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s;
  display: block;
  margin-top: 16px;
}

.l-btn--link:hover {
  opacity: 0.7;
}

.l-cta-label {
  font-size: 11px;
  opacity: 0.4;
  margin-top: 8px;
}

/* Generic btn base (shared) */
.l-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 24px;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
  white-space: nowrap;
  text-decoration: none;
}

.l-btn:hover {
  transform: translateY(-1px);
}

.l-btn:active {
  transform: translateY(0);
}

.l-btn--ghost {
  color: rgba(30, 40, 74, 0.85);
  background: transparent;
}

.l-btn--ghost:hover {
  color: #1E284A;
  background: rgba(30, 40, 74, 0.06);
}

.l-btn--lg {
  font-size: 16px;
  padding: 14px 32px;
}

.l-btn--full {
  width: 100%;
}

/* =================================================================
   SECTIONS
   ================================================================= */
.l-section {
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

.l-section--light {
  background: #f8faff;
  position: relative;
  overflow: hidden;
}
.l-section--light::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(37,99,235,0.08) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}
.l-section--light::after {
  content: '';
  position: absolute;
  bottom: -15%;
  right: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(79,70,229,0.06) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}

.l-section--dark {
  background: #f0f4ff;
  color: #1E284A;
  position: relative;
  overflow: hidden;
}

.l-section-label {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 8px;
}

.l-section-title {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
  line-height: 1.15;
}

.l-section-title--left {
  text-align: left;
}

.l-section-sub {
  font-size: 14px;
  opacity: 0.5;
  line-height: 1.6;
  margin-bottom: 28px;
}

/* =================================================================
   HERO
   ================================================================= */
.l-hero {
  min-height: 0;
  position: relative;
  overflow: hidden;
  background: #f8faff;
  display: flex;
  flex-direction: column;
  padding: 80px 0 0;
}

/* Aurora wrapper inside hero spans full area */
.l-hero > .l-aurora {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  border-radius: 0;
  filter: none;
}

/* Aurora blobs positioned inside hero */
.l-hero .l-aurora:nth-child(1) {
  top: -12%;
  left: -6%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, transparent 70%);
  animation: l-aurora-1 10s ease-in-out infinite alternate;
}

.l-hero .l-aurora:nth-child(2) {
  top: 10%;
  right: -3%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.08) 0%, transparent 70%);
  animation: l-aurora-2 12s ease-in-out infinite alternate;
}

.l-hero .l-aurora:nth-child(3) {
  bottom: 10%;
  left: 25%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.1) 0%, transparent 70%);
  animation: l-aurora-3 14s ease-in-out infinite alternate;
}

.l-hero .l-aurora:nth-child(4) {
  bottom: 25%;
  right: 15%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.07) 0%, transparent 70%);
  animation: l-aurora-4 9s ease-in-out infinite alternate;
}

.l-hero__top {
  text-align: center;
  position: relative;
  z-index: 2;
  padding: 24px 32px 28px;
}

.l-hero__live {
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #22c55e;
  font-weight: 600;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.l-hero__live .l-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 8px #22c55e;
  animation: l-pulse 2s ease-in-out infinite;
}

.l-hero__title {
  font-size: 46px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -2px;
  margin-bottom: 10px;
}

.l-hero__subtitle {
  font-size: 16px;
  opacity: 0.5;
  line-height: 1.5;
  max-width: 560px;
  margin: 0 auto;
}

.l-hero__main {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  padding: 20px 40px 0;
  position: relative;
  z-index: 2;
  align-items: start;
}

.l-hero__scroll {
  position: absolute;
  bottom: 0px;
  left: 33%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(30, 40, 74, 0.35);
  font-size: 12px;
  animation: l-bob 2s ease-in-out infinite;
}

/* =================================================================
   GLOBE
   ================================================================= */
.l-globe-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.l-globe-frame {
  width: 100%;
  max-width: 580px;
  border-radius: 20px;
  overflow: hidden;
  background: #0a0e1a;
  aspect-ratio: 1280 / 758;
  position: relative;
  box-shadow: 0 8px 48px rgba(37, 99, 235, 0.15), 0 0 0 1px rgba(37, 99, 235, 0.08);
}

.l-globe-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.l-globe-sphere {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #1e3a5f 0%, #0d1b2a 60%, #0a0e1a 100%);
  box-shadow: 0 0 80px rgba(37, 99, 235, 0.2);
  position: relative;
}

.l-globe-pin {
  position: absolute;
  border-radius: 50%;
}

.l-globe-pin--green {
  background: #22c55e;
  box-shadow: 0 0 12px #22c55e;
}

.l-globe-pin--amber {
  background: #f59e0b;
  box-shadow: 0 0 12px #f59e0b;
}

.l-globe-pin--pink {
  background: #ec4899;
  box-shadow: 0 0 12px #ec4899;
}

.l-globe-pin--blue {
  background: #2563eb;
  box-shadow: 0 0 12px #2563eb;
}

.l-globe-badge {
  position: absolute;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  z-index: 2;
}

.l-globe-live {
  top: 14px;
  left: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
}

.l-globe-live .l-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 8px #22c55e;
  animation: l-pulse 2s ease-in-out infinite;
}

.l-globe-live span {
  color: #fff;
  font-size: 11px;
  font-weight: 600;
}

.l-globe-city {
  position: absolute;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(6px);
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 10px;
  color: #fff;
  z-index: 2;
}

.l-globe-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  border: 2px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s;
}

.l-globe-play:hover {
  background: rgba(255, 255, 255, 0.22);
}

.l-globe-play span {
  color: #fff;
  font-size: 24px;
  margin-left: 4px;
}

/* =================================================================
   FLOATING REEL CARDS
   ================================================================= */
.l-fr-col {
  position: relative;
  height: 520px;
}

.l-fr {
  position: absolute;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  transition: transform 0.3s;
}

.l-fr:hover {
  transform: scale(1.04) !important;
}

.l-fr__bg {
  width: 100%;
  height: 100%;
  position: relative;
}

.l-fr__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 25%, rgba(0, 0, 0, 0.75) 100%);
}

.l-fr__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
}

.l-fr__play span {
  color: #fff;
  font-size: 14px;
  margin-left: 2px;
}

.l-fr__badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 9px;
  color: #fff;
  font-weight: 600;
}

.l-fr__info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px;
  color: #fff;
}

.l-fr__avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #fff;
  flex-shrink: 0;
}

.l-fr__name {
  font-size: 10px;
  font-weight: 600;
}

.l-fr__caption {
  font-size: 10px;
  opacity: 0.8;
  margin-top: 2px;
}

.l-fr__likes {
  font-size: 9px;
  opacity: 0.6;
  margin-top: 2px;
}

.l-fr-cta-wrap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 10;
}

/* =================================================================
   ACTIVITY TICKER
   ================================================================= */
.l-ticker {
  position: relative;
  z-index: 2;
  background: linear-gradient(to top, rgba(248, 250, 255, 0.95), transparent);
  padding: 48px 0 14px;
  overflow: hidden;
  margin-top: auto;
}

.l-ticker__track {
  display: flex;
  gap: 28px;
  white-space: nowrap;
  animation: l-marquee 35s linear infinite;
  font-size: 13px;
}

.l-ticker__item {
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.65;
  flex-shrink: 0;
}

.l-ticker__avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #fff;
  font-weight: 700;
  flex-shrink: 0;
}

.l-ticker__dot {
  opacity: 0.25;
  flex-shrink: 0;
}

/* =================================================================
   CARDS (generic)
   ================================================================= */
.l-card {
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(46, 116, 184, 0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}

.l-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

.l-card__body {
  padding: 14px;
}

.l-card__img {
  height: 120px;
  position: relative;
}

/* =================================================================
   FEED COLUMN
   ================================================================= */
.l-feed-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.l-fade-cta {
  text-align: center;
  margin-top: 28px;
  position: relative;
}

.l-fade-cta::before {
  content: '';
  position: absolute;
  top: -50px;
  left: 0;
  right: 0;
  height: 50px;
  background: linear-gradient(to top, #f8faff, transparent);
  pointer-events: none;
}

/* =================================================================
   DEAL CARDS
   ================================================================= */
.l-deal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.l-deal-card {
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(46, 116, 184, 0.08);
  overflow: hidden;
  transition: transform 0.2s;
}

.l-deal-card:hover {
  transform: translateY(-4px);
}

.l-deal-header {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.l-deal-type {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 10px;
  color: #fff;
  font-weight: 600;
}

.l-deal-body {
  padding: 14px;
}

.l-deal-price {
  font-size: 20px;
  font-weight: 800;
}

.l-deal-badge {
  font-size: 10px;
  color: #fff;
  padding: 3px 8px;
  border-radius: 999px;
  font-weight: 600;
}

/* =================================================================
   COMMUNITY CARDS
   ================================================================= */
.l-comm-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.l-comm-card {
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(46, 116, 184, 0.08);
  padding: 20px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s;
}

.l-comm-card:hover {
  transform: translateY(-4px);
}

.l-comm-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.l-comm-emoji {
  font-size: 24px;
  margin-bottom: 8px;
}

.l-comm-name {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 2px;
}

.l-comm-meta {
  font-size: 11px;
  opacity: 0.5;
  margin-bottom: 10px;
}

.l-comm-preview {
  font-size: 11px;
  opacity: 0.55;
  line-height: 1.3;
  font-style: italic;
}

/* Avatar stack (shared by communities, events) */
.l-av-stack {
  display: flex;
  margin-bottom: 8px;
}

.l-av-stack__item {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #fff;
}

.l-av-stack__item + .l-av-stack__item {
  margin-left: -5px;
}

.l-av-stack__overflow {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #fff;
  margin-left: -5px;
  background: #eee;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 7px;
  font-weight: 700;
  color: #999;
}

/* =================================================================
   PROFILE CARDS
   ================================================================= */
.l-profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.l-profile-card {
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(46, 116, 184, 0.08);
  padding: 18px;
  text-align: center;
  transition: transform 0.2s;
}

.l-profile-card:hover {
  transform: translateY(-4px);
}

.l-profile-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  margin: 0 auto 8px;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.l-profile-thumbs {
  display: flex;
  gap: 4px;
  justify-content: center;
  margin-top: 10px;
}

.l-profile-thumb {
  width: 36px;
  height: 36px;
  border-radius: 6px;
}

/* =================================================================
   EVENT CARDS
   ================================================================= */
.l-event-card {
  display: flex;
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(46, 116, 184, 0.08);
  transition: transform 0.2s;
}

.l-event-card:hover {
  transform: translateY(-4px);
}

.l-event-date {
  width: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
  padding: 12px;
}

.l-event-day {
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
}

.l-event-month {
  font-size: 11px;
  font-weight: 600;
  opacity: 0.7;
}

/* =================================================================
   STATS (dark section)
   ================================================================= */
.l-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.l-stat-card {
  background: #fff;
  border: 1px solid rgba(46,116,184,0.08);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}

.l-stat-num {
  font-size: 38px;
  font-weight: 800;
  line-height: 1;
}

.l-stat-label {
  font-size: 12px;
  opacity: 0.5;
  margin-top: 6px;
  color: #1E284A;
}

/* =================================================================
   APP DOWNLOAD
   ================================================================= */
.l-app-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.l-app-btn {
  background: #1E284A;
  color: #fff;
  padding: 11px 20px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: transform 0.15s;
  text-decoration: none;
}

.l-app-btn:hover {
  transform: translateY(-1px);
}

.l-phone-frame {
  width: 240px;
  height: 480px;
  border-radius: 36px;
  border: 3px solid rgba(30,40,74,0.15);
  background: #1a1a2e;
  overflow: hidden;
  position: relative;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.12);
  margin: 0 auto;
}

.l-phone-notch {
  width: 90px;
  height: 24px;
  background: #0a0e1a;
  border-radius: 0 0 16px 16px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.l-phone-screen {
  padding: 4px;
  height: calc(100% - 24px);
  position: relative;
  overflow: hidden;
}

.l-phone-screen__inner {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  background: linear-gradient(180deg, #0ea5e9, #2563eb, #4f46e5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  padding: 16px;
}

/* =================================================================
   FOOTER
   ================================================================= */
.l-footer {
  background: #a3c39a5c;
  color: #fff;
  padding: 48px 0 24px;
  position: relative;
  overflow: hidden;
}
.l-footer .l-aurora {
  position: absolute;
  inset: 0;
  opacity: 1;
  pointer-events: none;
}
.l-footer .l-aurora__band {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
  filter: none;
}
.l-footer .l-aurora__band--1 {
  width: 140%; height: 120%;
  top: -30%; left: -30%;
  background: radial-gradient(ellipse at 40% 50%, rgba(46,116,184,0.9) 0%, rgba(46,116,184,0.35) 35%, transparent 65%);
  animation: l-aurora-1 8s ease-in-out infinite alternate;
}
.l-footer .l-aurora__band--2 {
  width: 100%; height: 100%;
  top: -10%; left: 20%;
  background: radial-gradient(ellipse at 50% 50%, rgba(241,201,174,0.75) 0%, rgba(241,201,174,0.25) 35%, transparent 60%);
  animation: l-aurora-2 10s ease-in-out infinite alternate;
}
.l-footer .l-aurora__band--3 {
  width: 120%; height: 110%;
  top: -20%; left: 40%;
  background: radial-gradient(ellipse at 60% 50%, rgba(37,99,235,0.7) 0%, rgba(79,70,229,0.3) 35%, transparent 60%);
  animation: l-aurora-3 12s ease-in-out infinite alternate;
}
.l-footer .l-aurora__band--4 {
  width: 130%; height: 100%;
  top: 10%; left: -20%;
  background: radial-gradient(ellipse at 35% 50%, rgba(46,116,184,0.5) 0%, rgba(30,40,74,0.25) 40%, transparent 65%);
  animation: l-aurora-4 14s ease-in-out infinite alternate;
}

.l-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 28px;
}

.l-footer__brand {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 8px;
}

.l-footer__tagline {
  font-size: 12px;
  opacity: 0.4;
  line-height: 1.6;
}

.l-footer__col-title {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  opacity: 0.35;
  margin-bottom: 12px;
}

.l-footer__col a {
  display: flex;
  font-size: 12px;
  opacity: 0.55;
  line-height: 2.2;
  text-decoration: none;
  color: #fff;
}

.l-footer__col a:hover {
  opacity: 1;
}

/* Footer partial classes (used by _landing_footer.html) */
.l-footer__logo-img {
  height: 40px;
  width: auto;
  max-width: 260px;
  margin-bottom: 12px;
}
.l-footer__heading {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 14px;
  color: #fff;
}
.l-footer__link {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  line-height: 2;
  transition: color 0.2s;
}
.l-footer__link:hover {
  color: #fff;
}
.l-footer__col--brand {
  grid-column: span 1;
}

/* Footer aurora wrapper spans the full footer area */
.l-footer > .l-aurora {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  border-radius: 0;
  filter: none;
}

.l-footer__bottom {
  text-align: center;
  font-size: 11px;
  opacity: 0.25;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.l-footer__socials {
  display: flex;
  gap: 12px;
}

.l-footer__social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  transition: background 0.2s;
}

.l-footer__social-icon:hover {
  background: rgba(255, 255, 255, 0.12);
}

.l-footer__social-icon svg {
  width: 18px;
  height: 18px;
  fill: rgba(255, 255, 255, 0.6);
}

/* =================================================================
   FOOTER SWITCHERS (language / currency)
   ================================================================= */
.l-footer__switchers {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}

.l-footer__switchers .language-switcher {
  display: inline-flex;
  align-items: center;
  margin: 0 !important;
}

/* Trigger button shown in the footer */
.switcher-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  font-weight: 600;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  font-family: inherit;
  letter-spacing: 0.02em;
}

.switcher-trigger:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
}

/* =================================================================
   LANGUAGE SWITCHER MODAL
   ================================================================= */
.ag-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 150ms ease, visibility 150ms ease;
}

.ag-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.ag-modal-open {
  overflow: hidden;
}

.ag-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  z-index: 0;
}

.ag-modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 500px;
  max-height: calc(100vh - 32px);
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(2, 8, 20, 0.35);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(20px) scale(0.98);
  transition: transform 200ms ease;
}

.ag-modal.is-open .ag-modal__dialog {
  transform: translateY(0) scale(1);
}

.ag-modal__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 12px;
  right: 14px;
  width: 32px;
  height: 32px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 8px;
  color: #6B7491;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background 150ms ease, color 150ms ease;
  z-index: 2;
}

.ag-modal__close:hover {
  background: rgba(46, 116, 184, 0.08);
  color: #2A2A55;
}

/* Switcher layout overrides */
.ag-switcher-modal {
  align-items: center;
  justify-content: center;
}

.ag-switcher-modal .ag-modal__dialog {
  position: relative;
  inset: auto;
  top: auto;
  left: auto;
  transform: none;
  width: min(880px, 94vw);
  max-height: 80vh;
}

.ag-modal.ag-switcher-modal.is-open .ag-modal__dialog {
  transform: none;
}

/* Switcher header */
.ag-switcher-header {
  padding: 18px 20px 10px;
  border-bottom: 1px solid #D9E1EE;
}

.ag-switcher-title {
  font-size: 16px;
  font-weight: 600;
  color: #0f172a;
}

.ag-switcher-subtitle {
  font-size: 12px;
  color: #6B7491;
  margin-top: 4px;
}

.ag-switcher-search {
  width: 100%;
  margin-top: 10px;
  padding: 8px 12px;
  border: 1px solid #D9E1EE;
  border-radius: 10px;
  font-size: 13px;
  outline: none;
  background: #f8fafc;
}

.ag-switcher-search:focus {
  border-color: #818cf8;
  background: #fff;
}

/* Switcher body / grid */
.ag-switcher-body {
  padding: 16px 18px 20px;
  overflow: auto;
}

.ag-switcher-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.ag-switcher-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ag-switcher-label {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6B7491;
  font-weight: 600;
}

.ag-switcher-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ag-switcher-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #fff;
  cursor: pointer;
  text-align: left;
}

.ag-switcher-option:hover,
.ag-switcher-option.is-highlighted {
  border-color: #c7d2fe;
  background: #eef2ff;
}

.ag-switcher-code {
  font-weight: 600;
  color: #0f172a;
  font-size: 12px;
}

.ag-switcher-name {
  color: #475569;
  font-size: 12px;
}

/* =================================================================
   AUTH MODAL (provided by trailer.css, placeholder sizing)
   ================================================================= */
.auth-modal {
  /* Auth modal styling is provided by trailer.css */
}

/* =================================================================
   RESPONSIVE — Tablet (1000px)
   ================================================================= */
@media (max-width: 1000px) {
  .site-footer__inner {
    padding: 0 15px;
  }

  .l-hero__main,
  .l-two-col,
  .l-two-col--center {
    grid-template-columns: 1fr;
  }

  .l-hero__main {
    grid-template-columns: 1fr;
  }

  .l-hero__title {
    font-size: 36px;
  }

  /* Hide floating reels entirely on tablet/mobile */
  .l-fr-col {
    display: none;
  }

  .l-section-title {
    font-size: 26px;
    text-align: center !important;
  }

  .l-section-label {
    text-align: center !important;
  }

  .l-footer__logo {
    display: flex;
    justify-content: center;
  }

  .l-app-btn {
    justify-content: center;
  }

  .l-nav__links {
    font-size: 12px;
    gap: 16px;
  }

  .l-btn--ghost,
  .l-btn--primary.l-btn--sm {
    font-size: 11px;
    padding: 7px 14px;
  }

  .l-stat-grid {
    grid-template-columns: 1fr 1fr;
  }

  .l-deal-grid {
    grid-template-columns: 1fr;
  }

  .l-profile-grid {
    grid-template-columns: 1fr;
  }

  .l-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .l-wide,
  .l-container {
    padding: 0 24px;
  }

  .l-nav__link {
    display: none;
  }

  .l-nav__burger {
    display: flex;
  }

  .l-section-title--left {
    text-align: center;
  }

  .l-section-sub {
    text-align: center;
  }

  .ag-switcher-modal .ag-modal__dialog {
    width: min(520px, 94vw);
  }

  .ag-switcher-grid {
    grid-template-columns: 1fr;
  }
}

/* =================================================================
   RESPONSIVE — Mobile (600px)
   ================================================================= */
@media (max-width: 600px) {
  .l-hero__title {
    font-size: 30px;
    letter-spacing: -1px;
  }

  .l-footer__grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .l-app-btns {
    justify-content: center;
    flex-direction: column;
  }

  .l-footer__switchers { justify-content: center; }
  .l-footer__col a { display: flex; justify-content: center; }
  .l-footer__heading { display: flex; justify-content: center; }

  .l-hero__main {
    padding: 16px 16px 0;
  }

  .l-hero__subtitle {
    font-size: 14px;
  }

  .l-hero__live {
    font-size: 11px;
  }

  .l-section {
    padding: 56px 0;
  }

  .l-phone-frame {
    width: 180px;
    height: 360px;
  }

  .auth-modal {
    padding: 28px 20px;
    margin: 16px;
  }
}

@media (max-width: 480px) {
  .l-nav__logo-full { display: none !important; }
  .l-nav__logo-icon { display: block !important; }

  .l-nav {
    padding: 0 16px;
  }

  .l-nav__links {
    font-size: 11px;
    gap: 10px;
  }

  .l-btn--ghost,
  .l-btn--primary.l-btn--sm {
    font-size: 10px;
    padding: 6px 10px;
  }
}

/* =================================================================
   REDUCED MOTION
   ================================================================= */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  html {
    scroll-behavior: auto !important;
  }
}

/* =================================================================
   RTL SUPPORT
   All rules scoped to [dir="rtl"] so they only apply when the HTML
   lang attribute triggers RTL direction.
   ================================================================= */

/* Base */
[dir="rtl"] body {
  direction: rtl;
  font-family: 'Noto Sans Arabic', 'Poppins', sans-serif;
  text-align: right;
}

/* -- Nav -- */
[dir="rtl"] .l-nav {
  flex-direction: row-reverse;
}

[dir="rtl"] .l-nav__links {
  flex-direction: row-reverse;
}

[dir="rtl"] .l-nav__actions {
  flex-direction: row-reverse;
}

[dir="rtl"] .l-nav__burger {
  order: -1;
}

/* -- Mobile nav -- */
[dir="rtl"] .l-nav-mobile {
  text-align: right;
}

/* -- Hero -- */
[dir="rtl"] .l-hero__top {
  text-align: right;
}

[dir="rtl"] .l-hero__live {
  flex-direction: row-reverse;
}

[dir="rtl"] .l-hero__scroll {
  direction: ltr; /* keep arrow pointing down */
}

/* -- Two-col layouts -- */
[dir="rtl"] .l-two-col,
[dir="rtl"] .l-two-col--center {
  direction: rtl;
}

[dir="rtl"] .l-hero__main {
  direction: rtl;
}

/* -- Section titles -- */
[dir="rtl"] .l-section-title--left {
  text-align: right;
}

[dir="rtl"] .l-section-label {
  text-align: right;
}

[dir="rtl"] .l-section-sub {
  text-align: right;
}

/* -- Globe -- */
[dir="rtl"] .l-globe-live {
  left: auto;
  right: 14px;
  flex-direction: row-reverse;
}

[dir="rtl"] .l-globe-play span {
  margin-left: 0;
  margin-right: 4px;
}

/* -- Floating reels -- */
[dir="rtl"] .l-fr__badge {
  left: auto;
  right: 8px;
}

[dir="rtl"] .l-fr__info {
  text-align: right;
}

[dir="rtl"] .l-fr__play span {
  margin-left: 0;
  margin-right: 2px;
}

/* -- Ticker -- */
[dir="rtl"] .l-ticker__track {
  flex-direction: row-reverse;
  animation-direction: reverse;
}

/* -- Feed -- */
[dir="rtl"] .l-feed-col {
  text-align: right;
}

/* -- Deal cards -- */
[dir="rtl"] .l-deal-type {
  right: auto;
  left: 10px;
}

[dir="rtl"] .l-deal-body {
  text-align: right;
}

/* -- Community cards -- */
[dir="rtl"] .l-comm-card {
  text-align: right;
}

/* -- Avatar stack -- */
[dir="rtl"] .l-av-stack {
  flex-direction: row-reverse;
}

[dir="rtl"] .l-av-stack__item + .l-av-stack__item {
  margin-left: 0;
  margin-right: -5px;
}

[dir="rtl"] .l-av-stack__overflow {
  margin-left: 0;
  margin-right: -5px;
}

/* -- Profile cards -- */
[dir="rtl"] .l-profile-card {
  text-align: right;
}

[dir="rtl"] .l-profile-thumbs {
  flex-direction: row-reverse;
}

/* -- Event cards -- */
[dir="rtl"] .l-event-card {
  flex-direction: row-reverse;
}

/* -- Stats -- */
[dir="rtl"] .l-stat-grid {
  direction: rtl;
}

/* -- App download -- */
[dir="rtl"] .l-app-btns {
  flex-direction: row-reverse;
}

/* -- Footer -- */
[dir="rtl"] .l-footer__grid {
  direction: rtl;
}

[dir="rtl"] .l-footer__col {
  text-align: right;
}

[dir="rtl"] .l-footer__bottom {
  text-align: center;
  direction: rtl;
}

[dir="rtl"] .l-footer__socials {
  flex-direction: row-reverse;
  justify-content: flex-end;
}

[dir="rtl"] .l-footer__switchers {
  flex-direction: row-reverse;
}

[dir="rtl"] .l-footer__switchers .language-switcher {
  margin: 0 !important;
}

/* -- Switcher modal RTL -- */
[dir="rtl"] .ag-modal__close {
  right: auto;
  left: 14px;
}

[dir="rtl"] .ag-switcher-search {
  text-align: right;
}

[dir="rtl"] .ag-switcher-option {
  flex-direction: row-reverse;
  text-align: right;
}

/* =================================================================
   CARD SUB-ELEMENTS (C2)
   ================================================================= */
.l-card__badge{position:absolute;bottom:8px;left:10px;font-size:10px;color:#fff;font-weight:600;background:rgba(0,0,0,.3);padding:3px 8px;border-radius:6px;backdrop-filter:blur(4px)}
.l-card__title{font-size:14px;font-weight:700}
.l-card__meta{font-size:11px;opacity:.5;margin-top:2px}
.l-card__text{font-size:12px;line-height:1.5;opacity:.65}
.l-card__engagement{font-size:11px;opacity:.4;margin-top:6px}

/* =================================================================
   SCROLL HINT CHILDREN (C3)
   ================================================================= */
.l-hero__scroll-text{font-size:12px;opacity:.4;margin-bottom:4px}
.l-hero__scroll-arrow{font-size:20px;animation:l-bob 2s ease-in-out infinite}

/* =================================================================
   PHONE SLIDESHOW ACTIVE STATE (M2)
   ================================================================= */
[data-slide].active{opacity:1!important}
