* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Georgia', 'Times New Roman', serif;
  background: var(--dark-bg) url('/img/stone-texture.jpg') fixed;
  background-size: 300px;
  background-blend-mode: overlay;
  color: var(--text);
  line-height: 1.7;
  padding-top: 100px;
}

h1, h2, h3, h4 {
  font-weight: 600;
  line-height: 1.3;
}

.container {
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  position: relative;
  color: var(--text);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--accent);
  border-radius: 3px;
}
#back-to-top {
  position: fixed;
  bottom: 40px;
  right: 30px;
  display: none;
  z-index: 1000;
  font-size: 22px;
  background-color: #8b0000;
  color: white;
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  transition: opacity 0.3s, transform 0.3s;
}

#back-to-top:hover {
  background-color: #a30000;
  transform: scale(1.1);
}

#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    pointer-events: none;
}

body {
    background-color: #0d0d0d;
    background-image: url("/img/bg-texture.jpg"); /* ← это текстура */
    background-size: cover;
    background-repeat: repeat;
    background-attachment: fixed;
}
