:root {
  --red: #ed1a48;
  --black: #262223;
  --pink: #efccd4;
  --wine: #c17e8d;
  --white: #ffffff;
  --video-zoom: 1.12; /* تكبير بسيط لإلغاء الهوامش السوداء */
}

/* Reset basics */
* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto,
    Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: #fff;
  background: #000;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Background video */
.video-bg {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: -2;
  background: radial-gradient(
      1200px 600px at 10% 10%,
      rgba(237, 26, 72, 0.25),
      transparent
    ),
    linear-gradient(180deg, #111, #000);
}
.video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.9;
  transform: scale(var(--video-zoom));
  transform-origin: center center;
}
.video-mask {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.85),
    rgba(0, 0, 0, 0.6) 60%,
    rgba(0, 0, 0, 0.9)
  );
}

/* Decorative blobs */
.blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.25;
  mix-blend: screen;
  z-index: -1;
  animation: float 12s ease-in-out infinite;
}
.blob-1 {
  width: 220px;
  height: 220px;
  left: 8%;
  top: 18%;
  background: var(--pink);
  animation-delay: 0s;
}
.blob-2 {
  width: 280px;
  height: 280px;
  right: 6%;
  top: 22%;
  background: var(--red);
  animation-delay: 1s;
}
.blob-3 {
  width: 200px;
  height: 200px;
  right: 20%;
  bottom: 14%;
  background: var(--wine);
  animation-delay: 2s;
}
.blob-4 {
  width: 160px;
  height: 160px;
  left: 14%;
  bottom: 16%;
  background: var(--pink);
  animation-delay: 3s;
}
@keyframes float {
  0%,
  100% {
    transform: translateY(-6px);
  }
  50% {
    transform: translateY(6px);
  }
}

/* Brand pill (bigger) */
.brand-pill {
  position: fixed;
  left: 16px;
  top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  text-decoration: none;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  z-index: 3;
  font-size: 16px;
}
.brand-pill img {
  width: 44px;
  height: 44px;
  display: block;
}
.brand-pill .accent {
  color: var(--red);
  font-weight: 800;
}

/* Center content */
.center {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 24px;
}
.card {
  width: min(920px, 100%);
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  padding: 28px clamp(20px, 4vw, 48px);
  box-shadow: 0 20px 80px rgba(237, 26, 72, 0.25);
  backdrop-filter: blur(14px);
}
.title {
  font-size: clamp(28px, 5vw, 56px);
  line-height: 1.1;
  margin: 6px 0 6px;
  font-weight: 900;
}
.ar {
  font-size: clamp(16px, 2.6vw, 22px);
  color: rgba(255, 255, 255, 0.92);
}
.sub {
  color: rgba(255, 255, 255, 0.8);
  margin-top: 10px;
  font-size: clamp(14px, 2.4vw, 18px);
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: var(--pink);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  animation: pulse 1.4s infinite;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 1;
  }
}

/* Progress + tags row */
.row {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}
@media (min-width: 720px) {
  .row {
    flex-direction: row;
    align-items: center;
  }
}
.progress {
  width: 100%;
  max-width: 360px;
}
.progress .bar {
  display: block;
  height: 8px;
  width: 50%;
  background: linear-gradient(90deg, var(--pink), var(--red));
  border-radius: 999px;
  transform: translateX(-60%);
  animation: progress 2.2s ease-in-out infinite;
}
.progress::before {
  content: "";
  display: block;
  height: 8px;
  width: 100%;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  overflow: hidden;
}
.progress .labels {
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  margin-top: 8px;
}
.progress .labels em {
  font-style: normal;
}
@keyframes progress {
  0% {
    transform: translateX(-60%);
  }
  50% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(100%);
  }
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
}
.tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.t-red {
  color: var(--red);
}
.t-red::before {
  background: var(--red);
}
.t-wine {
  color: var(--wine);
}
.t-wine::before {
  background: var(--wine);
}
.t-pink {
  color: var(--pink);
}
.t-pink::before {
  background: var(--pink);
}

/* ===== Brainshow Footer (glassy) ===== */
.bs-footer {
  position: relative;
  z-index: 2;
  margin-top: 64px;
}
.bs-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px 32px;
}
.bs-foot-card {
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 80px rgba(237, 26, 72, 0.25);
  border-radius: 28px;
  overflow: hidden;
}
.bs-foot-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr 1fr;
  gap: 28px;
  padding: 28px clamp(20px, 4vw, 40px);
}
.foot-brand-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.foot-logo {
  width: 42px;
  height: 42px;
  display: block;
}
.bs-foot-card h3 {
  font-size: 20px;
  margin: 0;
}
.foot-tagline {
  color: rgba(255, 255, 255, 0.75);
  margin: 0.35rem 0 0;
  font-weight: 600;
}
.foot-title {
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 10px;
  color: var(--pink);
}
.foot-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.foot-list a {
  color: #fff;
  text-decoration: none;
  opacity: 0.85;
}
.foot-list a:hover {
  opacity: 1;
  color: var(--pink);
}
.foot-list.contact li {
  display: flex;
  gap: 10px;
  align-items: center;
  opacity: 0.9;
}
.foot-list.contact i {
  color: #fff;
  opacity: 0.9;
}
.foot-social-row {
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.s-btn {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  text-decoration: none;
  transition: 0.2s ease transform, 0.2s ease background;
}
.s-btn:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.16);
}
.s-btn.fb:hover {
  background: #1877f2;
}
.s-btn.tw:hover {
  background: #1da1f2;
}
.s-btn.ig:hover {
  background: #e4405f;
}
.s-btn.li:hover {
  background: #0077b5;
}
.s-btn.yt:hover {
  background: #ff0000;
}
.bs-foot-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.35));
}
.bs-foot-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
}
.bs-foot-bottom .accent {
  color: var(--red);
  font-weight: 800;
}
.policies {
  display: flex;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.policies a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}
.policies a:hover {
  color: #fff;
}

/* Responsive tweaks */
@media (max-width: 900px) {
  .bs-foot-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 620px) {
  .bs-foot-grid {
    grid-template-columns: 1fr;
  }
  .bs-foot-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

/* Fine‑tune video zoom for aspect extremes */
@media (max-aspect-ratio: 3/4) {
  :root {
    --video-zoom: 1.18;
  }
} /* tall screens */
@media (min-aspect-ratio: 16/9) {
  :root {
    --video-zoom: 1.1;
  }
} /* very wide */

@media (max-width: 768px) {
  .brand-pill {
    left: 12px;
    top: 12px;
    padding: 10px 14px;
  }
  .card {
    padding: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
