/* Maximus — brand overrides + film-forward motion */

:root {
  --pink: #ec4899;
  --pink-light: #f472b6;
  --pink-glow: rgba(236, 72, 153, 0.5);
  --fuchsia: #d946ef;
  --gradient: linear-gradient(135deg, #ec4899 0%, #d946ef 45%, #8b5cf6 100%);
  --gradient-hot: linear-gradient(135deg, #f472b6 0%, #ec4899 50%, #d946ef 100%);
  --gradient-cold: linear-gradient(135deg, #8b5cf6 0%, #d946ef 50%, #ec4899 100%);
  --gradient-subtle: linear-gradient(135deg, rgba(236, 72, 153, 0.15) 0%, rgba(217, 70, 239, 0.1) 100%);
  --border-active: rgba(236, 72, 153, 0.35);
  --cyan: #ec4899;
  --cyan-light: #f472b6;
  --cyan-dark: #db2777;
  --cyan-glow: rgba(236, 72, 153, 0.45);
}

::selection {
  background: rgba(236, 72, 153, 0.35);
  color: #fff;
}

/* Navbar / footer: don’t clip the whole link (mark + word) */
.nav-logo.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  -webkit-text-fill-color: unset;
  color: inherit;
  font-size: unset;
  letter-spacing: unset;
}

/* Brand lockup */
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.brand-logo__mark {
  display: flex;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  animation: logoFloat 5s ease-in-out infinite;
}

.nav-logo.brand-logo--lockup .brand-logo__image {
  animation: logoFloat 5s ease-in-out infinite;
}

.brand-logo__mark svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 12px rgba(236, 72, 153, 0.4));
}

.brand-logo__word {
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

.brand-logo__word--lg {
  font-size: 1.65rem;
  letter-spacing: 0.22em;
}

/* Full wordmark (MAXIMUS TEAM PNG — white on transparent) */
.brand-logo--lockup {
  gap: 0;
}

.brand-logo__image {
  width: auto;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 0 12px rgba(236, 72, 153, 0.35));
}

.brand-logo__image--nav {
  max-height: 38px;
}

.brand-logo__image--menu {
  max-height: 46px;
}

/* ===== ACTIVE NAV STATES (multi-page) ===== */
.nav-links a.is-active {
  color: #fff !important;
}
.nav-links a.is-active::after {
  width: 100% !important;
  background: linear-gradient(90deg, #f472b6, #d946ef) !important;
}

.menu-link.is-active .menu-link__num {
  color: #f472b6;
}
.menu-link.is-active .menu-link__text {
  background: linear-gradient(90deg, #f472b6, #d946ef 50%, #8b5cf6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.menu-link.is-active::before {
  transform: scaleX(1) !important;
}
.menu-link--parent.is-active .menu-link__toggle::before {
  transform: scaleX(1);
}
.menu-link--parent.is-active .menu-link__num {
  color: #f472b6;
}
.menu-link--parent.is-active .menu-link__text {
  background: linear-gradient(90deg, #f472b6, #d946ef 50%, #8b5cf6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ===================================================
   CINEMA BUTTONS — special hero CTAs
   =================================================== */
.btn-cinema {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .9rem;
  padding: 1rem 2rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .26em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  border-radius: 999px;
  cursor: pointer;
  isolation: isolate;
  overflow: hidden;
  transition:
    transform .45s var(--ease-spring),
    box-shadow .55s var(--ease-out-expo),
    color .35s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn-cinema__label {
  position: relative;
  display: inline-flex;
  z-index: 2;
  transition: transform .45s var(--ease-out-expo), letter-spacing .35s var(--ease-out-expo);
}

/* ===== PRIMARY: gradient + rotating conic ring + play badge ===== */
.btn-cinema--primary {
  padding: 1rem 2.2rem 1rem 1rem;
  background: linear-gradient(135deg, #ec4899 0%, #d946ef 50%, #8b5cf6 100%);
  background-size: 220% 220%;
  background-position: 0% 50%;
  box-shadow:
    0 18px 40px -16px rgba(236, 72, 153, .55),
    0 6px 18px -8px rgba(139, 92, 246, .5),
    inset 0 1px 0 rgba(255, 255, 255, .25);
  transition:
    transform .45s var(--ease-spring),
    box-shadow .55s var(--ease-out-expo),
    background-position .9s var(--ease-out-expo),
    color .35s ease;
}
.btn-cinema--primary::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: conic-gradient(from 0deg,
    rgba(255, 255, 255, .0),
    rgba(255, 255, 255, .65) 18%,
    rgba(255, 255, 255, .0) 36%,
    rgba(255, 255, 255, .55) 54%,
    rgba(255, 255, 255, .0) 72%,
    rgba(255, 255, 255, .55) 90%,
    rgba(255, 255, 255, .0));
  opacity: 0;
  filter: blur(.5px);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  padding: 2px;
  transition: opacity .55s var(--ease-out-expo);
  animation: cinemaRingSpin 6s linear infinite;
  z-index: 1;
}
.btn-cinema--primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(120deg,
    transparent 0%,
    rgba(255, 255, 255, .35) 40%,
    rgba(255, 255, 255, .55) 50%,
    rgba(255, 255, 255, .35) 60%,
    transparent 100%);
  transform: skewX(-22deg);
  transition: left .9s var(--ease-out-expo);
  z-index: 2;
  pointer-events: none;
}
@keyframes cinemaRingSpin {
  to { transform: rotate(360deg); }
}

.btn-cinema__icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .35);
  color: #fff;
  flex-shrink: 0;
  z-index: 2;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25);
  transition:
    transform .45s var(--ease-spring),
    background .4s ease,
    box-shadow .4s ease;
}
.btn-cinema__icon::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .35) 0%, transparent 70%);
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}
.btn-cinema__rune {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 80% 40%, rgba(255, 255, 255, .25), transparent 35%),
    radial-gradient(circle at 20% 70%, rgba(255, 255, 255, .15), transparent 40%);
  opacity: .8;
  pointer-events: none;
  z-index: 1;
}

/* film bracket marks (top-left & bottom-right corners) */
.btn-cinema__bracket {
  position: absolute;
  width: 9px;
  height: 9px;
  border: 1.5px solid rgba(255, 255, 255, .55);
  z-index: 2;
  pointer-events: none;
  transition: opacity .35s ease, transform .45s var(--ease-out-expo);
}
.btn-cinema__bracket--l {
  top: 8px;
  left: 12px;
  border-right: 0;
  border-bottom: 0;
}
.btn-cinema__bracket--r {
  bottom: 8px;
  right: 12px;
  border-left: 0;
  border-top: 0;
}

.btn-cinema--primary:hover {
  transform: translateY(-3px);
  background-position: 100% 50%;
  box-shadow:
    0 26px 60px -18px rgba(236, 72, 153, .75),
    0 10px 28px -8px rgba(139, 92, 246, .65),
    inset 0 1px 0 rgba(255, 255, 255, .35);
}
.btn-cinema--primary:hover::before { opacity: 1; }
.btn-cinema--primary:hover::after { left: 130%; }
.btn-cinema--primary:hover .btn-cinema__icon {
  transform: scale(1.08);
  background: rgba(0, 0, 0, .55);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45);
}
.btn-cinema--primary:hover .btn-cinema__icon::before { opacity: 1; }
.btn-cinema--primary:hover .btn-cinema__label {
  transform: translateX(2px);
  letter-spacing: .3em;
}
.btn-cinema--primary:hover .btn-cinema__bracket--l { transform: translate(-2px, -2px); }
.btn-cinema--primary:hover .btn-cinema__bracket--r { transform: translate(2px, 2px); }

.btn-cinema--primary:active { transform: translateY(-1px) scale(.985); }

/* ===== GHOST: glass + animated arrow ===== */
.btn-cinema--ghost {
  padding: 1rem 1.6rem 1rem 1.9rem;
  color: #fff;
  background: rgba(255, 255, 255, .035);
  border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
}
.btn-cinema--ghost::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(120deg,
    rgba(236, 72, 153, 0) 0%,
    rgba(236, 72, 153, .5) 30%,
    rgba(217, 70, 239, .55) 50%,
    rgba(139, 92, 246, .45) 70%,
    rgba(236, 72, 153, 0) 100%);
  background-size: 220% 100%;
  background-position: 0% 50%;
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .5s var(--ease-out-expo), background-position .9s var(--ease-out-expo);
  pointer-events: none;
  z-index: 1;
}
.btn-cinema--ghost::after {
  content: '';
  position: absolute;
  left: 1.6rem;
  right: 1.6rem;
  bottom: .55rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .25), transparent);
  transform: scaleX(.4);
  transform-origin: center;
  transition: transform .5s var(--ease-out-expo), background .4s ease;
  z-index: 1;
  pointer-events: none;
}
.btn-cinema__arrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  z-index: 2;
  transition: transform .45s var(--ease-out-expo);
}
.btn-cinema__arrow svg { transition: transform .45s var(--ease-out-expo); }

.btn-cinema--ghost:hover {
  transform: translateY(-3px);
  background: rgba(236, 72, 153, .08);
  border-color: rgba(236, 72, 153, .55);
  color: #fff;
  box-shadow: 0 18px 38px -14px rgba(236, 72, 153, .45);
}
.btn-cinema--ghost:hover::before {
  opacity: 1;
  background-position: 100% 50%;
}
.btn-cinema--ghost:hover::after {
  transform: scaleX(1);
  background: linear-gradient(90deg, transparent, rgba(244, 114, 182, .8), transparent);
}
.btn-cinema--ghost:hover .btn-cinema__label {
  transform: translateX(-2px);
  background: linear-gradient(90deg, #f472b6, #d946ef);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.btn-cinema--ghost:hover .btn-cinema__arrow svg {
  transform: translateX(4px);
}
.btn-cinema--ghost:active { transform: translateY(-1px) scale(.985); }

@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; align-items: stretch; }
  .btn-cinema { justify-content: center; width: 100%; }
}

.brand-logo__image--loader {
  max-height: 52px;
}

.brand-logo--footer .brand-logo__image--footer {
  max-height: 30px;
}

.brand-logo--footer .brand-logo__mark {
  width: 36px;
  height: 36px;
}

@keyframes logoFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-4px) rotate(-2deg);
  }
}

/* Loader — cinematic wordmark + glow */
.loader-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  animation: loaderBrandRise 1s cubic-bezier(0.16, 1, 0.3, 1) both;
  position: relative;
  z-index: 1;
}

@keyframes loaderBrandRise {
  from {
    opacity: 0;
    transform: scale(0.92);
    filter: blur(10px);
  }
  to {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
}

.loader .brand-logo__image--loader {
  animation: loaderLogoGlow 2.2s ease-in-out infinite alternate;
}

@keyframes loaderLogoGlow {
  0% {
    filter: drop-shadow(0 0 10px rgba(236, 72, 153, 0.35)) drop-shadow(0 0 28px rgba(139, 92, 246, 0.15));
  }
  100% {
    filter: drop-shadow(0 0 22px rgba(236, 72, 153, 0.65)) drop-shadow(0 0 50px rgba(217, 70, 239, 0.25));
  }
}

.loader-sub {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--text-dim);
  opacity: 0;
  animation: loaderSubFade 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.35s forwards;
}

@keyframes loaderSubFade {
  to {
    opacity: 0.88;
  }
}

/* Hero — edge vignette for focus */
.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(
    ellipse 75% 60% at 50% 45%,
    transparent 0%,
    rgba(3, 7, 18, 0.35) 70%,
    rgba(3, 7, 18, 0.85) 100%
  );
  box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.45);
}

/* Scroll — film-style indicator */
.scroll-indicator {
  padding-bottom: 0.25rem;
}

.scroll-indicator span {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-size: 0.7rem;
  opacity: 0.85;
  background: linear-gradient(90deg, var(--text-dim), var(--pink-light), var(--text-dim));
  background-size: 180% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmerText 5s linear infinite;
}

.scroll-mouse {
  border-color: rgba(236, 72, 153, 0.35);
  box-shadow: 0 0 20px rgba(236, 72, 153, 0.12);
}

/* Section diamond — subtle pulse */
.section-divider .divider-diamond {
  animation: diamondPulse 3s ease-in-out infinite;
}

@keyframes diamondPulse {
  0%,
  100% {
    box-shadow: 0 0 15px rgba(236, 72, 153, 0.4);
    transform: rotate(45deg) scale(1);
  }
  50% {
    box-shadow: 0 0 28px rgba(236, 72, 153, 0.65);
    transform: rotate(45deg) scale(1.08);
  }
}

/* After load — soft page settle */
body.loaded .navbar {
  transition: padding 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Footer — contact column */
.footer-contact .footer-contact-line {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.45rem 0;
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--text-muted);
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-contact .footer-contact-line svg {
  flex-shrink: 0;
  margin-top: 0.25rem;
  color: var(--pink-light);
  transition: transform 0.3s ease;
}

.footer-contact .footer-contact-line:hover {
  color: #fff;
}

.footer-contact .footer-contact-line:hover svg {
  transform: translateX(2px) scale(1.05);
}

/* Navbar — fit slightly more items */
@media (min-width: 1024px) {
  .nav-links {
    gap: 1.85rem;
  }
}

@media (max-width: 1100px) {
  .nav-links {
    display: none;
  }
}

/* Hero: film gate + subtle perforation shimmer */
.hero-film-gate {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.22;
  background-image: repeating-linear-gradient(
      90deg,
      transparent,
      transparent 48px,
      rgba(236, 72, 153, 0.12) 48px,
      rgba(236, 72, 153, 0.12) 50px
    ),
    linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, transparent 12%, transparent 88%, rgba(0, 0, 0, 0.55) 100%);
  animation: perforationDrift 18s linear infinite;
  mask-image: radial-gradient(ellipse 85% 70% at 50% 50%, #000 20%, transparent 75%);
}

@keyframes perforationDrift {
  0% {
    background-position: 0 0, 0 0;
  }
  100% {
    background-position: 96px 0, 0 0;
  }
}

/* Recording pulse on badge */
.hero-badge.recording-pulse {
  border-color: rgba(236, 72, 153, 0.45);
  box-shadow: 0 0 0 0 rgba(236, 72, 153, 0.35);
  animation: recPulse 2.8s ease-out infinite;
}

@keyframes recPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(236, 72, 153, 0.35);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(236, 72, 153, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(236, 72, 153, 0);
  }
}

/* Scroll progress bar */
.scroll-progress {
  box-shadow: 0 0 12px rgba(236, 72, 153, 0.5), 0 0 30px rgba(236, 72, 153, 0.2);
}

/* Fullscreen menu: logo lockup inherits animation, reset text clip on container */
.menu-logo.brand-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  -webkit-text-fill-color: unset;
}

@media (max-width: 768px) {
  .nav-logo.brand-logo .brand-logo__word {
    font-size: 1.05rem;
    letter-spacing: 0.12em;
  }
  .brand-logo__mark {
    width: 36px;
    height: 36px;
  }
  .brand-logo__image--nav {
    max-height: 30px;
  }
}

/* ==== html.mobile-lite (celular / pointer i trashë): më pak blur GPU, pa shtresa të rënda ==== */
html.mobile-lite .constellation-canvas,
html.mobile-lite .floating-elements,
html.mobile-lite .morph-blob-container,
html.mobile-lite .spotlight,
html.mobile-lite .particles-container,
html.mobile-lite .aurora {
  display: none !important;
}

html.mobile-lite .hero-film-gate {
  animation: none;
  opacity: 0.12;
}

html.mobile-lite .navbar.scrolled {
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  background: rgba(5, 5, 7, 0.94) !important;
}

html.mobile-lite .nav-links.mobile-open {
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  background: rgba(5, 5, 7, 0.98) !important;
}

html.mobile-lite .lang-dd__menu {
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  background: rgba(12, 12, 16, 0.99) !important;
}

html.mobile-lite .menu-toggle,
html.mobile-lite .menu-close {
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  background: rgba(255, 255, 255, 0.08) !important;
}
