/* Подключение шрифтов и иконок уже в index.php через CDN */
:root {
  --bg-primary: #0f172a;
  --bg-card: rgba(30, 41, 59, 0.7);
  --text-primary: #f1f5f9;
  --accent: #f43f5e;
  --accent-light: #fb7185;
  --gold: #facc15;
  --border-radius: 20px;
  --shadow: 0 20px 40px -12px rgba(0,0,0,0.6);
}

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  margin: 0;
}

.commands-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.commands-container h1 {
  font-size: 2.8rem;
  text-align: center;
  background: linear-gradient(135deg, #facc15, #f43f5e);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.5rem;
}

.commands-container h1 a {
  color: #ffd966;
  text-decoration: none;
  border-bottom: 2px solid #ffd966;
  transition: 0.2s;
}

.commands-container h1 a:hover {
  color: #fff;
  border-bottom-color: #e94560;
}

.commands-container h2 {
  text-align: center;
  font-weight: 300;
  font-size: 2rem;
  color: #94a3b8;
  margin-bottom: 2rem;
}

.columns-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.command-column {
  flex: 1 1 320px;
  min-width: 280px;
  background: var(--bg-card);
  backdrop-filter: blur(8px);
  border-radius: var(--border-radius);
  padding: 1.8rem 1.5rem;
  border: 1px solid rgba(255,255,255,0.05);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.command-column:hover {
  /*transform: translateY(-8px);*/
  /*border-color: var(--accent);*/
}

.column-title {
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--gold);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 0.75rem;
  margin-bottom: 1.5rem;
}

.command-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.command-column li {
  background: rgba(255,255,255,0.03);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  margin-bottom: 1.2rem;
  border-left: 3px solid transparent;
  transition: background 0.2s, border-color 0.2s;
}

.command-column li:hover {
  background: rgba(255,255,255,0.07);
  /*border-left-color: var(--accent);*/
}

.command-column strong {
  color: var(--accent-light);
  font-size: 1.1rem;
  display: block;
  margin-bottom: 0.25rem;
}

.command-column p {
  color: #cbd5e1;
  font-size: 0.95rem;
  margin: 0.3rem 0;
  line-height: 1.5;
}

.primer {
  background: rgba(0,0,0,0.4);
  padding: 0.2rem 0.8rem;
  border-radius: 30px;
  display: inline-block;
  font-family: 'Courier New', monospace;
  color: var(--gold);
  border: 1px solid rgba(250,204,21,0.2);
  font-size: 0.9rem;
  margin: 0.2rem 0;
}

/* Блок лайков */
.like-area {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.like-btn {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 1.2rem;
  cursor: pointer;
  transition: color 0.2s, transform 0.2s;
  padding: 0.2rem 0.6rem;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.05);
}

.like-btn:hover {
  color: var(--accent);
  transform: scale(1.1);
}

.like-btn.liked {
  color: var(--accent);
}

.like-count {
  font-size: 0.9rem;
  color: #cbd5e1;
  min-width: 20px;
  text-align: center;
}

/* Админ-ссылка */
.back-link {
  text-align: center;
  padding-top: 20px;
}
.back-link a {
  color: var(--gold);
  text-decoration: none;
  font-size: 1.2rem;
}


.like-area {
    display: flex;
    gap: 0.8rem;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.like-btn {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 30px;
    padding: 0.2rem 0.8rem;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: #94a3b8;
    background: rgba(255,255,255,0.03);
}

.like-btn:hover {
    background: rgba(255,255,255,0.1);
    transform: scale(1.05);
}

.like-btn.active {
    /*border-color: #facc15;*/
    background: rgba(250,204,21,0.15);
    color: #facc15;
}

.like-btn .like-count {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Адаптивность */
@media (max-width: 700px) {
  .command-column { flex: 1 1 100%; }
  .commands-container h1 { font-size: 1.8rem; }
  .commands-container h2 { font-size: 1.4rem; }
  .column-title { font-size: 1.4rem; }
}

h3 {
    text-align: center;
    padding-bottom: 30px;
}