/* index.css — минимальная версия без транзакций */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
}
body {
  background: #fff;
  color: #000;
  font-family: 'Inter', sans-serif;
}

.container {
  max-width: 1680px;
  margin: 0 auto;
  padding: 0 50px;
  height: 100%;
  overflow: hidden;
  animation: fadeInScale 1.2s ease-out forwards;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

header {
  text-align: center;
  padding: 30px 0 10px;
}

.logo {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-style: italic;
  font-size: 7.2rem;
  line-height: 1;
  margin-bottom: 1rem;
  display: inline-block;
  text-transform: uppercase;
  animation: bounceIn 1.4s ease-out;
}

.logo-red {
  color: #ff4444;
  display: inline;
}

.logo-link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

.logo-link:hover .logo {
  transform: scale(1.05);
}

.logo-link:hover .logo-red {
  text-shadow: 0 0 25px rgba(255, 68, 68, 0.5);
}

.logo-link:active .logo {
  transform: scale(0.97);
}

/* Login кнопка */
.login {
  font-family: 'Bangers', cursive;
  font-size: 2.2rem;
  display: inline-block;
  padding: 1rem 3.5rem;
  color: #000;
  background: #fff;
  border: 5px solid #000;
  border-radius: 18px;
  text-decoration: none;
  box-shadow: 0 10px 0 #000;
  transition: all 0.18s ease;
  margin-top: 0.4rem;
  margin-bottom: 20px;
  cursor: pointer;
  animation: pulse 2s infinite ease-in-out;
}

.login:hover {
  transform: translateY(4px);
  box-shadow: 0 6px 0 #000;
  background: #000;
  color: #fff;
}

.login i {
  font-size: 1.3em;
}

.login:hover i {
  animation: spin 0.6s ease;
}

/* Info rotator */
.info-rotator {
  position: relative;
  text-align: center;
  padding: 30px 0 50px;
  min-height: 100px;
  font-family: 'Bangers', cursive;
  font-size: 2.8rem;
  font-weight: 400;
  letter-spacing: 1px;
  color: #000;
  text-transform: uppercase;
}

.rotator-item {
  opacity: 0;
  transform: translateY(20px);
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 0.8s ease, transform 0.8s ease;
  white-space: nowrap;
  text-shadow:
    3px 3px 0 #fff,
    -2px -2px 0 #fff,
    2px -2px 0 #fff,
    -2px 2px 0 #fff,
    2px 2px 0 #fff;
}

.rotator-item.active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.02);
  animation: pulseText 4s infinite ease-in-out;
}

.highlight-red {
  color: #ff4444;
}

.rotator-icon {
  width: 2.2rem;
  height: 2.2rem;
  object-fit: contain;
  vertical-align: middle;
  margin: 0 8px;
}

/* Анимации */
@keyframes fadeInScale {
  0% { opacity: 0; transform: scale(0.95); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes bounceIn {
  0% { opacity: 0; transform: translateY(-100px) scale(0.8); }
  60% { opacity: 1; transform: translateY(20px) scale(1.05); }
  80% { transform: translateY(-10px) scale(0.98); }
  100% { transform: translateY(0) scale(1); }
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 10px 0 #000, 0 0 0 0 rgba(0,0,0,0.4); }
  50% { box-shadow: 0 10px 0 #000, 0 0 20px 10px rgba(0,0,0,0.2); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes pulseText {
  0%, 100% { transform: translate(-50%, -50%) scale(1.02); }
  50% { transform: translate(-50%, -50%) scale(1.04); }
}

/* Мобильная адаптация для header и rotator */
@media (max-width: 768px) {
  .container {
    padding: 0 15px;
    gap: 10px;
  }
  header {
    padding: 20px 0 8px;
  }
  .logo {
    font-size: 3.6rem;
    letter-spacing: -1px;
  }
  .info-rotator {
    font-size: 1.1rem;
    padding: 18px 0 28px;
    min-height: 70px;
    letter-spacing: 0.6px;
  }
  .rotator-item {
    font-size: 1.1rem;
  }
  .rotator-icon {
    width: 1.6rem;
    height: 1.6rem;
    margin: 0 5px;
  }
  .login {
    font-size: 1.3rem;
    padding: 0.7rem 2.4rem;
    border: 3px solid #000;
    border-radius: 13px;
    box-shadow: 0 2px 0 #000;
    margin-top: 0.3rem;
    margin-bottom: 12px;
  }
  .login i {
    font-size: 1.1em;
  }
  .login:hover {
    transform: translateY(3px);
    box-shadow: 0 4px 0 #000;
  }
}