:root {
  --bg: #000;
  --neon-green: #00ff00;
  --neon-pink: #ff00ff;
  --muted: #aaa;
  --panel: rgba(255,0,255,0.08);
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--neon-green);
  font-family: 'Courier New', monospace;
}

header {
  width: 100%;
  text-align: center;
  padding: 12px 0;
  background: rgba(20,20,20,0.85);
  border-bottom: 1px solid #222;
  position: sticky;
  top: 0;
  z-index: 10;
}

header h1 {
  margin: 0;
  font-size: 1.28em;
  color: var(--neon-pink);
}

header p {
  margin: .25em 0 0;
  font-size: .86em;
  color: var(--muted);
}

nav {
  margin: 10px 0 12px;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

nav a {
  display: inline-block;
  text-decoration: none;
  color: var(--neon-green);
  border: 1px solid var(--neon-pink);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: .85em;
  transition: .18s;
}

nav a:hover {
  background: rgba(255,0,255,0.12);
  color: var(--neon-pink);
}

main {
  max-width: 400px;
  width: 100%;
  padding: 12px;
  margin: 0 auto;
  box-sizing: border-box;
  text-align: center;
  min-height: calc(100vh - 140px);
}

.greeting {
  font-size: .92em;
  color: var(--muted);
  line-height: 1.4;
  margin-bottom: 1.2em;
}

.btn-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}

.control-width {
  width: calc(100% - 24px);
  max-width: 320px;
  margin: 0 12px;
  box-sizing: border-box;
}

.contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--panel);
  border: 2px solid var(--neon-pink);
  border-radius: 10px;
  color: var(--neon-green);
  font-size: 1em;
  text-decoration: none;
  box-shadow: 0 0 14px rgba(255,0,255,0.25);
  transition: all .22s ease;
}

.contact-btn:hover {
  background: rgba(255,0,255,0.22);
  border-color: var(--neon-green);
  color: var(--neon-pink);
  transform: translateY(-3px);
}

.contact-btn img {
  width: 30px;
  height: 30px;
  display: block;
}

.copy-field {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--panel);
  border: 2px solid var(--neon-pink);
  border-radius: 10px;
  color: var(--neon-green);
  font-size: 1em;
  box-shadow: 0 0 14px rgba(255,0,255,0.25);
  cursor: pointer;
  transition: all .18s;
}

.copy-field:hover {
  background: rgba(255,0,255,0.22);
  border-color: var(--neon-green);
  color: var(--neon-pink);
  transform: translateY(-2px);
}

.logos {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logos img {
  height: 36px;
  width: auto;
  background: #fff;
  border-radius: 6px;
  padding: 2px;
  display: block;
}

.account-line {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95em;
  color: var(--neon-green);
}

.account-line.vertical {
  flex-direction: column;
  align-items: center;
}

.account-label {
  font-weight: 700;
}

.phone {
  font-size: 1.18em;
  letter-spacing: 1px;
}

.copy-btn-floating {
  position: absolute;
  top: 8px;
  right: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--neon-green);
  color: #000;
  padding: 6px 8px;
  border-radius: 8px;
  font-weight: 700;
  font-size: .78em;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,0.6);
}

.copy-btn-floating:hover {
  background: var(--neon-pink);
  color: #fff;
}

footer {
  margin-top: 18px;
  font-size: .82em;
  color: #555;
}

/* кнопка переключения языка */
.lang-toggle {
  position: absolute;
  top: 10px;
  right: 12px;
  background: transparent;
  border: 1px solid var(--neon-pink);
  color: var(--neon-green);
  font-family: inherit;
  font-size: .72em;
  padding: 3px 6px;
  border-radius: 6px;
  cursor: pointer;
  transition: .18s;
}

.lang-toggle:hover {
  background: rgba(255,0,255,0.18);
  color: var(--neon-pink);
}

/* мобильные корректировки (были в оригинале) */
@media (max-width: 360px) {
  header h1 {
    font-size: 1.12em;
  }
  .contact-btn img,
  .logos img {
    height: 30px;
  }
  .copy-btn-floating {
    top: 6px;
    right: 6px;
    padding: 5px 7px;
    font-size: .74em;
  }
}


/* ===== контентные страницы ===== */

.content {
  max-width: 720px;
  margin: 0 auto;
  padding: 16px;
  box-sizing: border-box;
}

.text-panel {
  background: var(--panel);
  border: 1px solid rgba(255,0,255,0.25);
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: 0 0 18px rgba(255,0,255,0.15);
}


/* ===== СТИХИ ===== */

.verse {
  color: #e6ffe6; /* мягкий светлый, не ядовитый */
  font-size: 0.95em;
  line-height: 1.7;
  text-align: left;
}

.verse p {
  margin-bottom: 1.2em;
}

.verse-sign {
  margin-top: 1.6em;
  text-align: right;
  font-style: italic;
  color: var(--muted);
}

/* приглушённый текст под заголовком */
header .muted {
  margin-top: .3em;
  font-size: .82em;
  color: var(--muted);
}

/* ===== СТИХИ ===== */
.poems {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.poem {
  background: var(--panel);
  border: 1px solid rgba(255,0,255,0.25);
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: 0 0 18px rgba(255,0,255,0.15);
}

.poem p {
  color: #e6ffe6;
  font-size: 0.95em;
  line-height: 1.7;
  text-align: left;
  margin-bottom: 1.2em;
  white-space: pre-line;
}

.poem p:last-child {
  margin-bottom: 0;
}

.poem time {
  display: block;
  margin-top: 1.6em;
  text-align: right;
  font-style: italic;
  font-size: 0.85em;
  color: var(--muted);
}

/* ===== СИМУЛЯЦИИ И ПРОЕКТЫ ===== */
.project-section {
  margin-bottom: 24px;
}

.project-content {
  background: var(--panel);
  border: 1px solid rgba(255,0,255,0.25);
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: 0 0 18px rgba(255,0,255,0.15);
}

.project-content h3 {
  color: var(--neon-pink);
  margin-top: 0;
  margin-bottom: 12px;
}

.project-content p {
  color: var(--neon-green);
  line-height: 1.6;
  margin-bottom: 12px;
}

.project-content ul {
  list-style: none;
  padding: 0;
  margin: 12px 0;
}

.project-content li {
  margin-bottom: 8px;
}

.project-content a {
  color: var(--neon-green);
  text-decoration: underline;
  transition: color 0.18s;
}

.project-content a:hover {
  color: var(--neon-pink);
}

.hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 16px 0;
  border: 1px solid rgba(255,0,255,0.2);
}

.big-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 16px 0;
  border: 1px solid rgba(255,0,255,0.2);
}

/* ===== МУЗЫКА ===== */
.project-content-with-image {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.project-cover {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid rgba(255,0,255,0.2);
}

.project-text {
  flex: 1;
}

.music-links {
  margin-top: 12px;
}

.music-links h4 {
  color: var(--neon-pink);
  font-size: 0.9em;
  margin-bottom: 8px;
}

.soundcloud-player {
  width: 100%;
  margin: 16px 0;
  border-radius: 8px;
}

.soundcloud-credit {
  font-size: 0.8em;
  color: var(--muted);
  margin-top: 8px;
}

.soundcloud-credit a {
  color: var(--neon-green);
  text-decoration: none;
}

/* ===== ЖИВОПИСЬ ===== */
.slider {
  position: relative;
  margin: 20px 0;
}

.slider-images {
  position: relative;
  min-height: 300px;
}

.slide {
  display: none;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid rgba(255,0,255,0.2);
}

.slide.active {
  display: block;
}

.caption {
  display: none;
  margin-top: 12px;
  font-size: 0.85em;
  color: var(--muted);
  font-style: italic;
  text-align: center;
}

.caption.active {
  display: block;
}

.prev-btn, .next-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--panel);
  border: 2px solid var(--neon-pink);
  color: var(--neon-green);
  font-size: 24px;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.18s;
  z-index: 2;
}

.prev-btn {
  left: 10px;
}

.next-btn {
  right: 10px;
}

.prev-btn:hover, .next-btn:hover {
  background: rgba(255,0,255,0.22);
  border-color: var(--neon-green);
  color: var(--neon-pink);
}

/* ===== ОБЩИЕ ЭЛЕМЕНТЫ ===== */
h2 {
  color: var(--neon-pink);
  margin-top: 24px;
  margin-bottom: 16px;
}

h3 {
  color: var(--neon-green);
  margin-top: 20px;
  margin-bottom: 12px;
}

section {
  margin-bottom: 24px;
}

.ascii-art {
  text-align: center;
  color: var(--muted);
  font-size: 0.9em;
  margin-top: 32px;
  padding: 16px;
}

/* Активная ссылка в навигации */
nav a.active {
  background: rgba(255,0,255,0.18);
  color: var(--neon-pink);
}

/* Улучшенная читаемость для длинных текстов */
.text-panel p,
.project-content p {
  text-align: left;
}

/* Ссылки в тексте */
a {
  color: var(--neon-green);
  transition: color 0.18s;
}

a:hover {
  color: var(--neon-pink);
}

