.chest-meta {
  margin-top: 6px;
  font-size: 0.9em;
  font-weight: bold;
  color: #ffcc00;
}

.chest-meta .time {
  color: #4caf50; /* зелёный для времени */
}

.chest-meta .cost {
  color: #ff4444; /* красный для хаоса */
}

.chest-item {
  background: rgba(30,30,30,0.85);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 10px;
  text-align: center; /* выравниваем содержимое */
  color: #eee;
  width: 680px;
  box-shadow: 0 0 8px rgba(0,0,0,0.6);
  transition: transform 0.2s, box-shadow 0.2s;
}

.chest-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 12px rgba(255, 204, 0, 0.5);
}

.chest-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 6px;
}

.chest-meta {
  margin-top: 6px;
  font-size: 0.9em;
  font-weight: bold;
  color: #ffcc00;
  text-align: center; /* центрирование текста времени/стоимости */
}

.chest-meta .time {
  color: #4caf50;
}

.chest-meta .cost {
  color: #ff4444;
}

 .divider-icon2 {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 15px 0;
}
.divider-icon2::before,
.divider-icon2::after {
  content: "";
  flex: 1;
  border-bottom: 2px solid #9ACD32;
}
.divider-icon2:not(:empty)::before {
  margin-right: 10px;
}
.divider-icon2:not(:empty)::after {
  margin-left: 10px;
}
.divider-icon2 span {
  font-size: 1.2em;
}

.runes-section {
  background: rgba(20, 20, 20, 0.9);
  border-radius: 12px;
  padding: 20px;
  color: #eee;
  margin-bottom: 30px;
}

.section-title {
  text-align: center;
  color: #ffcc00;
  text-shadow: 0 0 8px rgba(255,204,0,0.7);
  margin-bottom: 15px;
}

.section-description {
  text-align: center;
  margin-bottom: 20px;
  font-size: 1em;
  line-height: 1.5;
}

.item-icon {
  width: 32px;
  height: 32px;
  vertical-align: middle;
  margin: 0 5px;
}

.runes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 15px;
}

.rune-item {
  background: rgba(40,40,40,0.85);
  border-radius: 10px;
  padding: 10px;
  text-align: center;
  box-shadow: 0 0 8px rgba(0,0,0,0.5);
  transition: transform 0.2s, box-shadow 0.2s;
}

.rune-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 12px rgba(255, 204, 0, 0.7);
}

.rune-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 6px;
}

.rune-name {
  display: block;
  font-weight: bold;
  margin-bottom: 4px;
  color: #ffcc00;
}

.rune-effect {
  display: block;
  font-size: 0.9em;
  color: #4caf50;
}

.runes-section {
  background: rgba(20, 20, 20, 0.95);
  border-radius: 12px;
  padding: 20px;
  color: #eee;
  margin-bottom: 30px;
}

.section-title {
  text-align: center;
  color: #ffcc00;
  text-shadow: 0 0 8px rgba(255,204,0,0.7);
  margin-bottom: 15px;
}

.section-description {
  text-align: center;
  margin-bottom: 20px;
  font-size: 1em;
  line-height: 1.5;
}

.runes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 15px;
}

.rune-item {
  background: rgba(40,40,40,0.85);
  border-radius: 10px;
  padding: 15px;
  text-align: center;
  box-shadow: 0 0 8px rgba(0,0,0,0.5);
  transition: transform 0.2s, box-shadow 0.2s;
}

.rune-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 12px rgba(255, 204, 0, 0.7);
}

.rune-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 8px;
}

.rune-name {
  display: block;
  font-weight: bold;
  font-size: 1.1em;
  margin-bottom: 8px;
  color: #ffcc00;
}

.rune-description {
  font-size: 0.9em;
  text-align: left;
  color: #ccc;
}

.rune-description ul {
  padding-left: 20px;
}

.rune-description p, .rune-description li {
  margin: 4px 0;
}

.flame-scrolls-section {
  background: rgba(25, 25, 25, 0.95);
  border-radius: 14px;
  padding: 25px;
  margin: 30px 0;
  color: #eee;
}

.section-title {
  text-align: center;
  color: #ff6600;
  text-shadow: 0 0 10px rgba(255, 102, 0, 0.8);
  font-size: 1.8em;
  margin-bottom: 15px;
}

.section-description {
  text-align: center;
  margin-bottom: 25px;
  font-size: 1em;
}

.highlight {
  color: #ffcc00;
  font-weight: bold;
}

.scrolls-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 15px;
  margin-bottom: 25px;
}

.scroll-card {
  background: rgba(40, 40, 40, 0.9);
  padding: 15px;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.scroll-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 12px rgba(255, 102, 0, 0.7);
}

.scroll-card img {
  width: 48px;
  height: 48px;
  margin-bottom: 10px;
}

.scroll-name {
  display: block;
  color: #ffcc00;
  font-weight: bold;
  margin-bottom: 5px;
}

.safe-levels {
  margin: 20px 0;
  padding: 15px;
  background: rgba(50, 50, 50, 0.8);
  border-radius: 10px;
}

.safe-levels h3 {
  color: #4caf50;
  margin-bottom: 10px;
}

.safe-levels ul {
  padding-left: 20px;
}

.safe {
  color: #4caf50;
  font-weight: bold;
}

.npc-info {
  margin: 20px 0;
  background: rgba(60, 60, 60, 0.8);
  padding: 15px;
  border-radius: 10px;
  font-size: 1em;
}

.recipes h3 {
  color: #ff9966;
  margin-bottom: 10px;
}

.recipes details {
  margin: 10px 0;
  padding: 10px;
  background: rgba(40, 40, 40, 0.85);
  border-radius: 8px;
  cursor: pointer;
}

.recipes summary {
  font-weight: bold;
  color: #ffcc00;
  cursor: pointer;
}

.recipes ul {
  margin-top: 8px;
  padding-left: 20px;
  font-size: 0.95em;
}

/* Общий фон */
.modal {
  display: none; 
  position: fixed; 
  z-index: 1000; 
  padding-top: 100px; 
  left: 0; top: 0;
  width: 100%; height: 100%;
  overflow: auto; 
  background-color: rgba(0,0,0,0.8);
}

/* Контент модалки */
.modal-content {
  background: rgba(30, 30, 30, 0.95);
  margin: auto;
  padding: 20px;
  border-radius: 12px;
  width: 60%;
  color: #eee;
  box-shadow: 0 0 15px rgba(255, 204, 0, 0.6);
  animation: fadeIn 0.3s ease-in-out;
}

.modal-content h3 {
  color: #ffcc00;
  margin-bottom: 10px;
}

.modal-content p {
  margin-bottom: 15px;
  line-height: 1.5;
}

.neon-image {
  text-align: center;
  margin-top: 10px;
}

.neon-image img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 0 12px rgba(255, 204, 0, 0.8);
}

/* Кнопка закрытия */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  cursor: pointer;
}

.close:hover {
  color: #fff;
}

/* Анимация появления */
@keyframes fadeIn {
  from {opacity: 0; transform: scale(0.9);}
  to {opacity: 1; transform: scale(1);}
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  padding-top: 100px;
  left: 0; top: 0;
  width: 100%; height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.8);
}

.modal-content {
  background: rgba(30, 30, 30, 0.95);
  margin: auto;
  padding: 20px;
  border-radius: 12px;
  width: 60%;
  color: #eee;
  box-shadow: 0 0 15px rgba(255, 204, 0, 0.6);
  animation: fadeIn 0.3s ease-in-out;
}

.modal-content h3 {
  color: #ffcc00;
  margin-bottom: 10px;
}

.modal-content p {
  margin-bottom: 15px;
  line-height: 1.5;
}

.neon-image img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 0 12px rgba(255, 204, 0, 0.8);
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  cursor: pointer;
}

.close:hover {
  color: #fff;
}

@keyframes fadeIn {
  from {opacity: 0; transform: scale(0.9);}
  to {opacity: 1; transform: scale(1);}
}

/* Убираем стандартный треугольник */
details summary {
  list-style: none;
}
details summary::-webkit-details-marker {
  display: none;
}

/* Стили кнопки-спойлера */
.spoiler-btn {
  display: inline-block;
  background: linear-gradient(90deg, #1a1a2e, #16213e);
  padding: 8px 16px;
  border-radius: 8px;
  color: #ffcc66;
  font-weight: bold;
  cursor: pointer;
  margin-top: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 0 8px rgba(255, 204, 102, 0.4);
}

/* Наведение */
.spoiler-btn:hover {
  background: linear-gradient(90deg, #ffcc66, #ff9966);
  color: #1a1a2e;
  box-shadow: 0 0 15px rgba(255, 204, 102, 0.8);
  transform: scale(1.03);
}

/* Когда спойлер открыт */
details[open] .spoiler-btn {
  background: linear-gradient(90deg, #66ccff, #3399ff);
  color: #fff;
  box-shadow: 0 0 15px rgba(102, 204, 255, 0.7);
}

.awakening-skills {
  background: linear-gradient(145deg, #0f1624, #1a1f33); /* плавный тёмно-синий фон */
  border: 2px solid rgba(255, 204, 102, 0.3);           /* полупрозрачная золотая рамка */
  border-radius: 15px;
  padding: 25px;
  margin: 40px auto;
  max-width: 1000px;
  box-shadow: 0 0 20px rgba(255, 204, 102, 0.2);       /* мягкое свечение */
}

/* Заголовок */
.awakening-skills .fancy-title {
  text-align: center;
  font-size: 28px;
  font-weight: bold;
  color: #ffcc66;
  text-shadow: 0 0 12px rgba(255, 204, 102, 0.7);
  margin-bottom: 15px;
}

/* Текст описания */
.awakening-skills .description {
  text-align: center;
  color: #ddd;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Разделитель */
.divider-icon2 {
  text-align: center;
  margin: 20px 0;
}
.divider-icon2 span {
  font-size: 24px;
  color: #66ccff;
  text-shadow: 0 0 10px rgba(102, 204, 255, 0.7);
}

/* Элемент умения */
.skill-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  margin-bottom: 15px;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}
.skill-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 15px rgba(102, 204, 255, 0.3);
}

/* Иконка умения */
.skill-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  border: 2px solid #66ccff;
}

/* Название умения */
.skill-name {
  font-weight: bold;
  font-size: 18px;
  color: #fff;
  flex: 1;
}

/* Описание внутри спойлера */
.skill-desc {
  margin-top: 10px;
  padding: 10px;
  background: rgba(20, 30, 50, 0.8);
  border-radius: 8px;
  color: #ccc;
  font-size: 15px;
  line-height: 1.5;
}

/* Блок источника */
.skill-source {
  margin-top: 30px;
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 12px;
}
.skill-source h3 {
  color: #ff9966;
  font-size: 22px;
  margin-bottom: 12px;
}
.skill-source p {
  color: #ccc;
  font-size: 16px;
  margin: 8px 0;
}

/* Монета */
.skill-source .reward-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0;
  background: rgba(255, 204, 102, 0.1);
  padding: 8px 14px;
  border-radius: 8px;
  color: #ffcc66;
  font-weight: bold;
  box-shadow: 0 0 8px rgba(255, 204, 102, 0.4);
}

/* Карта */
.map-container {
  margin: 15px auto;
  max-width: 400px;
}
.map-container img {
  width: 100%;
  border-radius: 12px;
  border: 2px solid rgba(102, 204, 255, 0.4);
  box-shadow: 0 0 12px rgba(102, 204, 255, 0.4);
}

/* Примечание */
.note {
  margin-top: 10px;
  font-size: 14px;
  color: #aaa;
  font-style: italic;
}

.skill-details {
  margin: 0;
  padding: 0;
}

.skill-details summary {
  list-style: none; /* Убираем стандартный маркер */
  cursor: pointer;
  font-weight: bold;
  padding: 5px 0;
}

.skill-desc {
  padding-left: 0; /* Убираем сдвиг текста */
  margin-top: 10px;
}

.skill-desc-bordered {
  border: 1px solid #ccc; /* Рамка вокруг содержимого */
  border-radius: 6px;
  padding: 10px;
  background-color: #FF7F50;
}



.skill-gif img {
  max-width: 100%;
  display: block;
  margin: 10px 0;
}

.daily-quests {
  padding: 25px;
  border-radius: 14px;
  margin: 30px 0;
  border: 1px solid #3a3a3a;

  /* Новый тёмный фон с градиентом */
  background: radial-gradient(circle at top, #2a2a32 0%, #18181c 100%);
  box-shadow: 0 6px 14px rgba(0,0,0,0.6);
  color: #eaeaea;
}

/* Секция */
.daily-quests {
  padding: 40px;
  border-radius: 16px;
  margin: 30px 0;
  border: 2px solid #444;
  background: linear-gradient(160deg, #1b1b1f 0%, #0f0f12 100%);
  box-shadow: 0 8px 20px rgba(0,0,0,0.7);
  color: #eaeaea;
  position: relative;
  overflow: hidden;
}

/* Декоративное свечение по краям */
.daily-quests::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    from 0deg,
    rgba(255, 200, 100, 0.3),
    rgba(100, 200, 255, 0.2),
    rgba(255, 200, 100, 0.3)
  );
  animation: rotateGlow 20s linear infinite;
  z-index: 0;
}
.daily-quests > * {
  position: relative;
  z-index: 1;
}

@keyframes rotateGlow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Заголовок */
.fancy-title {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 15px;
  color: #ffd369;
  text-shadow: 0 0 10px rgba(255, 211, 105, 0.7);
}

.section-desc {
  text-align: center;
  margin-bottom: 30px;
  color: #aaa;
  font-size: 1.1rem;
}

/* Сетка */
.quests-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

/* Карточки */
.quest-card {
  background: #222228;
  border: 1px solid #555;
  border-radius: 14px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.quest-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 16px rgba(255, 211, 105, 0.3);
}

.npc-icon {
  width: 90px;
  height: 90px;
  border-radius: 10px;
  margin-bottom: 12px;
  border: 2px solid #444;
}

.npc-name {
  margin: 0 0 12px;
  font-size: 1.3rem;
  color: #66d9ef;
}

/* Спойлер */
.quest-details summary {
  cursor: pointer;
  font-weight: bold;
  color: #ffcc66;
  font-size: 1rem;
}
.quest-desc {
  margin-top: 12px;
  text-align: left;
  background: #2a2a2e;
  border: 1px solid #555;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 0.95rem;
  line-height: 1.4;
}
.quest-desc ul {
  margin: 6px 0 0;
  padding-left: 20px;
}

/* Коробка */
.reward-box {
  margin-top: 40px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  border: 1px solid #555;
  border-radius: 14px;
  background: #222228;
  box-shadow: 0 4px 12px rgba(0,0,0

.monster-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px; /* расстояние между иконками */
}

.prints-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.print-card {
  background: linear-gradient(145deg, #1a1a1a, #222);
  border: 2px solid #00f0ff;
  border-radius: 16px;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
  padding: 16px;
  width: 220px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.print-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.6);
}

.print-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 12px;
}

.print-name {
  margin-top: 8px;
  font-size: 1.1rem;
  color: #00f0ff;
  text-shadow: 0 0 5px #00f0ff;
}

.spoiler-btn {
  cursor: pointer;
  padding: 6px 10px;
  background: #111;
  color: #00f0ff;
  border-radius: 12px;
  font-weight: bold;
  transition: background 0.2s, color 0.2s;
}

.spoiler-btn:hover {
  background: #00f0ff;
  color: #111;
}

.print-card {
  background: linear-gradient(145deg, #1a1a1a, #222) !important;
  border: 2px solid #00f0ff !important;
  border-radius: 16px !important;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.4) !important;
  padding: 16px !important;
  width: 220px !important;
  transition: transform 0.3s, box-shadow 0.3s !important;
}

.print-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.6) !important;
}

.print-name {
  color: #00f0ff !important;
  text-shadow: 0 0 5px #00f0ff !important;
  margin-top: 8px !important;
  font-size: 1.1rem !important;
  text-align: center !important;
}

.monster-list {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  justify-content: center !important;
  margin-top: 8px !important;
}

.monster-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
}

.monster-icon {
  width: 48px !important;
  height: 48px !important;
  object-fit: cover !important;
  border-radius: 50% !important;
  border: 2px solid #00f0ff !important;
  box-shadow: 0 0 8px rgba(0, 240, 255, 0.5) !important;
  margin-bottom: 4px !important;
  transition: transform 0.2s !important;
}

.monster-icon:hover {
  transform: scale(1.1) !important;
}

.location-image img {
  width: 100% !important;
  border-radius: 12px !important;
  margin-top: 8px !important;
  border: 2px solid #00f0ff !important;
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.4) !important;
}
