/* ====== GLOBAL ====== */

:root {
  /* Change this to swap the whole background vibe */
  --page-bg-color: #050206;
  /* If you have a velvet texture, set it here: */
  --page-bg-image: url("images/red-velvet-texture.jpeg");
  /* If you don't have a texture yet, comment the line above
     and uncomment the gradient below. */
  /* --page-bg-image: radial-gradient(circle at top, #4a0210, #050206); */

  --accent-gold: #ffd96b;
  --accent-gold-soft: rgba(255, 217, 107, 0.45);
  --text-main: #fff7ec;
  --text-muted: #d3c4b0;
  --max-width: 1100px;
  --shadow-strong: 0 20px 45px rgba(0, 0, 0, 0.85);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
.poller-one-regular {
  font-family: "Poller One", sans-serif;
  font-weight: 400;
  font-style: normal;
}

p{
  padding-bottom: 1rem;
}

body {
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: var(--page-bg-color);
  background-image: var(--page-bg-image);
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
  color: var(--text-main);
}

.page {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4.5rem 1.25rem 3rem;
}

/* ====== INTRO SECTION ====== */

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 3rem;
  align-items: center;
  margin-bottom: 3rem;
}

.intro-photo{
  justify-items: right;
}

.intro-photo img {
  width: 100%;
  max-width: 200px;
  border-radius: 999px;
  border: 4px solid var(--accent-gold-soft);
  box-shadow: var(--shadow-strong);
  object-fit: cover;
  display: block;

}

.intro-text {
  max-width: 32rem;
}

.intro-label {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.75rem;
  color: var(--accent-gold);
  margin-bottom: 0.3rem;
}

.intro h1 {
  font-family: "Cinzel", "Georgia", serif;
  font-size: clamp(2rem, 4vw, 2.6rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.intro-body {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-main);
  margin-bottom: 0.75rem;
}

.intro-meta {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
}

/* ====== MOVIE GRID ====== */

.section-title {
  font-family: "Cinzel", "Georgia", serif;
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 2rem;
}

.section-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

main{
  padding: 3rem 0;
}

.movie-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.5rem;
}

/* Links around each card */

.movie-link {
  text-decoration: none;
  color: inherit;
}

/* Frame + poster */

.movie-card {
  position: relative;
  aspect-ratio: 3 / 4;
  filter: drop-shadow(var(--shadow-strong));
  transition: transform 0.2s ease, filter 0.2s ease;
}

.frame-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  pointer-events: none;
}

/* The content that sits inside the PNG frame */
.poster-inner {
  position: absolute;
  /* Adjust these to fit your frame PNG perfectly */
  inset: 11% 11%;
  border-radius: 0.4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0.75rem;
  text-align: center;
  overflow: hidden;
}

/* If you want to use actual movie stills instead of text,
   you can place an <img> in here and style it like this:

.poster-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

*/

.poster-inner h3 {
  font-family: "Cinzel", "Georgia", serif;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 0.3rem;
  color: #201810;
}

.poster-meta {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #4e4030;
}

/* Hover effects: little float + brighter glow */
.movie-link:hover .movie-card,
.movie-link:focus-visible .movie-card {
  transform: translateY(-6px) scale(1.02);
  filter: drop-shadow(0 28px 60px rgba(0, 0, 0, 0.95));
    box-shadow:
    0 0 30px rgba(255, 255, 255, 0.5),
    0 0 10px #ffe392;
}

.movie-link:focus-visible {
  outline: 2px solid var(--accent-gold);
  outline-offset: 4px;
}

/* ====== RESPONSIVE ====== */

@media (max-width: 900px) {
  .movie-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .intro {
    grid-template-columns: minmax(0, 1fr);
    text-align: left;
  }

  .intro-photo {
    display: flex;
    justify-content: center;
  }

  .movie-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}


/* ===== PAGE TITLE BLOCK ===== */
.page-title-block {
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 6rem;
   animation: fadeDown 1s ease-out both;
   animation: opacity 3s;
}

.page-title {
  font-family: "Poller One", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: clamp(6rem, 6vw, 4rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ffffff; /* white text */
  margin-bottom: 2rem;

  /* Subtle white glow */
  text-shadow:
    0 0 4px rgba(255, 255, 255, 0.55),
    0 0 10px rgba(255, 255, 255, 0.45),
    0 0 18px rgba(255, 255, 255, 0.35);
}




.page-subtitle {
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}




/* ===== MOVIE PAGE BASE ===== */

.movie-body {
  /* reuse velvet background */
  background: var(--page-bg-color);
  background-image: var(--page-bg-image);
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
  color: var(--text-main);
}

.movie-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 1.8rem 1.25rem 3rem;
}

.movie-top-nav {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 1rem;
}

/* ===== BUTTONS ===== */

.btn-neon,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

/* bright neon button */
.btn-neon {
    border: 1px solid rgb(183 155 91 / 90%);
    background: radial-gradient(circle at top left, #050206, #a57d00);
    color: #fff7ec;
    box-shadow: 0 0 7px rgb(255 255 255 / 70%), 0 0 10px rgb(255 132 18 / 70%);
}

/* ghost / outline button */
.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(0, 0, 0, 0.25);
  color: var(--text-main);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.9);
}

.btn-neon:hover,
.btn-neon:focus-visible {
  transform: translateY(-2px);
  box-shadow:
    0 0 18px rgba(255, 255, 255, 0.9),
    0 0 30px #ffe392;
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  transform: translateY(-2px);
  background: rgba(0, 0, 0, 0.45);
}

/* ===== HERO / TITLE ===== */

.movie-hero {
  text-align: center;
  padding: 4rem 1.4rem 5rem;
  margin-bottom: 2rem;
  border-radius: 1rem;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.08), transparent 55%),
    rgba(0, 0, 0, 0.65);
  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.95),
    0 0 40px rgba(255, 217, 107, 0.25);
}

.movie-hero::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at 15% 0, rgba(255, 56, 188, 0.45), transparent 55%),
    radial-gradient(circle at 85% 100%, rgba(18, 228, 255, 0.4), transparent 55%);
  mix-blend-mode: screen;
  opacity: 0.5;
  pointer-events: none;
}

.movie-title-wrap {
  position: relative;
  z-index: 1;
}

.movie-label {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.75rem;
  color: var(--accent-gold);
  margin-bottom: 0.4rem;
}

.movie-title-neon {
font-family: "Poller One", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: clamp(2.5rem, 6vw, 4rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ffffff; /* white text */
  margin-bottom: 0.4rem;

  /* Subtle white glow */
  text-shadow:
    0 0 4px rgba(255, 255, 255, 0.55),
    0 0 10px rgba(255, 255, 255, 0.45),
    0 0 18px rgba(255, 255, 255, 0.35);

    animation: opacity 5s
}




.movie-subtitle {
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.movie-meta-bar {
  position: relative;
  z-index: 1;
  margin-top: 5rem;
  padding-top: 0.7rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.25);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: center;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255, 247, 236, 0.85);
}

/* ===== INFO SECTION ===== */

.movie-info-section {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.movie-info-card,
.movie-note-card,
.critique-card {
  border-radius: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.7);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.85);
  padding: 1.3rem 1.4rem 1.4rem;
}

.movie-info-card h2,
.movie-note-card h2,
.critique-card h2 {
  font-family: "Cinzel", serif;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 2rem;
  margin-top: .5rem;
  color: var(--accent-gold);
}

.movie-info-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.9rem 1.2rem;
  font-size: 0.9rem;
}

.movie-info-grid h3 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  margin-bottom: 0.15rem;
}

.movie-info-grid p {
  font-size: 0.9rem;
  line-height: 1.5;
}

.movie-note-card p {
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ===== CRITIQUE SECTION ===== */

.critique-section {
  margin-bottom: 8rem;
}

.critique-card h3 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-top: 1.1rem;
  margin-bottom: 0.35rem;
  color: var(--accent-gold-soft);
}

.critique-card p {
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ===== BOTTOM NAV (NEXT MOVIES) ===== */

.movie-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-top: 1.2rem;
}

.movie-nav-next {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.3rem;
}

.nav-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
}

/* ===== RESPONSIVE MOVIE PAGE ===== */

@media (max-width: 768px) {
  .movie-page {
    padding-inline: 1rem;
  }

  .movie-info-section {
    grid-template-columns: minmax(0, 1fr);
  }

  .movie-nav {
    flex-direction: column;
    align-items: stretch;
  }

  .movie-nav-next {
    align-items: flex-start;
  }

    .page-title {
    font-size: 2rem;
  }
}





/* ===== GLOBAL FOOTER ===== */

.site-footer {
  margin-top: 3rem;
  padding: 2.5rem 1rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  box-shadow: 0 -10px 35px rgba(0, 0, 0, 0.6);
}

.footer-inner {
  max-width: 900px;
  margin: 0 auto;
}

.footer-title {
  margin-bottom: 0.6rem;
}

/* Neon text for "The End" */
.footer-neon {
  font-family: "Cinzel", serif;
  font-size: 1.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fff;
  text-shadow:
    0 0 6px rgba(255, 255, 255, 0.8),
    0 0 14px rgba(255, 56, 188, 0.9),
    0 0 26px rgba(18, 228, 255, 0.9),
    0 0 42px rgba(255, 86, 255, 1);
}

.footer-line {
  font-size: 0.9rem;
  margin: 0.3rem 0;
  color: var(--text-main);
}

.footer-sub {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  font-size: 0.85rem;
}

.footer-link {
  text-decoration: none;
  color: var(--accent-gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-link:hover {
  text-decoration: underline;
  color: #ffe9a8;
}

/* Responsive footer tweaks */
@media (max-width: 600px) {
  .footer-neon {
    font-size: 1.5rem;
  }
}




/*ANIMATIONS */

/* =============== ANIMATION KEYFRAMES =============== */

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes neonPulse {
  0% {
    text-shadow:
      0 0 4px rgba(255, 255, 255, 0.6),
      0 0 12px rgba(255, 215, 0, 0.5);
  }
  50% {
    text-shadow:
      0 0 6px rgba(255, 255, 255, 0.9),
      0 0 20px rgba(255, 215, 0, 0.9);
  }
  100% {
    text-shadow:
      0 0 3px rgba(255, 255, 255, 0.5),
      0 0 10px rgba(255, 215, 0, 0.4);
  }
}

@keyframes opacity {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.movie-grid{
  animation: cardIn 0.7s ease-out both;
}

.movie-link {
  animation: fadeUp 0.7s ease-out both;
}

.critique-section{
  animation: fadeDown 1s ease-out both;
}
}

/* PAGE TITLE BLOCK ANIMATION */
.page-title-block {
  animation: fadeDown 0.7s ease-out both;
}

.movie-hero {
  animation: fadeDown 0.7s ease-out both;
}

/* You already have .page-title styled, just enhance it slightly */
.page-title {
  animation: neonPulse 2.2s ease-in-out infinite alternate;
 
}

/* INTRO SECTION SLIDE/FADE IN */
.intro {
  animation: fadeUp 0.8s ease-out 0.15s both;
}


.footer-neon {
  display: inline-block;
  font-family: "Poller One", system-ui, sans-serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  animation: neonPulse 2.2s ease-in-out infinite alternate;
}

