.cine-foot-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.cine-foot {
  --bg: #1E2D37;
  --fg: #FAF8F5;
  --accent: #e6194b;
  --accent-2: #ff2d5e;
  --soft: rgba(250, 248, 245, 0.74);
  --line: rgba(250, 248, 245, 0.14);

  --pill-bg-1: rgba(250, 248, 245, 0.05);
  --pill-bg-2: rgba(250, 248, 245, 0.02);
  --pill-shadow: rgba(0, 0, 0, 0.45);
  --pill-highlight: rgba(250, 248, 245, 0.10);
  --pill-inset: rgba(0, 0, 0, 0.55);
  --pill-border: rgba(250, 248, 245, 0.10);
  --pill-bg-1-h: rgba(250, 248, 245, 0.10);
  --pill-bg-2-h: rgba(250, 248, 245, 0.03);
  --pill-border-h: rgba(250, 248, 245, 0.26);
  --pill-shadow-h: rgba(0, 0, 0, 0.55);
  --pill-highlight-h: rgba(250, 248, 245, 0.22);

  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
  width: 100%;
  overflow: hidden;
  background: var(--bg);
  color: var(--fg);
  font-family: "DM Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

@keyframes cine-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.cine-rain {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 16%, #000 80%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 16%, #000 80%, transparent);
}

.cine-giant {
  position: absolute;
  left: 50%;
  bottom: -5vh;
  transform: translateX(-50%);
  z-index: 0;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  font-family: "Sora", sans-serif;
  font-size: 14vw;
  line-height: 0.75;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(250, 248, 245, 0.10);
  background: linear-gradient(180deg, rgba(250, 248, 245, 0.18) 0%, transparent 62%);
  -webkit-background-clip: text;
  background-clip: text;
}

.cine-marquee {
  position: absolute;
  top: 3.5rem;
  left: 0;
  width: 100%;
  overflow: hidden;
  z-index: 10;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(30, 45, 55, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transform: rotate(-2deg) scale(1.1);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.45);
}

.cine-marquee-track {
  display: flex;
  width: max-content;
  animation: cine-marquee 40s linear infinite;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  color: var(--soft);
}

.cine-marquee-group {
  display: flex;
  align-items: center;
  gap: 3rem;
  padding: 0 1.5rem;
  white-space: nowrap;
}

.cine-marquee-group .cine-spark { color: var(--accent); }
.cine-marquee-group .cine-spark.alt { color: var(--accent-2); }

.cine-center {
  position: relative;
  z-index: 10;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 64rem;
  margin: 5rem auto 0;
  padding: 0 1.5rem;
}

.cine-head {
  margin: 0 0 3rem;
  text-align: center;
  font-family: "Sora", sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: clamp(2.8rem, 8vw, 6rem);
  line-height: 1;
  background: linear-gradient(180deg, var(--fg) 0%, rgba(250, 248, 245, 0.45) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 24px rgba(250, 248, 245, 0.10));
}

.cine-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
}

.cine-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  width: 100%;
}

.cine-row-sm { gap: 0.75rem; margin-top: 0.5rem; }

.cine-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: 999px;
  cursor: pointer;
  color: var(--soft);
  text-decoration: none;
  font-weight: 700;
  background: linear-gradient(145deg, var(--pill-bg-1) 0%, var(--pill-bg-2) 100%);
  border: 1px solid var(--pill-border);
  box-shadow:
    0 10px 30px -10px var(--pill-shadow),
    inset 0 1px 1px var(--pill-highlight),
    inset 0 -1px 2px var(--pill-inset);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: background 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.cine-pill:hover {
  color: var(--fg);
  background: linear-gradient(145deg, var(--pill-bg-1-h) 0%, var(--pill-bg-2-h) 100%);
  border-color: var(--pill-border-h);
  box-shadow:
    0 20px 40px -10px var(--pill-shadow-h),
    inset 0 1px 1px var(--pill-highlight-h);
}

.cine-pill-lg {
  padding: 1.1rem 2.4rem;
  font-size: 0.95rem;
}

.cine-row-sm .cine-pill {
  padding: 0.75rem 1.4rem;
  font-size: 0.82rem;
  font-weight: 600;
}

.cine-pill svg { width: 1.3rem; height: 1.3rem; }
.cine-pill-ico { color: var(--soft); transition: color 0.4s ease; }
.cine-pill:hover .cine-pill-ico { color: var(--fg); }

.cine-bottom {
  position: relative;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  padding: 0 1.5rem 2rem;
}

.cine-copy {
  order: 2;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--soft);
}

.cine-top {
  order: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  cursor: pointer;
  color: var(--soft);
  background: linear-gradient(145deg, var(--pill-bg-1) 0%, var(--pill-bg-2) 100%);
  border: 1px solid var(--pill-border);
  box-shadow:
    0 10px 30px -10px var(--pill-shadow),
    inset 0 1px 1px var(--pill-highlight);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: color 0.4s ease, border-color 0.4s ease;
  will-change: transform;
}
.cine-top:hover { color: var(--fg); border-color: var(--pill-border-h); }
.cine-top svg { width: 1.25rem; height: 1.25rem; transition: transform 0.3s ease; }
.cine-top:hover svg { transform: translateY(-4px); }

@media (min-width: 768px) {
  .cine-marquee-track { font-size: 0.9rem; }
  .cine-bottom { flex-direction: row; padding: 0 3rem 2rem; }
  .cine-copy { order: 1; font-size: 0.75rem; }
}

@media (prefers-reduced-motion: reduce) {
  .cine-marquee-track { animation: none; }
}
