@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* RESET */

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  font-family:'Inter',sans-serif;
  background:
    radial-gradient(circle at top,
    #1a2240 0%,
    #0a0f1f 45%,
    #050816 100%);
    
  color:white;
  overflow-x:hidden;
  min-height:100vh;
}

/* ===== HERO SECTION ===== */

.hero{
  position:relative;
  min-height:85vh;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:80px 20px 40px;
}

.hero::before{
  content:"";
  position:absolute;
  inset:0;

  background:
    linear-gradient(
      rgba(0,0,0,.45),
      rgba(0,0,0,.7)
    );

  z-index:1;
}

.hero-content{
  position:relative;
  z-index:2;
  max-width:900px;
}

.hero-tag{
  display:inline-block;
  padding:10px 18px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:999px;
  backdrop-filter:blur(12px);
  margin-bottom:24px;

  font-size:.8rem;
  letter-spacing:2px;
  opacity:.9;
}

.hero h1{
  font-size:4rem;
  line-height:1.1;
  margin-bottom:24px;
  font-weight:700;
}

.hero p{
  font-size:1.2rem;
  line-height:1.8;
  opacity:.75;
  max-width:720px;
  margin:auto auto 35px;
}

.hero-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;

  padding:16px 34px;

  border-radius:18px;
  text-decoration:none;
  color:white;

  background:
    linear-gradient(
      135deg,
      #4facfe,
      #00c6ff
    );

  font-weight:600;

  transition:.35s ease;
  box-shadow:
    0 15px 40px rgba(0,198,255,.25);
}

.hero-button:hover{
  transform:translateY(-4px);
  box-shadow:
    0 20px 45px rgba(0,198,255,.4);
}

/* ===== REVISTA ===== */

.magazine-section{
  width:100%;
  padding:40px 20px 120px;

  display:flex;
  justify-content:center;
  align-items:center;
}

#flipbook-wrapper{
  width:100%;
  display:flex;
  justify-content:center;
  align-items:center;
}

#flipbook{
  width:min(95vw, 900px);

  aspect-ratio: 16 / 11.5;

  height:auto;

  position:relative;
  transform-origin:center center;

  border-radius:20px;

  overflow:hidden;

  box-shadow:
    0 30px 80px rgba(0,0,0,.55);
}

/* TODAS AS PÁGINAS */

#flipbook > div{
  width:100%;
  height:100%;
}

/* CAPA */

.hard.cover img{
  width:95%;
  height:100%;

  object-fit:cover;
  object-position:center;

  display:block;
}

/* PÁGINAS */

.page img{
  width:100%;
  height:100%;

  object-fit:cover;
  object-position:center;

  display:block;
}

/* LOMBADA */

#flipbook::before{
  content:"";

  position:absolute;

  top:0;
  left:50%;

  width:2px;
  height:100%;

  background:
    rgba(0,0,0,.2);

  transform:translateX(-50%);

  z-index:9999;

  pointer-events:none;
}

/* SOMBRA CENTRAL */

#flipbook::after{
  content:"";

  position:absolute;

  top:0;
  left:50%;

  width:40px;
  height:100%;

  transform:translateX(-50%);

  background:
    radial-gradient(
      ellipse at center,
      rgba(0,0,0,.28) 0%,
      rgba(0,0,0,.14) 30%,
      rgba(0,0,0,.06) 50%,
      rgba(0,0,0,0) 75%
    );

  z-index:9998;

  pointer-events:none;
}

/* ===== FOOTER ===== */

.footer{
  border-top:
    1px solid rgba(255,255,255,.08);

  padding:70px 20px;
}

.footer-content{
  max-width:1200px;
  margin:auto;
  text-align:center;
}

.footer-logo{
  font-size:2rem;
  font-weight:700;
  margin-bottom:15px;
}

.footer-text{
  opacity:.7;
  line-height:1.7;
  margin-bottom:30px;
}

.footer-links{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:25px;

  margin-bottom:35px;
}

.footer-links a{
  color:white;
  text-decoration:none;
  opacity:.65;

  transition:.3s ease;
}

.footer-links a:hover{
  opacity:1;
}

.footer-copy{
  opacity:.45;
  font-size:.95rem;
}

/* ===== MOBILE ===== */

@media (max-width: 768px){

  .hero{
    min-height:auto;
    padding:120px 20px 60px;
  }

  .hero h1{
    font-size:2.5rem;
  }

  .hero p{
    font-size:1rem;
  }

 #flipbook{
  width:95vw;
  height:auto;

  aspect-ratio:16 / 11.5;

  border-radius:12px;
}

  #flipbook > div img{
    width:100%;
    height:100%;

    object-fit:contain;
    object-position:center;
  }

  #flipbook::before,
  #flipbook::after{
    display:none;
  }


.footer-divider{
  width:120px;
  height:1px;

  margin:35px auto;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(255,255,255,.25),
      transparent
    );
}

img{
  max-width:100%;
}

@media (min-width: 769px) and (max-width: 1024px){

  .hero h1{
    font-size:3rem;
  }

  #flipbook{
    width:90vw;
  }

}