* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;  
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-size: clamp(15px, 3.6vw, 17px);
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  background: #0B1020;
  color: white;
}
body::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(90% 70% at 50% 25%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(90% 70% at 50% 25%, #000 0%, transparent 75%);
  pointer-events: none;
}
body::before {
    content: "";
    position: fixed;
    width: 500px;
    height: 500px;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);

    background: #8b5cf633;
    filter: blur(120px);
    border-radius: 50%;

    pointer-events: none;
    z-index: -1;
}

.hero{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: clamp(10px, 3vw, 20px);
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.363);
    width: min(900px,90%);
    margin: auto;
    margin-top: 1rem;
    border-radius: clamp(24px, 6vw, 50px);
    padding: clamp(10px, 2.5vw, 0px) clamp(16px, 4vw, 0px);
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.089),
    inset 2px 2px 2px rgba(255, 255, 255, 0.185),
    inset -2px -2px 2px rgba(0, 0, 0, 0.212);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.199);

}

.hero h1{
    text-align: center;
    color: white;
    font-size: clamp(1.25rem, 4.5vw, 2rem);
    margin: clamp(10px, 3vw, 20px) 0;
}

.hero img{
    width: clamp(55px, 12vw, 95px);
    filter: invert(1);
    opacity: .9;
}

.subtitle-box,.filmes{
    width: min(900px,90%);
    display: flex;
    margin: auto;
}

    .subtitle-box{
        margin-top: 4%;
    }

    .subtitle-1{
        opacity: .6;
        margin-left: 6px;
    }

.filme-main{
    width: min(900px,90%);
    margin: clamp(2rem, 6vw, 3rem) auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: clamp(16px, 4vw, 30px);
}

.filme img{

width: 300px;
border-radius: 25px;
box-shadow: 3px 3px 8px black;
cursor: pointer;
transition: .3s ease;
}

.filme img:hover{

    transform: translateY(-5px);
    box-shadow: 0 0 15px rgba(214, 142, 255, 0.7);

}

.filme img:active{

        transform: translateY(0px)scale(.98);

}

.Filme-Img{

    display: flex;
    margin-top: 3%;
    flex-direction: column;
    align-items: center;
    margin: 0;
    flex: 1 1 260px;
    max-width: 450px;
    
}
.preco{
    
    width: min(225px,90%);
    display: flex;
    justify-content: center;
    margin-top: 2.5%;
}

.preco h2 {
    margin: 0;
    padding: 8px 18px;
    border-radius: 999px;

    background: #a775f8;
    font-size: clamp(.8rem, 2.4vw, .9rem);

    box-shadow:
        inset 2px 2px 3px rgba(255,255,255,.25),
        0 5px 15px rgba(167,117,248,.2);
}

.Filme-Img img{
    width: clamp(170px, 42vw, 225px);
    border-radius: 25px;
}

.filme-info{

    display: flex;
    flex: 1 1 300px;
    max-width: 450px;
    flex-direction: column;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    background: rgba(255, 255, 255, 0.26);
    color: rgb(246, 244, 255);
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.377),
    inset 2px 2px 3px rgba(255, 255, 255, 0.178),
    inset -2px -2px 3px rgba(0, 0, 0, 0.37);
    text-shadow: 0 3px 1px rgba(0, 0, 0, 0.281);
    border-radius: 25px;
    padding: clamp(.85rem, 3vw, 1rem);
    animation-delay: 1s;
}

.filme-info h2{
    text-align: justify;
    letter-spacing: 1px;
    font-size: clamp(1.25rem, 4vw, 1.6rem);
}

.filme-info label{
    border-top: 1px solid #ffffff2f;
    margin-top: 10px;
}

.time-box,.sub{
    display: flex;
    flex-wrap: wrap;
    width: min(900px,90%);
    justify-content: center;
    margin: auto;
    gap: clamp(10px, 2.5vw, 16px);
}

.time {
    width: clamp(92px, 24vw, 110px);
    padding: clamp(9px, 2.5vw, 12px) clamp(10px, 3vw, 14px);

    display: flex;
    flex-direction: column;
    align-items: center;

    border: 1px solid #a775f8;
    border-radius: 18px;
    background: #a775f831;

    color: white;
    font-family: inherit;

    cursor: pointer;
    transition: .25s ease;
}

.time:hover{
    background: #a775f857;
    transform: translateY(-3px);
    box-shadow: 0 0 5px #c9a8ff;
}

.time:active{
    transform: translateY(0);
    background: #8b61cf57;

}

.time strong {
    font-size: clamp(1.2rem, 4vw, 1.5rem);
    line-height: 1.2;
}

.time span {
    margin-top: 5px;
    font-size: .8rem;
    font-weight: 600;
}

.time small {
    font-size: .7rem;
    opacity: .7;
}

.sub h2{
    border-bottom: 1px white solid;
    font-size: clamp(1.15rem, 4vw, 1.5rem);
}

.footer {
    width: min(900px, 90%);
    margin: clamp(60px, 12vw, 100px) auto 20px;
    padding: clamp(18px, 4vw, 25px) clamp(18px, 4vw, 30px) clamp(12px, 3vw, 15px);

    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;

    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    color: white;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: clamp(14px, 4vw, 30px);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-brand img {
    width: 38px;
    filter: invert(1);
    opacity: .8;
}

.footer-brand div {
    display: flex;
    flex-direction: column;
}

.footer-brand strong {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1rem;
}

.footer-brand span {
    font-size: .75rem;
    opacity: .5;
}

.footer-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;

    font-size: .75rem;
    opacity: .5;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 4px;

    margin-top: 20px;
    padding-top: 12px;

    border-top: 1px solid rgba(255, 255, 255, 0.08);

    font-size: .7rem;
    opacity: .4;
}

.hero,
.filmes,
.filme-main,
.time-box,
.footer,
.subtitle-box,
.filme-info,
.backBox {
    animation: aparecer .6s ease both;
}

@keyframes aparecer {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.backBox{

    width: min(900px,90%);
    display: flex;
    justify-content: center;
    margin: auto;
    margin-top: 20px;
}
.backBtn{
    padding: 10px;
    border-radius: 50px;
    border: 1px rgba(255, 255, 255, 0.384) solid;
    background: #a775f871;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    color: white;
    font-size: 1rem;
    box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.507),
    inset 2px 2px 3px rgba(255, 255, 255, 0.178),
    inset -2px -2px 3px rgba(0, 0, 0, 0.315);
    cursor: pointer;
    transition: .25s ease;
}

.backBtn:active{
    transform: scale(.95);
    background: #c6a2ff71;

}

/* =========================================================
   Ajustes finos só onde a escala fluida (clamp) não resolve:
   alinhamento do footer em telas muito estreitas, para não
   deixar o texto a direita "flutuando" sem referencia.
   ========================================================= */
@media (max-width: 480px) {

    .footer-content{
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-info{
        align-items: flex-start;
    }
}