/* Основные стили */
body {
  font-family: 'Arial', sans-serif;
  background-color: #ffebf3;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  color: #333;
}

.anime-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  position: relative;
  z-index: 1;
}

.anime-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, #ff9a9e, #fad0c4, #fbc2eb, #a6c1ee);
  background-size: 400% 400%;
  animation: gradientBG 15s ease infinite;
  z-index: -1;
}

@keyframes gradientBG {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Заголовок */
.anime-title {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.cssload-loader {
  width: 100%;
  height: 60px;
  line-height: 60px;
  text-align: center;
  font-family: 'Rubik Mono One', sans-serif;
  text-transform: uppercase;
  font-weight: 900;
  font-size: 24px;
  color: #ff2d75;
  letter-spacing: 0.2em;
  text-shadow: 3px 3px 0 #fff, 5px 5px 0 #ff2d75;
  margin: 30px 0;
}

.cssload-loader::before, .cssload-loader::after {
  content: "✧";
  display: block;
  width: 30px;
  height: 30px;
  position: absolute;
  animation: cssload-load 1.5s infinite alternate ease-in-out;
  color: #ff2d75;
  font-size: 24px;
}

.cssload-loader::before {
  top: -20px;
  left: 20%;
}

.cssload-loader::after {
  bottom: -20px;
  right: 20%;
}

@keyframes cssload-load {
  0% { transform: translateX(0) scale(1); }
  50% { transform: translateX(100px) scale(1.5); }
  100% { transform: translateX(0) scale(1); }
}

/* Кнопки-ссылки */
.anime-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
}

.anime-button {
  display: inline-block;
  padding: 12px 25px;
  background-color: #ff2d75;
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  border: 3px solid white;
  box-shadow: 0 5px 0 #c7004b;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  font-family: 'Press Start 2P', cursive;
  font-size: 12px;
}

.anime-button:hover {
  transform: translateY(3px);
  box-shadow: 0 2px 0 #c7004b;
  background-color: #ff4387;
}

.anime-button:active {
  transform: translateY(5px);
  box-shadow: none;
}

/* Таблица */
.anime-table {
  width: 100%;
  max-width: 600px;
  margin: 20px auto;
  border-collapse: separate;
  border-spacing: 0;
  border: 3px solid #333;
  background-color: white;
  box-shadow: 8px 8px 0 #ff2d75;
}

.anime-table td {
  padding: 15px;
  text-align: center;
  border: 2px solid #333;
  font-weight: bold;
  background-color: #fff;
  transition: all 0.3s;
}

.anime-table tr:first-child td {
  background-color: #ffebf3;
}

.anime-table tr:nth-child(2) td {
  background-color: #e0f7ff;
}

.anime-table td:hover {
  background-color: #ffd6e7;
  transform: scale(1.05);
}

/* Текст */
.anime-text {
  text-align: center;
  margin: 30px 0;
  font-size: 18px;
}

.pink-text {
  color: #ff2d75;
  font-weight: bold;
  text-shadow: 1px 1px 0 white;
}

.anime-subtext {
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  color: #333;
  margin-top: 10px;
}

/* Списки */
.anime-lists {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin: 30px 0;
}

.anime-lists ol, .anime-lists ul {
  background-color: white;
  padding: 20px 40px;
  border-radius: 20px;
  box-shadow: 5px 5px 0 #ff2d75;
  list-style-position: inside;
}

.anime-lists li {
  margin: 10px 0;
  font-weight: bold;
  color: #333;
}

/* Приветствие */
.anime-greeting {
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  color: #ff2d75;
  margin: 30px 0;
  text-shadow: 2px 2px 0 white;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

/* Аниме персонаж */
.anime-character {
  width: 150px;
  height: 200px;
  background-image: url('https://i.imgur.com/XJxqQtU.png');
  background-size: contain;
  background-repeat: no-repeat;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 10;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0px); }
}

/* Адаптивность */
@media (max-width: 768px) {
  .cssload-loader {
    font-size: 18px;
  }
  
  .anime-links {
    flex-direction: column;
    align-items: center;
  }
  
  .anime-lists {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }
  
  .anime-character {
    width: 100px;
    height: 150px;
  }
}
