@import '/css/variables.css';
@import '/css/fonts.css';

body.fibonacci-active header {
    background-color: #141414 !important;
    color: #FFFFFB !important;
  }

body.fibonacci-active footer {
  background-color: #161616 !important;
}

body {
  background: #EBEBEB;
  background: #0b63c115;
  font-family: var(--inter);
}

.font-squadaone {
  font-family: var(--squada);
}


.light-italic {
    font-style: italic;
    transform: skewX(-8deg);
    font-weight: 500;
}
 

.letter-container {
    width: 24px;
    height: 24px;
    display: flex;
    /* align-items: flex-end; */
    justify-content: center;
    position: relative;
}

.letter {
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: bottom center;
    line-height: 1;
    position: absolute;
    bottom: 0;
    text-align: center;
    min-width: 16px;
}

.font-extralight { font-weight: 200; }
.font-light { font-weight: 300; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }





/* Animação de bounce para as setas */
@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-2px);
  }
}

.bounce-arrow {
  animation: bounce 1s ease-in-out infinite;
}

/* Cor específica para quando estiver vermelho */
.text-red-400 {
  color: #f87171;
}

.text-green-400 {
  color: #4ade80;
}

.text-yellow-400 {
  color: #fbbf24;
}






/* Animação da mensagem vindo da direita */
@keyframes slideInFromRight {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    20% {
        transform: translateX(0);
        opacity: 1;
    }
    80% {
        transform: translateX(0);
        opacity: 1;
    }
    100% {
        transform: translateX(-100%);
        opacity: 0;
    }
}

@keyframes fadeInOut {
    0%, 100% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
}

/* Classe para animação da mensagem */
.slide-hint {
    animation: slideInFromRight 4s ease-in-out infinite;
}

/* Classe para efeito de piscar */
.pulse-hint {
    animation: fadeInOut 2s ease-in-out infinite;
}

/* Estilo para quando o mouse está sobre a lupa */
#search-icon:hover ~ #search-hint-container #search-hint {
    color: #7c3aed; /* light-wine equivalente */
    font-weight: 500;
}


.arrow-up {
  position: absolute;
  text-align: center;
  color: #ff0000;
  animation: floatUp 1s ease-out forwards;
}

.arrow-up i {
  display: block;
}

@keyframes floatUp {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-15px);
  }
}







@keyframes bounce-arrow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}
.bounce-arrow {
    animation: bounce-arrow 1s infinite;
}

/* Melhorias de responsividade */
@media (max-width: 768px) {
    .mobile-stack {
        flex-direction: column !important;
    }
    .mobile-center {
        text-align: center !important;
        justify-content: center !important;
    }
    .mobile-full {
        width: 100% !important;
    }
    .mobile-padding {
        padding: 1rem !important;
    }
    /* .mobile-text {
        font-size: 0.875rem !important;
    } */
}

@media (max-width: 640px) {
    .mobile-grid-1 {
        grid-template-columns: 1fr !important;
    }
    .mobile-small-padding {
        padding: 0.75rem !important;
    }
}
.bounce-arrow {
    animation: bounce-arrow 1s infinite;
}


.button {
  border-radius: 50%;
  transition-duration: .3s;
}

.button:hover .bell {
  animation: bellRing 0.9s both;
}

@keyframes bellRing {
  0%,
  100% {
    transform-origin: top;
  }

  15% {
    transform: rotateZ(10deg);
  }

  30% {
    transform: rotateZ(-10deg);
  }

  45% {
    transform: rotateZ(5deg);
  }

  60% {
    transform: rotateZ(-5deg);
  }

  75% {
    transform: rotateZ(2deg);
  }
}

.button:active {
  transform: scale(0.8);
}

@keyframes bounce-up-down {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

.animate-bounce-small {
  animation: bounce-up-down 1s ease-in-out infinite;
}

.member-glow-wrapper {
  position: relative;
  overflow: hidden;
  display: inline-block;
}


.member-glow-wrapper {
  position: relative;
  overflow: hidden;
  display: inline-block;
}

.member-glow-wrapper::before,
.member-glow-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.4) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-20deg);
  pointer-events: none;
  animation: none;
}

.member-glow-wrapper::before {
  left: -75%;
  width: 50%;
}

.member-glow-wrapper::after {
  left: -85%;
  width: 25%;
}

.member-glow-wrapper.animate-glow::before {
  animation: glowSwipe1 1s ease-in-out forwards;
}

.member-glow-wrapper.animate-glow::after {
  animation: glowSwipe2 1s ease-in-out forwards;
  animation-delay: 0.2s;
}

@keyframes glowSwipe1 {
  0% {
    left: -75%;
  }
  100% {
    left: 125%;
  }
}

@keyframes glowSwipe2 {
  0% {
    left: -85%;
  }
  100% {
    left: 135%;
  }
}

.g_id_signin .abcRioButtonContents {
  display: none !important;
}

.g_id_signin .abcRioButton {
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  padding: 0 !important;
}

.spotify-iframe {
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}





#category-container {
    min-height: 50px;
}

.categories-wrapper {
    height: 44px;
    position: relative;
}

.categories-hidden {
    gap: 8px;
    opacity: 0.2;
    filter: blur(1px);
    transition: opacity 0.3s ease, filter 0.3s ease;
}

.categories-visible {
    gap: 8px;
    opacity: 1;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e0 transparent;
}

/* Mostrar scrollbar apenas quando necessário */
.categories-visible::-webkit-scrollbar {
    height: 4px;
}

.categories-visible::-webkit-scrollbar-track {
    background: transparent;
}

.categories-visible::-webkit-scrollbar-thumb {
    background-color: #cbd5e0;
    border-radius: 2px;
}

/* Efeito hover no container */
#category-container:hover .categories-hidden {
    opacity: 0;
    filter: blur(2px);
}

#category-container:hover .categories-visible {
    transform: translateX(0);
}

/* Responsividade */
@media (max-width: 768px) {
    .categories-wrapper {
        height: auto;
        min-height: 44px;
    }
    
    .categories-visible {
        gap: 6px;
        padding-right: 10px;
    }
    
    .category-filter {
        padding: 8px 12px;
        font-size: 12px;
    }
}



/* Article */
.font-playfair {
  font-family: var(--playfair);
}
.font-barlow {
  font-family: var(--barlow);
}
.font-roboto {
  font-family: var(--roboto);
}

.bg-custom-gradient-news {
  /* Inclinado para baixo à direita */
  background: linear-gradient(135deg, #F6E7B2 0%, #F6E7B2 70%, #FFFFFF 100%);
}

