
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  border: none;
  outline: none;
  font-family: 'Poppins', sans-serif;
  text-align: left
}

html {
  font-size: 62.5%;
}

body {
  background-color: black;
  color: white;
  line-height: 1.6;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem 9%;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  border-bottom: 1px solid rgba(183, 75, 75, 0.2);
}

.logo {
  font-size: 2.5rem;
  color: #b74b4b;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

nav a {
  font-size: 1.6rem;
  color: white;
  margin-left: 3rem;
  font-weight: 400;
  transition: 0.3s ease;
  border-bottom: 2px solid transparent;
}

nav a:hover {
  color: #b74b4b;
  border-bottom: 2px solid #b74b4b;
}

.article-container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 12rem 2rem 8rem;
}

.article-header {
  text-align: center;
  margin-bottom: 6rem;
  position: relative;
}

.article-header::before {
  content: '';
  position: absolute;
  width: 20rem;
  height: 20rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(183, 75, 75, 0.1) 0%, transparent 70%);
  top: -10rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
}

.article-title {
  font-size: 5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, white, #b74b4b);
  -webkit-background-clip: text;
  background-clip: text;
  text-align: center

}

.article-meta {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 3rem;
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.7);
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.meta-item i {
  color: #b74b4b;
}

.article-description {
  font-size: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  max-width: 60rem;
  margin: 0 auto;
}

.article-content {
  margin-bottom: 4rem;
}

.section {
  margin-bottom: 4rem;
  text-align: left;
}

.section h2 {
  font-size: 3rem;
  color: #b74b4b;
  margin-bottom: 2rem;
  position: relative;
  padding-left: 2rem;
  text-align: left;
}

.section h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0.4rem;
  height: 3rem;
  background: #b74b4b;
  border-radius: 0.2rem;
}

.section h3 {
  font-size: 2.2rem;
  color: white;
  margin-bottom: 1.5rem;
  margin-top: 3rem;
}
.section h4 {
  font-size: 2.0rem;
  color: white;
  margin-bottom: 1.5rem;
  margin-top: 3rem;
}


.section p {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
}

.section ul, .section ol {
  font-size: 1.9rem;
  margin-bottom: 2rem;
  padding-left: 3rem;
  color: rgba(255, 255, 255, 0.9);
}

.section li {
  margin-bottom: 1rem;
}

.section img {
  max-width: 80rem;
}

.highlight-box {
  background: rgba(183, 75, 75, 0.1);
  border-left: 0.4rem solid #b74b4b;
  padding: 2rem;
  margin: 3rem 0;
  border-radius: 0 1rem 1rem 0;
}
.highlight-box h4 {
  font-size: 19px;
}

.highlight-box p {
  margin-bottom: 0;
  font-style: italic;
}

.code-block {
  background: rgba(30, 30, 30, 0.8);
  border: 1px solid rgba(183, 75, 75, 0.3);
  border-radius: 1rem;
  padding: 2rem;
  margin: 2rem 0;
  font-family: 'Courier New', monospace;
  font-size: 1.4rem;
  overflow-x: auto;
}

.back-to-top {
  position: fixed;
  bottom: 3rem;
  right: 3rem;
  width: 5rem;
  height: 5rem;
  background: #b74b4b;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: black;
  font-size: 2rem;
  transition: 0.3s ease;
  cursor: pointer;
}

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 2rem #b74b4b;
}

footer {
  text-align: center;
  padding: 3rem 0;
  border-top: 1px solid rgba(183, 75, 75, 0.2);
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.4rem;
}
footer p {
  text-align: center;
}


/* Responsive Design */
@media (max-width: 768px) {
  .article-container {
      padding: 10rem 1rem 6rem;
  }

  .article-title {
      font-size: 3.5rem;
  }

  .article-meta {
      flex-direction: column;
      gap: 1rem;
  }

  .section h2 {
      font-size: 2.5rem;
  }

  nav a {
      margin-left: 2rem;
  }
}

@media (max-width: 480px) {
  .article-title {
      font-size: 3rem;
  }
  
  .section h2 {
      font-size: 2.2rem;
  }
  
  .section p, .section ul, .section ol {
      font-size: 1.6rem;
  }
}
