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

body{
    background:#050505;
    color:white;
    font-family:'Poppins',sans-serif;
    min-height:100vh;
}

/* Back Button */

.back-btn{
    display:inline-block;
    color:#ffcc00;
    text-decoration:none;
    font-weight:600;
    padding:15px 25px;
    margin:20px;
    transition:.3s;
}

.back-btn:hover{
    transform:translateX(-5px);
}

/* DC Banner */

.universes-banner{
    height:450px;
    background:
    linear-gradient(rgba(0,0,0,.45),rgba(0,0,0,.75)),
    url('https://wallpapercave.com/wp/wp1945908.jpg');
    background-size:cover;
    background-position:center;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
    margin-bottom:50px;
}

.universes-banner h1{
    font-size:5rem;
    color:#ffcc00;
    font-weight:700;
    margin-bottom:15px;
    text-shadow:0 0 20px rgba(255,204,0,.5);
}

.universes-banner p{
    font-size:1.3rem;
    color:white;
}

/* Movie Grid */

.movie-grid{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:30px;
    padding:30px;
}

/* Movie Cards */

.movie-card{
    width:260px;
    background:#101010;
    border-radius:25px;
    overflow:hidden;
    border:1px solid rgba(255,204,0,.2);
    transition:all .3s ease;
    cursor:pointer;
}

.movie-card:hover{
    transform:translateY(-10px);
    box-shadow:0 0 30px rgba(255,204,0,.5);
}

.movie-card img{
    width:100%;
    height:380px;
    object-fit:cover;
    display:block;
}

.movie-info{
    padding:18px;
    text-align:center;
}

.movie-info h3{
    color:white;
    font-size:1.3rem;
    margin-bottom:8px;
}

.movie-info p{
    color:#ffcc00;
    font-size:1rem;
}

/* Animations */

body{
    animation:fadeIn 1s ease;
}

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

.movie-card{
    animation:cardPop .8s ease;
}

@keyframes cardPop{
    from{
        opacity:0;
        transform:scale(.9);
    }
    to{
        opacity:1;
        transform:scale(1);
    }
}

/* Mobile */

@media(max-width:768px){

    .universes-banner{
        height:300px;
    }

    .universes-banner h1{
        font-size:3rem;
    }

    .movie-card{
        width:200px;
    }

    .movie-card img{
        height:300px;
    }
}
.movie-link{
    text-decoration: none;
    color: white;
}

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

.movie-link h3{
    text-decoration: none;
}
.universes-banner{
    height:450px;
    background:
    linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.75)),
    url('https://www.rollingstone.com/wp-content/uploads/2018/06/justice-league-0bc218d8-2ea7-4fb9-b189-ce1c760290c7.jpg?w=1280&h=880&crop=1');
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;

    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
}
.universes-banner{
    height: 400px;
    background: linear-gradient(
        rgba(0,0,0,0.55),
        rgba(0,0,0,0.75)
    ),
    url("https://www.rollingstone.com/wp-content/uploads/2018/06/justice-league-0bc218d8-2ea7-4fb9-b189-ce1c760290c7.jpg?w=1280&h=880&crop=1");

    background-size: contain;   /* shows more of image */
    background-repeat: no-repeat;
    background-position: center;
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.universes-banner{
    position: relative;
    width: 100%;
    height: 450px;
    border-radius: 25px;
    overflow: hidden;
    margin-bottom: 50px;

    background-image:
    linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.75)),
    url('https://www.rollingstone.com/wp-content/uploads/2018/06/justice-league-0bc218d8-2ea7-4fb9-b189-ce1c760290c7.jpg?w=1280&h=880&crop=1');

    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
/* Movie Light Animation */

body::before{
    content:'';
    position:fixed;
    top:-20%;
    left:-20%;
    width:140%;
    height:140%;
    pointer-events:none;
    z-index:-1;

    background:
    radial-gradient(circle,
    rgba(255,215,0,0.12) 0%,
    rgba(255,215,0,0.04) 30%,
    transparent 70%);

    animation: movieLight 10s ease-in-out infinite;
}

@keyframes movieLight{
    0%{
        transform:translate(-100px,-50px) rotate(0deg);
    }

    50%{
        transform:translate(100px,50px) rotate(10deg);
    }

    100%{
        transform:translate(-100px,-50px) rotate(0deg);
    }
}
@media (max-width:768px){

    .movie-grid{
        display:grid;
        grid-template-columns:repeat(2, 1fr);
        gap:16px;
        padding:0 10px;
    }

    .movie-card{
        width:100%;
        min-width:0;
    }

    .movie-card img{
        width:100%;
        height:230px;
        object-fit:cover;
        border-radius:18px 18px 0 0;
    }

    .movie-info{
        padding:12px;
    }

    .movie-info h3{
        font-size:18px;
        line-height:1.2;
    }

    .movie-info p{
        font-size:14px;
    }
}

/* FLOP CORN updated wide brand logo */
.flopcorn-logo-img,
.logo-icon img,
.movie-logo img,
.ai-logo img,
.category-logo img,
.explore-logo img,
.quiz-logo img,
.sched-logo img,
.footer-logo img,
.small-flopcorn-logo {
  width: clamp(118px, 15vw, 190px);
  height: auto;
  max-height: 72px;
  object-fit: contain;
  border-radius: 0;
  display: block;
}
.logo-icon {
  width: auto !important;
  height: auto !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  overflow: visible !important;
  flex-shrink: 0;
}
.small-flopcorn-logo { width: 92px; max-height: 38px; }
@media (max-width: 600px) {
  .flopcorn-logo-img, .logo-icon img, .movie-logo img, .ai-logo img,
  .category-logo img, .explore-logo img, .quiz-logo img, .sched-logo img,
  .footer-logo img { width: clamp(105px, 35vw, 145px); max-height: 54px; }
}
