:root {
  --background-gradiend-1: linear-gradient(180deg, rgb(0, 0, 0) 0%, rgba(0, 21, 36, 0.84) 100%);
  --background-gradiend-2: radial-gradient(circle, rgba(59, 131, 246, 0.18) 0%, rgba(59, 130, 246, 0) 70%);
  --background-gradiend-3: radial-gradient(circle, rgba(138, 92, 246, 0.12) 0%, rgba(139, 92, 246, 0) 70%);
  --background-gradient: linear-gradient(180deg, rgb(0, 0, 0) 0%, rgba(0, 21, 36, 0.979) 100%);
  --text-color: #ffffff;
  --border-color: #1e3a5f;
  --post-background: rgba(4, 27, 58, 0.5);
  --search-text: #a0a0a0;
  --icon-color: #ffffff;
  --background: #000000;
  --foreground: #ffffff;
  --primary: #3b82f6;
  --primary-foreground: #ffffff;
  --muted: #6b7280;
  --muted-foreground: #9ca3af;
  --border: #1f2937;
  --font-type: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

@font-face {
  font-family: 'Century Gothic';
  src: local('Century Gothic');
}

/* ***************************** */
/* Estilos Generales */
/* ***************************** */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Century Gothic', system-ui, sans-serif;
}

body {
  font-family: var(--font-type);
  background: var(--background-gradient);
  color: var(--text-color);
  min-height: 100vh;
}

/* ***************************** */
/* FIN Estilos Generales */
/* ***************************** */

/* ***************************** */
/* Estilos del Background de la Página */
/* ***************************** */
.background-gradients {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.gradient-1 {
  position: absolute;
  inset: 0;
  background: var(--background-gradiend-1);
}

.gradient-2 {
  position: absolute;
  top: 0;
  right: 0;
  width: 700px;
  height: 700px;
  background: var(--background-gradiend-2);
  transition: opacity 0.3s ease;
  animation: gradientPulse 8s infinite alternate;
}

.gradient-3 {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 700px;
  height: 700px;
  background: var(--background-gradiend-3);
  transition: opacity 0.3s ease;
  animation: gradientPulse 8s infinite alternate;
}

/*************************************/
/* FIN Estilos del Background de la Página */
/*************************************/

/**********/
/* Banner */
/**********/
.container-section-review {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.hero-section-review {
  min-height: calc(100vh - 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 4rem 2rem;
  opacity: 0;
  animation: fadeIn 2s 1s forwards;
}

.hero-section-review h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(to right, var(--foreground), var(--muted-foreground));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: transform 0.3s ease, text-shadow 0.3s ease;
}

.hero-section-review h1:hover {
  transform: scale(1.05);
  text-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

.hero-section-review p {
  max-width: 42rem;
  margin: 0 auto 2rem;
  color: var(--muted-foreground);
  transition: all 0.3s ease;
}

.hero-section-review p:hover {
  transform: translateY(-5px);
  color: var(--foreground);
}

/**************/
/* FIN Banner */
/**************/

/* ***** */
/* Posts */
/* ***** */
.main-content-review {
  padding-top: 100px;
  margin-top: 0;
  opacity: 0;
  animation: fadeIn 2s 1s forwards;
}

.container-review {
  max-width: 975px;
  margin: 0 auto;
  display: flex;
  gap: 32px;
  padding: 0 20px;
}

/* Feed Section Styles */
.feed-section-review {
  flex: 1;
  max-width: 614px;
  opacity: 0;
  animation: fadeIn 2s 1s forwards;
}

.post-review {
  background-color: var(--post-background);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 24px;
  transition: all 0.3s ease;
  animation: fadeIn 2s 1s forwards;
}

.post-review:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.post-header-review {
  display: flex;
  align-items: center;
  padding: 14px;
}

.post-header-review .profile-pic-review {
  width: 40px;
  height: 40px;
  margin-right: 10px;
  border-radius: 50%;
  object-fit: cover;
  transition: all 0.3s ease;
}

.post-header-review .profile-pic-review:hover {
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.5);
}

.post-header-review .username-review {
  flex: 1;
  font-weight: 600;
  color: var(--text-color);
  transition: color 0.3s ease;
}

.post-header-review .username-review:hover {
  color: var(--primary);
}

.post-image-review img {
  width: 100%;
  height: auto;
}

.post-actions-review {
  display: flex;
  justify-content: space-between;
  padding: 14px;
}

.actions-left-review {
  display: flex;
  gap: 16px;
}

.post-actions-review i {
  font-size: 24px;
  cursor: pointer;
  color: var(--icon-color);
  transition: all 0.3s ease;
}

.post-actions-review i:hover {
  transform: scale(1.2);
  color: var(--primary);
}

.post-info-review {
  padding: 0 14px 14px;
}

.likes-review {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-color);
  transition: all 0.3s ease;
}

.likes-review:hover {
  transform: scale(1.05);
  color: var(--primary);
}

.caption-review {
  margin-bottom: 8px;
  transition: all 0.3s ease;
}

.caption-review:hover {
  padding-left: 10px;
  border-left: 2px solid var(--primary);
}

.caption-review .username-review {
  font-weight: 600;
  margin-right: 6px;
  color: var(--text-color);
}

.timestamp-review {
  font-size: 10px;
  color: var(--search-text);
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.timestamp-review:hover {
  color: var(--foreground);
  letter-spacing: 1px;
}

.post-carousel-review {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.carousel-container-review {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-slide-review {
  min-width: 100%;
  height: auto;
  transition: all 0.5s ease;
}

.carousel-slide-review:hover {
  filter: brightness(1.1);
}

.carousel-slide-review img,
.carousel-slide-review video {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.carousel-button-review {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.3);
  color: white;
  border: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  transition: all 0.3s ease;
}

.carousel-button-review:hover {
  transform: translateY(-50%) scale(1.2);
  background: rgba(59, 130, 246, 0.5);
}

.carousel-button-review.prev-review {
  left: 8px;
}

.carousel-button-review.next-review {
  right: 8px;
}

.carousel-button-review::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-top: 2px solid white;
  border-right: 2px solid white;
}

.carousel-button-review.prev-review::before {
  transform: rotate(-135deg);
  margin-left: 2px;
}

.carousel-button-review.next-review::before {
  transform: rotate(45deg);
  margin-right: 2px;
}

/* ********* */
/* FIN Posts */
/* ********* */

/* ************** */
/* Estilos de la Sidebar */
/* ************** */
.sidebar-review {
  width: 319px;
  position: fixed;
  right: calc((100% - 975px) / 2);
  top: 100px;
  display: none;
  opacity: 0;
  animation: fadeIn 2s 1s forwards;
}

.profile-section-review {
  display: flex;
  align-items: center;
  margin-bottom: 24px;
  background-color: rgba(255, 255, 255, 0.123);
  padding: 16px;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.profile-section-review:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.18);
}

.profile-section-review .profile-pic-review {
  width: 56px;
  height: 56px;
  margin-right: 12px;
  border-radius: 50%;
}

.profile-info-review {
  flex: 1;
}

.profile-info-review .username-review {
  font-weight: 600;
  display: block;
  color: var(--text-color);
}

.profile-info-review .sub-text-review {
  color: var(--search-text);
}

.switch-btn-review {
  color: #ffffff;
  font-weight: 600;
  background: none;
  cursor: pointer;
  padding: 8px 12px;
  font-size: 16px;
  border-radius: 50%;
  transition: all 0.3s ease-in-out;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.switch-btn-review:hover {
  background: #ffffff;
  color: #000000;
  transform: scale(1.1);
}

.switch-btn-review:active {
  transform: scale(0.9);
}

.switch-btn-review::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.3);
  transition: left 0.3s ease-in-out;
}

.switch-btn-review:hover::before {
  left: 100%;
}

.switch-btn-review i {
  font-size: 18px;
}

.suggestions-header-review {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
}

.suggestions-header-review span {
  color: var(--search-text);
  font-weight: 600;
}

.suggestions-header-review a {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 12px;
  transition: all 0.3s ease;
  position: relative;
}

.suggestions-header-review a:hover {
  color: var(--primary);
}

.suggestions-header-review a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.suggestions-header-review a:hover::after {
  width: 100%;
}

.suggestion-item-review {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
  transition: all 0.3s ease;
}

.suggestion-item-review:hover {
  transform: translateX(10px);
  background-color: rgba(255, 255, 255, 0.05);
  padding: 8px;
  border-radius: 8px;
}

.suggestion-item-review .profile-pic {
  width: 32px;
  height: 32px;
  margin-right: 12px;
}

.suggestion-info-review {
  flex: 1;
}

.suggestion-info-review .username-review {
  font-weight: 600;
  font-size: 14px;
  display: block;
  color: var(--text-color);
}

.suggestion-info-review .sub-text-review {
  color: var(--search-text);
  font-size: 12px;
}

/* ****************** */
/* FIN Estilos de la Sidebar */
/* ****************** */

/* *********************** */
/* Estilos del Scroll Container */
/* *********************** */
.scroll-container {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.mouse-icon {
  width: 25px;
  height: 42px;
  border: 2px solid white;
  border-radius: 20px;
  position: relative;
  transition: all 0.3s ease;
}

.mouse-icon:hover {
  transform: scale(1.1);
  border-color: var(--primary);
}

.mouse-wheel {
  width: 6px;
  height: 10px;
  background: white;
  border-radius: 50%;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll-wheel 1.5s infinite;
}

.arrow-container {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.arrow {
  width: 10px;
  height: 10px;
  border-right: 2px solid white;
  border-bottom: 2px solid white;
  transform: rotate(45deg);
  opacity: 0.7;
  animation: arrow-move 1.5s infinite;
}

/* Animaciones */
@keyframes expandLine {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

@keyframes slideUpFade {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes scroll-wheel {
  0% {
    opacity: 1;
    transform: translate(-50%, 0);
  }

  50% {
    opacity: 0;
    transform: translate(-50%, 10px);
  }

  100% {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@keyframes arrow-move {
  0% {
    opacity: 0;
    transform: translateY(-5px) rotate(45deg);
  }

  50% {
    opacity: 1;
    transform: translateY(0) rotate(45deg);
  }

  100% {
    opacity: 0;
    transform: translateY(5px) rotate(45deg);
  }
}

@keyframes gradientPulse {
  0% {
    opacity: 0.5;
    transform: scale(1);
  }

  100% {
    opacity: 0.8;
    transform: scale(1.1);
  }
}

/* *************************** */
/* FIN Estilos del Scroll Container */
/* *************************** */

/* ***************** */
/* Estilos Responsivos */
/* ***************** */
@media (min-width: 768px) and (max-width: 1023px) {
  .feed-section-review {
    margin: 0 auto;
    width: 100%;
  }

  .scroll-container {
    bottom: 4.5rem;
  }
}

@media (min-width: 200px) and (max-width: 767px) {
  .scroll-container {
    bottom: 1rem;
  }
}

@media (min-width: 768px) {
  .hero-section-review h1 {
    font-size: 4rem;
  }
}

@media (min-width: 1024px) {
  .hero-section-review h1 {
    font-size: 5rem;
  }
}

@media (min-width: 1000px) {
  .sidebar-review {
    display: block;
  }
}

@media (max-width: 767px) {
  .container-review-review {
    padding: 0;
  }

  .feed-section-review {
    width: 100%;
  }
}

/* ********************* */
/* FIN Estilos Responsivos */
/* ********************* */

/* Animaciones globales para secciones principales */
.hero-section-review,
.main-content-review,
.feed-section-review,
.sidebar-review {
  opacity: 0;
  animation: fadeIn 2s 1s forwards;
}

/* Efectos para el hero section */
.hero-section-review h1 {
  transition: transform 0.3s ease, text-shadow 0.3s ease;
}

.hero-section-review h1:hover {
  transform: scale(1.05);
  text-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

.hero-section-review p {
  transition: all 0.3s ease;
}

.hero-section-review p:hover {
  transform: translateY(-5px);
  color: var(--foreground);
}

/* Efectos para los posts */
.post-review {
  transition: all 0.3s ease;
  animation: fadeIn 2s 1s forwards;
}

.post-review:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Efectos para las imágenes de perfil */
.profile-pic-review {
  transition: all 0.3s ease;
}

.profile-pic-review:hover {
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.5);
}

/* Efectos para los nombres de usuario */
.username-review {
  transition: color 0.3s ease;
}

.username-review:hover {
  color: var(--primary);
}

/* Efectos para los botones de acción */
.post-actions-review i {
  transition: all 0.3s ease;
}

.post-actions-review i:hover {
  transform: scale(1.2);
  color: var(--primary);
}

/* Efectos para el carrusel */
.carousel-slide-review {
  transition: all 0.5s ease;
}

.carousel-slide-review:hover {
  filter: brightness(1.1);
}

/* Efectos para la sidebar */
.profile-section-review {
  transition: all 0.3s ease;
}

.profile-section-review:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.18);
}

/* Efectos para las sugerencias */
.suggestion-item-review {
  transition: all 0.3s ease;
}

.suggestion-item-review:hover {
  transform: translateX(10px);
  background-color: rgba(255, 255, 255, 0.05);
  padding: 8px;
  border-radius: 8px;
}

/* Efectos para los gradientes */
.gradient-2,
.gradient-3 {
  transition: opacity 0.3s ease;
  animation: gradientPulse 8s infinite alternate;
}

@keyframes gradientPulse {
  0% {
    opacity: 0.5;
    transform: scale(1);
  }

  100% {
    opacity: 0.8;
    transform: scale(1.1);
  }
}

/* Efectos para el scroll container */
.mouse-icon {
  transition: all 0.3s ease;
}

.mouse-icon:hover {
  transform: scale(1.1);
  border-color: var(--primary);
}

/* Animación para elementos que aparecen en scroll */
.fade-in-element {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.fade-in-element.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Efectos para los botones del carrusel */
.carousel-button-review {
  transition: all 0.3s ease;
}

.carousel-button-review:hover {
  transform: translateY(-50%) scale(1.2);
  background: rgba(59, 130, 246, 0.5);
}

/* Efectos para timestamps */
.timestamp-review {
  transition: all 0.3s ease;
}

.timestamp-review:hover {
  color: var(--foreground);
  letter-spacing: 1px;
}

/* Efectos para los likes */
.likes-review {
  transition: all 0.3s ease;
}

.likes-review:hover {
  transform: scale(1.05);
  color: var(--primary);
}

/* Efectos para la caption */
.caption-review {
  transition: all 0.3s ease;
}

.caption-review:hover {
  padding-left: 10px;
  border-left: 2px solid var(--primary);
}

/* Clases para animaciones de aparición */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Delays para animaciones secuenciales */
.delay-1 {
  transition-delay: 0.2s;
}

.delay-2 {
  transition-delay: 0.4s;
}

.delay-3 {
  transition-delay: 0.6s;
}