:root {
  --bg: #0f0f12;
  --fg: #e0e0e0;
  --accent: #ff3e00;
  --accent-secondary: #00a8ff;
  --border: #333344;
  --card-bg: #15151a;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

a {
  color: var(--accent-secondary);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* ————— Hero ————— */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: radial-gradient(circle at center, #15151a 0%, var(--bg) 100%);
  position: relative;
  padding: 2rem 1rem;
}

.hero-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(8rem, 20vw, 20rem); /* очень крупный, но адаптивный */
  font-weight: 900;
  color: rgba(255, 255, 255, 0.04); /* почти прозрачный белый */
  pointer-events: none; /* чтобы не мешал кликам */
  z-index: 0;
  white-space: nowrap;
  line-height: 1;
}

.hero-content {
  position: relative;
  z-index: 1; /* чтобы заголовок был поверх водяного знака */
  text-align: center;
}

.hero h1 {
  font-size: clamp(2.5rem, 8vw, 5rem);
  margin: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.03em;
}

.hero-sub {
  font-size: 1.2rem;
  opacity: 0.8;
  margin-top: 1rem;
}

/* ————— Navigation ————— */
.nav {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 1.2rem 2rem;
  z-index: 100;
  backdrop-filter: blur(4px);
  background: rgba(15, 15, 18, 0.8);
}
.nav-brand {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: white;
  text-decoration: none; 
  display: inline-block;
}
.nav-brand:link,
.nav-brand:visited,
.nav-brand:hover,
.nav-brand:active {
  text-decoration: none;
  color: white;
}


.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  color: var(--fg);
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--accent);
}

/* ————— Sections ————— */
.section {
  padding: 6rem 1rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s, transform 0.6s;
}
.section.visible {
  opacity: 1;
  transform: translateY(0);
}

.container {
  max-width: 1024px;
  margin: 0 auto;
}

.about-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}
.about-grid ul {
  list-style: none;
}
.about-grid li {
  padding: 0.3rem 0;
}

.releases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.release-card {
  background: var(--card-bg);
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.release-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}
.release-card img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-bottom: 1px solid var(--border);
}
.release-card h3 {
  padding: 0.8rem 0.8rem 0.4rem;
  font-size: 1.1rem;
}
.release-card p {
  padding: 0 0.8rem 0.8rem;
  font-size: 0.9rem;
  opacity: 0.8;
}

.space-section {
  background: rgba(0, 0, 0, 0.2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.space-badge {
  background: var(--accent);
  color: var(--bg);
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.9rem;
  margin-top: 1rem;
  font-weight: 600;
}

.footer {
  padding: 3rem 1rem 2rem;
  text-align: center;
  font-size: 0.95rem;
  border-top: 1px solid var(--border);
}
.footer a {
  color: var(--accent-secondary);
}
.copyright {
  margin-top: 1.5rem;
  opacity: 0.6;
}

/* ————— Modal ————— */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.modal.show {
  opacity: 1;
  visibility: visible;
}
.modal-content {
  background: var(--card-bg);
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 8px;
  position: relative;
  padding: 2rem;
}
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  font-size: 2rem;
  color: var(--fg);
  cursor: pointer;
  user-select: none;
}
.modal-close:hover {
  color: var(--accent);
}
.modal-body {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}
.modal-body h2 {
  margin-bottom: 1rem;
  color: white;
}
.modal-body img {
  width: 200px;
  border: 1px solid var(--border);
  flex-shrink: 0; /* не сжимается */
}
.modal-body .info {
  flex: 1;
  min-width: 0; /* позволяет тексту переноситься */
}
.modal-body::after {
  content: "";
  display: table;
  clear: both;
}
.modal-body ol {
  margin-left: 1.2rem;
  margin-bottom: 1rem;
  padding: 0;
  list-style-position: inside;
}
.modal-body p {
  margin-bottom: 0.8rem;
}

/* ————— Мобильные ————— */
@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  .nav {
    padding: 1rem;
  }
  .modal-body img {
    float: none;
    margin: 0 0 1rem 0;
    width: 100%;
  }
}
.bio > * {
  margin-bottom: 1.6rem; /* отступ после каждого прямого потомка: p, blockquote */
}

.bio > :last-child {
  margin-bottom: 0; /* убрать отступ у последнего элемента */
}
blockquote {
  font-style: italic;
  margin: 1.6rem 0;
  padding: 1.2rem;
  border-left: 3px solid var(--accent);
  background: rgba(255, 62, 0, 0.03); /* очень лёгкий фон от оранжевого акцента */
  color: #d0d0d0; /* чуть мягче основного текста */
  font-family: 'Inter', serif; /* можно оставить как есть или чуть изменить */
  position: relative;
}

blockquote cite {
  display: block;
  margin-top: 0.8rem;
  font-style: normal;
  font-weight: 600;
  color: var(--accent);
}