/*
 * tramamia visual refresh — Spanish cinema night.
 * Preserves every supplied series card and its content while increasing contrast,
 * depth, hierarchy, and conversion focus across the entire landing page.
 */
:root {
  --sv-night: #08172e;
  --sv-night-2: #102b52;
  --sv-blue: #176db7;
  --sv-red: #dc4b4b;
  --sv-coral: #f37961;
  --sv-gold: #ffc44d;
  --sv-paper: #fffaf0;
  --sv-ink: #14223c;
  --sv-soft-line: rgba(20, 34, 60, .11);
  --sv-shadow: 0 20px 56px rgba(9, 28, 57, .16);
}

html {
  scroll-behavior: smooth;
}

body.es-local {
  background: #fff8eb;
  color: var(--sv-ink);
}

body.es-local .pc-wrap {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(circle at 12% 22%, rgba(255, 196, 77, .21), transparent 22%),
    radial-gradient(circle at 92% 17%, rgba(23, 109, 183, .17), transparent 25%),
    radial-gradient(circle at 80% 60%, rgba(220, 75, 75, .08), transparent 23%),
    linear-gradient(180deg, #fff8ea 0%, #fffdf7 38%, #f8f0e2 100%);
}

body.es-local .pc-wrap::before {
  position: absolute;
  z-index: -1;
  top: 56px;
  right: 0;
  left: 0;
  height: 520px;
  background:
    linear-gradient(115deg, rgba(8, 23, 46, .035) 1px, transparent 1px) 0 0 / 38px 38px,
    linear-gradient(25deg, rgba(8, 23, 46, .025) 1px, transparent 1px) 0 0 / 38px 38px;
  content: '';
  mask-image: linear-gradient(180deg, #000, transparent 94%);
  pointer-events: none;
}

/* Frosted navigation lets the campaign colours lead without losing contrast. */
body.es-local .head-box[data-v-541f1c68] {
  border-bottom: 0;
  background: transparent;
  box-shadow: none;
}

body.es-local .head-content[data-v-541f1c68] {
  height: 62px;
  border-bottom: 1px solid rgba(20, 34, 60, .09);
  border-image: none;
  background: rgba(255, 252, 244, .82);
  box-shadow: 0 10px 26px rgba(13, 35, 67, .08);
  backdrop-filter: blur(16px) saturate(1.15);
}

body.es-local .head-vis[data-v-541f1c68] {
  height: 62px;
}

body.es-local .head-center-left .bar[data-v-541f1c68] {
  height: 62px;
  padding-right: 13px;
  padding-left: 13px;
}

body.es-local .head-center-left .bar .bar-item[data-v-541f1c68] {
  color: #2f425c;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .01em;
  line-height: 62px;
}

body.es-local .head-center-left .bar.active .bar-item[data-v-541f1c68],
body.es-local .head-center-left .bar:hover .bar-item[data-v-541f1c68] {
  color: var(--sv-red);
}

body.es-local .head-center-left .bar.active[data-v-541f1c68]::after {
  bottom: 5px;
  width: 28px;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--sv-red), var(--sv-gold));
}

body.es-local .head-center-search[data-v-541f1c68] {
  height: 34px;
  border: 1px solid rgba(23, 109, 183, .18);
  border-radius: 999px;
  background-color: rgba(255, 255, 255, .78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .75);
}

body.es-local .head-center-right .flowing[data-v-541f1c68],
body.es-local .head-center-right .switch-language span[data-v-541f1c68] {
  color: #324966;
  font-weight: 800;
}

body.es-local .head-center-right .switch-language:hover span[data-v-541f1c68],
body.es-local .head-center-right .flowing[data-v-541f1c68]:hover {
  color: var(--sv-red);
}

body.es-local .head-center-right .switch-language .drop-items[data-v-541f1c68] {
  width: 150px;
  overflow: hidden;
  border: 1px solid rgba(17, 44, 82, .11);
  border-radius: 14px;
  background: rgba(255, 253, 248, .98);
  box-shadow: 0 16px 34px rgba(8, 23, 46, .18);
}

body.es-local .head-center-right .header-download-cta[data-v-541f1c68] {
  min-width: 144px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, .36);
  border-radius: 12px;
  background: linear-gradient(135deg, #e94d58 0%, #d9344c 48%, #f17c59 100%);
  box-shadow: 0 8px 18px rgba(211, 52, 75, .25), inset 0 1px 0 rgba(255, 255, 255, .32);
  font-size: 13px;
  letter-spacing: .01em;
  line-height: 38px;
}

/* A central feature stage brings the vertical drama forward. */
body.es-local .wrap.pc-container {
  position: relative;
  padding-top: 18px;
}

body.es-local .video-playback-slot {
  width: min(392px, calc(100% - 32px));
  margin-top: 42px;
  margin-bottom: 32px;
  border: 5px solid rgba(255, 255, 255, .94);
  border-radius: 28px;
  background: var(--sv-night);
  box-shadow:
    0 26px 58px rgba(8, 23, 46, .29),
    0 0 0 1px rgba(23, 109, 183, .21),
    0 0 0 11px rgba(255, 196, 77, .10),
    0 0 74px rgba(23, 109, 183, .18);
  transform: translateZ(0);
  animation: sv-feature-breathe 5.6s ease-in-out infinite;
}

body.es-local .video-playback-slot::before {
  top: 15px;
  left: 15px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 216, 120, .58);
  border-radius: 999px;
  background: linear-gradient(100deg, rgba(8, 23, 46, .94), rgba(23, 109, 183, .82));
  box-shadow: 0 6px 15px rgba(0, 0, 0, .22);
  color: #fff6d9;
  content: 'Drama destacado';
  font-size: 10px;
  letter-spacing: .1em;
}

html[lang="fr-FR"] body.es-local .video-playback-slot::before { content: 'SÉRIE DU MOMENT'; }
html[lang="it-IT"] body.es-local .video-playback-slot::before { content: 'DRAMA DEL MOMENTO'; }
html[lang="en"] body.es-local .video-playback-slot::before { content: 'FEATURED DRAMA'; }

body.es-local .video-download-link::after {
  background:
    linear-gradient(180deg, rgba(8, 23, 46, 0) 38%, rgba(8, 23, 46, .1) 52%, rgba(8, 23, 46, .92) 100%),
    linear-gradient(90deg, rgba(220, 75, 75, .09), transparent 38%);
}

body.es-local .video-overlay-copy {
  min-height: 38%;
  padding: 22px 22px 24px;
}

body.es-local .video-overlay-copy strong {
  max-width: 92%;
  font-family: "Gilda Display", Georgia, serif;
  font-size: clamp(28px, 6.4vw, 35px);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1;
}

body.es-local .video-overlay-summary {
  max-width: 290px;
  margin-top: 10px;
  color: rgba(255, 249, 233, .87);
  font-size: 12px;
  line-height: 1.5;
}

body.es-local .video-audio-toggle {
  top: 15px;
  right: 15px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 14px;
  background: rgba(8, 23, 46, .75);
  backdrop-filter: blur(8px);
}

/* The reward strip becomes a luminous campaign panel. */
body.es-local .pb.earn-promo[data-v-7ac29dd9] {
  min-height: 104px;
  overflow: hidden;
  border: 1px solid rgba(255, 219, 123, .74);
  border-radius: 20px;
  background:
    radial-gradient(circle at 84% 0%, rgba(255, 211, 92, .26), transparent 28%),
    linear-gradient(108deg, #08172e 0%, #113a6e 54%, #1d78b9 100%) !important;
  box-shadow: 0 20px 42px rgba(8, 23, 46, .20), inset 0 1px 0 rgba(255, 255, 255, .2);
}

body.es-local .pb.earn-promo[data-v-7ac29dd9]::before {
  position: absolute;
  top: -80%;
  left: -12%;
  width: 28%;
  height: 240%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .16), transparent);
  content: '';
  transform: rotate(18deg);
  animation: sv-panel-glint 7s ease-in-out infinite;
  pointer-events: none;
}

body.es-local .pb.earn-promo .earn-kicker[data-v-7ac29dd9] {
  color: #ffd875;
  font-size: 10px;
  letter-spacing: .16em;
}

body.es-local .pb.earn-promo .earn-headline[data-v-7ac29dd9] {
  font-size: clamp(22px, 2.35vw, 29px);
  letter-spacing: -.04em;
}

body.es-local .pb.earn-promo .earn-headline b[data-v-7ac29dd9] {
  color: #ffe39a;
}

body.es-local .pb.earn-promo .pb-btn[data-v-7ac29dd9] {
  min-width: 142px;
  min-height: 52px;
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 14px;
  background: linear-gradient(135deg, #ffd76a 0%, #ffba37 100%);
  box-shadow: 0 6px 0 #b47816, 0 12px 20px rgba(0, 0, 0, .2), inset 0 1px 0 rgba(255, 255, 255, .55);
  color: var(--sv-night);
  transition: transform .22s ease, box-shadow .22s ease;
}

body.es-local .pb.earn-promo:hover .pb-btn[data-v-7ac29dd9] {
  box-shadow: 0 8px 0 #b47816, 0 16px 23px rgba(0, 0, 0, .23), inset 0 1px 0 rgba(255, 255, 255, .6);
  transform: translateY(-2px);
}

/* Existing campaign art receives a cleaner, brighter gallery treatment. */
body.es-local .wrap.pc-container > .db[data-v-46a06c32] {
  margin-top: 46px;
  padding: 22px 0;
  background: linear-gradient(90deg, transparent, rgba(255, 205, 101, .22), transparent);
}

body.es-local .promo-image-banner {
  width: min(900px, calc(100% - 48px));
  border: 4px solid rgba(255, 255, 255, .96);
  border-radius: 24px;
  box-shadow: 0 24px 54px rgba(8, 23, 46, .22), 0 0 0 1px rgba(23, 109, 183, .22);
}

body.es-local .promo-image-banner:hover,
body.es-local .promo-image-banner:focus-visible {
  box-shadow: 0 29px 63px rgba(8, 23, 46, .28), 0 0 0 4px rgba(255, 196, 77, .35);
  transform: translateY(-4px) scale(1.006);
}

/* Dark-gallery shelves make each unchanged series collection feel curated. */
body.es-local .wrap.pc-container > .sixone.w1080.filled-posters[data-v-3756d484] {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(16, 43, 82, .13);
  border-radius: 26px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 196, 77, .11), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, .90), rgba(247, 240, 228, .82));
  box-shadow: var(--sv-shadow);
}

body.es-local .wrap.pc-container > .sixone.w1080.filled-posters[data-v-3756d484]::before {
  position: absolute;
  top: 0;
  right: 24px;
  left: 24px;
  height: 3px;
  border-radius: 0 0 99px 99px;
  background: linear-gradient(90deg, var(--sv-red), var(--sv-gold), var(--sv-blue));
  content: '';
}

body.es-local .sixone .sixone-content > .title[data-v-3756d484] {
  min-height: 54px;
  margin-bottom: 28px;
  padding-bottom: 15px;
  border-bottom-color: rgba(20, 34, 60, .12);
}

body.es-local .sixone .title h2[data-v-ea8fa98a] {
  color: var(--sv-night);
  font-size: clamp(29px, 3vw, 36px);
  line-height: 1.1;
}

body.es-local .sixone .title h2[data-v-ea8fa98a]::after {
  bottom: -16px;
  width: 76px;
  height: 5px;
  background: linear-gradient(90deg, var(--sv-red), var(--sv-coral), var(--sv-gold));
  box-shadow: 0 3px 8px rgba(220, 75, 75, .18);
}

body.es-local .sixone .title .more[data-v-ea8fa98a] {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(23, 109, 183, .16);
  border-radius: 999px;
  background: rgba(255, 255, 255, .73);
  color: var(--sv-blue);
  font-size: 13px;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

body.es-local .sixone .title .more:hover,
body.es-local .sixone .title .more:focus-visible {
  background: var(--sv-blue);
  color: #fff;
  transform: translateX(2px);
}

body.es-local .sixone .book[data-v-3756d484] {
  padding: 7px;
  border-radius: 18px;
  transition: background .24s ease, box-shadow .24s ease, transform .24s ease;
}

body.es-local .sixone .book:hover[data-v-3756d484] {
  background: rgba(255, 255, 255, .85);
  box-shadow: 0 14px 24px rgba(9, 28, 57, .10);
  transform: translateY(-6px);
}

body.es-local .sixone .book .cover[data-v-3756d484] {
  border: 2px solid rgba(255, 255, 255, .95);
  border-radius: 13px;
  box-shadow: 0 11px 22px rgba(8, 23, 46, .17), 0 0 0 1px rgba(8, 23, 46, .08);
}

body.es-local .sixone .book:hover .cover[data-v-3756d484] {
  box-shadow: 0 16px 26px rgba(8, 23, 46, .24), 0 0 0 2px rgba(255, 196, 77, .64);
}

body.es-local .sixone .book-name[data-v-3756d484] {
  color: #172945;
  font-size: 15px;
  font-weight: 900;
}

body.es-local .sixone .book-tags[data-v-3756d484] {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

body.es-local .sixone .book-tag-item[data-v-3756d484] {
  display: inline-flex;
  align-items: center;
  min-height: 21px;
  padding: 1px 7px;
  border: 1px solid rgba(23, 109, 183, .12);
  border-radius: 999px;
  background: rgba(23, 109, 183, .06);
  color: #28629c;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.25;
}

body.es-local .sixone .book-desc[data-v-3756d484] {
  color: #5f6d80;
  font-size: 13px;
  line-height: 1.62;
}

/* The final editorial block and footer resolve the page in brand colour. */
body.es-local .wrap.pc-container > .welcome[data-v-46a06c32] {
  position: relative;
  overflow: hidden;
  margin-top: 80px !important;
  border-top: 1px solid rgba(255, 212, 111, .72);
  border-bottom: 1px solid rgba(23, 109, 183, .25);
  background:
    radial-gradient(circle at 86% 24%, rgba(255, 204, 89, .25), transparent 25%),
    linear-gradient(122deg, #e9f4ff, #fff9ed 48%, #ffefcf);
}

body.es-local .wrap.pc-container > .welcome[data-v-46a06c32]::after {
  position: absolute;
  top: -44px;
  left: 4%;
  width: 180px;
  height: 180px;
  border: 28px solid rgba(220, 75, 75, .08);
  border-radius: 50%;
  content: '';
  pointer-events: none;
}

body.es-local .welcome-content .title[data-v-46a06c32] {
  position: relative;
  color: var(--sv-night);
  font-size: clamp(29px, 3vw, 38px);
  letter-spacing: -.03em;
  line-height: 1.08;
}

body.es-local .welcome-content .p1[data-v-46a06c32],
body.es-local .welcome-content .p2[data-v-46a06c32] {
  position: relative;
  max-width: 740px;
  color: #40516b;
  font-size: 15px;
}

body.es-local .footer[data-v-117b81bc] {
  position: relative;
  overflow: hidden;
  border-top: 0;
  background:
    radial-gradient(circle at 84% 0%, rgba(255, 196, 77, .19), transparent 26%),
    linear-gradient(118deg, #07162b, #10335d 58%, #145d9f);
}

body.es-local .footer[data-v-117b81bc]::before {
  position: absolute;
  top: 0;
  right: 10%;
  left: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 221, 133, .8), transparent);
  content: '';
}

body.es-local .footer-links a[data-v-117b81bc] {
  color: rgba(255, 255, 255, .86);
}

body.es-local .footer-company[data-v-117b81bc] {
  color: rgba(255, 247, 226, .65);
}

/* The fixed CTA gets a brighter, unmistakable action surface. */
body.es-local .floating-download-cta {
  min-height: 74px;
  border: 1px solid rgba(255, 231, 156, .95);
  border-radius: 20px;
  background:
    radial-gradient(circle at 9% 0%, rgba(255, 210, 92, .19), transparent 36%),
    linear-gradient(111deg, #091b36 0%, #155c9c 57%, #257dbc 100%);
  box-shadow: 0 7px 0 #8e342d, 0 22px 40px rgba(8, 23, 46, .48), 0 0 34px rgba(255, 188, 56, .25), inset 0 1px 0 rgba(255, 255, 255, .27);
}

body.es-local .floating-download-cta__spark {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .46);
  border-radius: 14px;
  background: linear-gradient(135deg, #ffe18d, #f8b937);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .2), inset 0 1px 0 rgba(255, 255, 255, .75);
}

body.es-local .floating-download-cta__action {
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, .44);
  border-radius: 13px;
  background: linear-gradient(135deg, #ffe195, #ffbd3f);
  box-shadow: 0 4px 0 #ae7014, 0 7px 15px rgba(0, 0, 0, .18), inset 0 1px 0 rgba(255, 255, 255, .65);
  font-size: 14px;
}

body.es-local .floating-download-cta:hover,
body.es-local .floating-download-cta:focus-visible {
  box-shadow: 0 9px 0 #8e342d, 0 27px 46px rgba(8, 23, 46, .55), 0 0 42px rgba(255, 196, 77, .4), inset 0 1px 0 rgba(255, 255, 255, .35);
  transform: translateX(-50%) translateY(-4px) scale(1.012);
}

@keyframes sv-feature-breathe {
  0%, 100% { box-shadow: 0 26px 58px rgba(8, 23, 46, .29), 0 0 0 1px rgba(23, 109, 183, .21), 0 0 0 11px rgba(255, 196, 77, .10), 0 0 74px rgba(23, 109, 183, .18); }
  50% { box-shadow: 0 28px 62px rgba(8, 23, 46, .34), 0 0 0 1px rgba(23, 109, 183, .28), 0 0 0 14px rgba(255, 196, 77, .15), 0 0 86px rgba(220, 75, 75, .16); }
}

@keyframes sv-panel-glint {
  0%, 20% { transform: translateX(-220%) rotate(18deg); }
  45%, 100% { transform: translateX(680%) rotate(18deg); }
}

@media (max-width: 767px) {
  body.es-local .head-content[data-v-541f1c68],
  body.es-local .head-vis[data-v-541f1c68] { height: 56px; }
  body.es-local .wrap.pc-container { padding-top: 7px; }
  body.es-local .video-playback-slot {
    width: min(360px, calc(100% - 28px));
    margin-top: 25px;
    margin-bottom: 25px;
    border-width: 4px;
    border-radius: 22px;
    box-shadow: 0 20px 45px rgba(8, 23, 46, .27), 0 0 0 1px rgba(23, 109, 183, .20), 0 0 0 7px rgba(255, 196, 77, .10);
  }
  body.es-local .video-playback-slot::before {
    top: 11px;
    left: 11px;
    padding: 5px 8px;
    font-size: 8px;
  }
  body.es-local .video-overlay-copy { padding: 17px 17px 19px; }
  body.es-local .video-overlay-copy strong { font-size: 27px; }
  body.es-local .video-audio-toggle { top: 11px; right: 11px; width: 36px; height: 36px; }
  body.es-local .pb.earn-promo[data-v-7ac29dd9] {
    min-height: 86px;
    border-radius: 16px;
  }
  body.es-local .pb.earn-promo .earn-headline[data-v-7ac29dd9] { font-size: clamp(17px, 5vw, 21px); }
  body.es-local .pb.earn-promo .pb-btn[data-v-7ac29dd9] { min-width: 100px; min-height: 42px; border-radius: 11px; }
  body.es-local .wrap.pc-container > .db[data-v-46a06c32] { margin-top: 30px; padding: 13px 0; }
  body.es-local .promo-image-banner { width: calc(100% - 28px); border-width: 3px; border-radius: 18px; }
  body.es-local .wrap.pc-container > .sixone.w1080.filled-posters[data-v-3756d484] { border-radius: 20px; }
  body.es-local .wrap.pc-container > .sixone.w1080.filled-posters[data-v-3756d484]::before { right: 16px; left: 16px; }
  body.es-local .sixone .sixone-content > .title[data-v-3756d484] { min-height: 42px; margin-bottom: 20px; padding-bottom: 10px; }
  body.es-local .sixone .title h2[data-v-ea8fa98a] { font-size: 25px; }
  body.es-local .sixone .title h2[data-v-ea8fa98a]::after { bottom: -11px; width: 52px; height: 4px; }
  body.es-local .sixone .title .more[data-v-ea8fa98a] { min-height: 30px; padding: 0 9px; font-size: 11px; }
  body.es-local .sixone .book[data-v-3756d484] { padding: 4px; border-radius: 13px; }
  body.es-local .sixone .book-name[data-v-3756d484] { font-size: 14px; }
  body.es-local .sixone .book-desc[data-v-3756d484] { font-size: 12px; }
  body.es-local .wrap.pc-container > .welcome[data-v-46a06c32] { margin-top: 54px !important; }
  body.es-local .welcome-content .title[data-v-46a06c32] { font-size: 28px; }
  body.es-local .floating-download-cta { min-height: 61px; border-radius: 16px; }
  body.es-local .floating-download-cta__spark { width: 34px; height: 34px; border-radius: 11px; }
  body.es-local .floating-download-cta__action { min-height: 39px; border-radius: 11px; font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body.es-local .video-playback-slot,
  body.es-local .pb.earn-promo[data-v-7ac29dd9]::before { animation: none; }
  body.es-local .sixone .book[data-v-3756d484],
  body.es-local .promo-image-banner,
  body.es-local .floating-download-cta,
  body.es-local .pb.earn-promo .pb-btn[data-v-7ac29dd9] { transition: none; }
}

/* Keep the taller desktop navigation perfectly aligned. */
@media (min-width: 768px) {
  body.es-local .head-center[data-v-541f1c68],
  body.es-local .head-center-left[data-v-541f1c68] {
    height: 62px;
  }
}

/* Render the atmospheric grid above the page background but below content. */
body.es-local .pc-wrap::before { z-index: 0; }
