:root{
  --black: #0a0908;
  --charcoal: #17140f;
  --panel: #1e1a14;
  --red: #e8332c;
  --red-dim: #7a1815;
  --gold: #f5c518;
  --gold-dim: #a4870f;
  --cream: #f2ece0;
  --cream-dim: #b8ae9c;
  --font-display: "Anton", "Bebas Neue", sans-serif;
  --font-body: "Archivo", sans-serif;
}

html[data-theme="light"]{
  --black: #f7f4ee;
  --charcoal: #efeade;
  --panel: #fbf9f4;
  --red: #c92a24;
  --red-dim: #e8b0ac;
  --gold: #a4780a;
  --gold-dim: #8a6a1f;
  --cream: #2a2620;
  --cream-dim: #6b6455;
}

html{
  transition: none;
}
body, .hero, .admin-panel, .reel-border, .poster-card__frame, .calendar-card, .admin-field-group input{
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

*{ box-sizing: border-box; margin:0; padding:0; }

html{ scroll-behavior: smooth; }

body{
  background: var(--black);
  color: var(--cream);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

/* theme toggle button */
.theme-toggle{
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 200;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--panel);
  border: 1px solid rgba(245,197,24,0.25);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.15s ease, background-color 0.25s ease;
}
.theme-toggle:hover{ border-color: var(--gold); }
.theme-toggle__icon{
  position: absolute;
  font-size: 16px;
  color: var(--gold);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.theme-toggle__icon--dark{ opacity: 1; transform: scale(1); }
.theme-toggle__icon--light{ opacity: 0; transform: scale(0.6); }
html[data-theme="light"] .theme-toggle__icon--dark{ opacity: 0; transform: scale(0.6); }
html[data-theme="light"] .theme-toggle__icon--light{ opacity: 1; transform: scale(1); }

/* film grain texture */
.grain{
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* sprocket-hole reel borders top/bottom */
.reel-border{
  height: 14px;
  width: 100%;
  background:
    repeating-linear-gradient(90deg,
      var(--charcoal) 0 10px,
      var(--black) 10px 22px);
  position: relative;
  z-index: 2;
}
.reel-border::before{
  content: "";
  position: absolute;
  inset: 3px 0;
  background: repeating-linear-gradient(90deg,
    transparent 0 4px,
    var(--black) 4px 8px,
    transparent 8px 12px);
}

.section-label{
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  font-size: clamp(13px, 2vw, 15px);
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-label::before{
  content: "";
  width: 22px;
  height: 2px;
  background: var(--red);
  display: inline-block;
}

/* HERO */
.hero{
  padding: 1.75rem 1.5rem;
  text-align: center;
  background: var(--black);
  border-bottom: 1px solid rgba(245,197,24,0.1);
}
.hero__inner{
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}
.hero__logo{
  width: 40px;
  height: auto;
}
.hero__eyebrow{
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 11.5px;
  color: var(--gold-dim);
}

/* BUTTONS */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  padding: 0.85rem 1.75rem;
  border-radius: 3px;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:hover{ transform: translateY(-1px); }
.btn:active{ transform: translateY(0); }
.btn--primary{
  background: var(--red);
  color: var(--cream);
}
.btn--primary:hover{ background: #ff4139; }
.btn--ghost{
  background: transparent;
  color: var(--cream-dim);
  border-color: rgba(242,236,224,0.25);
}
.btn--ghost:hover{ border-color: var(--gold); color: var(--gold); }
.btn--small{ padding: 0.55rem 1.15rem; font-size: 0.82rem; }

/* NOW SHOWING */
.now{
  padding: 2.5rem 1.5rem 1rem;
  max-width: 920px;
  margin: 0 auto;
}
.now__grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
}
@media (max-width: 620px){
  .now__grid{ grid-template-columns: 1fr; }
}

.poster-card{
  display: flex;
  flex-direction: column;
}
.poster-card__frame{
  position: relative;
  aspect-ratio: 2/3;
  width: 100%;
  background: var(--panel);
  border: 1px solid rgba(245,197,24,0.15);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 1rem;
  box-shadow: 0 20px 40px -20px rgba(0,0,0,0.6);
}
.poster-card__img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.poster-card__placeholder{
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    repeating-linear-gradient(135deg, rgba(245,197,24,0.05) 0 2px, transparent 2px 14px),
    var(--panel);
}
.poster-card__placeholder span{
  font-family: var(--font-display);
  font-size: 5rem;
  color: rgba(245,197,24,0.25);
}
.poster-card__tag{
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--gold);
  padding: 4px 10px;
  border-radius: 2px;
}
.poster-card__tag--series{ background: var(--red); color: var(--cream); }

.poster-card__title{
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin-bottom: 0.35rem;
}
.poster-card__dates{
  color: var(--gold-dim);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.35rem;
}
.poster-card__note{
  color: var(--cream-dim);
  font-size: 0.9rem;
}
.poster-card__watch{
  margin-top: 0.9rem;
  width: 100%;
}

/* ADMIN */
.admin-toggle-wrap{
  max-width: 920px;
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: center;
}
.sync-status{
  margin-top: 0.75rem;
  font-size: 0.78rem;
  color: var(--cream-dim);
}
.sync-status--ok{ color: #7fbf7f; }
.sync-status--warn{ color: var(--gold-dim); }
.admin-panel{
  max-width: 920px;
  margin: 2rem auto 0;
  padding: 2rem 1.5rem;
  background: var(--charcoal);
  border-top: 1px solid rgba(245,197,24,0.15);
  border-bottom: 1px solid rgba(245,197,24,0.15);
}
.admin-panel__hint{
  color: var(--cream-dim);
  font-size: 0.85rem;
  max-width: 640px;
  margin-bottom: 1.75rem;
}
.admin-panel > label{
  display: block;
  font-size: 0.78rem;
  color: var(--cream-dim);
  margin: 0.75rem 0 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.admin-panel > input{
  width: 100%;
  max-width: 320px;
  background: var(--black);
  border: 1px solid rgba(242,236,224,0.18);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.92rem;
  padding: 0.65rem 0.75rem;
  border-radius: 3px;
  outline: none;
  transition: border-color 0.15s ease;
  letter-spacing: 0.2em;
}
.admin-panel > input:focus{ border-color: var(--gold); }
.admin-password-error{
  color: var(--red);
  font-size: 0.82rem;
  margin-top: 0.6rem;
}
.admin-panel__grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 620px){
  .admin-panel__grid{ grid-template-columns: 1fr; }
}
.admin-field-group h3{
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.1rem;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.9rem;
}
.admin-field-group label{
  display: block;
  font-size: 0.78rem;
  color: var(--cream-dim);
  margin: 0.75rem 0 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.admin-field-group input{
  width: 100%;
  background: var(--black);
  border: 1px solid rgba(242,236,224,0.18);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.92rem;
  padding: 0.65rem 0.75rem;
  border-radius: 3px;
  outline: none;
  transition: border-color 0.15s ease;
}
.admin-field-group input:focus{ border-color: var(--gold); }
.admin-field-group input::placeholder{ color: rgba(242,236,224,0.32); }
.admin-field-group__hint{
  font-size: 0.72rem;
  color: var(--cream-dim);
  margin-top: 0.35rem;
  line-height: 1.4;
}

.admin-field-group__link-btn{
  margin-top: 1rem;
  width: 100%;
}

.admin-field-group__row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.admin-panel__actions{
  display: flex;
  gap: 0.75rem;
  margin-top: 2rem;
  align-items: center;
}

.save-feedback{
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--gold);
  min-height: 1.2em;
}

/* CALENDAR */
.calendar-section{
  max-width: 640px;
  margin: 5rem auto 4rem;
  padding: 0 1.5rem;
}
.calendar-card{
  background: var(--panel);
  border: 1px solid rgba(245,197,24,0.15);
  border-radius: 6px;
  padding: 1.75rem 1.5rem;
}
.calendar-card__nav{
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}
.calendar-card__month{
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  color: var(--cream);
}
.cal-nav-btn{
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(242,236,224,0.2);
  background: transparent;
  color: var(--cream);
  font-size: 1.1rem;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.cal-nav-btn:hover{ border-color: var(--gold); color: var(--gold); }

.calendar-weekdays{
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-bottom: 6px;
}
.calendar-weekdays span{
  text-align: center;
  font-size: 11px;
  color: var(--cream-dim);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.calendar-grid{
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.cal-day{
  position: relative;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 0.85rem;
  border-radius: 4px;
  color: var(--cream-dim);
}
.cal-day__number{
  line-height: 1;
}
.cal-day__label{
  font-size: 8.5px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-weight: 600;
  line-height: 1;
}
.cal-day--empty{ visibility: hidden; }

.cal-day--meeting{
  font-weight: 700;
  color: var(--cream);
  border: 1px solid;
}
.cal-day--movie{
  background: rgba(55,138,221,0.16);
  border-color: #378add;
  box-shadow: 0 0 12px rgba(55,138,221,0.28);
}
.cal-day--movie .cal-day__label{ color: #a9d0f5; }
.cal-day--series{
  background: rgba(232,51,44,0.16);
  border-color: var(--red);
  box-shadow: 0 0 12px rgba(232,51,44,0.25);
}
.cal-day--series .cal-day__label{ color: #f2a6a3; }

.cal-day__led{
  position: absolute;
  top: 5px;
  right: 5px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 6px 1px rgba(232,51,44,0.8);
  animation: led-pulse 2.4s ease-in-out infinite;
}

@keyframes led-pulse{
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

.cal-day--today{
  outline: 1.5px solid var(--gold);
  outline-offset: 1px;
}
.cal-day__today-label{
  position: absolute;
  bottom: 3px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 7.5px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}

.calendar-card__legend{
  margin-top: 1.25rem;
  display: flex;
  align-items: center;
  gap: 20px;
}
.legend-item{
  font-size: 0.8rem;
  color: var(--cream-dim);
  display: flex;
  align-items: center;
  gap: 8px;
}
.legend-dot{
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.legend-dot--movie{
  background: #378add;
  box-shadow: 0 0 8px rgba(55,138,221,0.5);
}
.legend-dot--series{
  background: var(--red);
  box-shadow: 0 0 8px rgba(232,51,44,0.5);
}

/* FOOTER */
.site-footer{
  text-align: center;
  padding: 2.5rem 1.5rem 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.site-footer__logo{
  width: 44px;
  height: auto;
  opacity: 0.7;
}
.site-footer p{
  font-size: 0.8rem;
  color: var(--cream-dim);
  letter-spacing: 0.02em;
}

/* WATCH MODAL */
.watch-modal{
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}
.watch-modal[hidden]{
  display: none;
}
.watch-modal--player{
  padding: 0;
}
.watch-modal__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.75);
}
.watch-modal--player .watch-modal__backdrop{
  background: #000;
}
html[data-theme="light"] .watch-modal__backdrop{
  background: rgba(30,26,20,0.55);
}
.watch-modal__box{
  position: relative;
  z-index: 1;
  background: var(--panel);
  border: 1px solid rgba(245,197,24,0.2);
  border-radius: 8px;
  width: 100%;
  max-width: 720px;
  max-height: 90vh;
  overflow: auto;
  padding: 2rem 1.75rem;
}
.watch-modal__box--player{
  position: fixed;
  inset: 0;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  border: none;
  border-radius: 0;
  background: #000;
  padding: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.watch-modal__close{
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(242,236,224,0.2);
  background: transparent;
  color: var(--cream-dim);
  font-size: 14px;
  cursor: pointer;
  z-index: 2;
}
.watch-modal__close:hover{ border-color: var(--gold); color: var(--gold); }
.watch-modal--player .watch-modal__close{
  background: rgba(0,0,0,0.5);
  border-color: rgba(255,255,255,0.25);
  color: #fff;
}

.watch-modal__title{
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.4rem;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  padding-right: 2rem;
}
.watch-modal__subtitle{
  color: var(--cream-dim);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}
.watch-modal__options{
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.watch-modal__options .btn:disabled{
  opacity: 0.4;
  cursor: not-allowed;
}
.watch-modal__unavailable{
  margin-top: 1rem;
  font-size: 0.82rem;
  color: var(--cream-dim);
}

.watch-modal__player{
  position: relative;
  width: 100%;
  height: 100%;
}
.watch-modal__choice .watch-modal__back{
  position: static;
  background: transparent;
  border: none;
  color: var(--cream-dim);
  padding: 0;
  margin-bottom: 1rem;
  display: inline-block;
}
.watch-modal__choice .watch-modal__back:hover{ color: var(--gold); }
.watch-modal__player .watch-modal__back{
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 0.78rem;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 20px;
}
.watch-modal__player .watch-modal__back:hover{ border-color: var(--gold); color: var(--gold); }
.watch-modal__iframe{
  width: 100%;
  height: 100%;
  border: none;
  background: #000;
  display: block;
}

/* MARQUEE: neon cinema announcement */
.marquee{
  position: relative;
  overflow: hidden;
  background: #050403;
  border-top: 1px solid rgba(245,197,24,0.25);
  border-bottom: 1px solid rgba(245,197,24,0.25);
  padding: 0.75rem 0;
}
.marquee::before,
.marquee::after{
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 70px;
  z-index: 2;
  pointer-events: none;
}
.marquee::before{
  left: 0;
  background: linear-gradient(90deg, #050403, transparent);
}
.marquee::after{
  right: 0;
  background: linear-gradient(270deg, #050403, transparent);
}
.marquee__track{
  display: flex;
  width: max-content;
  animation: marquee-scroll 30s linear infinite;
}
.marquee__group{
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding-right: 1.1rem;
  flex-shrink: 0;
}
.marquee__item{
  display: inline-block;
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(0.82rem, 2vw, 1rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.marquee__sep{
  font-size: 0.8rem;
  color: var(--gold);
  text-shadow: 0 0 6px rgba(245,197,24,0.85), 0 0 14px rgba(245,197,24,0.5);
  flex-shrink: 0;
}
.marquee__item--red{
  color: #ff4b42;
  text-shadow:
    0 0 4px #ff4b42,
    0 0 10px #ff4b42,
    0 0 24px rgba(255,75,66,0.85),
    0 0 40px rgba(255,75,66,0.4);
}
.marquee__item--gold{
  color: #ffd84d;
  text-shadow:
    0 0 4px #ffd84d,
    0 0 10px #ffd84d,
    0 0 24px rgba(255,216,77,0.85),
    0 0 40px rgba(255,216,77,0.4);
}
.marquee__item--blue{
  color: #4fc3ff;
  text-shadow:
    0 0 4px #4fc3ff,
    0 0 10px #4fc3ff,
    0 0 24px rgba(79,195,255,0.85),
    0 0 40px rgba(79,195,255,0.4);
}

html[data-theme="light"] .marquee{
  background: #1b1712;
}
html[data-theme="light"] .marquee::before{
  background: linear-gradient(90deg, #1b1712, transparent);
}
html[data-theme="light"] .marquee::after{
  background: linear-gradient(270deg, #1b1712, transparent);
}

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

@media (prefers-reduced-motion: reduce){
  .marquee__track{ animation: none; }
  .marquee{ overflow-x: auto; }
}

/* SUGGESTIONS: public voting section */
.suggestions-section{
  max-width: 920px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 1rem;
  position: relative;
}
.suggestions-section::before,
.suggestions-section::after{
  content: "";
  position: absolute;
  top: 2.5rem;
  bottom: 1.5rem;
  width: 44px;
  pointer-events: none;
  z-index: 4;
}
.suggestions-section::before{
  left: 0;
  background: linear-gradient(90deg, var(--black), transparent);
}
.suggestions-section::after{
  right: 0;
  background: linear-gradient(270deg, var(--black), transparent);
}
@media (max-width: 480px){
  .suggestions-section::before,
  .suggestions-section::after{ display: none; }
}
.suggestions-carousel{
  position: relative;
}
.suggestions-nav{
  position: absolute;
  top: 0;
  bottom: 1.5rem;
  width: 64px;
  z-index: 5;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
}
.suggestions-nav__circle{
  opacity: 0;
  transition: opacity 0.2s ease, background-color 0.15s ease, transform 0.15s ease;
}
.suggestions-carousel:hover .suggestions-nav__circle{
  opacity: 1;
}
.suggestions-nav--prev{
  left: 0;
  justify-content: flex-start;
  padding-left: 0.25rem;
}
.suggestions-nav--next{
  right: 0;
  justify-content: flex-end;
  padding-right: 0.25rem;
}
.suggestions-nav__circle{
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(245,197,24,0.16);
  border: 1px solid rgba(245,197,24,0.4);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.1rem;
  transition: background-color 0.15s ease, transform 0.15s ease;
}
.suggestions-nav:hover .suggestions-nav__circle{
  background: rgba(245,197,24,0.3);
  transform: scale(1.08);
}
@media (max-width: 860px){
  .suggestions-nav{ display: none; }
  .suggestions-list{
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}
@media (hover: none){
  .suggestions-nav{ display: none; }
  .suggestions-list{
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

.suggestions-list{
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 0.5rem;
  margin: 0 -1.5rem;
  padding-left: 4.5rem;
  padding-right: 4.5rem;
  -webkit-overflow-scrolling: touch;
  position: relative;
  z-index: 1;
  scroll-behavior: auto;
  user-select: none;
  -webkit-user-select: none;
}
.suggestions-list *{
  user-select: text;
  -webkit-user-select: text;
}
.suggestions-list .suggestion-card__comment-toggle,
.suggestions-list .suggestion-card__trailer,
.suggestions-list .suggestion-card__vote-btn{
  user-select: none;
  -webkit-user-select: none;
}
@media (max-width: 480px){
  .suggestions-list{
    /* Centraliza o card na tela: a sobra de cada lado vira o "peek"
       (espiada) do card anterior/seguinte, simétrico dos dois lados. */
    padding-left: calc((100vw - 84vw) / 2);
    padding-right: calc((100vw - 84vw) / 2);
    scroll-snap-type: x mandatory;
  }
}
.suggestions-list::-webkit-scrollbar{
  height: 6px;
}
.suggestions-list::-webkit-scrollbar-track{
  background: transparent;
}
.suggestions-list::-webkit-scrollbar-thumb{
  background: rgba(245,197,24,0.25);
  border-radius: 3px;
}
.suggestions-list::-webkit-scrollbar-thumb:hover{
  background: rgba(245,197,24,0.45);
}
.suggestion-card{
  background: var(--panel);
  border: 1px solid rgba(245,197,24,0.15);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  width: 240px;
  scroll-snap-align: start;
}
@media (max-width: 480px){
  .suggestion-card{
    width: 84vw;
    scroll-snap-align: center;
  }
}
.suggestion-card__cover{
  width: 100%;
  aspect-ratio: 2/3;
  background: var(--black);
  overflow: hidden;
}
.suggestion-card__cover img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.suggestion-card__body{
  padding: 1rem 1.1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}
.suggestion-card__title{
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.25;
}
.suggestion-card__by{
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.suggestion-card__avatar{
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(245,197,24,0.3);
  flex-shrink: 0;
  background: var(--charcoal);
}
.suggestion-card__avatar--placeholder{
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--gold-dim);
  font-family: var(--font-display);
}
.suggestion-card__by-text{
  font-size: 0.78rem;
  color: var(--gold-dim);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.suggestion-card__by-name{
  font-weight: 700;
  color: var(--gold);
}
.suggestion-card__comment{
  font-size: 0.88rem;
  color: var(--cream-dim);
  line-height: 1.5;
}
.suggestion-card__comment b, .suggestion-card__comment strong{
  color: var(--cream);
  font-weight: 600;
}
.suggestion-card__comment--clamped{
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.suggestion-card__comment-toggle{
  display: block;
  margin-top: 0.35rem;
  background: transparent;
  border: none;
  color: var(--gold-dim);
  font-size: 0.78rem;
  cursor: pointer;
  padding: 0;
}
.suggestion-card__comment-toggle[hidden]{
  display: none;
}
.suggestion-card__comment-toggle--top{
  margin-top: 0;
  margin-bottom: 0.35rem;
}
.suggestion-card__comment-toggle:hover{ color: var(--gold); }
.suggestion-card__trailer{
  font-size: 0.78rem;
  color: var(--gold);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  width: fit-content;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: var(--font-body);
}
.suggestion-card__trailer:hover{ text-decoration: underline; }
.watch-modal__trailer-title{
  position: absolute;
  top: 14px;
  left: 56px;
  right: 56px;
  z-index: 2;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 0.95rem;
  text-transform: uppercase;
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}
.suggestion-card__footer{
  margin-top: auto;
  padding-top: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.suggestion-card__vote-btn{
  flex-shrink: 0;
  position: relative;
  min-width: 128px;
  text-align: center;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
  background: #2f8fe0 !important;
  border-color: #2f8fe0 !important;
  color: #ffffff !important;
}
.suggestion-card__vote-btn:hover{
  background: #4aa3f0 !important;
  border-color: #4aa3f0 !important;
}
.suggestion-card__votes{
  font-size: 0.8rem;
  color: var(--cream-dim);
  white-space: nowrap;
}
.suggestion-card__votes strong{
  color: var(--cream);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1rem;
}
.suggestion-card--voted .suggestion-card__vote-btn{
  opacity: 1;
}
.suggestion-card__vote-btn--voted{
  background: var(--gold) !important;
  border-color: var(--gold) !important;
  color: #1a1509 !important;
  cursor: default;
}
.suggestion-card__vote-btn--pulse{
  animation: vote-pulse 0.42s ease;
}
@keyframes vote-pulse{
  0%{ transform: scale(1); }
  35%{ transform: scale(1.14); }
  100%{ transform: scale(1); }
}
.suggestions-voted-note{
  margin-top: 1.25rem;
  font-size: 0.82rem;
  color: var(--cream-dim);
  text-align: center;
}

/* Confetti burst on vote */
.confetti-burst{
  position: fixed;
  width: 0;
  height: 0;
  z-index: 400;
  pointer-events: none;
}
.confetti-piece{
  position: absolute;
  top: 0;
  left: 0;
  width: 7px;
  height: 7px;
  margin: -3.5px;
  animation: confetti-fly 0.85s cubic-bezier(0.2, 0.8, 0.3, 1) forwards;
}
@keyframes confetti-fly{
  0%{
    transform: translate(0, 0) rotate(0deg);
    opacity: 1;
  }
  100%{
    transform: translate(var(--dx), calc(var(--dy) + 70px)) rotate(var(--rot));
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce){
  .suggestion-card__vote-btn--pulse{ animation: none; }
}

/* SUGGESTIONS: admin management */
.suggestions-admin-list{
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}
.suggestion-admin-card{
  background: var(--black);
  border: 1px solid rgba(245,197,24,0.15);
  border-radius: 6px;
  padding: 1.25rem 1.25rem 1.5rem;
}
.suggestion-admin-card__header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.suggestion-admin-card__header h4{
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1rem;
  text-transform: uppercase;
  color: var(--gold-dim);
}
.suggestion-admin-card__remove{
  background: transparent;
  border: 1px solid rgba(232,51,44,0.4);
  color: var(--red);
  font-size: 0.75rem;
  padding: 0.4rem 0.75rem;
  border-radius: 3px;
  cursor: pointer;
  white-space: nowrap;
}
.suggestion-admin-card__remove:hover{ background: rgba(232,51,44,0.1); }
.suggestion-admin-card__grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1.25rem;
}
@media (max-width: 620px){
  .suggestion-admin-card__grid{ grid-template-columns: 1fr; }
}
.suggestion-admin-card label{
  display: block;
  font-size: 0.75rem;
  color: var(--cream-dim);
  margin: 0.65rem 0 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.suggestion-admin-card input,
.suggestion-admin-card textarea{
  width: 100%;
  background: var(--charcoal);
  border: 1px solid rgba(242,236,224,0.18);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.88rem;
  padding: 0.55rem 0.7rem;
  border-radius: 3px;
  outline: none;
}
.suggestion-admin-card input:focus,
.suggestion-admin-card textarea:focus{ border-color: var(--gold); }
.suggestion-admin-card textarea{
  resize: vertical;
  min-height: 70px;
  font-family: var(--font-body);
  grid-column: 1 / -1;
}

.rich-editor{
  border: 1px solid rgba(242,236,224,0.18);
  border-radius: 3px;
  overflow: hidden;
}
.rich-editor__toolbar{
  display: flex;
  gap: 2px;
  padding: 6px;
  background: var(--charcoal);
  border-bottom: 1px solid rgba(242,236,224,0.12);
}
.rich-editor__btn{
  width: 28px;
  height: 28px;
  border-radius: 3px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--cream-dim);
  font-size: 0.85rem;
  cursor: pointer;
}
.rich-editor__btn:hover{
  border-color: rgba(245,197,24,0.3);
  color: var(--gold);
}
.rich-editor__content{
  min-height: 80px;
  padding: 0.6rem 0.7rem;
  background: var(--charcoal);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.88rem;
  line-height: 1.5;
  outline: none;
}
.rich-editor__content:empty::before{
  content: attr(data-placeholder);
  color: rgba(242,236,224,0.32);
}
.rich-editor__content b, .rich-editor__content strong{ color: var(--gold); }

.suggestions-toggle{
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--cream-dim);
  cursor: pointer;
}

.admin-panel__suggestions-btn{
  margin-top: 1.5rem;
  width: 100%;
}

/* SEASONS / EPISODES MANAGER */
.seasons-list{
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}
.season-card{
  background: var(--black);
  border: 1px solid rgba(245,197,24,0.15);
  border-radius: 6px;
  padding: 1.25rem 1.25rem 1.5rem;
}
.season-card__header{
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.season-card__name-input{
  flex: 1;
  background: var(--charcoal);
  border: 1px solid rgba(242,236,224,0.18);
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 1rem;
  text-transform: uppercase;
  padding: 0.5rem 0.7rem;
  border-radius: 3px;
  outline: none;
}
.season-card__name-input:focus{ border-color: var(--gold); }
.season-card__remove{
  background: transparent;
  border: 1px solid rgba(232,51,44,0.4);
  color: var(--red);
  font-size: 0.75rem;
  padding: 0.4rem 0.75rem;
  border-radius: 3px;
  cursor: pointer;
  white-space: nowrap;
}
.season-card__remove:hover{ background: rgba(232,51,44,0.1); }

.episodes-table{
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.episode-row{
  display: grid;
  grid-template-columns: 70px 1fr 1fr auto;
  gap: 0.5rem;
  align-items: center;
}
@media (max-width: 620px){
  .episode-row{
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "num num"
      "dub sub"
      "rem rem";
  }
  .episode-row__num{ grid-area: num; }
  .episode-row__dub{ grid-area: dub; }
  .episode-row__sub{ grid-area: sub; }
  .episode-row__remove{ grid-area: rem; }
}
.episode-row input{
  width: 100%;
  background: var(--charcoal);
  border: 1px solid rgba(242,236,224,0.18);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.85rem;
  padding: 0.5rem 0.6rem;
  border-radius: 3px;
  outline: none;
}
.episode-row input:focus{ border-color: var(--gold); }
.episode-row__num{
  text-align: center;
  font-family: var(--font-display);
  color: var(--gold-dim);
  font-size: 0.95rem;
}
.episode-row__remove{
  background: transparent;
  border: none;
  color: var(--cream-dim);
  font-size: 1rem;
  cursor: pointer;
  padding: 0.3rem 0.5rem;
}
.episode-row__remove:hover{ color: var(--red); }

.season-card__add-episode{
  margin-top: 0.85rem;
  font-size: 0.8rem;
  background: transparent;
  border: 1px dashed rgba(242,236,224,0.25);
  color: var(--cream-dim);
  padding: 0.5rem 0.9rem;
  border-radius: 3px;
  cursor: pointer;
}
.season-card__add-episode:hover{ border-color: var(--gold); color: var(--gold); }

.seasons-empty{
  color: var(--cream-dim);
  font-size: 0.88rem;
  margin-bottom: 1.5rem;
}

/* WATCH MODAL: episode list */
.watch-modal__episodes{
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-height: 50vh;
  overflow-y: auto;
}
.watch-modal__episode-btn{
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  text-align: left;
  background: var(--black);
  border: 1px solid rgba(245,197,24,0.15);
  color: var(--cream);
  padding: 0.7rem 0.9rem;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  cursor: pointer;
  transition: border-color 0.15s ease;
}
.watch-modal__episode-btn:hover{ border-color: var(--gold); }
.watch-modal__episode-num{
  font-family: var(--font-display);
  color: var(--gold);
  min-width: 2rem;
}
.watch-modal__back{
  background: transparent;
  border: none;
  color: var(--cream-dim);
  font-size: 0.82rem;
  cursor: pointer;
  margin-bottom: 1rem;
  padding: 0;
}
.watch-modal__back:hover{ color: var(--gold); }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  .btn{ transition: none; }
  .cal-day__led{ animation: none; opacity: 0.85; }
}
