/* Основные стили */
body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  background-color: #111;
  color: #ccc;
  line-height: 1.6;
}

/* Заголовки */
h1, h2 {
  font-family: 'Orbitron', sans-serif;
}

/* Hero-блок */
header#hero {
  text-align: center;
  padding: 2rem;
  background-image: url('https://nick.mckan.men/st/i/digital-bg.jpg');
  background-size: cover;
  background-position: center;
  color: #fff;
}

header img {
  width: 128px;
  border-radius: 50%;
  margin-bottom: 1rem;
}

/* Секции */
section {
  padding: 2rem 1.5rem;
  max-width: 800px;
  margin: auto;
}

#theme-toggle {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #0aa;
  cursor: pointer;
  transition: color 0.3s ease, transform 0.3s ease;
}

#theme-toggle:hover {
  color: #fca802;
  transform: rotate(10deg) scale(1.1);
}

body.light-mode {
  background-color: #f8f8f8;
  color: #222;
}

body.light-mode h1, body.light-mode h2 {
  color: #111;
}

body.light-mode a {
  color: #005b5b;
}

body.light-mode .wp-quote {
  background: rgba(10, 170, 170, 0.08);
  border-left-color: #005b5b;
  color: #444;
}

body.light-mode .wp-caption {
  color: #666;
}


/* Цитата о WordPress */
.wp-quote {
  background: rgba(10, 170, 170, 0.05);
  border-left: 4px solid #0aa;
  padding: 1rem 1.5rem;
  border-radius: 6px;
  margin: 2rem 0;
}

.wp-caption {
  margin-top: 0.8rem;
  font-size: 0.9rem;
  color: #888;
  text-align: right;
  font-style: italic;
}

/* Сетка соцсетей */
.social-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  justify-items: center;
  padding: 1rem 0;
  margin: 0;
}

.social-grid li a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 1rem;
  color: #0aa;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-grid li a:hover {
  color: #fca802;
  transform: scale(1.05);
}

.social-grid i {
  font-size: 1.5rem;
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.9rem;
  color: #666;
}

/* css/nick-style.css */
.ms {
  --c: inherit;
  --h: inherit;
  --o: 0.8;
  display: inline-block;
  font-size: 14px;
  line-height: 1;
}

.ms-l {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--c);
  opacity: var(--o);
  text-decoration: none;
  transition: opacity 0.3s, color 0.3s;
}

.ms-l:hover {
  opacity: 1;
  color: var(--h);
}

.ms-i {
  flex-shrink: 0;
}

.ms-t {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 
               Helvetica, Arial, sans-serif;
}

.DARK { --c: #333; --h: #000 }
.LIGHT { --c: rgba(255,255,255,0.8); --h: #fff }