
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: url('img/sfgghreghregge.png') ;
  background-size: cover;
  background-attachment: fixed;
  color: #e0e0e0;
  margin: 0;
  padding: 20px;
  transition: background-color 0.3s ease, color 0.3s ease;
}
html, body {
  scroll-behavior: smooth;
}
#filterBtn {
  padding: 14px 28px;
  font-size: 18px;
  border-radius: 10px;
}

body {
  position: relative; 
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: url('img/raidodes.jpg') no-repeat center center fixed;
  background-size: cover;
  background-attachment: scroll;

  color: #e0e0e0;
  margin: 0;
  padding: 20px;
  transition: background-color 0.3s ease, color 0.3s ease;
}
body {
  background: url('img/raidodes.jpg') no-repeat center center fixed;
  background-size: cover;
}

.hero-card {
  animation: floatCard 4s ease-in-out infinite;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}




#sortSelect {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  background: #111;
  color: #fff;
  border: 1px solid #1affff;
  border-radius: 8px;
  box-shadow: 0 0 6px #1affff;
  outline: none;
  transition: 0.3s ease;
}
#info-message {
  background-color: #111;
  color: #00fff7;
  border: 1px solid #00fff7;
  padding: 15px;
  margin: 20px 0;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 0 15px rgba(0, 255, 247, 0.2);
  font-size: 16px;
  line-height: 1.6;
}

#sortSelect:focus {
  box-shadow: 0 0 10px #1affff, 0 0 20px #1affff;
}

/* Блок фильтрации */
.filter,
#sortSelect,
#nameSearch,
#accountCounter,
button {
  font-family: 'Segoe UI', sans-serif;
  box-sizing: border-box;
}
button {
  background: #1a1a1a;
  color: #6d8992;
  border: 1px solid #00fff7;
  box-shadow: 0 0 6px #00fff7;
}

/* Кнопки */
button {
  background: #4A90E2;
  color: #fff;
  border: none;
  padding: 10px 20px;
  margin: 10px 10px 20px 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s ease, transform 0.2s;
}
button:hover {
  background: #357ABD;
  transform: translateY(-2px);
}

/* Селект сортировки */
#sortSelect {
  background-color: #111;
  color: #fff;
  padding: 10px;
  border: 1px solid #444;
  border-radius: 8px;
  margin-top: 10px;
  width: 100%;
}

/* Счётчик */
#accountCounter {
  font-size: 16px;
  font-weight: 600;
  margin: 10px 0 20px;
  color: #4A90E2;
}

button:hover {
  background: #ffb400;
  transform: scale(1.07); /* Чуть больше при наведении */
  box-shadow: 0 0 15px #ffb400;
}

#nameSearch {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  background: #111;
  color: #fff;
  border: 1px solid #444;
  border-radius: 8px;
}

#welcome-banner {
  text-align: center;
  font-size: 28px;
  color: #00fff7;
  font-weight: bold;
  margin-bottom: 20px;
  text-shadow: 0 0 15px #00fff7;
  animation: fadeIn 1.2s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
#filterBtn {
  background: linear-gradient(145deg, #00fff7, #008e96);
  color: #000;
  font-weight: bold;
  box-shadow: 0 0 20px #00fff7;
}
#resetBtn {
  background: linear-gradient(145deg, #00fff7, #008e96);
  color: #000000;
}


#filterBtn {
  display: block;
  margin: 0 auto 20px;
}

h1 {
  text-align: center;
  color: #00fff7;
  text-shadow: 0 0 10px #00fff7;
  margin-bottom: 30px;
  font-size: 36px;
}

#nameSearch {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  background: #111;
  color: #fff;
  border: 1px solid #444;
  border-radius: 8px;
  font-size: 14px;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

#nameSearch:focus {
  outline: none;
  box-shadow: 0 0 10px #00fff7;
  background: #222;
}
@media (max-width: 600px) {
 .account-card {
    flex-direction: column;
    align-items: center;
  }
  .hero {
    width: 80px;
    height: 80px;
  }
}

#accounts {
  scroll-margin-top: 100px;
}

#accounts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.hero-card.selected {
  border: 2px solid #ffb400;
  box-shadow: 0 0 15px #ffb400;
  transform: scale(1.05);
}
.top-section {
  max-width: 900px;
  margin: 40px auto 32px auto;
  padding: 46px 38px;
  border-radius: 32px;
  background: rgba(12,20,28,0.50);
  backdrop-filter: blur(16px);
  border: 1.5px solid rgba(0,255,247,0.10);
  box-shadow: 0 6px 44px 0 rgba(0,255,247,0.08), 0 2px 8px 0 rgba(0,0,0,0.15);
  animation: fadeIn 1.15s cubic-bezier(.4,0,.2,1);
}



button, .fav-btn {
  background: linear-gradient(93deg, #00fff7 0%, #3eecfd 100%);
  color: #15191c;
  border: none;
  padding: 13px 26px;
  border-radius: 14px;
  font-size: 17px;
  font-weight: 600;
  box-shadow: 0 2px 20px rgba(0,255,247,0.16);
  transition: background 0.22s, transform 0.15s, box-shadow 0.22s;
}

button:hover, .fav-btn:hover {
  background: linear-gradient(93deg, #ffd966 0%, #fff3b0 100%);
  color: #14191b;
  transform: scale(1.04);
  box-shadow: 0 8px 32px rgba(255,185,0,0.13);
}
.heroes-grid, .filter {
  background: rgba(10,18,24,0.36);
  border-radius: 22px;
  backdrop-filter: blur(14px);
  padding: 22px;
  margin-bottom: 24px;
  border: 1.2px solid rgba(246, 255, 254, 0.07)
}
@media (max-width: 700px) {
  .account-card, .top-section {
    padding: 12px 6px;
    border-radius: 16px;
  }
  .heroes-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 8px;
  }
}
#background-blur {
  position: fixed;
  z-index: 0;
  width: 100vw;
  height: 100vh;
  top: 0; left: 0;
  backdrop-filter: blur(7px) brightness(0.7);
  background: rgba(0,0,0,0.36);
  pointer-events: none;
}




.account-info {
  border-bottom: 1px solid #4b3737;
  padding-bottom: 10px;
}

.resources {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.resource {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  width: calc(50% - 6px);
}

.resources img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.heroes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.hero {
  width: 100px;
  height: 100px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid #444;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s ease;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 6px;
}

.hero-name {
  font-size: 14px;
  font-weight: 600;
  color: #00fff7;
  text-shadow: 0 0 5px #00fff7;
  transition: color 0.3s ease;
}

.heroes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 16px;
  justify-content: center;
  margin-top: 20px;
}

.hero-card {
  background: transparent;
  border: 1px solid #444;
  border-radius: 10px;
  padding: 10px;
  width: 100%;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  box-shadow: 0 4px 10px rgba(190, 52, 156, 0.5);
}

.hero-card:hover {
  transform: scale(1.1);
  box-shadow: 0 0 15px #00fff7;
  background: #333;
}

.hero-card img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  margin-bottom: 5px;
}
#hero-header {
  
  padding: 30px 20px;
  border-radius: 60px;
  text-align: center;
  margin-bottom: 10px;
  box-shadow: 0 0 200px rgba(5, 44, 70, 0.1);
}

.hero-avatar img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 2px solid #00fff7;
  box-shadow: 0 0 10px rgba(0, 255, 247, 0.5);
  margin-bottom: 15px;
}

.hero-text h1 {
  color: #00fff7;
  margin-bottom: 10px;
  font-size: 28px;
}

.hero-text p {
  color: #ccc;
  font-size: 16px;
  line-height: 1.6;
}

.hero-text .signature {
  margin-top: 10px;
  font-size: 14px;
  color: #888;
}


#searchBtn {
  padding: 12px 24px;
  font-size: 16px;
  color: #000000;
  background: #0be1ec;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
  box-shadow: 0 0 10px #00fff7;
}

#searchBtn:hover {
  background: #ffb400;
  transform: scale(1.05);
}

button {
  padding: 10px 20px;
  font-size: 16px;
  color: #000000;
  background: #00fff7;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

button:hover {
  background: #ffb400;
  transform: scale(1.05);
}
#avatar-container {
  position: relative;
  margin: 0 auto 20px;
  text-align: center;
}

#avatar-container img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 2px solid #00fff7;
  box-shadow: 0 0 10px rgba(0, 255, 247, 0.5);
}



#avatar-container img {
  width: 80px;
  height: 80px;
  border-radius: 50%; 
  border: 2px solid #00fff7;
  object-fit: cover; 
  box-shadow: 0 0 8px #00fff7;
}
#background-blur {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('img/raidodes.jpg') no-repeat center center fixed;
  background-size: cover;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 0;
}

body > *:not(#background-blur) {
  position: relative;
  z-index: 1;
}
#background-blur::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
}
#background-blur::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2); /* немного затемнено */
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.animated-button {
  background: linear-gradient(270deg, #00fff7, #008e96, #ffb400);
  background-size: 600% 600%;
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  border: none;
  font-size: 16px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.animated-button:hover {
  animation: wave 3s ease infinite;
  transform: scale(1.05);
}

@keyframes wave {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.animated-button.pulse {
  animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 10px #00fff7; }
  50% { box-shadow: 0 0 25px #00fff7; }
}
#showMoreHeroesBtn {
  background: linear-gradient(90deg, #00fff7 10%, #4A90E2 90%);
  color: #141414;
  border: none;
  font-weight: bold;
  font-size: auto;
  padding: px 20px 0px 14px 1px 40px;
  border-radius: 135px;
  box-shadow: 0 4px 32px #00fff7, 0 2px 10px #4A90E2;
  margin: 36px auto 0 auto;
  display: block;
  letter-spacing: 1.5px;
  transition: background 0.3s, color 0.3s, transform 0.22s, box-shadow 0.22s;
  position: relative;
  overflow: hidden;
  z-index: 2;
  
}



#showMoreHeroesBtn:hover, #showMoreHeroesBtn:focus {
  background: linear-gradient(90deg, #242038 0%, #00fff7 100%);
  color: #000;
  transform: translateY(-2px) scale(1.06) rotate(-1.2deg);
  box-shadow: 0 0 38px #7c1414, 0 0 22px #00fff7;
  border: none;
  outline: none;
}

#showMoreHeroesBtn:active {
  background: linear-gradient(90deg, #008e96 0%, #00fff7 100%);
  color: #fff;
  transform: scale(0.98);
}
.fav-btn {
  position: absolute;
  top: 14px; right: 14px;
  font-size: 25px;
  background: none;
  border: none;
  color: #ffb400;
  cursor: pointer;
  z-index: 3;
  transition: transform 0.2s;
}
.account-card {
  background: rgba(25, 28, 35, 0.65);
  border-radius: 22px;
  padding: 28px 22px;
  box-shadow: 0 8px 48px 0 rgba(0,255,247,0.15), 0 1.5px 8px 0 rgba(0,0,0,0.10);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1.5px solid rgba(0,255,247,0.11);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  transition: box-shadow 0.3s, transform 0.3s;
}
.account-card:hover {
  box-shadow: 0 12px 36px 0 rgba(0,255,247,0.22), 0 4px 16px 0 rgba(0,0,0,0.11);
  transform: translateY(-2px) scale(1.025);
}
#showFavoritesBtn {
  background: linear-gradient(90deg, #ffd966 10%, #fff3b0 90%);
  color: #252525;
  border: none;
  font-weight: bold;
  font-size: 17px;
  padding: 13px 28px;
  border-radius: 14px;
  box-shadow: 0 2px 20px #ffd96650;
  margin: 20px 0;
  transition: background 0.22s, color 0.18s, transform 0.15s, box-shadow 0.22s;
}
#showFavoritesBtn:hover {
  background: linear-gradient(90deg, #ce23b1 10%, #eeb928 90%);
  color: #000;
  box-shadow: 0 8px 24px #ffd96680;
  transform: scale(1.04);
}
@media (max-width: 768px) {
  body,
  #background-blur {
    background-attachment: scroll !important;
    background-position: center top !important;
  }
}
@media (max-width: 768px) {
  .top-section,
  .account-card {
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }
}
