* { margin: 0; padding: 0; box-sizing: border-box; }

/* === ЦВЕТА (светлая тема) === */
:root {
  --bg: #f7f3f4;
  --bg-card: #ffffff;
  --text: #3a3a3a;
  --text-muted: #9a8f92;
  --accent: #c98b9c;
  --accent-soft: rgba(201, 139, 156, 0.25);
  --border: rgba(0, 0, 0, 0.06);
}

/* === ЦВЕТА (тёмная тема) === */
body.dark {
  --bg: #17151a;
  --bg-card: #221f26;
  --text: #ece8ee;
  --text-muted: #8a8290;
  --accent: #e5a7b8;
  --accent-soft: rgba(229, 167, 184, 0.25);
  --border: rgba(255, 255, 255, 0.07);
}

body {
  font-family: -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  transition: background .3s ease, color .3s ease;
  min-height: 100vh;
}

/* === Кнопка переключения темы === */
.theme-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s, box-shadow .2s, background .3s;
  z-index: 100;
}

.theme-toggle:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 20px var(--accent-soft);
}

/* === Шапка === */
.hero {
  text-align: center;
  padding: 80px 20px 60px;
}

.logo {
  max-width: 120px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 42px;
  font-weight: 600;
  letter-spacing: 1px;
}

.subtitle {
  color: var(--text-muted);
  margin-top: 8px;
  font-size: 16px;
}

.contacts {
  margin-top: 28px;
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.contacts a {
  color: var(--accent);
  text-decoration: none;
  font-size: 15px;
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}

.contacts a:hover {
  border-color: var(--accent);
}

/* === Сетка проектов === */
.projects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto 100px;
  padding: 0 24px;
}

.card {
  display: block;
  background: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--border);
  transition: transform .25s, box-shadow .25s, background .3s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px var(--accent-soft);
}

.card img {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--bg);
}

.card-info {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.card-info h2 {
  font-size: 17px;
  font-weight: 500;
}

.tag {
  font-size: 12px;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 20px;
  padding: 3px 10px;
  align-self: flex-start;
}
/* === Кнопка "Обо мне" на главной === */
.about-btn {
  display: inline-block;
  margin-top: 32px;
  padding: 12px 28px;
  border: 1px solid var(--accent);
  border-radius: 30px;
  color: var(--accent);
  text-decoration: none;
  font-size: 15px;
  transition: background .25s, color .25s;
}

.about-btn:hover {
  background: var(--accent);
  color: var(--bg-card);
}

/* === Страница "Обо мне" === */
.about-page {
  max-width: 620px;
  margin: 0 auto;
  padding: 100px 24px 80px;
  text-align: center;
}

.about-photo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 32px;
  border: 3px solid var(--accent);
}

.about-page h1 {
  font-size: 36px;
  font-weight: 600;
  letter-spacing: 1px;
}

.about-role {
  color: var(--text-muted);
  margin-top: 8px;
  font-size: 15px;
}

.about-text {
  margin: 40px 0 48px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.about-text p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
}

.btn-primary {
  display: inline-block;
  padding: 14px 36px;
  background: var(--accent);
  color: var(--bg-card);
  text-decoration: none;
  border-radius: 30px;
  font-size: 16px;
  transition: transform .2s, box-shadow .2s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px var(--accent-soft);
}
/* ============================================
   DARKSWORN — игровой лендинг
   ============================================ */

/* Тёмный фон для страницы DARKSWORN в любой теме */
.page-darksworn {
  background: #0d0b10;
  color: #e8e3e6;
}

/* --- HERO --- */
.ds-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  background-image: url('darksworn-hero.jpg');
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.ds-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 8, 12, 0.55) 0%,
    rgba(10, 8, 12, 0.75) 60%,
    rgba(13, 11, 16, 1) 100%
  );
  z-index: 1;
}

.ds-hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.ds-hero-logo {
  max-width: 280px;
  width: 80%;
  height: auto;
  margin: 0 auto 40px;
  display: block;
  filter: drop-shadow(0 4px 30px rgba(0, 0, 0, 0.6));
}

.ds-hero-slogan {
  font-size: 84px;
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 32px;
  color: #ffffff;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
}

.ds-hero-sub {
  font-size: 20px;
  color: #e5a7b8;
  margin-bottom: 32px;
  font-style: italic;
}

.ds-hero-lead {
  font-size: 16px;
  line-height: 1.8;
  color: #c9bfc5;
}

.ds-scroll-hint {
  position: relative;
  z-index: 2;
  margin-top: 40px;
  font-size: 28px;
  color: #b894a6;
  text-decoration: none;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* --- MAIN --- */
.ds-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 24px 0;
}

/* --- СЕКЦИИ --- */
.ds-section {
  padding: 100px 0;
  text-align: center;
}

.ds-h2 {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.15;
  margin-bottom: 20px;
  color: #ffffff;
}

.ds-lead {
  font-size: 18px;
  color: #a89ba2;
  margin-bottom: 56px;
  font-style: italic;
}

.ds-text {
  max-width: 720px;
  margin: 0 auto;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ds-text p {
  font-size: 16px;
  line-height: 1.8;
  color: #c9bfc5;
}

/* --- СЕТКА КАРТОЧЕК --- */
.ds-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 56px;
  text-align: left;
}

.ds-card {
  background: #17141b;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  overflow: hidden;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}

.ds-card:hover {
  transform: translateY(-4px);
  border-color: #e5a7b8;
  box-shadow: 0 16px 40px rgba(229, 167, 184, 0.15);
}

.ds-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  background: #221f26;
}

.ds-card-body {
  padding: 20px 20px 24px;
}

.ds-card-body h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #ffffff;
  margin-bottom: 12px;
}

.ds-card-body h3 span {
  font-size: 13px;
  font-weight: 400;
  color: #a89ba2;
  letter-spacing: 0;
  display: block;
  margin-top: 4px;
}

.ds-card-body p {
  font-size: 14px;
  line-height: 1.65;
  color: #b7acb2;
  font-style: italic;
}

/* --- КНОПКИ-ДЕКОР --- */
.ds-btn-wrap {
  display: flex;
  justify-content: center;
}

.ds-btn {
  display: inline-block;
  padding: 16px 44px;
  border: 1px solid #e5a7b8;
  color: #e5a7b8;
  font-size: 14px;
  letter-spacing: 3px;
  border-radius: 4px;
  cursor: default;
  user-select: none;
  transition: background .25s, color .25s;
}

.ds-btn:hover {
  background: #e5a7b8;
  color: #0d0b10;
}

/* --- ГАЛЕРЕЯ --- */
.ds-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.ds-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  background: #221f26;
  transition: transform .3s;
}

.ds-gallery img:hover {
  transform: scale(1.02);
}

/* --- FOOTER --- */
.ds-footer {
  margin-top: 60px;
  padding: 72px 24px 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}

.ds-footer-logo h3 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 4px;
  color: #ffffff;
  margin-bottom: 6px;
}

.ds-footer-logo p {
  font-size: 14px;
  color: #a89ba2;
  font-style: italic;
  margin-bottom: 36px;
}

.ds-footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-bottom: 40px;
}

.ds-footer-nav a {
  color: #c9bfc5;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 1px;
  border-bottom: 1px solid transparent;
  transition: border-color .2s, color .2s;
}

.ds-footer-nav a:hover {
  color: #e5a7b8;
  border-color: #e5a7b8;
}

.ds-footer-legal {
  font-size: 12px;
  color: #6f666d;
  line-height: 1.6;
}

/* --- Адаптив для телефона --- */
@media (max-width: 640px) {
  .ds-hero-slogan { font-size: 52px; }
  .ds-h2 { font-size: 30px; }
  .ds-section { padding: 72px 0; }
  .ds-lead { font-size: 16px; margin-bottom: 40px; }
}
/* ============================================
   МОДАЛКА АРХОНТА
   ============================================ */

.ds-card-clickable {
  cursor: pointer;
}

.ds-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.ds-modal.open {
  display: flex;
}

.ds-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 4, 7, 0.85);
  backdrop-filter: blur(6px);
}

.ds-modal-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  background: #17141b;
  border: 1px solid rgba(229, 167, 184, 0.25);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
  animation: modalIn .3s ease;
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(20px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.ds-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: transparent;
  color: #ffffff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, border-color .2s;
}

.ds-modal-close:hover {
  background: #e5a7b8;
  border-color: #e5a7b8;
  color: #0d0b10;
}

.ds-modal-body {
  text-align: center;
}

.ds-modal-img {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  margin: 0 auto 24px;
  display: block;
}

.ds-modal-name {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 3px;
  color: #ffffff;
  margin-bottom: 8px;
}

.ds-modal-title {
  font-size: 15px;
  color: #e5a7b8;
  font-style: italic;
  margin-bottom: 28px;
}

.ds-modal-lore {
  font-size: 16px;
  line-height: 1.8;
  color: #c9bfc5;
  text-align: left;
}
/* ============================================
   СТРАНИЦА ЛОРА DARKSWORN
   ============================================ */

.lore-page {
  max-width: 780px;
  margin: 0 auto;
  padding: 100px 24px 80px;
}

/* --- Шапка --- */
.lore-header {
  text-align: center;
  margin-bottom: 56px;
}

.lore-logo {
  max-width: 220px;
  width: 60%;
  display: block;
  margin: 0 auto 32px;
  filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.5));
}

.lore-title {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: 4px;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 12px;
}

.lore-subtitle {
  font-size: 16px;
  color: #e5a7b8;
  font-style: italic;
  letter-spacing: 2px;
}

.lore-cover {
  width: 100%;
  display: block;
  border-radius: 16px;
  margin-bottom: 72px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* --- Главы --- */
.lore-chapter {
  margin-bottom: 80px;
}

.lore-chapter h2 {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 3px;
  color: #ffffff;
  margin-bottom: 8px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(229, 167, 184, 0.25);
}

.lore-chapter h2 span {
  display: block;
  font-size: 14px;
  font-weight: 400;
  color: #e5a7b8;
  font-style: italic;
  letter-spacing: 1px;
  margin-top: 6px;
  text-transform: none;
}

.lore-chapter blockquote {
  margin: 32px 0;
  padding: 16px 24px;
  border-left: 3px solid #e5a7b8;
  font-size: 17px;
  font-style: italic;
  color: #c9bfc5;
  line-height: 1.7;
  background: rgba(229, 167, 184, 0.04);
  border-radius: 0 8px 8px 0;
}

.lore-chapter p {
  font-size: 16px;
  line-height: 1.85;
  color: #c9bfc5;
  margin-bottom: 20px;
}

.lore-list {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}

.lore-list li {
  font-size: 16px;
  line-height: 1.8;
  color: #c9bfc5;
  padding: 12px 0 12px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
}

.lore-list li:before {
  content: "◆";
  position: absolute;
  left: 0;
  color: #e5a7b8;
  font-size: 12px;
  top: 16px;
}

.lore-list li strong {
  color: #ffffff;
  font-weight: 600;
}

/* --- Финальная цитата --- */
.lore-final {
  margin: 100px 0 80px;
  padding: 48px 32px;
  border-top: 1px solid rgba(229, 167, 184, 0.25);
  border-bottom: 1px solid rgba(229, 167, 184, 0.25);
  text-align: center;
}

.lore-final-quote {
  font-size: 20px;
  line-height: 1.8;
  color: #ffffff;
  font-style: italic;
  max-width: 640px;
  margin: 0 auto;
}

/* --- Адаптив --- */
@media (max-width: 640px) {
  .lore-title { font-size: 30px; letter-spacing: 2px; }
  .lore-chapter h2 { font-size: 20px; }
  .lore-final-quote { font-size: 17px; }
  .lore-chapter blockquote { font-size: 15px; padding: 14px 18px; }
}
/* ============================================
   КНОПКА "НАЗАД" НА ЛОРНОЙ СТРАНИЦЕ
   ============================================ */

.lore-back {
  display: inline-block;
  padding: 12px 28px;
  border: 1px solid #e5a7b8;
  color: #e5a7b8;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  border-radius: 4px;
  margin-bottom: 48px;
  transition: background .25s, color .25s, transform .2s;
}

.lore-back:hover {
  background: #e5a7b8;
  color: #0d0b10;
  transform: translateX(-3px);
}
/* ============================================
   УНИВЕРСАЛЬНАЯ КНОПКА "НАЗАД"
   Работает и на светлой, и на тёмной теме
   ============================================ */

.back-btn {
  display: inline-block;
  padding: 12px 28px;
  border: 1px solid var(--accent);
  color: var(--accent);
  background: transparent;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  border-radius: 4px;
  margin-bottom: 48px;
  transition: background .25s, color .25s, transform .2s;
}

.back-btn:hover {
  background: var(--accent);
  color: var(--bg-card);
  transform: translateX(-3px);
}
/* ============================================
   ECHO BLOOM — светлый тёплый лендинг
   ============================================ */

.page-echobloom {
  background: #FFF7F0;
  color: #1A1A1A;
}

/* --- HERO --- */
.eb-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}

.eb-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.eb-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(26, 26, 26, 0.35) 0%,
    rgba(26, 26, 26, 0.65) 60%,
    rgba(255, 247, 240, 1) 100%
  );
  z-index: 2;
}

.eb-hero-content {
  position: relative;
  z-index: 3;
  padding: 0 24px;
}

.eb-hero-logo {
  max-width: 520px;
  width: 80%;
  display: block;
  margin: 0 auto 32px;
  filter: drop-shadow(0 4px 30px rgba(0, 0, 0, 0.5));
}

.eb-hero-slogan {
  font-size: 22px;
  font-style: italic;
  color: #FFFFFF;
  letter-spacing: 2px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.7);
}

.eb-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 28px;
  color: #1A1A1A;
  text-decoration: none;
  z-index: 3;
  animation: bounce 2s infinite;
}

/* --- MAIN --- */
.eb-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 24px 0;
}

.eb-main .back-btn {
  border-color: #8B5A2B;
  color: #8B5A2B;
  margin-bottom: 60px;
}

.eb-main .back-btn:hover {
  background: #8B5A2B;
  color: #FFF7F0;
}

/* --- СЕКЦИИ --- */
.eb-section {
  padding: 80px 0;
  text-align: center;
}

.eb-h2 {
  font-size: 38px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #1A1A1A;
  margin-bottom: 32px;
  line-height: 1.2;
}

.eb-lead {
  font-size: 17px;
  font-style: italic;
  color: #8B5A2B;
  margin-bottom: 48px;
}

.eb-text {
  max-width: 720px;
  margin: 0 auto;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.eb-text p {
  font-size: 16px;
  line-height: 1.85;
  color: #3a3532;
}

/* --- SORA --- */
.eb-sora-slogan {
  font-size: 16px;
  font-style: italic;
  color: #8B5A2B;
  margin-bottom: 40px;
}

.eb-sora-wrap {
  max-width: 500px;
  margin: 0 auto 40px;
}

.eb-sora-img {
  width: 100%;
  display: block;
  filter: drop-shadow(0 20px 40px rgba(139, 90, 43, 0.25));
}

.eb-sora-text {
  max-width: 720px;
  margin: 0 auto 32px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.eb-sora-text p {
  font-size: 15px;
  line-height: 1.8;
  color: #3a3532;
}

.eb-sora-text strong {
  color: #8B5A2B;
}

.eb-quote {
  font-size: 20px;
  font-style: italic;
  color: #8B5A2B;
  text-align: center;
  max-width: 600px;
  margin: 40px auto 0;
  line-height: 1.6;
}

/* --- СКИНЫ — КАРУСЕЛЬ --- */
.eb-skins-carousel {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 24px;
  align-items: center;
  max-width: 900px;
  margin: 0 auto 48px;
}

.eb-skin-side {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: transform .3s;
  font-family: inherit;
}

.eb-skin-side:hover {
  transform: scale(1.05);
}

.eb-skin-side img {
  width: 100%;
  display: block;
  opacity: 0.4;
  filter: grayscale(0.6);
  transition: opacity .3s, filter .3s;
  max-height: 280px;
  object-fit: contain;
}

.eb-skin-side:hover img {
  opacity: 0.7;
  filter: grayscale(0.3);
}

.eb-skin-side span {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  color: #1A1A1A;
}

.eb-skin-side small {
  font-size: 11px;
  color: #8B5A2B;
  letter-spacing: 1px;
}

.eb-skin-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.eb-skin-center img {
  width: 100%;
  max-height: 460px;
  object-fit: contain;
  display: block;
  transition: opacity .4s ease, transform .4s ease;
  filter: drop-shadow(0 20px 50px rgba(139, 90, 43, 0.3));
  opacity: 1;
  transform: scale(1);
}

.eb-skin-center img.fading {
  opacity: 0;
  transform: scale(0.95);
}

.eb-skin-center span {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 3px;
  color: #1A1A1A;
}

.eb-skin-center small {
  font-size: 12px;
  color: #8B5A2B;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* --- Инфо о скине --- */
.eb-skin-info {
  max-width: 720px;
  margin: 0 auto;
  text-align: left;
  padding: 32px;
  background: rgba(139, 90, 43, 0.05);
  border-radius: 16px;
  border-left: 3px solid #8B5A2B;
  transition: opacity .25s;
}

.eb-skin-info h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #1A1A1A;
  margin-bottom: 16px;
}

.eb-skin-lore {
  font-size: 15px;
  line-height: 1.8;
  color: #3a3532;
  margin-bottom: 16px;
  font-style: italic;
}

.eb-skin-quote {
  font-size: 15px;
  line-height: 1.7;
  color: #8B5A2B;
  font-weight: 500;
}

/* --- ЛОКАЦИИ --- */
.eb-locations {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  text-align: left;
}

.eb-location {
  background: #FFFFFF;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(139, 90, 43, 0.1);
  transition: transform .3s, box-shadow .3s;
}

.eb-location:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(139, 90, 43, 0.15);
}

.eb-location img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.eb-location h3 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #1A1A1A;
  padding: 24px 24px 8px;
}

.eb-location-quote {
  font-size: 14px;
  font-style: italic;
  color: #8B5A2B;
  padding: 0 24px 12px;
  line-height: 1.6;
}

.eb-location p:last-child {
  font-size: 14px;
  line-height: 1.7;
  color: #3a3532;
  padding: 0 24px 24px;
}

/* --- ТЕХНОЛОГИЯ --- */
.eb-tech-section {
  background: rgba(139, 90, 43, 0.04);
  border-radius: 20px;
  padding: 80px 32px;
}

/* --- ФИНАЛ --- */
.eb-final {
  text-align: center;
  padding: 100px 0 80px;
}

.eb-final-title {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: 3px;
  color: #1A1A1A;
  margin-bottom: 16px;
}

.eb-final-lead {
  font-size: 16px;
  color: #3a3532;
  margin-bottom: 40px;
  font-style: italic;
}

.eb-btn {
  display: inline-block;
  padding: 16px 48px;
  background: #8B5A2B;
  color: #FFF7F0;
  font-size: 14px;
  letter-spacing: 3px;
  border-radius: 4px;
  cursor: default;
  user-select: none;
  transition: transform .25s, box-shadow .25s;
}

.eb-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(139, 90, 43, 0.4);
}

/* --- ФУТЕР --- */
.eb-footer {
  padding: 60px 24px 48px;
  border-top: 1px solid rgba(139, 90, 43, 0.15);
  text-align: center;
}

.eb-footer-logo {
  max-width: 140px;
  opacity: 0.6;
  margin-bottom: 16px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.eb-footer p {
  font-size: 13px;
  color: #8B5A2B;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* --- Адаптив --- */
@media (max-width: 640px) {
  .eb-hero-logo { max-width: 320px; }
  .eb-hero-slogan { font-size: 16px; }
  .eb-h2 { font-size: 26px; }
  .eb-final-title { font-size: 24px; letter-spacing: 2px; }

  .eb-skins-carousel {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .eb-skin-side img {
    max-height: 180px;
  }

  .eb-skin-center img {
    max-height: 380px;
  }
}
/* ============================================
   MEMORY FRACTURE
   ============================================ */

.page-memoryfracture {
  background: #121212;
  color: #E0DCD5;
}

/* --- HERO --- */
.mf-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 80px;
}

.mf-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.mf-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(18, 18, 18, 0.3) 0%,
    rgba(18, 18, 18, 0.7) 60%,
    rgba(18, 18, 18, 1) 100%
  );
  z-index: 2;
}

.mf-hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 0 24px;
}

.mf-hero-title {
  font-size: 72px;
  font-weight: 800;
  letter-spacing: 4px;
  color: #FFFFFF;
  margin-bottom: 24px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.8);
}

.mf-hero-slogan {
  font-size: 20px;
  font-style: italic;
  color: #FF2E9A;
  line-height: 1.6;
  letter-spacing: 1px;
  text-shadow: 0 0 20px rgba(255, 46, 154, 0.5);
}

/* --- MAIN --- */
.mf-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.mf-main .back-btn {
  border-color: #FF2E9A;
  color: #FF2E9A;
  margin-bottom: 60px;
}

.mf-main .back-btn:hover {
  background: #FF2E9A;
  color: #121212;
  box-shadow: 0 0 20px rgba(255, 46, 154, 0.5);
}

/* --- СЕКЦИИ --- */
.mf-section {
  padding: 60px 0;
  text-align: center;
}

.mf-h2 {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 3px;
  color: #FFFFFF;
  margin-bottom: 40px;
  line-height: 1.3;
  text-shadow: 0 0 30px rgba(255, 46, 154, 0.25);
}

/* --- ЛОГО --- */
.mf-logo-section {
  padding: 20px 0 80px;
}

.mf-logo {
  max-width: 480px;
  width: 70%;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 4px 40px rgba(0, 255, 65, 0.15));
}

/* --- ТЕКСТ --- */
.mf-text {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mf-text p {
  font-size: 16px;
  line-height: 1.85;
  color: #C9C4BD;
}

.mf-quote {
  font-size: 19px;
  font-style: italic;
  color: #2E9AFF;
  text-align: center;
  max-width: 600px;
  margin: 40px auto 0;
  line-height: 1.7;
  text-shadow: 0 0 16px rgba(46, 154, 255, 0.4);
}

/* --- РЯД (3 картинки) --- */
.mf-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.mf-row img {
  width: 100%;
  display: block;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform .3s, border-color .3s;
  background: #1E1A17;
}

.mf-row img:hover {
  transform: translateY(-4px);
  border-color: #FF2E9A;
  box-shadow: 0 0 24px rgba(255, 46, 154, 0.35);
}

/* --- СЕТКА 2×2 (стикеры) --- */
.mf-grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 720px;
  margin: 0 auto;
}

.mf-grid-2x2 img {
  width: 100%;
  display: block;
  background: transparent;
  transition: transform .3s;
}

.mf-grid-2x2 img:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 20px rgba(46, 154, 255, 0.5));
}

/* --- УПАКОВКА --- */
.mf-packaging {
  width: 100%;
  display: block;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* --- ФИНАЛ --- */
.mf-final {
  text-align: center;
  padding: 100px 0 80px;
}

.mf-final-quote {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 4px;
  color: #FFFFFF;
  margin-bottom: 32px;
  text-shadow: 0 0 30px rgba(46, 154, 255, 0.4);
}

.mf-btn {
  display: inline-block;
  padding: 16px 44px;
  border: 1px solid #FF2E9A;
  color: #FF2E9A;
  font-size: 14px;
  letter-spacing: 3px;
  border-radius: 4px;
  cursor: default;
  user-select: none;
  transition: background .25s, color .25s, box-shadow .25s;
}

.mf-btn:hover {
  background: #FF2E9A;
  color: #121212;
  box-shadow: 0 0 30px rgba(255, 46, 154, 0.6);
}

/* --- ФУТЕР --- */
.mf-footer {
  padding: 60px 24px 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}

.mf-footer-logo {
  max-width: 140px;
  opacity: 0.7;
  margin-bottom: 16px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.mf-footer p {
  font-size: 13px;
  color: #6f666d;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* --- Адаптив --- */
@media (max-width: 640px) {
  .mf-hero-title { font-size: 40px; letter-spacing: 2px; }
  .mf-hero-slogan { font-size: 16px; }
  .mf-h2 { font-size: 22px; letter-spacing: 2px; }
  .mf-row { grid-template-columns: 1fr; }
  .mf-grid-2x2 { gap: 16px; }
  .mf-final-quote { font-size: 20px; letter-spacing: 2px; }
}
/* ============================================
   STILL WATERS — холодный атмосферный лендинг
   ============================================ */

.page-stillwaters {
  background: #0A1128;
  color: #E5E0D8;
}

/* --- HERO --- */
.sw-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}

.sw-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.sw-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 17, 40, 0.4) 0%,
    rgba(10, 17, 40, 0.7) 60%,
    rgba(10, 17, 40, 1) 100%
  );
  z-index: 2;
}

.sw-hero-content {
  position: relative;
  z-index: 3;
  padding: 0 24px;
}

.sw-hero-logo {
  max-width: 520px;
  width: 80%;
  display: block;
  margin: 0 auto 32px;
  filter: drop-shadow(0 4px 30px rgba(0, 180, 216, 0.3));
}

.sw-hero-slogan {
  font-size: 20px;
  font-style: italic;
  color: #E5E0D8;
  letter-spacing: 2px;
  line-height: 1.6;
  text-shadow: 0 2px 20px rgba(10, 17, 40, 0.8);
}

.sw-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 28px;
  color: #00B4D8;
  text-decoration: none;
  z-index: 3;
  animation: bounce 2s infinite;
}

/* --- MAIN --- */
.sw-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 24px 0;
}

.sw-main .back-btn {
  border-color: #00B4D8;
  color: #00B4D8;
  margin-bottom: 60px;
}

.sw-main .back-btn:hover {
  background: #00B4D8;
  color: #0A1128;
  box-shadow: 0 0 24px rgba(0, 180, 216, 0.5);
}

/* --- СЕКЦИИ --- */
.sw-section {
  padding: 80px 0;
  text-align: center;
}

.sw-h2 {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 3px;
  color: #E5E0D8;
  margin-bottom: 24px;
  line-height: 1.2;
}

.sw-lead {
  font-size: 16px;
  font-style: italic;
  color: #7FC7D9;
  margin-bottom: 48px;
  line-height: 1.6;
}

.sw-text {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.sw-text p {
  font-size: 16px;
  line-height: 1.85;
  color: #C9D1D9;
}

/* --- ЭЛИАН --- */
.sw-hero-wrap {
  max-width: 400px;
  margin: 0 auto 40px;
}

.sw-elian-img {
  width: 100%;
  display: block;
  filter: drop-shadow(0 20px 60px rgba(0, 180, 216, 0.25));
}

.sw-hero-info {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.sw-hero-info h3 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 3px;
  color: #E5E0D8;
  margin-bottom: 8px;
}

.sw-hero-role {
  font-size: 14px;
  color: #00B4D8;
  letter-spacing: 2px;
  margin-bottom: 24px;
  font-style: italic;
}

.sw-hero-info p {
  font-size: 15px;
  line-height: 1.8;
  color: #C9D1D9;
  margin-bottom: 16px;
}

.sw-quote {
  font-size: 18px;
  font-style: italic;
  color: #E8B870;
  text-align: center;
  max-width: 600px;
  margin: 40px auto 0;
  line-height: 1.7;
  padding: 0 16px;
}

/* --- СХЕМА КОРАБЛЯ --- */
.sw-ship-section {
  padding: 60px 0;
}

.sw-ship-wrap {
  max-width: 900px;
  margin: 0 auto;
  background: #E5E0D8;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.sw-ship-img {
  width: 100%;
  display: block;
  border-radius: 8px;
}

/* --- ЛОКАЦИИ С БАБЛАМИ --- */
.sw-location {
  position: relative;
  margin-bottom: 60px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.sw-loc-img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.sw-bubble {
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 32px;
  background: rgba(10, 17, 40, 0.92);
  border: 1px solid rgba(0, 180, 216, 0.4);
  border-left: 3px solid #00B4D8;
  border-radius: 12px;
  padding: 24px 28px;
  text-align: left;
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
}

.sw-bubble-who {
  font-size: 12px;
  letter-spacing: 2px;
  color: #00B4D8;
  margin-bottom: 12px;
  font-weight: 600;
}

.sw-noise {
  color: #E8B870;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.sw-bubble-text {
  font-size: 15px;
  line-height: 1.75;
  color: #E5E0D8;
  margin-bottom: 20px;
  font-style: italic;
}

.sw-glitch {
  color: #E8B870;
  font-family: 'Courier New', monospace;
  letter-spacing: 0.5px;
  text-shadow:
    0 0 8px rgba(232, 184, 112, 0.4),
    1px 0 0 rgba(0, 180, 216, 0.5),
    -1px 0 0 rgba(197, 124, 64, 0.5);
  animation: glitch 3s infinite;
}

@keyframes glitch {
  0%, 90%, 100% { transform: translateX(0); }
  92% { transform: translateX(-2px); }
  94% { transform: translateX(2px); }
  96% { transform: translateX(-1px); }
}

/* --- ВАРИАНТЫ ОТВЕТА --- */
.sw-choices {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 180, 216, 0.2);
}

.sw-choice {
  display: block;
  padding: 10px 16px;
  font-size: 14px;
  color: #7FC7D9;
  background: rgba(0, 180, 216, 0.08);
  border: 1px solid rgba(0, 180, 216, 0.25);
  border-radius: 6px;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s, transform .15s;
}

.sw-choice:hover {
  background: rgba(0, 180, 216, 0.2);
  border-color: #00B4D8;
  color: #E5E0D8;
  transform: translateX(4px);
}

/* Пустая кнопка — сломанный интерфейс */
.sw-choice-empty {
  display: block;
  padding: 10px 16px;
  height: 41px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  cursor: default;
}

/* --- СУЩЕСТВА --- */
.sw-creatures {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.sw-creature {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: radial-gradient(
    ellipse at center bottom,
    #1B3A4B 0%,
    #0A1128 80%
  );
}

.sw-creature img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  z-index: 1;
}

/* Растворение нижнего края */
.sw-creature-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    transparent 55%,
    rgba(10, 17, 40, 0.7) 80%,
    #0A1128 100%
  );
  z-index: 2;
  pointer-events: none;
}

.sw-creature-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 24px 20px;
  text-align: center;
}

.sw-creature-info h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 4px;
  color: #E5E0D8;
  margin-bottom: 10px;
  text-shadow: 0 0 20px rgba(0, 180, 216, 0.4);
}

.sw-creature-info p {
  font-size: 12px;
  line-height: 1.6;
  color: #7FC7D9;
  letter-spacing: 1.5px;
  font-style: italic;
}

/* Индивидуальные настройки для каждого существа */
.sw-creature-walker img {
  object-position: left top;
}

.sw-creature-holder img {
  object-position: center top;
}

/* --- ФИНАЛ + КРУЖКА --- */
.sw-final {
  text-align: center;
  padding: 100px 0 60px;
}

.sw-final-title {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: 3px;
  color: #E5E0D8;
  margin-bottom: 16px;
  line-height: 1.3;
}

.sw-final-lead {
  font-size: 16px;
  color: #7FC7D9;
  margin-bottom: 60px;
  font-style: italic;
}

.sw-mug-wrap {
  max-width: 500px;
  margin: 0 auto 60px;
}

.sw-mug {
  width: 100%;
  max-width: 320px;
  display: block;
  margin: 0 auto 24px;
  filter: drop-shadow(0 20px 50px rgba(232, 184, 112, 0.3));
}

.sw-mug-caption {
  font-size: 15px;
  color: #E8B870;
  font-style: italic;
  line-height: 1.7;
}

.sw-mug-caption span {
  display: block;
  font-size: 13px;
  color: #7FC7D9;
  margin-top: 8px;
  font-style: normal;
}

.sw-btn {
  display: inline-block;
  padding: 16px 48px;
  border: 1px solid #00B4D8;
  color: #00B4D8;
  font-size: 14px;
  letter-spacing: 3px;
  border-radius: 4px;
  cursor: default;
  user-select: none;
  transition: background .25s, color .25s, box-shadow .25s;
}

.sw-btn:hover {
  background: #00B4D8;
  color: #0A1128;
  box-shadow: 0 0 30px rgba(0, 180, 216, 0.6);
}

/* --- ФУТЕР --- */
.sw-footer {
  padding: 60px 24px 48px;
  border-top: 1px solid rgba(0, 180, 216, 0.15);
  text-align: center;
}

.sw-footer-logo {
  max-width: 140px;
  opacity: 0.6;
  margin-bottom: 24px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.sw-footer-main {
  font-size: 13px;
  color: #7FC7D9;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.sw-footer-sub {
  font-size: 12px;
  color: #5A6A7A;
  font-style: italic;
  line-height: 1.6;
}

/* --- Адаптив --- */
@media (max-width: 640px) {
  .sw-hero-logo { max-width: 320px; }
  .sw-hero-slogan { font-size: 15px; }
  .sw-h2 { font-size: 24px; letter-spacing: 2px; }
  .sw-final-title { font-size: 22px; letter-spacing: 2px; }

  .sw-bubble {
    left: 16px;
    right: 16px;
    bottom: 16px;
    padding: 18px 20px;
  }

  .sw-bubble-text { font-size: 13px; }
  .sw-choice { font-size: 12px; padding: 8px 12px; }

  .sw-creatures {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .sw-ship-wrap { padding: 20px; }
  .sw-mug { max-width: 240px; }
}
/* ============================================
   HOT POT KOREAN STREET FOOD — неоновый кейс
   ============================================ */

.page-hotpot {
  background: #0D0D14;
  color: #F5F0F5;
}

/* --- HERO --- */
.hp-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}

.hp-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hp-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(13, 13, 20, 0.3) 0%,
    rgba(13, 13, 20, 0.65) 55%,
    rgba(13, 13, 20, 1) 100%
  );
  z-index: 2;
}

.hp-hero-content {
  position: relative;
  z-index: 3;
  padding: 0 24px;
}

.hp-hero-title {
  font-size: 96px;
  font-weight: 900;
  letter-spacing: 6px;
  color: #FFFFFF;
  line-height: 1;
  margin-bottom: 16px;
  text-shadow:
    0 0 30px rgba(255, 46, 154, 0.6),
    0 0 60px rgba(0, 229, 255, 0.4);
}

.hp-hero-sub {
  font-size: 20px;
  letter-spacing: 8px;
  color: #00E5FF;
  margin-bottom: 32px;
  font-weight: 600;
  text-shadow: 0 0 20px rgba(0, 229, 255, 0.6);
}

.hp-hero-slogan {
  font-size: 18px;
  font-style: italic;
  color: #FF2E9A;
  letter-spacing: 2px;
  text-shadow: 0 0 20px rgba(255, 46, 154, 0.5);
}

.hp-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 28px;
  color: #FF2E9A;
  text-decoration: none;
  z-index: 3;
  animation: bounce 2s infinite;
}

/* --- MAIN --- */
.hp-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 24px 0;
}

.hp-main .back-btn {
  border-color: #FF2E9A;
  color: #FF2E9A;
  margin-bottom: 60px;
}

.hp-main .back-btn:hover {
  background: #FF2E9A;
  color: #0D0D14;
  box-shadow: 0 0 24px rgba(255, 46, 154, 0.6);
}

/* --- СЕКЦИИ --- */
.hp-section {
  padding: 80px 0;
  text-align: center;
}

.hp-h2 {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: 4px;
  color: #FFFFFF;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hp-lead {
  font-size: 16px;
  font-style: italic;
  color: #00E5FF;
  margin-bottom: 48px;
  line-height: 1.6;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.hp-text {
  max-width: 720px;
  margin: 0 auto;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hp-text p {
  font-size: 16px;
  line-height: 1.85;
  color: #C9C4CC;
}

/* ============================================
   СЕТКИ — с разными форматами
   ============================================ */

/* Базовая сетка 2 колонки */
.hp-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 20px;
  align-items: start;
}

/* Базовая сетка 3 колонки */
.hp-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 20px;
  align-items: start;
}

/* Универсальные картинки в сетках — не обрезаем, показываем целиком */
.hp-grid-2 img,
.hp-grid-3 img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: transparent;
  object-fit: contain;
  transition: transform .3s, border-color .3s, box-shadow .3s;
}

.hp-grid-2 img:hover,
.hp-grid-3 img:hover {
  transform: translateY(-4px);
  border-color: #FF2E9A;
  box-shadow: 0 16px 40px rgba(255, 46, 154, 0.25);
}

/* Сетка для ЛОГОТИПОВ — без фона, contain, чтобы длинный не обрезался */
.hp-grid-logos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 20px;
  align-items: center;
}

.hp-grid-logos img {
  width: 100%;
  height: auto;
  max-height: 180px;
  object-fit: contain;
  display: block;
  background: transparent;
  border: none;
  transition: transform .3s;
  filter: drop-shadow(0 8px 24px rgba(255, 46, 154, 0.15));
}

.hp-grid-logos img:hover {
  transform: scale(1.05);
}

/* Горизонтальные картинки — 16:9 (постеры, ивенты) */
.hp-grid-landscape img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #1A1A22;
}

/* Вертикальные картинки — A4 (листовки) */
.hp-grid-portrait img {
  aspect-ratio: 3 / 4;
  object-fit: contain;
  background: transparent;
}

/* Узкие вертикальные карточки (k-pop, как банковские) */
.hp-grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.hp-grid-cards img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: #1A1A22;
  transition: transform .3s, border-color .3s;
  display: block;
}

.hp-grid-cards img:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: #00E5FF;
  box-shadow: 0 16px 40px rgba(0, 229, 255, 0.25);
}

/* ============================================
   НАКЛЕЙКИ — МОЗАИКА
   ============================================ */

.hp-stickers {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.hp-stickers img {
  width: 100%;
  height: auto;
  display: block;
  background: transparent;
  border: none;
  object-fit: contain;
  transition: transform .3s, filter .3s;
  filter: drop-shadow(0 10px 30px rgba(255, 46, 154, 0.15));
}

/* Мозаика — крупные и мелкие вперемешку */
.hp-stickers img:nth-child(1),
.hp-stickers img:nth-child(4),
.hp-stickers img:nth-child(8) {
  grid-column: span 2;
  grid-row: span 2;
}

.hp-stickers img:hover {
  transform: scale(1.08) rotate(-3deg);
  filter: drop-shadow(0 16px 40px rgba(0, 229, 255, 0.5));
}

/* ============================================
   ГАЛЕРЕЯ — 16:9, 2 колонки
   ============================================ */

.hp-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.hp-gallery img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  background: #1A1A22;
  transition: transform .35s, filter .35s;
  filter: brightness(0.92);
}

.hp-gallery img:hover {
  transform: scale(1.02);
  filter: brightness(1.05);
}

/* --- ФИНАЛ --- */
.hp-final {
  text-align: center;
  padding: 120px 0 80px;
}

.hp-final-title {
  font-size: 42px;
  font-weight: 900;
  letter-spacing: 4px;
  color: #FFFFFF;
  margin-bottom: 24px;
  line-height: 1.2;
  text-shadow:
    0 0 30px rgba(255, 46, 154, 0.4),
    0 0 60px rgba(0, 229, 255, 0.2);
}

.hp-final-lead {
  font-size: 17px;
  color: #C9C4CC;
  margin-bottom: 48px;
  font-style: italic;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.hp-btn {
  display: inline-block;
  padding: 16px 48px;
  border: 1px solid #00E5FF;
  color: #00E5FF;
  font-size: 14px;
  letter-spacing: 3px;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  transition: background .25s, color .25s, box-shadow .25s;
}

.hp-btn:hover {
  background: #00E5FF;
  color: #0D0D14;
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.6);
}

/* --- ФУТЕР --- */
.hp-footer {
  padding: 60px 24px 48px;
  border-top: 1px solid rgba(255, 46, 154, 0.15);
  text-align: center;
}

.hp-footer-logo {
  max-width: 140px;
  opacity: 0.6;
  margin-bottom: 16px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.hp-footer p {
  font-size: 13px;
  color: #FF2E9A;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* --- Адаптив --- */
@media (max-width: 640px) {
  .hp-hero-title { font-size: 52px; letter-spacing: 3px; }
  .hp-hero-sub { font-size: 14px; letter-spacing: 4px; }
  .hp-h2 { font-size: 22px; letter-spacing: 2px; }
  .hp-final-title { font-size: 26px; letter-spacing: 2px; }

  .hp-grid-2, .hp-grid-3, .hp-grid-logos, .hp-gallery {
    grid-template-columns: 1fr;
  }

  .hp-grid-cards {
    grid-template-columns: repeat(2, 1fr);
  }

    .hp-stickers {
    grid-template-columns: repeat(4, 1fr);
  }
}   

  /* ============================================
   J.WARDEN.GROUP — премиальный холдинг
   ============================================ */

.page-jwarden {
  background: #F8F6F3;
  color: #1A1A1A;
  font-family: 'Inter', -apple-system, "Segoe UI", sans-serif;
}

/* --- HERO --- */
.jw-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  padding: 80px 24px;
}

.jw-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(201, 169, 91, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(201, 169, 91, 0.06) 0%, transparent 50%),
    linear-gradient(to bottom, #F8F6F3 0%, #EFEBE3 100%);
  z-index: 1;
}

/* Тонкая золотая сетка на фоне */
.jw-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201, 169, 91, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 169, 91, 0.06) 1px, transparent 1px);
  background-size: 80px 80px;
}

.jw-hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.jw-hero-logo {
  max-width: 320px;
  width: 70%;
  display: block;
  margin: 0 auto 40px;
  filter: drop-shadow(0 8px 30px rgba(201, 169, 91, 0.25));
}

.jw-hero-slogan {
  font-family: 'Bodoni MT', 'Didot', Georgia, serif;
  font-size: 52px;
  font-weight: 400;
  letter-spacing: 1px;
  color: #1A1A1A;
  line-height: 1.1;
  margin-bottom: 24px;
}

.jw-hero-sub {
  font-size: 15px;
  letter-spacing: 4px;
  color: #C9A95B;
  text-transform: uppercase;
  margin-bottom: 40px;
  font-weight: 500;
}

.jw-hero-lead {
  font-size: 17px;
  line-height: 1.8;
  color: #6B6B6B;
  max-width: 620px;
  margin: 0 auto 16px;
}

.jw-hero-tag {
  font-size: 16px;
  font-style: italic;
  color: #1A1A1A;
  margin-bottom: 48px;
  font-family: 'Bodoni MT', 'Didot', Georgia, serif;
}

.jw-btn-gold {
  display: inline-block;
  padding: 18px 48px;
  background: #1A1A1A;
  color: #C9A95B;
  font-size: 13px;
  letter-spacing: 4px;
  text-decoration: none;
  border: 1px solid #1A1A1A;
  transition: background .3s, color .3s, border-color .3s;
  font-weight: 500;
  text-transform: uppercase;
}

.jw-btn-gold:hover {
  background: #C9A95B;
  color: #1A1A1A;
  border-color: #C9A95B;
}

/* --- MAIN --- */
.jw-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.jw-back {
  margin: 60px 0 40px;
  border-color: #C9A95B !important;
  color: #C9A95B !important;
}

.jw-back:hover {
  background: #C9A95B !important;
  color: #F8F6F3 !important;
  box-shadow: 0 0 24px rgba(201, 169, 91, 0.4) !important;
}

/* --- СЕКЦИИ --- */
.jw-section {
  padding: 100px 0;
  text-align: center;
}

.jw-section-dark {
  background: #1A1A1A;
  color: #F8F6F3;
  margin: 0 -24px;
  padding: 100px 24px;
  border-radius: 0;
}

.jw-eyebrow {
  font-size: 12px;
  letter-spacing: 6px;
  color: #C9A95B;
  margin-bottom: 20px;
  font-weight: 500;
  text-transform: uppercase;
}

.jw-eyebrow-light {
  color: #C9A95B;
}

.jw-h2 {
  font-family: 'Bodoni MT', 'Didot', Georgia, serif;
  font-size: 52px;
  font-weight: 400;
  letter-spacing: 1px;
  color: #1A1A1A;
  margin-bottom: 48px;
  line-height: 1.15;
}

.jw-h2-light {
  color: #F8F6F3;
}

.jw-lead {
  font-size: 17px;
  font-style: italic;
  color: #6B6B6B;
  margin-bottom: 56px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.jw-text {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.jw-text p {
  font-size: 17px;
  line-height: 1.85;
  color: #3A3A3A;
}

.jw-text-light p {
  color: #D4C9B8;
}

.jw-text-em {
  font-family: 'Bodoni MT', 'Didot', Georgia, serif;
  font-size: 20px;
  font-style: italic;
  color: #C9A95B !important;
  padding-top: 16px;
  border-top: 1px solid rgba(201, 169, 91, 0.3);
}

.jw-section-footer {
  font-size: 15px;
  letter-spacing: 2px;
  color: #C9A95B;
  margin-top: 40px;
  text-transform: uppercase;
  font-weight: 500;
}

/* --- ЦИТАТА --- */
.jw-quote {
  max-width: 680px;
  margin: 60px auto 0;
  padding: 40px 32px;
  border-top: 1px solid #C9A95B;
  border-bottom: 1px solid #C9A95B;
  text-align: center;
}

.jw-quote p {
  font-family: 'Bodoni MT', 'Didot', Georgia, serif;
  font-size: 24px;
  font-style: italic;
  color: #1A1A1A;
  line-height: 1.5;
  margin-bottom: 16px;
}

.jw-quote cite {
  font-size: 13px;
  letter-spacing: 3px;
  color: #C9A95B;
  text-transform: uppercase;
  font-style: normal;
  font-weight: 500;
}

/* --- ТРИ СТОЛПА --- */
.jw-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: left;
}

.jw-pillar {
  background: #FFFFFF;
  border: 1px solid #E8E2D5;
  padding: 40px 32px;
  transition: transform .3s, box-shadow .3s, border-color .3s;
  display: flex;
  flex-direction: column;
}

.jw-pillar:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(201, 169, 91, 0.18);
  border-color: #C9A95B;
}

.jw-pillar-num {
  font-size: 11px;
  letter-spacing: 4px;
  color: #C9A95B;
  margin-bottom: 24px;
  text-transform: uppercase;
  font-weight: 500;
}

.jw-pillar-logo {
  max-width: 140px;
  max-height: 80px;
  object-fit: contain;
  display: block;
  margin-bottom: 24px;
}

.jw-pillar h3 {
  font-family: 'Bodoni MT', 'Didot', Georgia, serif;
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 2px;
  color: #1A1A1A;
  margin-bottom: 8px;
}

.jw-pillar-sub {
  font-size: 11px;
  letter-spacing: 2px;
  color: #C9A95B;
  margin-bottom: 20px;
  text-transform: uppercase;
  font-weight: 500;
}

.jw-pillar-desc {
  font-size: 15px;
  line-height: 1.75;
  color: #6B6B6B;
  margin-bottom: 20px;
  flex-grow: 1;
}

.jw-pillar-phrase {
  font-family: 'Bodoni MT', 'Didot', Georgia, serif;
  font-size: 15px;
  font-style: italic;
  color: #1A1A1A;
  padding: 16px 0;
  border-top: 1px solid #E8E2D5;
  margin-bottom: 24px;
  line-height: 1.5;
}

.jw-pillar-btn {
  display: inline-block;
  padding: 12px 24px;
  border: 1px solid #1A1A1A;
  color: #1A1A1A;
  font-size: 11px;
  letter-spacing: 3px;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 500;
  transition: background .25s, color .25s, border-color .25s;
  align-self: flex-start;
}

.jw-pillar-btn:hover {
  background: #C9A95B;
  color: #1A1A1A;
  border-color: #C9A95B;
}

.jw-pillar-btn-muted {
  color: #999;
  border-color: #D4C9B8;
  cursor: default;
  pointer-events: none;
}

/* --- ПРОЕКТЫ ХОЛДИНГА --- */
.jw-projects {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  text-align: left;
}

.jw-project {
  display: block;
  background: #FFFFFF;
  border: 1px solid #E8E2D5;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}

.jw-project:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(201, 169, 91, 0.2);
  border-color: #C9A95B;
}

.jw-project img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  background: #F8F6F3;
}

.jw-project-info {
  padding: 24px 28px 28px;
}

.jw-project-studio {
  font-size: 11px;
  letter-spacing: 3px;
  color: #C9A95B;
  margin-bottom: 8px;
  text-transform: uppercase;
  font-weight: 500;
}

.jw-project-info h3 {
  font-family: 'Bodoni MT', 'Didot', Georgia, serif;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 2px;
  color: #1A1A1A;
  margin-bottom: 8px;
}

.jw-project-genre {
  font-size: 14px;
  font-style: italic;
  color: #6B6B6B;
}

/* --- СХЕМА ДЕРЕВА --- */
.jw-tree {
  max-width: 720px;
  margin: 60px auto 0;
}

.jw-tree-root {
  padding: 32px 24px;
  border: 1px solid #C9A95B;
  background: rgba(201, 169, 91, 0.06);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.jw-tree-root::after {
  content: "";
  position: absolute;
  bottom: -40px;
  left: 50%;
  width: 1px;
  height: 40px;
  background: #C9A95B;
}

.jw-tree-root-name {
  font-family: 'Bodoni MT', 'Didot', Georgia, serif;
  font-size: 22px;
  letter-spacing: 3px;
  color: #C9A95B;
  margin-bottom: 8px;
}

.jw-tree-root-sub {
  font-size: 12px;
  letter-spacing: 2px;
  color: #D4C9B8;
  text-transform: uppercase;
}

.jw-tree-branches {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  position: relative;
  padding-top: 30px;
}

/* Горизонтальная линия, соединяющая ветки */
.jw-tree-branches::before {
  content: "";
  position: absolute;
  top: 0;
  left: 16.66%;
  right: 16.66%;
  height: 1px;
  background: #C9A95B;
}

.jw-tree-branch {
  text-align: center;
  padding: 24px 12px;
  position: relative;
}

/* Вертикальные линии от горизонтали к каждой ветке */
.jw-tree-branch::before {
  content: "";
  position: absolute;
  top: -30px;
  left: 50%;
  width: 1px;
  height: 30px;
  background: #C9A95B;
}

.jw-tree-branch-name {
  font-family: 'Bodoni MT', 'Didot', Georgia, serif;
  font-size: 16px;
  letter-spacing: 2px;
  color: #F8F6F3;
  margin-bottom: 6px;
}

.jw-tree-branch-sub {
  font-size: 11px;
  letter-spacing: 1px;
  color: #D4C9B8;
  line-height: 1.5;
}

/* --- АРТЕФАКТЫ --- */
.jw-artifacts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.jw-artifacts img {
  width: 100%;
  display: block;
  background: #FFFFFF;
  border: 1px solid #E8E2D5;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  padding: 16px;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}

.jw-artifacts img:hover {
  transform: translateY(-4px);
  border-color: #C9A95B;
  box-shadow: 0 20px 50px rgba(201, 169, 91, 0.2);
}

/* --- ФИНАЛ --- */
.jw-final {
  text-align: center;
  padding: 120px 0 80px;
}

.jw-final-eyebrow {
  font-size: 12px;
  letter-spacing: 6px;
  color: #C9A95B;
  margin-bottom: 20px;
  text-transform: uppercase;
  font-weight: 500;
}

.jw-final-title {
  font-family: 'Bodoni MT', 'Didot', Georgia, serif;
  font-size: 56px;
  font-weight: 400;
  font-style: italic;
  color: #1A1A1A;
  margin-bottom: 24px;
  line-height: 1.1;
}

.jw-final-lead {
  font-size: 17px;
  color: #6B6B6B;
  letter-spacing: 2px;
  margin-bottom: 48px;
  text-transform: uppercase;
}

/* --- ФУТЕР --- */
.jw-footer {
  padding: 80px 24px 48px;
  border-top: 1px solid #E8E2D5;
  text-align: center;
  background: #F8F6F3;
}

.jw-footer-top {
  margin-bottom: 40px;
}

.jw-footer-name {
  font-family: 'Bodoni MT', 'Didot', Georgia, serif;
  font-size: 28px;
  letter-spacing: 4px;
  color: #1A1A1A;
  margin-bottom: 8px;
}

.jw-footer-slogan {
  font-family: 'Bodoni MT', 'Didot', Georgia, serif;
  font-size: 16px;
  font-style: italic;
  color: #C9A95B;
}

.jw-footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  margin-bottom: 40px;
}

.jw-footer-nav a {
  font-size: 12px;
  letter-spacing: 3px;
  color: #6B6B6B;
  text-decoration: none;
  text-transform: uppercase;
  transition: color .25s;
  font-weight: 500;
}

.jw-footer-nav a:hover {
  color: #C9A95B;
}

.jw-footer-contact {
  margin-bottom: 40px;
  padding-top: 32px;
  border-top: 1px solid #E8E2D5;
}

.jw-footer-contact p {
  font-size: 14px;
  letter-spacing: 2px;
  color: #1A1A1A;
  margin-bottom: 4px;
}

.jw-footer-legal {
  font-size: 12px;
  color: #999;
  line-height: 1.7;
}

/* --- Адаптив --- */
@media (max-width: 900px) {
  .jw-pillars {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .jw-projects {
    grid-template-columns: 1fr;
  }

  .jw-tree-branches {
    grid-template-columns: 1fr;
    padding-top: 0;
  }

  .jw-tree-branches::before {
    display: none;
  }

  .jw-tree-branch::before {
    display: none;
  }

  .jw-tree-branch {
    border-left: 1px solid #C9A95B;
    padding: 16px 0 16px 20px;
    text-align: left;
  }

  .jw-artifacts {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .jw-hero-slogan { font-size: 34px; }
  .jw-hero-sub { font-size: 12px; letter-spacing: 3px; }
  .jw-h2 { font-size: 30px; }
  .jw-final-title { font-size: 34px; }
  .jw-quote p { font-size: 18px; }
  .jw-section { padding: 72px 0; }
  .jw-artifacts { grid-template-columns: 1fr; }
}
/* ============================================
   WARD.TECH — тёмная техно-страница
   ============================================ */

.page-wardtech {
  background: #0A0A12;
  color: #E5E5EC;
  font-family: 'Inter', -apple-system, "Segoe UI", sans-serif;
}

/* --- HERO --- */
.wt-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  padding: 80px 24px;
}

.wt-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(0, 229, 255, 0.1) 0%, transparent 55%),
    radial-gradient(ellipse at 70% 70%, rgba(120, 0, 255, 0.08) 0%, transparent 55%),
    linear-gradient(to bottom, #0A0A12 0%, #10101E 100%);
  z-index: 1;
}

/* Техническая сетка на фоне */
.wt-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 229, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
}

.wt-hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.wt-hero-logo {
  max-width: 280px;
  width: 70%;
  display: block;
  margin: 0 auto 32px;
  filter: drop-shadow(0 0 40px rgba(0, 229, 255, 0.4));
}

.wt-hero-eyebrow {
  font-size: 12px;
  letter-spacing: 8px;
  color: #00E5FF;
  text-transform: uppercase;
  margin-bottom: 24px;
  font-weight: 500;
  text-shadow: 0 0 20px rgba(0, 229, 255, 0.5);
}

.wt-hero-title {
  font-size: 62px;
  font-weight: 800;
  letter-spacing: 4px;
  color: #FFFFFF;
  line-height: 1.05;
  margin-bottom: 24px;
  text-shadow: 0 0 40px rgba(0, 229, 255, 0.3);
}

.wt-hero-sub {
  font-size: 18px;
  color: #A8A8B8;
  margin-bottom: 24px;
  letter-spacing: 1px;
}

.wt-hero-lead {
  font-size: 16px;
  font-style: italic;
  color: #00E5FF;
  letter-spacing: 2px;
}

.wt-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 28px;
  color: #00E5FF;
  text-decoration: none;
  z-index: 3;
  animation: bounce 2s infinite;
}

/* --- MAIN --- */
.wt-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.wt-back {
  margin: 60px 0 40px;
  border-color: #00E5FF !important;
  color: #00E5FF !important;
}

.wt-back:hover {
  background: #00E5FF !important;
  color: #0A0A12 !important;
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.5) !important;
}

/* --- СЕКЦИИ --- */
.wt-section {
  padding: 100px 0;
  text-align: center;
}

.wt-section-dark {
  background: #070710;
  margin: 0 -24px;
  padding: 100px 24px;
  border-top: 1px solid rgba(0, 229, 255, 0.15);
  border-bottom: 1px solid rgba(0, 229, 255, 0.15);
}

.wt-eyebrow {
  font-size: 12px;
  letter-spacing: 6px;
  color: #00E5FF;
  margin-bottom: 20px;
  text-transform: uppercase;
  font-weight: 500;
}

.wt-eyebrow-light {
  color: #00E5FF;
}

.wt-h2 {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: 3px;
  color: #FFFFFF;
  margin-bottom: 48px;
  line-height: 1.15;
}

.wt-h2-light {
  color: #FFFFFF;
}

.wt-lead {
  font-size: 17px;
  color: #A8A8B8;
  margin-bottom: 48px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.wt-text {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.wt-text p {
  font-size: 16px;
  line-height: 1.85;
  color: #C5C5D2;
}

.wt-text-light p {
  color: #C5C5D2;
}

/* --- ЦИТАТА --- */
.wt-quote {
  max-width: 680px;
  margin: 40px auto 0;
  padding: 32px;
  border-left: 3px solid #00E5FF;
  background: rgba(0, 229, 255, 0.04);
  font-size: 20px;
  font-style: italic;
  color: #00E5FF;
  text-align: left;
  line-height: 1.5;
}

/* --- ТЕХНОЛОГИИ --- */
.wt-tech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  text-align: left;
}

.wt-tech-card {
  background: #12121C;
  border: 1px solid rgba(0, 229, 255, 0.15);
  border-radius: 12px;
  padding: 40px 32px;
  transition: transform .3s, border-color .3s, box-shadow .3s;
}

.wt-tech-card:hover {
  transform: translateY(-6px);
  border-color: #00E5FF;
  box-shadow: 0 24px 60px rgba(0, 229, 255, 0.15);
}

.wt-tech-num {
  font-size: 13px;
  letter-spacing: 4px;
  color: #00E5FF;
  margin-bottom: 20px;
  font-weight: 500;
  font-family: 'Courier New', monospace;
}

.wt-tech-card h3 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #FFFFFF;
  margin-bottom: 12px;
  line-height: 1.2;
}

.wt-tech-sub {
  font-size: 14px;
  font-style: italic;
  color: #00E5FF;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.wt-tech-desc {
  font-size: 15px;
  line-height: 1.75;
  color: #A8A8B8;
  margin-bottom: 20px;
}

.wt-tech-phrase {
  font-size: 14px;
  line-height: 1.6;
  color: #C5C5D2;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 229, 255, 0.15);
  font-style: italic;
}

/* --- ТЕХ. ХАРАКТЕРИСТИКИ --- */
.wt-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 60px auto 0;
  text-align: left;
}

.wt-spec {
  padding: 28px 24px;
  background: #12121C;
  border-left: 2px solid #00E5FF;
}

.wt-spec h4 {
  font-size: 13px;
  letter-spacing: 4px;
  color: #00E5FF;
  margin-bottom: 16px;
  text-transform: uppercase;
  font-weight: 600;
}

.wt-spec ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.wt-spec li {
  font-size: 14px;
  line-height: 1.75;
  color: #C5C5D2;
  padding: 6px 0 6px 20px;
  position: relative;
}

.wt-spec li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: #00E5FF;
}

/* --- МАНИФЕСТ --- */
.wt-manifest-text {
  max-width: 720px;
  margin: 0 auto;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.wt-manifest-text p {
  font-size: 20px;
  line-height: 1.7;
  color: #C5C5D2;
  font-style: italic;
}

.wt-manifest-final {
  color: #00E5FF !important;
  font-size: 24px !important;
  font-weight: 500;
  padding-top: 32px;
  border-top: 1px solid rgba(0, 229, 255, 0.25);
  font-style: normal !important;
}

/* --- ФИНАЛ --- */
.wt-final {
  text-align: center;
  padding: 120px 0 80px;
}

.wt-final-eyebrow {
  font-size: 12px;
  letter-spacing: 8px;
  color: #00E5FF;
  margin-bottom: 20px;
  text-transform: uppercase;
  font-weight: 500;
}

.wt-final-title {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #FFFFFF;
  line-height: 1.15;
  margin-bottom: 32px;
  text-shadow: 0 0 40px rgba(0, 229, 255, 0.3);
}

.wt-final-lead {
  font-size: 17px;
  color: #A8A8B8;
  margin-bottom: 48px;
  line-height: 1.7;
}

.wt-btn {
  display: inline-block;
  padding: 18px 48px;
  border: 1px solid #00E5FF;
  color: #00E5FF;
  font-size: 13px;
  letter-spacing: 4px;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 500;
  transition: background .3s, color .3s, box-shadow .3s;
}

.wt-btn:hover {
  background: #00E5FF;
  color: #0A0A12;
  box-shadow: 0 0 40px rgba(0, 229, 255, 0.6);
}

/* --- ФУТЕР --- */
.wt-footer {
  padding: 80px 24px 48px;
  border-top: 1px solid rgba(0, 229, 255, 0.15);
  text-align: center;
}

.wt-footer-logo {
  max-width: 140px;
  opacity: 0.7;
  margin-bottom: 24px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wt-footer-name {
  font-size: 16px;
  letter-spacing: 6px;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.wt-footer-slogan {
  font-size: 13px;
  letter-spacing: 3px;
  color: #00E5FF;
  margin-bottom: 40px;
  text-transform: uppercase;
}

.wt-footer-legal {
  font-size: 12px;
  color: #6B6B80;
  line-height: 1.7;
}

/* --- Адаптив --- */
@media (max-width: 900px) {
  .wt-tech-grid {
    grid-template-columns: 1fr;
  }

  .wt-specs {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .wt-hero-title { font-size: 36px; letter-spacing: 2px; }
  .wt-hero-sub { font-size: 15px; }
  .wt-h2 { font-size: 26px; }
  .wt-final-title { font-size: 28px; }
  .wt-manifest-text p { font-size: 17px; }
  .wt-manifest-final { font-size: 19px !important; }
}
/* --- Ward.Tech — доп. секции --- */

/* Логотип ECHO ENGINE */
.wt-engine-logo-section {
  padding: 80px 0;
}

.wt-engine-logo {
  max-width: 600px;
  width: 80%;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 0 60px rgba(0, 229, 255, 0.35));
}

/* ПОСТЕРЫ */
.wt-posters-full {
  max-width: 1000px;
  margin: 0 auto 32px;
}

.wt-posters-full img {
  width: 100%;
  display: block;
  border-radius: 12px;
  border: 1px solid rgba(0, 229, 255, 0.15);
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform .3s, border-color .3s, box-shadow .3s;
}

.wt-posters-full img:hover {
  transform: scale(1.01);
  border-color: #00E5FF;
  box-shadow: 0 30px 80px rgba(0, 229, 255, 0.25);
}

.wt-posters-two {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.wt-posters-two img {
  width: 100%;
  display: block;
  border-radius: 12px;
  border: 1px solid rgba(0, 229, 255, 0.15);
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform .3s, border-color .3s, box-shadow .3s;
}

.wt-posters-two img:hover {
  transform: translateY(-4px);
  border-color: #00E5FF;
  box-shadow: 0 24px 60px rgba(0, 229, 255, 0.25);
}

/* ЧЕРТЁЖ */
.wt-architecture {
  max-width: 1000px;
  margin: 60px auto 0;
  padding: 32px;
  background: #12121C;
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: 12px;
}

.wt-architecture-caption {
  font-family: 'Courier New', monospace;
  font-size: 12px;
  letter-spacing: 4px;
  color: #00E5FF;
  margin-bottom: 24px;
  text-align: center;
  text-transform: uppercase;
}

.wt-architecture img {
  width: 100%;
  display: block;
  border-radius: 8px;
}

/* ЛИСТОВКИ */
.wt-flyers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 700px;
  margin: 0 auto;
}

.wt-flyers img {
  width: 100%;
  display: block;
  border-radius: 10px;
  border: 1px solid rgba(0, 229, 255, 0.15);
  aspect-ratio: 5 / 7;
  object-fit: contain;
  background: #12121C;
  transition: transform .3s, border-color .3s, box-shadow .3s;
}

.wt-flyers img:hover {
  transform: translateY(-6px);
  border-color: #00E5FF;
  box-shadow: 0 24px 60px rgba(0, 229, 255, 0.25);
}

/* ПОСТЕРЫ А4 */
.wt-posters-a4 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.wt-posters-a4 img {
  width: 100%;
  display: block;
  border-radius: 10px;
  border: 1px solid rgba(0, 229, 255, 0.15);
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: #12121C;
  transition: transform .3s, border-color .3s, box-shadow .3s;
}

.wt-posters-a4 img:hover {
  transform: translateY(-4px);
  border-color: #00E5FF;
  box-shadow: 0 24px 60px rgba(0, 229, 255, 0.25);
}

/* Адаптив */
@media (max-width: 640px) {
  .wt-posters-two,
  .wt-flyers,
  .wt-posters-a4 {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .wt-engine-logo { max-width: 320px; }
}

/* ============================================
   КНОПКА "О ПРОЕКТЕ" + МОДАЛКА
   Универсальные для всех страниц проектов
   ============================================ */

.project-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
  padding-top: 40px;
}

.project-topbar .project-back {
  margin: 0;
}

.about-project-btn {
  display: inline-block;
  padding: 12px 28px;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  font-family: inherit;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  transition: background .25s, color .25s, transform .2s;
  opacity: 0.7;
}

.about-project-btn:hover {
  opacity: 1;
  transform: translateY(-2px);
}

/* Индивидуальные цвета под каждую страницу */
.page-darksworn .about-project-btn { color: #e5a7b8; }
.page-darksworn .about-project-btn:hover { background: #e5a7b8; color: #0d0b10; }

.page-echobloom .about-project-btn { color: #8B5A2B; }
.page-echobloom .about-project-btn:hover { background: #8B5A2B; color: #FFF7F0; }

.page-stillwaters .about-project-btn { color: #00B4D8; }
.page-stillwaters .about-project-btn:hover { background: #00B4D8; color: #0A1128; }

.page-memoryfracture .about-project-btn { color: #FF2E9A; }
.page-memoryfracture .about-project-btn:hover { background: #FF2E9A; color: #121212; }

.page-hotpot .about-project-btn { color: #FF2E9A; }
.page-hotpot .about-project-btn:hover { background: #FF2E9A; color: #0D0D14; }

.page-jwarden .about-project-btn { color: #C9A95B; }
.page-jwarden .about-project-btn:hover { background: #C9A95B; color: #1A1A1A; }

.page-wardtech .about-project-btn { color: #00E5FF; }
.page-wardtech .about-project-btn:hover { background: #00E5FF; color: #0A0A12; }

/* --- МОДАЛКА --- */
.about-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.about-modal.open {
  display: flex;
}

.about-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
}

.about-modal-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  background: #FFFFFF;
  color: #1A1A1A;
  border-radius: 16px;
  padding: 48px 40px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
  animation: aboutModalIn .35s ease;
}

@keyframes aboutModalIn {
  from { opacity: 0; transform: translateY(20px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.about-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.15);
  background: transparent;
  color: #1A1A1A;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, border-color .2s;
}

.about-modal-close:hover {
  background: #1A1A1A;
  color: #FFFFFF;
  border-color: #1A1A1A;
}

.about-modal-eyebrow {
  font-size: 11px;
  letter-spacing: 5px;
  color: #999;
  margin-bottom: 16px;
  text-transform: uppercase;
  font-weight: 500;
}

.about-modal-title {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #1A1A1A;
  margin-bottom: 8px;
  line-height: 1.1;
}

.about-modal-subtitle {
  font-size: 15px;
  font-style: italic;
  color: #999;
  margin-bottom: 40px;
}

.about-modal-row {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid #EEE;
}

.about-modal-row:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.about-modal-label {
  font-size: 11px;
  letter-spacing: 4px;
  color: #999;
  margin-bottom: 12px;
  text-transform: uppercase;
  font-weight: 600;
}

.about-modal-value {
  font-size: 16px;
  line-height: 1.6;
  color: #1A1A1A;
}

.about-modal-tasks {
  list-style: none;
  padding: 0;
  margin: 0;
}

.about-modal-tasks li {
  font-size: 15px;
  line-height: 1.7;
  color: #1A1A1A;
  padding: 6px 0 6px 24px;
  position: relative;
}

.about-modal-tasks li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: #999;
}

/* Адаптив */
@media (max-width: 640px) {
  .about-modal-content {
    padding: 36px 24px;
  }

  .about-modal-title { font-size: 26px; }
  .about-modal-subtitle { font-size: 13px; margin-bottom: 28px; }
  .about-modal-label { font-size: 10px; letter-spacing: 3px; }
}

/* ============================================
   DARKSWORN — кнопка "назад" и topbar
   ============================================ */

.page-darksworn .project-topbar {
  padding-top: 20px;
}

.page-darksworn .project-back {
  display: inline-block;
  padding: 12px 28px;
  border: 1px solid #e5a7b8;
  color: #e5a7b8;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  border-radius: 4px;
  transition: background .25s, color .25s, transform .2s;
  margin: 0;
}

.page-darksworn .project-back:hover {
  background: #e5a7b8;
  color: #0d0b10;
  transform: translateX(-3px);
}

/* ============================================
   WARD.TECH — расширенные секции
   ============================================ */

/* --- Шаги технологии --- */
.wt-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 48px auto;
  text-align: left;
}

.wt-step {
  padding: 28px 22px;
  background: #12121C;
  border-top: 2px solid #00E5FF;
  border-radius: 0 0 8px 8px;
}

.wt-step-num {
  font-family: 'Courier New', monospace;
  font-size: 13px;
  letter-spacing: 3px;
  color: #00E5FF;
  margin-bottom: 16px;
  font-weight: 600;
}

.wt-step h4 {
  font-size: 14px;
  letter-spacing: 3px;
  color: #FFFFFF;
  margin-bottom: 12px;
  text-transform: uppercase;
  font-weight: 700;
}

.wt-step p {
  font-size: 13px;
  line-height: 1.7;
  color: #A8A8B8;
}

/* --- Фичи (3 блока) --- */
.wt-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 48px auto;
  text-align: left;
}

.wt-feature {
  padding: 28px 24px;
  background: rgba(0, 229, 255, 0.04);
  border-left: 2px solid #00E5FF;
}

.wt-feature h4 {
  font-size: 13px;
  letter-spacing: 3px;
  color: #00E5FF;
  margin-bottom: 12px;
  text-transform: uppercase;
  font-weight: 700;
}

.wt-feature p {
  font-size: 14px;
  line-height: 1.7;
  color: #C5C5D2;
}

/* --- Где используется --- */
.wt-usage {
  max-width: 800px;
  margin: 40px auto 0;
  text-align: center;
}

.wt-usage-label {
  font-size: 12px;
  letter-spacing: 5px;
  color: #00E5FF;
  margin-bottom: 20px;
  text-transform: uppercase;
  font-weight: 600;
}

.wt-usage-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.wt-usage-list span {
  padding: 10px 22px;
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: 100px;
  font-size: 12px;
  letter-spacing: 2px;
  color: #00E5FF;
  text-transform: uppercase;
  font-weight: 500;
}

/* --- Слоган большой --- */
.wt-slogan-big {
  font-size: 24px;
  font-style: italic;
  color: #00E5FF;
  text-align: center;
  margin: 56px auto 0;
  max-width: 640px;
  line-height: 1.5;
  letter-spacing: 1px;
}

/* --- Для кого --- */
.wt-forwho {
  max-width: 900px;
  margin: 48px auto 0;
  text-align: center;
}

.wt-forwho-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.wt-forwho-item {
  padding: 24px 28px;
  background: #12121C;
  border-left: 2px solid #00E5FF;
  text-align: left;
}

.wt-forwho-item p {
  font-size: 15px;
  line-height: 1.7;
  color: #C5C5D2;
}

/* --- Таблица --- */
.wt-table-wrap {
  max-width: 1100px;
  margin: 0 auto;
  overflow-x: auto;
}

.wt-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.wt-table thead {
  background: rgba(0, 229, 255, 0.08);
}

.wt-table th {
  padding: 20px 16px;
  font-size: 12px;
  letter-spacing: 3px;
  color: #00E5FF;
  text-transform: uppercase;
  font-weight: 700;
  border-bottom: 1px solid rgba(0, 229, 255, 0.3);
}

.wt-table td {
  padding: 22px 16px;
  font-size: 14px;
  line-height: 1.6;
  color: #C5C5D2;
  border-bottom: 1px solid rgba(0, 229, 255, 0.1);
  vertical-align: top;
}

.wt-table td strong {
  color: #FFFFFF;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.wt-table td em {
  color: #00E5FF;
  font-style: italic;
}

.wt-table tbody tr:hover {
  background: rgba(0, 229, 255, 0.03);
}

/* --- Финал: две кнопки --- */
.wt-final-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.wt-btn-primary {
  background: #00E5FF;
  color: #0A0A12;
}

.wt-btn-primary:hover {
  background: transparent;
  color: #00E5FF;
  box-shadow: 0 0 40px rgba(0, 229, 255, 0.5);
}

/* --- Адаптив --- */
@media (max-width: 900px) {
  .wt-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .wt-features {
    grid-template-columns: 1fr;
  }

  .wt-forwho-grid {
    grid-template-columns: 1fr;
  }

  .wt-table th,
  .wt-table td {
    font-size: 12px;
    padding: 14px 10px;
  }
}

@media (max-width: 640px) {
  .wt-steps {
    grid-template-columns: 1fr;
  }

  .wt-slogan-big {
    font-size: 18px;
    margin-top: 40px;
  }

  .wt-table th {
    font-size: 10px;
    letter-spacing: 1px;
    padding: 12px 8px;
  }

  .wt-table td {
    font-size: 12px;
    padding: 12px 8px;
  }

  .wt-final-btns {
    flex-direction: column;
    align-items: center;
  }

  .wt-final-btns .wt-btn {
    width: 100%;
    max-width: 320px;
    text-align: center;
  }
}
/* ============================================
   ABOUT — блок ссылок (Behance и т.д.)
   ============================================ */

.about-links {
  margin: 48px 0;
  text-align: left;
}

.about-links-label {
  font-size: 11px;
  letter-spacing: 5px;
  color: var(--text-muted);
  margin-bottom: 20px;
  text-transform: uppercase;
  font-weight: 600;
}

.about-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border: 1px solid var(--border);
  border-radius: 12px;
  text-decoration: none;
  color: var(--text);
  background: var(--bg-card);
  transition: border-color .25s, transform .2s, box-shadow .25s;
  margin-bottom: 12px;
}

.about-link:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px var(--accent-soft);
}

.about-link-name {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 1px;
}

.about-link-arrow {
  font-size: 20px;
  color: var(--accent);
  transition: transform .25s;
}

.about-link:hover .about-link-arrow {
  transform: translateX(6px);
}