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

html, body{
  overscroll-behavior: none;
  background-color: #2A1414;
  color: #fff;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

footer{
  
  z-index: 10;
}


.page{
  min-height: 95vh;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.hero-content{
    z-index: 10;
}

/* Capa de rejilla */
.grid-overlay{
  position: absolute;
  inset: 0; 
  z-index: 1;
  background-image:
    linear-gradient(to right, #FF3A3A50 1px, transparent 1px),
    linear-gradient(to bottom, #FF3A3A50 1px, transparent 1px);

  background-position: 0 0;

  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000 40%, transparent 80%);
  mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000 40%, transparent 80%);
}

#unmute-overlay {
  font-size: 1.5rem;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

#unmute-overlay.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
}


.button-insta{
  background-color: #3a2828bf;
  cursor: pointer;
}

#cta-fixed{
    z-index: 100;
}


.group:hover .group-div {
  animation-play-state: paused;
}

.group {
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 4%,
    black 96%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 4%,
    black 96%,
    transparent 100%
  );
}



/* Carta para ti  */
.card-foru{
  background: linear-gradient(180deg,#ffffff10 0%, #d4d4d400 100%);
  transition: background, all 0.3s ease-out;
}

.card-foru:hover{
  background: linear-gradient(180deg,#ff000010 0%, #d4d4d400 100%);
}


.scroll-animation-left{
   animation: loop-scroll-left 40s linear infinite;
}

.scroll-animation-right{
   animation: loop-scroll-right 50s linear infinite;
}

@keyframes loop-scroll-left {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}

@keyframes loop-scroll-right {
  from { transform: translateX(-100%); }
  to   { transform: translateX(0); }
}


#reload-icon{
  animation: rotate 4s linear infinite;
}

@keyframes rotate {
  from { transform: rotate(-360deg); }
  to   { transform: rotate(0deg); }
}

.animation-slide-up{
  animation: slideUpSmooth 1s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* CTA Fixed */
#cta-fixed {
  position: relative;
  opacity: 0;
  /* Transición suave para TODAS las propiedades */
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  animation: slideUpSmooth 1s cubic-bezier(0.34, 1.56, 0.64, 1);
  
  animation-fill-mode: forwards;
}

#cta-fixed.is-fixed {
  position: fixed;
  bottom: 7rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  
  /* Animación de entrada más suave */
  animation: slideInSmooth 1s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation-fill-mode: forwards;
}

@keyframes slideInSmooth {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(-60px) scale(0.9);
  }
  100% {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
  }
}

@keyframes slideUpSmooth {
  0% {
    opacity: 1;
    transform: translateY(60px) scale(0.9);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* sm: (640px y superior) */
@media (min-width: 640px) {
  #cta-fixed.is-fixed {
    bottom: 7rem; /* 20 en Tailwind = 5rem (80px) */
  }
}

/* md: (768px y superior) */
@media (min-width: 768px) {
  #cta-fixed.is-fixed {
    bottom: 7rem; /* 28 en Tailwind = 7rem (112px) */
  }
}

/* lg: (1024px y superior) */
@media (min-width: 1024px) {
  #cta-fixed.is-fixed {
    bottom: 8rem; /* 28 en Tailwind = 7rem (112px) */
  }
}


#my-video{
  width: 100%;
  height: 260px;
}

@media (width >= 40rem) {
  #my-video{
    width: 100%;
    height: 350px;
  }
}

@media (width >= 48rem) { 
  #my-video{
    width: 100%;
    height: 400px;
  }
}

@media (width >= 64rem) {
  #my-video{
    width: 100%;
    height: 400px;
  }
}

@media (width >= 80rem) {
  #my-video{
    width: 100%;
    height: 430px;
  }
}

@media (width >= 96rem) {
  #my-video{
    width: 100%;
    height: 450px;
  }
}



/* @keyframes cta-fixed {
	from {
		background-position: 50% 0;
		height: 100vh;
		font-size: calc(4vw + 1em);
	}
	to {
		background-position: 50% 100%;
		background-color: #0b1584;
		height: 10vh;
		font-size: 2em;
	}
} */


/* .autoShow {
  opacity: 0;
  animation: fadeInSoft both;
  animation-timeline: view();
}

@keyframes fadeInSoft {
  from {
    opacity: 0;
    transform: translateY(100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
} */


/* fonts */


/* inter */
@font-face {
    font-family: 'inter-ligth';
    src: url("./assets/fonts/inter/Inter-Light-BETA.otf");
}

@font-face {
    font-family: 'inter';
    src: url('./assets/fonts/inter/Inter-Regular.otf');
}

@font-face {
    font-family: 'inter-medium';
    src: url("./assets/fonts/inter/Inter-Medium.otf");
}

/* playfair */
@font-face {
    font-family: 'playfair-italic';
    src: url("./assets/fonts/playfair/PlayfairDisplay-Italic.ttf");
}

@font-face {
    font-family: 'playfair-bold-italic';
    src: url("./assets/fonts/playfair/PlayfairDisplay-BoldItalic.ttf");
}

