/* ===== ÁÀÇÎÂÛÅ ÏÅÐÅÌÅÍÍÛÅ ===== */
:root {
  --bg: #0a0f1a;
  --text: #eaeef3;
  --primary: #2ed573;
  --primary-dark: #4cd9b2;
  --danger: #ff6b8a;
  --warn: #f7b731;
  --card-bg: rgba(255,255,255,0.02);
  --border: rgba(255,255,255,0.06);
  --radius: 14px;
  --transition: 0.25s ease;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 20px 16px 40px;
}

/* ===== ÕÅÄÅÐ ===== */
header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 0 20px;
  border-bottom: 1px solid rgba(76,217,178,0.06);
  margin-bottom: 20px;
}
.logo-area { width: 100%; }
.logo-wrapper { text-align: center; padding: 4px 0; }
.logo-icon-main { font-size: 44px; display: block; line-height: 1.2; }
.logo-title {
  font-size: 30px; font-weight: 800;
  background: linear-gradient(135deg, #2ed573, #4cd9b2);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  letter-spacing: 3px; display: block; line-height: 1.2;
}
.logo-subtitle {
  font-size: 12px; color: rgba(255,255,255,0.25);
  letter-spacing: 2.5px; display: block; margin-top: 2px; text-transform: uppercase;
}
.logo-divider {
  width: 50%; max-width: 240px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(46,213,115,0.2), transparent);
  margin: 6px auto 0;
}
@media(max-width:600px) {
  .logo-title { font-size: 24px; }
  .logo-icon-main { font-size: 36px; }
  .logo-subtitle { font-size: 10px; }
}

/* ===== ÍÀÂÈÃÀÖÈß (äîáàâëåíà) ===== */
.main-nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin: 8px 0 14px;
}
.main-nav a {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
}
.main-nav a:hover {
  color: #fff;
  border-bottom-color: var(--primary);
}

/* ===== ÕËÅÁÍÛÅ ÊÐÎØÊÈ ===== */
.breadcrumb {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  margin: -6px 0 18px 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.breadcrumb li { display: inline; }
.breadcrumb li+li::before {
  content: "›";
  margin: 0 6px;
  color: rgba(255,255,255,0.3);
}
.breadcrumb a { color: rgba(255,255,255,0.6); }
.breadcrumb a:hover { color: #fff; }

/* ===== ÃÅÐÎ ===== */
.hero { padding: 4px 0 8px; }
.hero .badge {
  display: inline-block; font-size: 10px; font-weight: 600; text-transform: uppercase;
  color: var(--primary); background: rgba(46,213,115,0.08);
  padding: 3px 14px; border-radius: 20px; margin-bottom: 12px; letter-spacing: 0.5px;
}
.hero .guide-label {
  font-size: 11px; color: rgba(255,255,255,0.2);
  text-transform: uppercase; letter-spacing: 3px; margin-bottom: 2px;
}
.hero h1 {
  font-size: 38px; font-weight: 700; line-height: 1.15; color: #fff; margin-bottom: 6px;
}
.hero h1 span {
  background: linear-gradient(135deg, #2ed573, #4cd9b2);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero .sub {
  font-size: 16px; color: rgba(255,255,255,0.5); line-height: 1.6; margin-bottom: 12px;
}
.hero .sub strong { color: var(--primary-dark); font-weight: 600; }
.hero .highlight-box {
  background: rgba(46,213,115,0.04); border-left: 3px solid var(--primary);
  padding: 14px 18px; border-radius: 0 8px 8px 0; margin: 2px 0 14px;
  font-size: 14px; color: rgba(255,255,255,0.75);
}
.hero .highlight-box strong { color: var(--primary-dark); }
.hero .highlight-box .warn { color: var(--warn); }
@media(max-width:600px) { .hero h1 { font-size: 27px; } }

/* ===== ÊÍÎÏÊÈ ===== */
.btn-group { display: flex; gap: 10px; flex-wrap: wrap; margin: 4px 0 6px; }
.btn {
  display: inline-block; padding: 10px 26px; border-radius: 40px;
  font-size: 13px; font-weight: 600;
  background: linear-gradient(135deg, #2ed573, #4cd9b2);
  color: #0a0f1a; border: none; cursor: pointer; transition: 0.2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 4px 20px rgba(46,213,115,0.3); }
.btn-outline {
  background: transparent; border: 1px solid rgba(76,217,178,0.2);
  color: rgba(255,255,255,0.7);
}
.btn-outline:hover {
  background: rgba(46,213,115,0.08); border-color: rgba(76,217,178,0.3); color: #fff;
}

/* ===== CTA ÊÎÌÌÅÍÒÀÐÈÅÂ ===== */
.comments-cta {
  background: linear-gradient(135deg, rgba(46,213,115,0.06), rgba(76,217,178,0.03));
  border: 1px solid rgba(76,217,178,0.1);
  border-radius: 16px;
  padding: 18px 22px;
  margin: 12px 0 6px;
  text-align: center;
  transition: all 0.3s;
  backdrop-filter: blur(5px);
}
.comments-cta:hover {
  background: linear-gradient(135deg, rgba(46,213,115,0.1), rgba(76,217,178,0.06));
  transform: translateY(-2px);
  border-color: rgba(76,217,178,0.2);
}
.comments-cta .cta-title {
  font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 6px;
  display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap;
}
.comments-cta .cta-title .emoji { font-size: 22px; }
.comments-cta .cta-title .cta-badge {
  display: inline-block; font-size: 9px; font-weight: 700; text-transform: uppercase;
  background: linear-gradient(135deg, #2ed573, #4cd9b2); color: #0a0f1a;
  padding: 2px 12px; border-radius: 20px; animation: pulse 1.5s infinite;
}
.comments-cta .cta-row {
  display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap;
}
.comments-cta .cta-desc { font-size: 14px; color: rgba(255,255,255,0.5); }
.comments-cta .cta-btn {
  display: inline-block; padding: 8px 28px;
  background: linear-gradient(135deg, #2ed573, #4cd9b2); color: #0a0f1a;
  border-radius: 30px; font-weight: 600; font-size: 14px;
  transition: all 0.2s; white-space: nowrap;
}
.comments-cta .cta-btn:hover { transform: scale(1.04); box-shadow: 0 4px 20px rgba(46,213,115,0.3); }
@keyframes pulse { 0% { opacity: 1; } 50% { opacity: 0.6; } 100% { opacity: 1; } }

/* ===== ÊÎÍÒÅÍÒ ÃÎÐÎÄÀ ===== */
.city-content { margin: 14px 0 4px; }
.city-content .city-intro {
  padding: 16px 20px; background: rgba(46,213,115,0.02); border-radius: 12px;
  border: 1px solid rgba(76,217,178,0.06); font-size: 15px; color: rgba(255,255,255,0.75);
}
.city-content .city-intro strong { color: var(--primary-dark); }
.city-content .city-districts {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 12px 0;
}
.city-content .district-card {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: 10px; padding: 12px 14px; transition: 0.2s;
}
.city-content .district-card:hover { border-color: rgba(76,217,178,0.15); }
.city-content .district-card h4 { color: #fff; font-size: 14px; font-weight: 600; }
.city-content .district-card p { font-size: 12px; color: rgba(255,255,255,0.45); }
.city-content .warning-block {
  background: rgba(255,107,138,0.06); border: 1px solid rgba(255,107,138,0.12);
  border-radius: 10px; padding: 12px 16px; margin: 10px 0;
  font-size: 13px; color: rgba(255,255,255,0.7); line-height: 1.6;
}
.city-content .warning-block strong { color: var(--danger); }
.city-content .price-list {
  display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0;
}
.city-content .price-tag {
  background: rgba(46,213,115,0.04); border: 1px solid rgba(76,217,178,0.06);
  border-radius: 8px; padding: 5px 12px; font-size: 12px; color: rgba(255,255,255,0.7);
}
.city-content .price-tag strong { color: var(--primary-dark); }

/* ===== ÑÒÀÒÈÑÒÈÊÀ (áëîêè) ===== */
.block-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 22px 0 14px;
}
.block-card {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: 14px; padding: 18px 20px; transition: 0.25s;
}
.block-card:hover { border-color: rgba(76,217,178,0.2); }
.block-card .icon { font-size: 24px; display: block; margin-bottom: 4px; }
.block-card .stat { font-size: 24px; font-weight: 700; color: var(--primary-dark); display: block; }
.block-card .stat-label { font-size: 11px; color: rgba(255,255,255,0.35); }
.block-card p { font-size: 13px; color: rgba(255,255,255,0.5); margin-top: 4px; }

/* ===== ÒÀÁËÈÖÀ ===== */
.table-wrap {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: 14px; padding: 16px 18px; margin: 12px 0 14px; overflow-x: auto;
}
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 13px; }
.table-wrap th {
  text-align: left; padding: 8px 6px 10px 6px; color: var(--primary-dark);
  font-weight: 600; font-size: 11px; text-transform: uppercase;
  border-bottom: 1px solid var(--border);
}
.table-wrap td { padding: 10px 6px; border-bottom: 1px solid rgba(255,255,255,0.04); color: rgba(255,255,255,0.7); }
.table-wrap tr:last-child td { border-bottom: none; }
.table-wrap .danger { color: var(--danger); font-weight: 600; }
.table-wrap .warn { color: var(--warn); }

/* ===== ÑÎÂÅÒÛ ===== */
.tips {
  display: flex; flex-direction: column; gap: 8px; margin: 4px 0 6px;
}
.tips li {
  display: flex; gap: 12px; align-items: flex-start;
  list-style: none; padding: 12px 16px;
  background: rgba(46,213,115,0.02); border: 1px solid rgba(76,217,178,0.04);
  border-radius: 10px; font-size: 13px; color: rgba(255,255,255,0.7);
}
.tips li strong { color: #fff; }
.tips li .tip-icon { font-size: 18px; flex: 0 0 auto; }

/* ===== ÈÑÒÎÐÈÈ ===== */
.stories { margin-top: 20px; border-top: 1px solid rgba(76,217,178,0.06); padding-top: 18px; }
.stories .section-title { font-size: 18px; font-weight: 600; color: #fff; margin-bottom: 12px; }
.stories .section-title span { color: var(--primary-dark); }
.story-card {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: 14px; padding: 16px 18px; margin-bottom: 12px; transition: 0.2s;
}
.story-card:hover { border-color: rgba(76,217,178,0.15); }
.story-card .story-head { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.story-card .story-icon { font-size: 24px; }
.story-card .story-title { font-size: 16px; font-weight: 600; color: #fff; }
.story-card .story-meta {
  font-size: 12px; color: rgba(255,255,255,0.3); margin-bottom: 8px; padding-left: 34px;
}
.story-card .story-text { font-size: 13px; color: rgba(255,255,255,0.65); }
.story-card .story-text p { margin-bottom: 8px; }
.story-card .story-warning {
  background: rgba(46,213,115,0.04); border-left: 3px solid var(--primary-dark);
  padding: 10px 14px; border-radius: 0 6px 6px 0; margin: 8px 0;
  font-size: 13px; color: rgba(255,255,255,0.75);
}
.story-card .story-warning strong { color: var(--primary-dark); }
.story-tag {
  display: inline-block; font-size: 10px; font-weight: 600; padding: 2px 12px; border-radius: 20px;
  background: rgba(76,217,178,0.1); color: var(--primary-dark); margin-left: 6px;
}
.story-tag.danger { background: rgba(255,107,138,0.12); color: var(--danger); }
.story-tag.warn { background: rgba(247,183,49,0.12); color: var(--warn); }

/* ===== ÊÎÌÌÅÍÒÀÐÈÈ ===== */
.comments {
  margin-top: 24px; border-top: 1px solid rgba(76,217,178,0.06); padding-top: 18px; position: relative;
}
.comments::before {
  content: ''; position: absolute; top: -8px; left: 50%; transform: translateX(-50%);
  width: 60%; height: 2px; background: linear-gradient(90deg, transparent, rgba(76,217,178,0.2), transparent);
}
.comments .section-title {
  font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 4px;
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.comments .section-title .title-icon { font-size: 24px; }
.comments .section-title .title-badge {
  color: var(--primary-dark); background: rgba(76,217,178,0.08);
  padding: 2px 12px; border-radius: 20px; font-size: 13px; font-weight: 500;
}
.comments .section-title .likes-counter {
  color: rgba(255,255,255,0.25); font-size: 12px; font-weight: 400; margin-left: auto;
}
.comments .comment-meta {
  font-size: 12px; color: rgba(255,255,255,0.25); margin-bottom: 12px; padding-left: 2px;
}
.moderation-notice {
  background: rgba(247,183,49,0.08); border: 1px solid rgba(247,183,49,0.15);
  border-radius: 10px; padding: 12px 16px; margin: 12px 0;
  text-align: center; font-size: 13px; color: rgba(255,255,255,0.6);
}
.moderation-notice strong { color: var(--warn); }
.comment-list {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: 14px; padding: 12px 14px; min-height: 100px; margin-bottom: 16px;
}
.comment-list .empty {
  color: rgba(255,255,255,0.3); text-align: center; padding: 16px 0; font-size: 13px;
}
.comment {
  border-bottom: 1px solid var(--border); padding: 12px 14px;
  transition: all 0.3s; border-radius: 6px; margin-bottom: 2px;
}
.comment:last-child { border-bottom: none; margin-bottom: 0; }
.comment.popular {
  background: linear-gradient(135deg, rgba(46,213,115,0.06), rgba(76,217,178,0.03));
  border: 1px solid rgba(76,217,178,0.12); padding: 14px 16px; margin-bottom: 6px; border-radius: 10px;
}
.comment.popular .name { color: var(--primary-dark); }
.comment-header {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 2px; flex-wrap: wrap; gap: 2px;
}
.comment .name { font-weight: 600; color: #fff; font-size: 14px; display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.comment .date {
  font-size: 10px; color: rgba(255,255,255,0.2); background: rgba(255,255,255,0.04);
  padding: 1px 8px; border-radius: 10px;
}
.comment .text { font-size: 13px; color: rgba(255,255,255,0.7); line-height: 1.5; padding-right: 2px; }
.comment .text .highlight { color: var(--primary-dark); font-weight: 500; }
.comment .text .tg-link {
  color: var(--primary); font-weight: 600; text-decoration: none; transition: color 0.2s;
}
.comment .text .tg-link:hover { color: var(--primary-dark); }
.comment-image { max-width: 120px; max-height: 120px; border-radius: 8px; margin-top: 6px; border: 1px solid var(--border); }
.comment-actions {
  display: flex; gap: 16px; margin-top: 6px; padding-top: 6px;
  border-top: 1px solid rgba(255,255,255,0.04); align-items: center; flex-wrap: wrap;
}
.like-btn {
  display: flex; align-items: center; gap: 4px; cursor: pointer; font-size: 12px;
  color: rgba(255,255,255,0.25); background: none; border: none; font-family: inherit;
  padding: 3px 8px; border-radius: 16px; background: rgba(255,255,255,0.02); transition: all 0.25s;
}
.like-btn:hover { color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.04); }
.like-btn.liked { color: var(--danger); }
.like-btn.liked .like-icon { transform: scale(1.1); }
.like-btn .like-icon { font-size: 16px; transition: transform 0.2s; display: inline-block; }
.like-btn .like-count { font-weight: 600; font-size: 12px; min-width: 16px; text-align: center; transition: color 0.2s; }
.like-btn.liked .like-count { color: var(--danger); }
@keyframes likeAnimation { 0% { transform: scale(1); } 50% { transform: scale(1.3); } 100% { transform: scale(1); } }
.like-btn.liked .like-icon { animation: likeAnimation 0.25s ease; }

/* ===== ÔÎÐÌÀ ===== */
.form {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: 14px; padding: 16px 18px;
}
.form-title { font-weight: 600; font-size: 15px; color: #fff; margin-bottom: 10px; display: flex; align-items: center; gap: 6px; }
.form-title .form-icon { font-size: 18px; }
.row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
input, textarea {
  width: 100%; background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  border-radius: 10px; padding: 10px 14px; color: #fff; font-size: 13px; font-family: inherit;
  outline: none; transition: 0.2s;
}
input:focus, textarea:focus { border-color: rgba(76,217,178,0.3); }
input::placeholder, textarea::placeholder { color: rgba(255,255,255,0.2); }
textarea { min-height: 80px; resize: vertical; }
.image-upload {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 6px 0 10px;
}
.image-upload .preview-container {
  display: flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.04); border-radius: 8px; padding: 3px 8px 3px 3px;
  border: 1px solid var(--border);
}
.image-upload .preview-container img { width: 28px; height: 28px; border-radius: 6px; object-fit: cover; }
.image-upload .preview-container .remove-image {
  background: rgba(255,107,138,0.15); border: none; color: var(--danger);
  border-radius: 50%; width: 18px; height: 18px; cursor: pointer; font-size: 10px;
  display: flex; align-items: center; justify-content: center;
}
.image-upload .preview-container .remove-image:hover { background: rgba(255,107,138,0.25); }
.btn-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 8px; }
.status { font-size: 12px; color: rgba(255,255,255,0.25); }
.status.success { color: var(--primary); }
.status.error { color: var(--danger); }
.reset-btn {
  background: rgba(255,107,138,0.08); border: 1px solid rgba(255,107,138,0.15);
  color: var(--danger); padding: 4px 14px; border-radius: 16px; font-size: 11px; cursor: pointer;
}
.reset-btn:hover { background: rgba(255,107,138,0.15); }

/* ===== ÔÓÒÅÐ ===== */
.footer {
  margin-top: 32px; padding-top: 16px;
  border-top: 1px solid rgba(76,217,178,0.06);
  text-align: center; font-size: 12px; color: rgba(255,255,255,0.15);
}

/* ===== ÀÄÀÏÒÈÂÍÎÑÒÜ ===== */
@media(max-width:820px) {
  .block-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 30px; }
}
@media(max-width:600px) {
  .block-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 24px; }
  .city-content .city-districts { grid-template-columns: 1fr; }
  .comments .section-title .likes-counter { margin-left: 0; }
  .main-nav { gap: 12px; font-size: 13px; }
}
</style>