/* styles.css */
body {
    margin: 0;
    padding: 24px;
    font-family: "Roboto Mono", monospace;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    background-color: #0A0A0A;
    color: #fff;
}

/* Все ссылки */
a {
  color: #D75DFF;          /* Фиолетовый цвет */
  text-decoration: none;   /* Убираем подчёркивание */
  transition: 0.2s;       /* Плавное изменение */
}

/* При наведении и нажатии */
a:hover,
a:active {
  color: #D75DFF;         /* Оставляем тот же цвет */
  opacity: 0.8;           /* Легкое затемнение */
}

/* Для тач-устройств (Telegram) */
a:active {
  transform: scale(0.98); /* Чуть уменьшаем при нажатии */
}

p {
    margin: 0;
    color: #666;
}

.divider {
  border-top: 1px solid #1B1B1B;
  margin: 0;
}

.container {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    /* justify-content: center; */ /* центрирует контент по вертикали */
    gap: 64px;
}

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

.coins {
    margin: 0;
    font-family: "Special Gothic Expanded One", sans-serif;
    font-weight: 406;
    font-style: normal;
    font-size: 60px;
    color: #fff;
}

.fragments {
    margin: 0;
    font-family: "Special Gothic Expanded One", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 60px;
    color: #fff;
}

.list-items {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    /* justify-content: center; */ /* центрирует контент по вертикали */
    gap: 24px;
}

.item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.buy-button, .buy-button-inactive {
  min-height: 60px; /* Защита от разной высоты при переносе текста */
  box-sizing: border-box; /* Чтобы padding не влиял на размер */
  border-radius: 100px;
  border: none;
  margin: 0;
  padding: 24px 24px;   /* Отступы внутри кнопки (верт/гориз) */
  font-size: 16px;  font-family: "Roboto Mono", monospace;
  font-weight: 400;
  font-optical-sizing: auto;
  font-style: normal;
}

.buy-button {
  background: white;
  color: #666;
  display: inline-block;
  text-align: center;
  text-decoration: none; /* Убираем подчёркивание */
  cursor: pointer;
}

.buy-button-inactive {
  background: #1B1B1B;
  color: #434343;
  cursor: default;
  pointer-events: none;
}

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

.tap-image img {
  width: 100%;
  max-width: 420px;  /* Максимальный размер */
  height: auto;     /* Сохраняет пропорции */
  display: block;   /* Устраняет лишние отступы */
  margin: 0 auto;   /* Центрирование */
}

.season-1 {
  text-align: center;
  background: #1B1B1B;
  border-radius: 30px;
  padding: 24px 24px;
}

.season-title {
    margin: 0;
    font-family: "Special Gothic Expanded One", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 20px;
    color: #fff;
}

/* Cтили для шторки */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(3px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

.overlay-content {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #1B1B1B;
    border-radius: 30px 30px 0 0;
    padding: 32px;
    box-sizing: border-box;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(100%);
    transition: transform 0.3s ease-out;
}

.overlay.active .overlay-content {
    transform: translateY(0);
}

.close-button {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Контент внутри шторки */
.overlay-content h3 {
    margin-top: 0;
    font-size: 20px;
}

.overlay-content p {
    margin-bottom: 16px;
    line-height: 1.5;
    color: #fff;
}

.NFT{
max-width: 100%;
display: flex;
flex-direction: column;
align-items: center; /* центрирование по вертикали (ось cross) */
gap: 24px;
}

.nft-card {
width: 200px;
height: auto;
text-align: center;
background: #1B1B1B;
border-radius: 30px;
padding: 16px 8px;
}

.nft-card img {
max-width: 150px;
max-height: 150px;
width: auto;
height: auto;
display: block;
margin: 0 auto;
}

.overlay-nft-image {
    width: 100%;
    max-width: 500px;
    margin: 0 auto 20px;
    display: block;
}