:root {
  --primary-color: blueviolet;
  --shadow-color: rgba(138, 43, 226, 0.4);
  --text-color: #f0f0f0;
}

@keyframes animatedGradient {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.home {
  min-height: 40vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(-45deg, #1f1f2e, #2c2c44, #3a2d58, var(--primary-color));
  background-size: 400% 400%;
  animation: animatedGradient 15s ease infinite;
}

.home-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
  max-width: 800px;
  animation: fadeIn 1s ease-in-out;
  color: var(--text-color);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.home-content h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(2rem, 8vw, 3.2rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 0 15px var(--shadow-color);
}

.home-content p {
  font-size: clamp(0.8rem, 2.5vw, 1.1rem);
  line-height: 1.6;
  max-width: 600px;
}

.sci {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
}

.sci a {
  position: relative;
  width: 45px;
  height: 45px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.4s ease;
}

.sci a i {
  font-size: 1.5rem;
  color: var(--primary-color);
  transition: color 0.4s ease;
}

.sci a:hover {
  background: var(--primary-color);
  transform: translateY(-5px);
  box-shadow: 0 5px 20px var(--shadow-color);
}

.sci a:hover i {
  color: white;
}

.tooltip {
  position: absolute;
  top: -2.5rem;
  left: 50%;
  transform: translateX(-50%);
  padding: .4rem .8rem;
  background: var(--primary-color);
  border-radius: .4rem;
  font-size: 0.9rem;
  color: white;
  font-weight: 600;
  white-space: nowrap;
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s ease;
}

.sci a:hover .tooltip {
  visibility: visible;
  opacity: 1;
}

.btn-introduction {
  padding: 0.8rem 2.5rem;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.4s ease;
  box-shadow: 0 0 15px var(--shadow-color);
}

.btn-introduction:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px var(--shadow-color);
}

/* --- Banner --- */
.news-ticker-container {
  width: 100%;
  background: linear-gradient(90deg, #1a0b2e, #000000, #1a0b2e);
  border-top: 1px solid #8A2BE2;
  border-bottom: 1px solid #8A2BE2;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(138, 43, 226, 0.3);
  position: relative;
  z-index: 10;
  height: 60px;
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.ticker-wrap {
  width: 100%;
  overflow: hidden;
}

.ticker-move {
  display: flex;
  width: fit-content;
  padding-left: 100%;
  animation: ticker-scroll 500s linear infinite;
}

.ticker-move:hover {
  animation-play-state: paused;
}

.ticker-item {
  white-space: nowrap;
  padding: 0;
  font-family: 'Montserrat', sans-serif;
  color: #fff;
  font-size: 1rem;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.ticker-item::after {
  content: "➤";
  color: #8A2BE2;
  font-weight: bold;
  margin-left: 50px;
  margin-right: 50px;
  text-shadow: 0 0 5px #8A2BE2;
  font-size: 1.2rem;
}

.ticker-title {
  color: #8A2BE2;
  font-weight: 800;
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 1px solid #8A2BE2;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(138, 43, 226, 0.1);
  margin-right: 10px;
}

.ticker-text {
  color: #e0e0e0;
  font-weight: 500;
}

@keyframes ticker-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}

@media (max-width: 768px) {
  .news-ticker-container {
    height: 50px;
  }

  .ticker-item::after {
    margin-left: 40px;
  }

  .ticker-move {
    animation: ticker-scroll 500s linear infinite;
  }

  .ticker-item::after {
    margin-left: 50px;
  }
}