html {
  background-color: #090e1b;
  color: #ededed;
  font-family: "Tektur", 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

body {
  background-color: #0a1128;
  margin: auto;
  max-width: 860px;
  overflow-x: hidden;
  position: relative;
}

/* Cosmic background effects */
.stars, .stars2, .stars3 {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.stars {
  background: #0a1128 url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="20" cy="20" r="0.5" fill="white"/><circle cx="50" cy="50" r="0.7" fill="white"/><circle cx="80" cy="30" r="0.3" fill="white"/><circle cx="10" cy="70" r="0.4" fill="white"/><circle cx="90" cy="90" r="0.6" fill="white"/></svg>');
  animation: twinkle 100s linear infinite;
}

.stars2 {
  background: transparent url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200" viewBox="0 0 200 200"><circle cx="40" cy="40" r="0.8" fill="white"/><circle cx="100" cy="100" r="1" fill="white"/><circle cx="160" cy="60" r="0.5" fill="white"/><circle cx="20" cy="140" r="0.7" fill="white"/><circle cx="180" cy="180" r="0.9" fill="white"/></svg>');
  animation: twinkle 150s linear infinite;
  opacity: 0.7;
}

.stars3 {
  background: transparent url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="300" height="300" viewBox="0 0 300 300"><circle cx="60" cy="60" r="1" fill="white"/><circle cx="150" cy="150" r="1.2" fill="white"/><circle cx="240" cy="90" r="0.7" fill="white"/><circle cx="30" cy="210" r="0.9" fill="white"/><circle cx="270" cy="270" r="1.1" fill="white"/></svg>');
  animation: twinkle 200s linear infinite;
  opacity: 0.5;
}

@keyframes twinkle {
  from { background-position: 0 0; }
  to { background-position: -1000px 500px; }
}

/* Shooting stars */
@keyframes shooting-star {
  0% {
    transform: translateX(0) translateY(0) rotate(-45deg);
    opacity: 1;
  }
  70% {
    opacity: 1;
  }
  100% {
    transform: translateX(1000px) translateY(-1000px) rotate(-45deg);
    opacity: 0;
  }
}

.shooting-star {
  position: fixed;
  top: 50px;
  left: -100px;
  width: 4px;
  height: 4px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(255,255,255,0.1),
              0 0 0 8px rgba(255,255,255,0.1),
              0 0 20px rgba(255,255,255,1);
  animation: shooting-star 3s linear infinite;
  z-index: -1;
}

.shooting-star::before {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 300px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,1), transparent);
}

.container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: rgba(13, 21, 40, 0.9);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

main {
  flex: 1;
}

main section {
  padding: 2rem;
  animation: slideIn 1s ease-in-out;
  background: rgba(20, 30, 60, 0.5);
  border-radius: 10px;
  margin: 1rem;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(126, 198, 222, 0.2);
}

main p {
  font-size: 1rem;
  margin: 1rem 0;
  animation: fadeIn 2s ease-in-out;
}

.bold {
  font-weight: bold;
}

.description {
  font-size: 0.5rem;
}

.important {
  background: linear-gradient(135deg, rgba(10, 20, 50, 0.8), rgba(20, 40, 80, 0.8));
  text-align: center;
  padding: 20px;
  border-radius: 10px;
  animation: popIn 1s ease-in-out;
  border: 1px solid rgba(126, 198, 222, 0.3);
  box-shadow: 0 0 15px rgba(126, 198, 222, 0.2);
}

.important h1 {
  color: #ffffff;
  font-size: 1.2rem;
  margin: 0 0 20px 0;
}

.important h3 {
  display: block;
  color: #ec650b;
  font-size: 0.8rem;
  font-weight: bold;
}

.important p {
  display: block;
  color: #fcac63;
  font-size: 1.2rem;
  margin: 0 0 10px 0;
}

.burned-amount {
  color: #ff4d4d;
  font-size: 1.5rem;
  font-weight: bold;
  margin-top: 10px;
}

.total-holders {
  color: #7ec6de;
  font-size: 0.8em;
  margin-left: 10px;
}

.holders-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}

.pagination-btn {
  background: rgba(126, 198, 222, 0.2);
  border: none;
  color: #7ec6de;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pagination-btn:hover {
  background: rgba(126, 198, 222, 0.4);
}

.pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.page-info {
  color: #7ec6de;
  font-size: 0.9rem;
}

.holder-link {
  color: #7ec6de;
  font-size: 0.8rem;
  text-decoration: none;
  display: inline-block;
  margin-top: 5px;
  transition: color 0.3s ease;
}

.holder-link:hover {
  color: #4da6ff;
}

.pointer {
  cursor: pointer;
}

.tile {
  display: block;
  margin-bottom: 2%;
  padding: 10px;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.tile::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    to bottom right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(30deg);
  transition: all 0.7s ease;
}

.tile:hover::before {
  left: 100%;
  top: 100%;
}

.tile:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.text-center {
  text-align: center;
}

.half {
  width: 49%;
}

.full {
  clear: both;
  width: 100%;
}

.light {
  background: rgba(44, 46, 67, 0.7);
}

.dark {
  background: rgba(1, 1, 3, 0.8) !important;
}

.left {
  float: left;
}

.right {
  float: right;
}

.tile h3 {
  font-size: 0.8rem;
  font-weight: bold;
  margin: 10px 0;
}

.tile p {
  margin: 0;
}

.image {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 3rem !important;
  animation: float 7s ease-in-out infinite;
}

.bottom {
  vertical-align: bottom;
}

.middle {
  vertical-align: middle;
}

.link {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: inherit;
}

.link-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.link-icon {
  height: 30px;
  width: 30px;
  margin-right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.link-icon img {
  height: 25px;
  width: 25px;
}

.link-text {
  line-height: 30px;
  text-align: center;
}

header {
  background: linear-gradient(135deg, rgba(10, 20, 50, 0.9), rgba(20, 40, 80, 0.9));
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: -1px;
  padding: 20px;
  border-radius: 10px;
  animation: slideDown 1s ease-in-out;
  border: 1px solid rgba(126, 198, 222, 0.3);
}

header h1 {
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  color: #7ec6de;
  animation: glow 7s infinite alternate;
  text-shadow: 0 0 5px rgba(126, 198, 222, 0.5);
}

header .logo {
  display: block;
  float: left;
  margin: 40px;
  width: calc(40% - 80px);
  aspect-ratio: 1 / 1;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: bounce 7s infinite;
  filter: drop-shadow(0 0 10px rgba(126, 198, 222, 0.7));
}

header .welcome {
  float: right;
  margin: 40px;
  width: calc(60% - 80px);
}

footer {
  height: 70px;
  min-height: 70px;
  background: linear-gradient(135deg, rgba(10, 20, 50, 0.9), rgba(20, 40, 80, 0.9));
  border-radius: 10px;
  animation: fadeIn 3s ease-in-out;
  border: 1px solid rgba(126, 198, 222, 0.3);
}

footer p {
  line-height: 70px;
  text-align: center;
  font-size: 0.8rem;
  width: 100%;
  color: #7ec6de;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}

@keyframes popIn {
  0% {
    transform: scale(0);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

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

@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes glow {
  0% {
    text-shadow: 0 0 5px #7ec6de, 0 0 10px #7ec6de, 0 0 20px #7ec6de;
  }
  100% {
    text-shadow: 0 0 10px #7ec6de, 0 0 20px #7ec6de, 0 0 40px #7ec6de;
  }
}

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

@media screen and (min-width: 741px) {
  .large {
    display: block !important;
  }

  .short {
    display: none !important;
  }

  .link {
    width: 49%;
  }
}

@media screen and (min-width: 880px) {
  .align-large {
    text-align: center;
  }
}

@media screen and (max-width: 740px) {
  header {
    display: flex;
    flex-direction: column;
  }

  header .logo {
    clear: both;
    order: 2;
    box-sizing: border-box;
    width: calc(100% - 80px);
  }

  header .welcome {
    clear: both;
    order: 1;
    box-sizing: border-box;
    width: calc(100% - 80px);
  }

  .large {
    display: none !important;
  }

  .short {
    display: block !important;
  }

  .link {
    clear: both;
    width: 100%;
  }
}

.holders-section {
  background: rgba(20, 30, 60, 0.5);
  border-radius: 10px;
  padding: 2rem;
  margin: 1rem;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(126, 198, 222, 0.2);
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
}

.section-header h1 {
  margin: 0;
}

.total-holders {
  background: rgba(126, 198, 222, 0.2);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 1rem;
  color: #7ec6de;
}

.holders-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-bottom: 20px;
}

.holder-tile {
  background: rgba(44, 46, 67, 0.7);
  border-radius: 10px;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(126, 198, 222, 0.1);
}

.holder-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border-color: rgba(126, 198, 222, 0.3);
}

.holder-info h3 {
  margin: 0;
  font-size: 1rem;
  color: #fff;
}

.holder-balance {
  margin: 5px 0 0;
  font-size: 1.2rem;
  font-weight: bold;
  color: #4da6ff;
}

.view-btn {
  background: rgba(126, 198, 222, 0.2);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7ec6de;
  text-decoration: none;
  transition: all 0.3s ease;
}

.view-btn:hover {
  background: rgba(126, 198, 222, 0.4);
  transform: scale(1.1);
}

/* Анимация ракеты */
.rocket {
  position: fixed;
  width: 40px;
  height: 40px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%237ec6de"><path d="M12 2.5c0 1.4-.6 2.7-1.6 3.6L12 10l1.6-3.9c-1-1-1.6-2.3-1.6-3.6zm0 9.5l-3 7H7l-2 4h14l-2-4h-2l-3-7z"/></svg>');
  background-size: contain;
  background-repeat: no-repeat;
  z-index: -1;
  animation: fly 10s linear forwards;
  filter: drop-shadow(0 0 5px rgba(126, 198, 222, 0.7));
}

@keyframes fly {
  0% {
    transform: translate(-100px, 100vh) rotate(45deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translate(100vw, -100px) rotate(45deg);
    opacity: 0;
  }
}

/* Адаптивность для холдеров */
@media screen and (max-width: 600px) {
  .holders-grid {
    grid-template-columns: 1fr;
  }
}