body {
  height: 100vh;
  font-family: 'Arial', sans-serif;
  background: radial-gradient(ellipse at bottom, #0d1d31 0%, #0c0d13 100%);
  opacity: 0.9;
}
#content {
  margin: 0 auto; 
  height: 100%;
}
.top-menu {
  width: 100%;
  background: radial-gradient(ellipse at bottom, #0d1d31 0%, #0c0d13 100%);
}
.top-menu ul {
  display: flex;
  justify-content: space-between;
  padding: 10px 20px;
  align-items: center;
  list-style: none;
}
.top-menu a {
  display: block;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 10px;
  transition: .2s ease;
	}
/* Темное небо */
.sky {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.sky::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../img/sky.jpg'); /* Укажите путь к вашей картинке */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.8; /* Приглушаем картинку (0 = полностью прозрачная, 1 = полностью видимая) */
  mix-blend-mode: overlay; /* Режим наложения для лучшего эффекта */
  pointer-events: none; /* Чтобы картинка не мешала кликам по звездам */
  z-index: 0;
}

/* Стили для звезд */
.star {
  position: absolute;
  background-color: white;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: twinkle 1.5s infinite alternate;
}
/* Стили для тултипа */
.tooltip {
    position: fixed;
    background: rgba(30, 30, 40, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 5px 15px;
    display: none;
    align-items: center;
    gap: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 1000;
    animation: fadeIn 0.3s ease;
    pointer-events: none;
    min-width: 250px;
    max-width: 350px;
}

.tooltip img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.tooltip-content {
    flex: 1;
}

.tooltip-content h3 {
    color: white;
    font-size: 16px;
    margin-bottom: 5px;
    font-weight: 600;
}

.tooltip-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
}

/* Яркие звезды */
.star.super-bright {
    background: radial-gradient(circle at 30% 30%, #fff, #ffff88);
    box-shadow: 0 0 8px rgba(255, 255, 200, 0.9),
        0 0 16px rgba(255, 255, 200, 0.6);
    animation: twinkleSuper 0.8s infinite alternate;
}

.star.bright {
    background: radial-gradient(circle at 30% 30%, #fff, #ffffaa);
    box-shadow: 0 0 6px rgba(255, 255, 200, 0.8);
    animation: twinkleBright 1.2s infinite alternate;
}

.star.medium {
    background: white;
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.7);
    animation: twinkle 1.5s infinite alternate;
}

.star.dim {
    background: #dddddd;
    box-shadow: 0 0 2px rgba(255, 255, 255, 0.4);
    animation: twinkle 2s infinite alternate;
}

.star:hover {
    transform: scale(1.8) !important;
    box-shadow: 0 0 20px rgba(255, 255, 255, 1),
                0 0 30px rgba(255, 255, 200, 0.8) !important;
    filter: brightness(1.3);
    z-index: 100;
    transition: all 0.3s ease;
}

/* Анимации мерцания */
@keyframes twinkleSuper {
    0% {
        opacity: 0.7;
        transform: scale(0.8);
        box-shadow: 0 0 6px rgba(255, 255, 200, 0.7);
    }
    100% {
        opacity: 1;
        transform: scale(1.3);
        box-shadow: 0 0 16px rgba(255, 255, 200, 1),
                    0 0 24px rgba(255, 255, 200, 0.5);
    }
}

@keyframes twinkleBright {
    0% {
        opacity: 0.6;
        transform: scale(0.85);
        box-shadow: 0 0 4px rgba(255, 255, 200, 0.6);
    }
    100% {
        opacity: 1;
        transform: scale(1.2);
        box-shadow: 0 0 12px rgba(255, 255, 200, 0.9);
    }
}

@keyframes twinkle {
    0% {
        opacity: 0.5;
        transform: scale(0.9);
        box-shadow: 0 0 3px rgba(255, 255, 255, 0.5);
    }
    100% {
        opacity: 1;
        transform: scale(1.1);
        box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
    }
}
/* Анимация мерцания звезд */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Эффект при наведении */


.image-modal {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 10000;
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
.image-modal.active {
        opacity: 1;
    }
.image-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    cursor: pointer;
}
.image-modal-container {
    position: relative;

    height: auto; /* Добавляем фиксированную высоту */
    max-width: 90%;
    max-height: 90%;
    z-index: 10001;
    background: rgba(30, 30, 40, 0.95);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
}
.image-modal-container {
    animation: modalFadeIn 0.3s ease;
}
.image-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.image-modal-header h3 {
    color: white;
    margin: 0;
    font-size: 18px;
}
.image-modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s;
}
.image-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}
.image-modal-content {
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1; /* Занимает всё доступное пространство */
    min-height: 0; /* Важно для корректной работы flex */
    overflow: auto;
}
.image-modal-content img {
    max-width: 100%;
    max-height: 100%; /* Изменяем с 70vh на 100% */
    object-fit: contain;
    border-radius: 8px;
}
.image-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  background: rgba(0, 0, 0, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.image-modal-header h3 {
    margin: 0;
    flex: 1;
}
.image-modal-footer {
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.8);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    flex-shrink: 0; /* Запрещаем сжатие футера */
}

.image-modal-footer p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: white;
}

.copy-modal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.2s ease;
    margin-right: 10px;
}
.copy-modal:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}
.copy-modal .icon-logo {
    width: 18px;
    height: 18px;
    fill: white;
}


@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
@keyframes shoot {
    0% {
        transform: translateX(0) translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateX(200px) translateY(200px);
        opacity: 0;
    }
} 

.copy-notification {
position: absolute;
    bottom: 150px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.9);
    color: rgb(255, 255, 255);
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    z-index: 10001;
    font-family: Arial, sans-serif;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 2px 10px;
    white-space: nowrap;
  }