/* =========================
   Base / Theme
   ========================= */

:root {
  --bg: #070b08;
  --bg2: #0b120d;
  --card: rgba(255, 255, 255, .04);
  --line: rgba(255, 255, 255, .10);
  --text: #f4fff6;
  --muted: rgba(244, 255, 246, .70);

  --g1: #16ff6a;
  --g2: #00c853;
  --g3: #00ff88;
  --shadow: 0 18px 60px rgba(0, 0, 0, .55);
  --radius: 18px;
}

* {
  box-sizing: border-box;
  max-width: 100%; /* Prevent extreme overflow */
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Cairo', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background:
    radial-gradient(900px 500px at 80% 15%, rgba(22, 255, 106, .35), transparent 70%),
    radial-gradient(900px 500px at 15% 35%, rgba(0, 200, 83, .25), transparent 70%),
    linear-gradient(180deg, var(--bg), var(--bg2));
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

.container {
  width: min(1100px, 92%);
  margin-inline: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

/* =========================
   Background Shapes
   ========================= */

.bg-shapes {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1; /* In front of body background but behind content */
  opacity: 1;
}

main,
header,
section,
footer,
.modal {
  position: relative;
  z-index: 10;
}


.ball {
  position: absolute;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .55));
  opacity: .45; /* Increased Always Visibility */
  animation: float 7s ease-in-out infinite;
}

.ball--football {
  position: absolute;
  top: 90px;
  right: 90px;

  width: 140px;
  height: 140px;

  background: url("assets/images/football.png") no-repeat center center;
  background-size: contain;

  opacity: 0.85;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .6));

  animation: footballFloat 7s ease-in-out infinite;
}

.shape {
  position: absolute;
  display: block;
  /* مهم */
  pointer-events: none;
}


.shape--abstract {
  top: 35%;
  left: 60px;

  width: 180px;
  height: 180px;
  /* مهم جداً */

  background: url("assets/images/shape-abstract.png") no-repeat center;
  background-size: contain;

  opacity: 0.85; /* Increased */
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .5));

  animation: abstractFloat 10s ease-in-out infinite;
}

.shape {
  position: absolute;
  display: block;
  pointer-events: none;
}

.shape--trophy {
  bottom: 60px;
  /* أسفل */
  right: 80px;
  /* يمين */

  width: 160px;
  height: 160px;

  background: url("assets/images/trophy.png") no-repeat center;
  background-size: contain;

  opacity: 0.8; /* Increased Visibility */
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .55));

  animation: trophyMove 14s ease-in-out infinite;
}



.ball--basket {
  right: -60px;
  top: 220px;
  width: 210px;
  height: 210px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .18), transparent 60%),
    repeating-linear-gradient(0deg, rgba(0, 0, 0, .25) 0 6px, rgba(0, 0, 0, 0) 6px 26px),
    linear-gradient(135deg, rgba(0, 200, 83, .35), rgba(0, 255, 136, .18));
  border: 1px solid rgba(0, 255, 136, .20);
  animation-delay: .6s;
}

.ball--tennis {
  left: 20%;
  bottom: -80px;
  width: 240px;
  height: 240px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .18), transparent 60%),
    conic-gradient(from 0deg, rgba(255, 255, 255, .10), rgba(22, 255, 106, .20), rgba(255, 255, 255, .08));
  border: 1px solid rgba(255, 255, 255, .10);
  animation-delay: 1.2s;
}

.ring {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  border: 2px solid rgba(22, 255, 106, .25); /* Stronger */
  left: 50%;
  top: 60%;
  transform: translate(-50%, -50%);
  filter: none; /* No Blur */
}

.stripe {
  position: absolute;
  width: 1200px;
  height: 220px;
  background: linear-gradient(90deg, transparent, rgba(22, 255, 106, .20), transparent);
  transform: rotate(-12deg);
  top: 70%;
  left: -10%;
  opacity: .65; /* Brighter stripe */
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-14px);
  }
}

/* =========================
   Navbar
   ========================= */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 11, 8, 0.85); /* Increased opacity for clarity */
  backdrop-filter: blur(10px) !important; /* Reduced focus on background blur */
  -webkit-backdrop-filter: blur(10px) !important;
  border-bottom: 2px solid var(--g1);
  transition: transform 0.3s ease, background 0.4s ease;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  position: relative;
}

.nav__brand {
  flex: 1;
  display: flex;
  align-items: center;
}

.nav__center-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.nav__actions {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.lux-ic--insta {
  display: inline-block;
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 20px;
}

.lux-ic svg {
  width: 20px;
  height: 20px;
  display: block;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand__logo {
  height: 85px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  filter: drop-shadow(0 0 8px rgba(22, 255, 106, 0.2));
}

.brand:hover .brand__logo {
  transform: scale(1.08) rotate(-2deg);
  filter: drop-shadow(0 0 15px rgba(22, 255, 106, 0.4));
}

.brand__text {
  font-weight: 400;
  font-size: 10px;
  letter-spacing: .6px;
}

@media (max-width: 860px) {
  .nav--desktop {
    display: none;
  }
}

.link {
  position: relative;
  padding: 10px 16px;
  border-radius: 12px;
  color: var(--muted);
  font-weight: 700;
  transition: all 0.3s ease;
}

.link::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--g1);
  transition: all 0.3s ease;
  transform: translateX(-50%);
  border-radius: 2px;
}

.link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.03);
}

.link:hover::after {
  width: 20px;
}

/* Hide mobile sidebar on desktop */
#navLinks.nav__links {
  display: none;
}

@media (max-width: 860px) {
  #navLinks.nav__links {
    display: flex; /* Shown as sidebar */
  }
}

/* Navbar Toggle */
.nav__toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 24px;
  cursor: pointer;
  padding: 5px;
}

@media (max-width: 860px) {
  .nav__toggle {
    display: block;
    position: relative;
    z-index: 1001;
  }

  .nav__links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 340px;
    height: 100vh;
    background: rgba(7, 11, 8, 0.95);
    backdrop-filter: blur(15px); /* Reduced from 25px */
    -webkit-backdrop-filter: blur(15px);
    padding: 20px;
    z-index: 10000;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.8);
    overflow-y: auto;
    will-change: transform;
  }

  .nav__links.is-active {
    right: 0;
  }

  .nav__links-header {
    width: 100%;
    margin-bottom: 30px;
    display: flex;
    justify-content: flex-start;
  }

  .nav__close {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 44px;
    height: 44px;
    border-radius: 14px;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .nav__close:active {
    transform: scale(0.9);
    background: var(--g1);
    color: #000;
  }

  .nav__links .link {
    width: 100%;
    text-align: right;
    font-size: 22px;
    font-weight: 800;
    padding: 20px 10px;
    color: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .nav__links.is-active .link {
    opacity: 1;
    transform: translateX(0);
  }

  /* Staggered entrance */
  .nav__links.is-active .link:nth-child(2) { transition-delay: 0.1s; }
  .nav__links.is-active .link:nth-child(3) { transition-delay: 0.15s; }
  .nav__links.is-active .link:nth-child(4) { transition-delay: 0.2s; }
  .nav__links.is-active .link:nth-child(5) { transition-delay: 0.25s; }
  .nav__links.is-active .link:nth-child(6) { transition-delay: 0.3s; }

  .nav__links .link:hover {
    color: var(--g1);
    padding-right: 15px;
  }

  .nav__links .btn--sm {
    width: 100%;
    margin-top: 40px;
    padding: 20px;
    font-size: 18px;
    font-weight: 900;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.4s;
    border-radius: 18px;
  }

  .nav__links.is-active .btn--sm {
    opacity: 1;
    transform: translateY(0);
  }

  /* Language Selector in Sidebar */
  .nav__lang-direct {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    padding: 6px;
    border-radius: 16px;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

  .lang-btn-direct {
    flex: 1;
    padding: 14px;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 900;
    font-size: 16px;
    cursor: pointer;
    border-radius: 12px;
    transition: all 0.3s ease;
  }

  .lang-btn-direct.is-active {
    background: var(--g1);
    color: #000;
    box-shadow: 0 4px 15px rgba(22, 255, 106, 0.3);
  }

  .nav__toggle {
    display: flex;
    z-index: 1001;
    font-size: 24px;
    width: 48px;
    height: 48px;
    background: var(--g1);
    color: #000;
    border-radius: 14px;
    align-items: center;
    justify-content: center;
    border: none;
    box-shadow: 0 4px 15px rgba(22, 255, 106, 0.3);
  }

  .nav__overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
  }

  .nav__overlay.is-active {
    display: block;
    opacity: 1;
    visibility: visible;
  }

  .grid3 {
    grid-template-columns: 1fr;
  }

  .hero__inner {
    grid-template-columns: 1fr;
  }

  .plansGrid {
    grid-template-columns: 1fr;
  }

  .hero {
    text-align: center;
  }

  .hero__cta {
    justify-content: center;
  }

  .hero__badges {
    justify-content: center;
  }
}


/* =========================
   Buttons / Inputs
   ========================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(22, 255, 106, .35);
  background: linear-gradient(135deg, rgba(22, 255, 106, .95), rgba(0, 200, 83, .92));
  color: #04120a;
  font-weight: 900;
  box-shadow: 0 14px 34px rgba(22, 255, 106, .14);
  transition: .25s;
}

.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.02);
}

.btn--outline {
  background: transparent;
  color: var(--text);
  border-color: rgba(255, 255, 255, .18);
  box-shadow: none;
}

.btn--outline:hover {
  border-color: rgba(22, 255, 106, .35);
}

.btn--sm {
  padding: 10px 12px;
  border-radius: 12px;
}

.btn--wide {
  width: 100%;
}

.input {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(0, 0, 0, .22);
  border: 1px solid var(--line);
  color: var(--text);
  outline: none;
  min-width: 240px;
}

.input::placeholder {
  color: rgba(244, 255, 246, .45);
}

.input:focus {
  border-color: rgba(22, 255, 106, .35);
}

/* =========================
   Hero
   ========================= */

.hero {
  padding: 58px 0 18px;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 22px;
  align-items: center;
}

.pill {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .04);
  color: var(--muted);
  font-weight: 800;
  width: fit-content;
}

.hero h1 {
  margin: 14px 0 10px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.15;
}

.accent {
  background: linear-gradient(135deg, var(--g1), var(--g3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.8;
}

.hero__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero__badges {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.mini {
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, .22);
  color: rgba(244, 255, 246, .82);
  font-size: 12px;
  font-weight: 800;
}

/* =========================
   Panel
   ========================= */

.panel {
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .03);
  box-shadow: var(--shadow);
  overflow: hidden;
  padding: 18px;
  position: relative;
}

.panel::before {
  content: "";
  position: absolute;
  inset: -60px -60px auto auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(22, 255, 106, .28), transparent 60%);
  filter: none; /* Removed Blur */
}

.panel__top {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.panel__title {
  font-weight: 900;
  font-size: 18px;
}

.panel__count {
  font-weight: 900;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(22, 255, 106, .28);
  background: rgba(22, 255, 106, .10);
  color: rgba(244, 255, 246, .95);
}

.panel__list {
  position: relative;
  margin: 14px 0 16px;
  display: grid;
  gap: 10px;
}

.panel__item {
  display: flex;
  justify-content: space-between; /* Put icon on the right */
  gap: 10px;
  align-items: center;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, .18);
  transition: transform 0.3s ease;
}

.panel__item:hover {
  transform: translateX(5px);
  background: rgba(22, 255, 106, 0.05);
  border-color: rgba(22, 255, 106, 0.2);
}

.panel__icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(22, 255, 106, 0.1);
  border: 1px solid rgba(22, 255, 106, 0.2);
  border-radius: 50%;
  font-size: 16px;
  box-shadow: 0 0 10px rgba(22, 255, 106, 0.1);
}

/* =========================
   Sections / Cards
   ========================= */

.section {
  padding: 56px 0;
}

.section--dark {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, .02), rgba(255, 255, 255, .00));
}

.head h2 {
  margin: 0 0 8px;
  font-size: 28px;
}

.head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.grid3 {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  perspective: 1000px;
  /* Enable 3D perspective */
}

.card {
  position: relative;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .03);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s, border-color 0.3s, box-shadow 0.3s;
  transform-style: preserve-3d;
  will-change: transform;
}

.card:hover {
  transform: translateY(-8px) scale(1.02); /* Simplified 3D to 2D popup for performance */
  border-color: rgba(22, 255, 106, 0.4);
  background: rgba(22, 255, 106, 0.05);
  box-shadow:
    0 15px 30px rgba(0, 0, 0, 0.4),
    0 0 15px rgba(22, 255, 106, 0.1);
}

.icon {
  font-size: 32px;
  margin-bottom: 15px;
  display: block;
  transform: translateZ(20px);
  /* Lift icon in 3D space */
}

.card h3 {
  margin: 10px 0 6px;
  transform: translateZ(15px);
  /* Depth for title */
}

.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
  transform: translateZ(10px);
  /* Depth for description */
}

/* =========================
   Toolbar / Plans
   ========================= */

.toolbar {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 18px 0 22px;
}

.plansGrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.plan {
  perspective: 1500px;
}

.plan__inner {
  position: relative;
  width: 100%;
  height: 520px; /* Increased to prevent clipping */
  transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform-style: preserve-3d;
  cursor: pointer;
  will-change: transform;
}

.plan.is-flipped .plan__inner {
  transform: rotateY(180deg);
}

.face {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
  backdrop-filter: none; /* Removed all Blur for Maximum Clarity */
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  padding: 30px 25px 25px; /* Refined padding */
  transition: border-color 0.3s;
  /* overflow: hidden; removed to stop clipping footer */
}

.face::before {
  content: "";
  position: absolute;
  top: -10%;
  right: -10%;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--p-color, var(--g1)), transparent 70%);
  filter: blur(40px);
  opacity: 0.4;
  z-index: 0;
  transition: 0.5s;
}

.plan:hover .face {
  border-color: rgba(255, 255, 255, 0.2);
}

.plan:hover .face::before {
  opacity: 0.7;
  transform: scale(1.2);
}

/* Plan Specific Colors */
.plan[data-name*="شهر"]:not([data-name*="3"]):not([data-name*="6"]) { --p-color: #00d2ff; } /* Starter Blue */
.plan[data-name*="3 أشهر"] { --p-color: #16ff6a; } /* Popular Green */
.plan[data-name*="6 أشهر"] { --p-color: #ff007a; } /* Best Value Pink/Purple */
.plan[data-name*="سنة"] { --p-color: #ff9d00; } /* VIP Gold */

.face--back {
  transform: rotateY(180deg);
  background: linear-gradient(135deg, rgba(20, 20, 20, 0.95), rgba(10, 10, 10, 0.98));
}

.plan__top {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.tag {
  display: inline-flex;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.tag--highlight {
  background: var(--p-color);
  color: #000;
  border: none;
}

.plan__title {
  position: relative;
  margin: 20px 0 10px;
  font-size: 24px;
  font-weight: 900;
  color: #fff;
}

.price {
  position: relative;
  margin: 0;
  font-weight: 900;
  font-size: 40px;
  color: var(--p-color);
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.price small {
  font-size: 16px;
  color: var(--muted);
  font-weight: 700;
}

.plan__desc {
  position: relative;
  margin: 10px 0 14px;
  color: var(--muted);
  line-height: 1.8;
}

.bullets {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.bullets li {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 15px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.02);
  transition: 0.3s;
}

.bullets li:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

.bullets li span {
  color: var(--p-color);
  font-weight: 900;
  font-size: 1.1rem;
}

.plan__footer {
  position: relative;
  margin-top: auto;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.hint {
  color: rgba(244, 255, 246, .55);
  font-size: 12px;
  font-weight: 800;
}

/* =========================
   Contact
   ========================= */

.contact {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 16px;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .03);
  padding: 20px;
}

.contact h2 {
  margin: 0 0 10px;
}

.contact p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.8;
}

.contact__btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.contact__hint {
  margin-top: 12px;
  color: rgba(244, 255, 246, .60);
}

.sideBox {
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, .20);
  padding: 18px;
}

.sideBox__title {
  font-weight: 900;
  margin-bottom: 8px;
}

.sideBox p {
  margin: 0 0 10px;
  color: var(--muted);
  line-height: 1.8;
}

/* =========================
   Device / Speed
   ========================= */

.deviceBox,
.speedBox {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 35px;
  padding: 35px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}

.deviceGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-bottom: 25px;
}

.deviceCard {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  padding: 25px 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
}

.deviceCard:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-8px);
  border-color: var(--g1);
  box-shadow: 0 15px 35px rgba(22, 255, 106, 0.2);
}

.deviceIcon {
  width: 80px;
  height: 80px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.deviceIcon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: screen; /* Makes black background transparent */
}

.deviceCard:hover .deviceIcon {
  transform: scale(1.15) rotate(2deg);
}

.deviceInfo span {
  display: block;
  font-weight: 900;
  font-size: 20px;
  color: #fff;
  margin-bottom: 4px;
}

.deviceInfo small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.deviceResult {
  padding: 18px 25px;
  border-radius: 20px;
  border: 1.5px solid rgba(22, 255, 106, 0.4);
  background: linear-gradient(135deg, rgba(22, 255, 106, 0.12), rgba(0, 0, 0, 0.15));
  color: #fff;
  font-weight: 900;
  text-align: center;
  margin-bottom: 24px;
  box-shadow: 0 0 25px rgba(22, 255, 106, 0.12);
  letter-spacing: .5px;
  text-shadow: 0 0 10px rgba(22, 255, 106, 0.3);
  transition: all 0.3s ease;
}

.deviceResult:hover {
  transform: scale(1.01);
  border-color: var(--g1);
  box-shadow: 0 0 35px rgba(22, 255, 106, 0.2);
}

.deviceLinks {
  display: flex;
  gap: 12px;
  flex-wrap: nowrap;
  margin-bottom: 10px;
}

.deviceLinks .btn {
  flex: 1;
  padding: 12px 10px;
  font-size: 14px;
  white-space: nowrap;
}

.steps {
  margin-top: 12px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
  color: var(--muted);
}

.steps h3 {
  margin: 0 0 8px;
  color: var(--text);
}

.steps ol {
  margin: 0;
  padding-right: 18px;
  line-height: 1.9;
}

.speedTop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.speedNumber {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-weight: 900;
}

#speedValue {
  font-size: 34px;
}

.speedBar {
  height: 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, .18);
  overflow: hidden;
}

.speedFill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--g2), var(--g1));
  transition: width .3s ease;
}

.shotNotice {
  margin-top: 12px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(22, 255, 106, .12);
  border: 1px solid rgba(22, 255, 106, .35);
  color: #eafff2;
  font-weight: 700;
  text-align: center;
}

/* =========================
   Footer
   ========================= */

.footer {
  border-top: 1px solid var(--line);
  padding: 18px 0;
  color: rgba(244, 255, 246, .55);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer__left,
.footer__right {
  line-height: 1.6;
}

.footer__right {
  text-align: left;
}

.muted {
  color: rgba(244, 255, 246, .45);
}

.dev-name {
  display: block;
  margin: 4px 0;
  color: #16ff6a;
}

.dev-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.dev-link {
  font-size: 14px;
  color: rgba(48, 92, 56, 0.75);
  border: 1px solid rgba(255, 255, 255, .12);
  padding: 6px 10px;
  border-radius: 999px;
  transition: .25s;
}

.dev-link:hover {
  color: #16ff6a;
  border-color: rgba(22, 255, 106, .45);
  transform: translateY(-1px);
}

/* ===== Footer Credit (Better + Animation) ===== */

/* =========================
   Luxury Footer Credit (Ultra Premium)
   ========================= */

.lux-credit {
  --lux-g: linear-gradient(135deg, #16ff6a 0%, #00ff88 100%);
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 40px;
  padding: 40px 30px;
  width: min(520px, 95vw);
  margin: 0;
  text-align: center;
  backdrop-filter: blur(10px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  transition: .4s cubic-bezier(0.4, 0, 0.2, 1);
}

.lux-credit:hover {
  transform: translateY(-10px);
  border-color: rgba(22, 255, 106, 0.4);
  box-shadow: 0 40px 80px rgba(22, 255, 106, 0.1);
}

.lux-badgeRow {
  margin-bottom: 20px;
}

.lux-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  background: rgba(22, 255, 106, 0.1);
  border: 1.5px solid rgba(22, 255, 106, 0.3);
  border-radius: 999px;
  color: #16ff6a;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.lux-dot {
  width: 10px;
  height: 10px;
  background: #16ff6a;
  border-radius: 50%;
  box-shadow: 0 0 15px #16ff6a;
  animation: luxPulse 2s infinite;
}

@keyframes luxPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.3); }
}

.lux-name {
  font-size: 64px;
  font-weight: 950;
  margin: 0 0 30px;
  background: var(--lux-g);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 4px;
  line-height: 1;
}

.lux-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
}

.lux-btn.full {
  grid-column: span 2;
}

.lux-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 25px; /* Thicker buttons */
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  color: #fff;
  font-weight: 800;
  font-size: 18px; /* Larger font */
  line-height: normal;
  transition: .3s;
  width: 100%; /* Stretch to full box width */
  max-width: 100%;
}

.lux-btn:hover {
  background: #16ff6a;
  color: #000;
  border-color: #16ff6a;
  transform: translateY(-5px);
}

.lux-btn svg {
  width: 20px;
  height: 20px;
}

.lux-mini {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 35px;
  opacity: .5;
}

.lux-mini span {
  font-size: 11px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.1);
  padding: 5px 12px;
  border-radius: 8px;
  letter-spacing: 1px;
}

/* =========================
   Modal
   ========================= */

.modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}

.modal.is-open {
  display: block;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .65);
  backdrop-filter: blur(3px);
}

.modal__panel {
  position: relative;
  width: min(560px, 92vw);
  margin: 2vh auto; 
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(7, 11, 8, 1); /* Solid for better performance and readability */
  box-shadow: 0 24px 80px rgba(0, 0, 0, .8);
  padding: 24px;
  will-change: transform, opacity;

  overflow-y: auto; /* Enable Scroll */
  max-height: 94vh; /* Use almost all screen height */
  display: flex !important;
  flex-direction: column;
  scrollbar-width: thin;
  scrollbar-color: var(--g1) transparent;
}

#featureModal.modal {
  display: none;
  align-items: center;
  justify-content: center;
}

#featureModal .modal__panel {
  margin: 0;
  border-radius: 32px;
  background:
    radial-gradient(circle at top right, rgba(22, 255, 106, 0.08), transparent 40%),
    rgba(7, 11, 8, 0.98);
  backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transform: scale(0.9) translateY(20px);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}

#featureModal.is-active {
  display: flex !important;
}

#featureModal.is-active .modal__panel {
  transform: scale(1) translateY(0);
  opacity: 1;
}

#featureModal .modal__backdrop {
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.4s ease;
}

#featureModal.is-active .modal__backdrop {
  opacity: 1;
}

#featIcon {
  animation: featIconBounce 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes featIconBounce {
  0% {
    transform: scale(0) rotate(-15deg);
  }

  70% {
    transform: scale(1.2) rotate(5deg);
  }

  100% {
    transform: scale(1) rotate(0);
  }
}

.modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 6px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .10);
}

.modal__head h3 {
  margin: 0;
  font-size: 18px;
}

.modal__close {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .04);
  color: var(--text);
  cursor: pointer;
}

.modal__form {
  padding: 12px 6px 6px;
  display: grid;
  gap: 12px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  color: rgba(244, 255, 246, .8);
  font-weight: 800;
}

.modal__actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
  margin-top: 4px;
}

/* مهم جداً: داخل المودال الغِ min-width اللي يخرب بالموبايل */
.modal .input {
  min-width: 0 !important;
  width: 100% !important;
}

/* =========================
   Animations / Reveal
   ========================= */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: .7s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   Responsive
   ========================= */
@media (max-width: 520px) {
  .link {
    padding: 6px 8px;
    font-size: 16px;
  }
}


@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }

  .nav__links {
    gap: 6px;
  }

  .grid3 {
    grid-template-columns: 1fr;
  }

  .contact {
    grid-template-columns: 1fr;
  }

  .plansGrid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .brand__logo {
    width: 75px;
    height: 75px;
  }

  .brand__text {
    font-size: 16px;
  }

  #speedValue {
    font-size: 30px;
  }
}

@media (max-width: 640px) {
  .footer__inner {
    justify-content: center;
    text-align: center;
  }

  .credit {
    width: 100%;
    transform: translateX(0);
  }
}

/* صف الأزرار بالموبايل يصير عمودي وكل زر بعرض كامل */
@media (max-width: 520px) {
  .modal__panel {
    margin: 4vh auto;
    padding: 12px;
    border-radius: 16px;
  }

  .modal__head {
    padding-bottom: 10px;
  }

  .modal__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .modal__actions .btn {
    width: 100%;
  }

  .dev-links {
    width: 100%;
  }

  .credit {
    width: 100%;
  }

  .credit__actions {
    justify-content: flex-start;
  }
}

@keyframes footballFloat {
  0% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-18px) rotate(12deg);
  }

  100% {
    transform: translateY(0) rotate(0deg);
  }
}

@keyframes abstractFloat {
  0%, 100% {
    transform: translate(0, 0) rotate(-2deg);
  }
  50% {
    transform: translate(15px, -20px) rotate(2deg);
  }
}

@keyframes trophyMove {
  0%, 100% {
    transform: translate(0, 0) rotate(-1deg);
  }

  50% {
    transform: translate(10px, -15px) rotate(1deg);
  }
}

/* Removed redundant/conflicting mobile nav rules that were causing layout and rendering issues */

/* Snow effect removed as requested */
.credit-card {
  width: min(520px, 92vw);
  padding: 18px 18px 16px;
  border-radius: 18px;

  /* glass */
  background: linear-gradient(135deg, rgba(16, 255, 140, .10), rgba(0, 0, 0, .22));
  border: 1px solid rgba(255, 255, 255, .10);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .45);
  backdrop-filter: blur(10px);
}

.credit-top {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.credit-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;

  padding: 8px 12px;
  border-radius: 999px;

  background: rgba(0, 0, 0, .28);
  border: 1px solid rgba(255, 255, 255, .10);

  font-size: 13px;
  letter-spacing: .2px;
  color: rgba(255, 255, 255, .82);
}

.credit-badge .dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #20ff9c;
  box-shadow: 0 0 14px rgba(32, 255, 156, .65);
}

.credit-name {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  color: rgba(255, 255, 255, .96);
}

.credit-actions {
  display: flex;
  gap: 12px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.credit-btn {
  flex: 1;
  min-width: 210px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  padding: 12px 14px;
  border-radius: 14px;

  background: rgba(0, 0, 0, .32);
  border: 1px solid rgba(255, 255, 255, .10);
  color: rgba(255, 255, 255, .92);
  text-decoration: none;

  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.credit-btn:hover {
  transform: translateY(-2px);
  background: rgba(32, 255, 156, .10);
  border-color: rgba(32, 255, 156, .35);
}

.credit-btn:focus-visible {
  outline: 2px solid rgba(32, 255, 156, .55);
  outline-offset: 3px;
}

.credit-btn.outline {
  background: rgba(0, 0, 0, .18);
}

.btn-ic {
  font-size: 16px;
  opacity: .95;
}

.lux-credit {
  width: min(760px, 94vw);
  padding: 22px 22px 18px;
  border-radius: 22px;

  /* Luxury glass */
  background:
    radial-gradient(120% 140% at 10% 0%, rgba(32, 255, 156, .16) 0%, rgba(0, 0, 0, 0) 55%),
    radial-gradient(120% 140% at 90% 10%, rgba(120, 255, 220, .10) 0%, rgba(0, 0, 0, 0) 60%),
    linear-gradient(135deg, rgba(255, 255, 255, .06), rgba(0, 0, 0, .25));

  border: 1px solid rgba(255, 255, 255, .10);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, .55),
    inset 0 1px 0 rgba(255, 255, 255, .08);

  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* ⬅️ هذا الأهم */
}

.lux-credit::before {
  content: "";
  position: absolute;
  inset: -2px;
  background:
    radial-gradient(70% 60% at 25% 20%, rgba(32, 255, 156, .18), transparent 55%),
    radial-gradient(60% 60% at 80% 0%, rgba(255, 255, 255, .10), transparent 55%);
  pointer-events: none;
  filter: blur(2px);
  opacity: .9;
}

.lux-head {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* توسيط أفقي */
  justify-content: center;
  gap: 10px;
  text-align: center;
}

.lux-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 10px 14px;
  border-radius: 999px;

  background: rgba(0, 0, 0, .30);
  border: 1px solid rgba(255, 255, 255, .10);

  color: rgba(255, 255, 255, .85);
  font-size: 13px;
  letter-spacing: .2px;
}

.lux-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #20ff9c;
  box-shadow: 0 0 18px rgba(32, 255, 156, .70);
}

.lux-name {
  margin: 0;
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 800;
  color: rgba(255, 255, 255, .96);
  text-align: center;
  /* تأكيد التوسيط */
}

.lux-actions {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  /* ✅ تساوي */
  gap: 14px;
  margin-top: 16px;
}

.lux-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  padding: 14px 16px;
  border-radius: 16px;

  background: rgba(0, 0, 0, .28);
  border: 1px solid rgba(255, 255, 255, .10);
  color: rgba(255, 255, 255, .92);
  text-decoration: none;

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .06),
    0 18px 45px rgba(0, 0, 0, .35);

  transition: transform .18s ease, border-color .18s ease, background .18s ease;
  position: relative;
  overflow: hidden;
}

.lux-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, .10) 45%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .7s ease;
  opacity: .7;
}

.lux-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(32, 255, 156, .28);
  background: rgba(32, 255, 156, .08);
}

.lux-btn:hover::after {
  transform: translateX(120%);
}

.lux-btn:focus-visible {
  outline: 2px solid rgba(32, 255, 156, .55);
  outline-offset: 3px;
}



.lux-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  width: 24px;
  height: 24px;
  line-height: 1;
}

.lux-arrow {
  margin-left: 6px;
  opacity: .65;
  font-size: 14px;
}

@media (max-width: 520px) {
  .lux-actions {
    grid-template-columns: 1fr 1fr;
    /* يبقون 50/50 */
    gap: 10px;
  }

  .lux-btn {
    min-width: 0;
    padding: 12px 10px;
    font-size: 13px;
  }

  .lux-arrow {
    display: none;
  }

  /* حتى ما يزحم */
  .lux-btn span {
    white-space: nowrap;
  }
}

/* Apps multi-plans buttons */
.app-plans {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 12px;
}

.app-plans .btn {
  width: 100%;
  justify-content: center;
  padding: 12px 14px;
  border-radius: 14px;
}

/* Mobile Direct Language Selection (Sidebar) */
.nav__lang-direct {
  margin: 15px 25px 30px;
  display: flex !important;
  gap: 10px !important;
  background: rgba(255, 255, 255, 0.04);
  padding: 6px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.lang-btn-direct {
  flex: 1;
  padding: 14px;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-family: inherit;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.lang-btn-direct.active {
  background: var(--g1) !important;
  color: #04120a !important;
  box-shadow: 0 4px 20px rgba(22, 255, 106, 0.25);
}

.price-option {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.price-option small {
  color: rgba(255, 255, 255, .65);
  font-size: 12px;
  text-align: center;
}

/* CTA Contact (add at END of style.css) */
.cta {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  align-items: stretch;
  width: 100%;
}

.cta__left,
.cta__right {
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, .10);
  background: rgba(0, 0, 0, .18);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 55px rgba(0, 0, 0, .40);
  padding: 18px;
}

.cta__right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: start;
}

.ctaPill {
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(32, 255, 156, .10);
  border: 1px solid rgba(32, 255, 156, .22);
  color: rgba(255, 255, 255, .90);
  font-size: 13px;
  margin-bottom: 10px;
}

.cta__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.btn--cta {
  padding: 12px 18px;
  border-radius: 14px;
}

.ctaMini {
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
  margin-top: 15px;
  justify-content: center;
}

.ctaMini .mini {
  flex: 1;
  text-align: center;
  white-space: nowrap;
  font-size: 11px;
}

.ctaBox {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  border-radius: 18px;
  background: rgba(0, 0, 0, .20);
  border: 1px solid rgba(255, 255, 255, .08);
  margin-bottom: 12px;
}

.ctaBox h4 {
  margin: 0 0 4px;
  font-size: 15px;
}

.ctaBox p {
  margin: 0;
  color: rgba(255, 255, 255, .70);
  font-size: 13px;
  line-height: 1.7;
}

.ctaIcon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(32, 255, 156, .10);
  border: 1px solid rgba(32, 255, 156, .22);
}

.ctaBack {
  display: inline-block;
  margin-top: 6px;
  opacity: .85;
}

/* Mobile */
/* Comprehensive Responsive CTA Fix */
@media (max-width: 1000px) {
  .container {
    width: 95%; /* More breathing room */
  }

  .cta {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    margin: 0 auto;
    padding: 0;
    overflow: hidden; /* Prevent internal clipping */
  }

  .cta__left,
  .cta__right {
    width: 100% !important;
    max-width: 100%;
    margin: 0 auto !important;
    text-align: center !important;
    padding: 20px 15px !important;
  }

  .ctaPill {
    margin: 0 auto 15px !important;
  }

  .nav__actions.nav--desktop {
    display: flex;
    gap: 15px;
    align-items: center;
  }

  .nav__lang-dropdown {
    position: relative;
    display: inline-block;
  }

  .nav__lang-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    transition: 0.3s;
  }

  .nav__lang-menu {
    position: absolute;
    top: 120%;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 8px;
    display: none;
    flex-direction: column;
    min-width: 120px;
  }

  .nav__lang-menu button {
    background: none;
    border: none;
    color: #fff;
    padding: 8px;
    cursor: pointer;
    text-align: left;
  }

  .cta__actions {
    display: flex;
    flex-direction: column; /* Stack buttons to prevent width overflow */
    gap: 12px;
    width: 100%;
    align-items: center;
  }

  .cta__actions .btn {
    width: 100%;
    min-width: unset;
  }
}

/* Footer credit v2 */
/* Desktop positioning */
/* =========================
   Lux Credit (Refined & Premium)
   ========================= */

.lux-credit.v2 {
  position: relative;
  margin: 40px auto 20px 0;
  padding: 30px;
  max-width: 500px;
  width: 100%;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow:
    0 25px 50px -12px rgba(0, 0, 0, 0.5),
    inset 0 1px 1px rgba(255, 255, 255, 0.05);
  text-align: center;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
  z-index: 5;
}

.lux-credit.v2:hover {
  transform: translateY(-5px);
  border-color: rgba(22, 255, 106, 0.12);
}

.lux-credit.v2::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(22, 255, 106, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.lux-badgeRow {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.lux-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(22, 255, 106, 0.08);
  border: 1px solid rgba(22, 255, 106, 0.15);
  color: #16ff6a;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.lux-dot {
  width: 6px;
  height: 6px;
  background: #16ff6a;
  border-radius: 50%;
  box-shadow: 0 0 10px #16ff6a;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(22, 255, 106, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(22, 255, 106, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(22, 255, 106, 0);
  }
}

.lux-credit.v2 .lux-name {
  position: relative;
  z-index: 1;
  font-size: 32px;
  font-weight: 900;
  margin: 0 0 25px;
  background: linear-gradient(135deg, #fff 0%, #16ff6a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 2px;
}

.lux-credit.v2 .lux-actions {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 25px;
}





.lux-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  width: 24px;
  height: 24px;
  line-height: 1;
}

.lux-mini {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.lux-mini span {
  font-size: 10px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.4);
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.2s ease;
  text-transform: uppercase;
}

.lux-mini span:hover {
  color: #16ff6a;
  border-color: rgba(22, 255, 106, 0.2);
  background: rgba(22, 255, 106, 0.05);
}

@media (max-width: 600px) {
  .lux-credit.v2 {
    padding: 20px;
    margin: 30px auto 10px;
  }
  .lux-credit.v2 .lux-actions {
    grid-template-columns: 1fr;
  }
  .lux-credit.v2 .lux-name {
    font-size: 26px;
  }
}

/* =========================
   Quiz Section (Luxury V3 - Ultra Premium)
   ========================= */
.quizBox {
  position: relative;
  background: rgba(10, 15, 12, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 70px 40px;
  border-radius: 45px;
  max-width: 850px;
  margin: 0 auto;
  box-shadow: 
    0 40px 120px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: visible;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.6s;
  animation: quizFloat 8s ease-in-out infinite; /* Slower animation */
}

@keyframes quizFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

.quizBox::after {
  content: "";
  position: absolute;
  inset: -1.5px;
  border-radius: 45px;
  background: linear-gradient(135deg, var(--g1), transparent, var(--g2), transparent, var(--g3));
  background-size: 300% 300%;
  animation: borderGlow 8s linear infinite;
  z-index: -1;
  opacity: 0.2;
}

@keyframes borderGlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.quizBox__badge {
  position: absolute;
  top: -20px;
  right: 40px;
  background: linear-gradient(90deg, #ff416c, #ff4b2b);
  color: #fff;
  padding: 10px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 15px 35px rgba(255, 65, 108, 0.45);
  z-index: 10;
  letter-spacing: 1px;
}

.quizIconContainer {
  width: 90px;
  height: 90px;
  background: radial-gradient(circle at center, rgba(22, 255, 106, 0.15), transparent);
  border: 1px solid rgba(22, 255, 106, 0.25);
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 35px;
  font-size: 42px;
  filter: drop-shadow(0 0 25px rgba(22, 255, 106, 0.3));
  position: relative;
}

.quizIconContainer::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: inherit;
  border: 1px dashed rgba(22, 255, 106, 0.2);
  animation: rotate 10s linear infinite;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.quizQuestion {
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.4;
  margin: 0 0 50px;
  color: #fff;
  text-align: center;
  background: linear-gradient(to bottom, #fff, #bbb);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.quizOptions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  width: 100%;
}

.quizOption {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 26px 30px;
  border-radius: 24px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  font-weight: 700;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 15px;
  overflow: hidden;
}

/* Radio circle inside choice */
.quizOption::after {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  margin-right: auto; /* Push to far side */
  transition: 0.3s;
}

.quizOption:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--g1);
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
}

.quizOption:hover::after {
  border-color: var(--g1);
  box-shadow: 0 0 10px var(--g1);
}

.quizOption.correct {
  background: linear-gradient(135deg, var(--g1), var(--g2)) !important;
  color: #04120a !important;
  border-color: transparent !important;
  box-shadow: 0 20px 50px rgba(22, 255, 106, 0.5) !important;
  transform: scale(1.05) !important;
}

.quizOption.correct::after {
  border-color: #04120a;
  background: #04120a;
}

.quizOption.wrong {
  background: rgba(255, 65, 108, 0.1) !important;
  color: #ff416c !important;
  border-color: #ff416c !important;
  animation: quizShake 0.6s cubic-bezier(.36,.07,.19,.97) both;
  box-shadow: 0 10px 30px rgba(255, 65, 108, 0.2);
}

@keyframes quizShake {
  10%, 90% { transform: translate3d(-1px, 0, 0) rotate(-1deg); }
  20%, 80% { transform: translate3d(2px, 0, 0) rotate(1deg); }
  30%, 50%, 70% { transform: translate3d(-4px, 0, 0) rotate(-2deg); }
  40%, 60% { transform: translate3d(4px, 0, 0) rotate(2deg); }
}

.quizOption.wrong::after {
  border-color: #ff416c;
  background: #ff416c;
}

.quizResult {
  text-align: center;
  width: 100%;
  animation: slideFadeIn 0.8s cubic-bezier(0.23, 1, 0.32, 1) both;
}

@keyframes slideFadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.quizResult__celebration {
  font-size: 3.5rem;
  margin-bottom: 10px;
  animation: bounceRotate 2.5s infinite;
}

@keyframes bounceRotate {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(10deg); }
}

.quizResult__icon {
  font-size: 5rem;
  margin-bottom: 25px;
  filter: drop-shadow(0 0 20px var(--g1));
}

.quizResult__title {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 15px;
  background: linear-gradient(to right, #fff, var(--g1));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.quizResult__text {
  font-size: 1.2rem;
  color: var(--muted);
  margin-bottom: 30px;
}

.coupon-display {
  background: rgba(22, 255, 106, 0.05);
  border: 2px dashed rgba(22, 255, 106, 0.4);
  padding: 25px 45px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  gap: 25px;
  margin: 0 auto 30px;
  width: fit-content;
  position: relative;
  transition: 0.3s;
}

.coupon-display:hover {
  background: rgba(22, 255, 106, 0.08);
  border-color: var(--g1);
}

.coupon-code {
  font-family: monospace;
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--g1);
  letter-spacing: 4px;
}

.coupon-copy-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 15px;
  cursor: pointer;
  transition: 0.3s;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
}

.coupon-copy-btn:hover {
  background: var(--g1);
  color: #04120a;
  transform: scale(1.1) rotate(5deg);
}

.btn--premium-cta {
  background: linear-gradient(135deg, var(--g1), var(--g2));
  color: #04120a;
  padding: 20px 50px;
  font-size: 1.3rem;
  font-weight: 900;
  border-radius: 22px;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  box-shadow: 0 20px 50px rgba(22, 255, 106, 0.35);
  display: inline-flex;
  justify-content: center;
}

.quizResult__muted {
  font-size: 1rem;
  margin-bottom: 35px;
}

@media (max-width: 650px) {
  .quizOptions {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .quizBox {
    padding: 40px 20px;
    border-radius: 30px;
  }
  .quizQuestion {
    font-size: 1.4rem;
    margin-bottom: 35px;
  }
  .coupon-code {
    font-size: 1.6rem;
  }
  .coupon-display {
    padding: 20px;
    gap: 15px;
  }
  .quizResult__title {
    font-size: 1.8rem;
  }
}

/* =========================
   Language Dropdown (Luxury Design)
   ========================= */
.nav__lang-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
  z-index: 1000;
}

.nav__lang-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 8px 14px;
  border-radius: 12px;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
  font-size: 14px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__lang-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--g1);
}

.nav__lang-btn::after {
  content: "▾";
  font-size: 12px;
  opacity: 0.5;
}

.nav__lang-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  background: rgba(10, 15, 12, 0.95);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 8px;
  min-width: 120px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.nav__lang-dropdown:hover .nav__lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav__lang-menu button {
  width: 100%;
  padding: 10px 14px;
  background: transparent;
  border: none;
  color: #fff;
  text-align: center;
  cursor: pointer;
  border-radius: 10px;
  font-weight: 600;
  transition: 0.2s;
}

.nav__lang-menu button:hover {
  background: rgba(22, 255, 106, 0.1);
  color: var(--g1);
}

/* Mobile Sidebar Language Selection */
@media (max-width: 860px) {
  /* Hide desktop language/actions in the main header */
  .nav__actions.nav--desktop {
    display: none !important;
  }

  .nav__links .nav__lang-dropdown {
    display: flex !important;
    margin: 20px 25px;
    position: relative;
    z-index: 1000;
  }

  .nav__links .nav__lang-btn {
    width: 100%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 18px;
    justify-content: center;
    border-radius: 16px;
    font-size: 18px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  }

  .nav__links .nav__lang-menu {
    width: 100%;
    top: calc(100% + 5px);
    background: rgba(15, 20, 18, 0.98);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  }
}
