body {
  margin: 0;
  min-height: 100vh;
  background: #000;
  color: #fff;
  font-family: Tahoma, sans-serif;
  direction: rtl;

  display: flex;
  justify-content: center;
  align-items: center;

  padding: 40px 15px;
  box-sizing: border-box;
  
}
body {
  flex-direction: column;
}
body {
  margin: 0;
  min-height: 100vh;
  background: #000;
  direction: rtl;
  font-family: Tahoma, sans-serif;
}
/* باکس وسط صفحه */
.about-container {
  position: relative;
  width: 90%;
  max-width: 700px;

  background: linear-gradient(145deg, #8b0000, #b30000);
  padding: 40px 55px;
  border-radius: 22px;
  text-align: center;

  box-shadow: 0 0 35px rgba(255, 0, 0, 0.45);
}

/* خطوط وسط */
.lines {
  position: fixed;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  transform: translateX(-50%);
  overflow: hidden;
}

.lines::before,
.lines::after {
  content: "";
  position: absolute;
  width: 2px;
  height: 200%;
  background: linear-gradient(to bottom, transparent, red, transparent);
  animation: moveLines 3s linear infinite;
}

.lines::after {
  left: -25px;
  animation-delay: 1.5s;
}

@keyframes moveLines {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(100%);
  }
}
.about-container {
  position: relative;
  width: 400px;
  padding: 30px;
  background: #8b0000;
  border-radius: 15px;
  box-shadow: 0 0 30px rgba(255, 0, 0, 0.6);
  text-align: center;
}

.line {
  position: absolute;
  top: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, #ff0000, transparent);
  box-shadow: 0 0 15px red;
  animation: glowLine 2s ease-in-out infinite alternate;
}

.line.left {
  left: -25px;
}

.line.right {
  right: -25px;
}

@keyframes glowLine {
  from {
    opacity: 0.35;
  }
  to {
    opacity: 1;
  }
}

.profile-img {
  width: 115px;
  height: 115px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgb(253, 0, 0);
  box-shadow: 0 0 25px rgb(0, 0, 0);
  margin-bottom: 25px;
}
.about-container h1 {
  font-size: 25px;
  margin: 0 0 22px;
  color: #ff0000;
  text-shadow: 0 0 12px rgb(11, 11, 11);
}

.about-container p {
  font-size: 17px;
  line-height: 2.1;
  text-align: justify;
  margin-bottom: 16px;
}

/* هر پاراگراف فاصله بگیره */
.about-container p br {
  display: block;
  margin-bottom: 10px;
}

/* افکت hover کل باکس */
.about-container:hover {
  transform: scale(1.02);
  transition: 0.3s;
}
.about-container p {
  animation: fadeIn 2s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 0.9;
    transform: translateY(0);
  }
}
.footer {
  width: 100%;
  text-align: center;
  padding: 25px 15px;
  margin-top: 40px;

  background: #080808;
  border-top: 1px solid rgba(255, 0, 0, 0.5);
  box-shadow: 0 -5px 25px rgba(255, 0, 0, 0.25);

  color: #fff;
}

.footer p {
  margin: 0 0 12px;
  font-size: 14px;
  opacity: 0.85;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.footer-links a {
  color: #ff2b2b;
  text-decoration: none;
  font-size: 15px;
  transition: 0.3s;
}

.footer-links a:hover {
  color: #fff;
  text-shadow: 0 0 10px red;
}
.instagram:hover {
  background: #e1306c;
}

.youtube:hover {
  background: #ff0000;
}

.telegram:hover {
  background: #0088cc;
}
