@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
  color: #222;
  overflow-x: hidden;
  line-height: 1.7;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.header {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  position: sticky;
  top: 0;
  z-index: 999;
  padding: 1rem 0;
}
.header__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(90%, 1200px);
  margin: 0 auto;
}
.header .logo {
  font-size: 2rem;
  font-weight: 800;
  color: #ff2d2d;
  letter-spacing: 2px;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  position: relative;
  display: inline-block;
  cursor: pointer;
  animation: wiggle 3s ease-in-out infinite;
  text-shadow: 0 0 8px rgba(255, 45, 45, 0.6), 0 0 15px rgba(255, 45, 45, 0.3), 0 0 20px rgba(255, 45, 45, 0.2);
  transition: all 0.4s ease;
  z-index: 10;
}
.header .logo span {
  color: #222;
}
@keyframes wiggle {
  0% {
    transform: rotateZ(0deg);
  }
  15% {
    transform: rotateZ(2deg);
  }
  30% {
    transform: rotateZ(-2deg);
  }
  45% {
    transform: rotateZ(2deg);
  }
  60% {
    transform: rotateZ(-1deg);
  }
  75% {
    transform: rotateZ(1deg);
  }
  100% {
    transform: rotateZ(0deg);
  }
}
@media (max-width: 768px) {
  .header .header .logo {
    font-size: 1.6rem;
  }
}
.header .nav ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}
.header .nav ul li a {
  text-decoration: none;
  color: #222;
  font-weight: 500;
  position: relative;
  transition: all 0.3s ease;
}
.header .nav ul li a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background: #ff2d2d;
  transition: width 0.3s ease;
}
.header .nav ul li a:hover {
  color: #ff2d2d;
}
.header .nav ul li a:hover::after {
  width: 100%;
}
.header .burger {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #ff2d2d;
  transition: transform 0.3s ease;
}
.header .burger:hover {
  transform: rotate(90deg) scale(1.2);
}

.article-detail {
  padding: 4rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.article-detail .article__image {
  position: relative;
  width: 100%;
  max-width: 900px;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.article-detail .article__image img {
  width: 100%;
  border-radius: 1rem;
  transition: transform 0.6s ease, filter 0.5s ease;
  filter: brightness(0.95);
}
.article-detail .article__image:hover img {
  transform: scale(1.05) rotate(0.5deg);
  filter: brightness(1);
}
.article-detail .article__image .article__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.85));
  color: #fff;
  padding: 2rem;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.article-detail .article__image .article__overlay h1 {
  font-size: 2.2rem;
  text-shadow: 0 2px 6px rgba(26, 26, 26, 0.6);
}
.article-detail .article__image:hover .article__overlay {
  opacity: 1;
}
.article-detail .article__content {
  margin-top: 2.5rem;
  max-width: 850px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.article-detail .article__content p {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.7s forwards;
  font-size: 1.05rem;
  line-height: 1.9;
}
.article-detail .article__content p:nth-child(1) {
  animation-delay: 0.2s;
}
.article-detail .article__content p:nth-child(2) {
  animation-delay: 0.4s;
}
.article-detail .article__content p:nth-child(3) {
  animation-delay: 0.6s;
}
.article-detail .article__back {
  display: inline-block;
  margin-top: 3rem;
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  background: linear-gradient(135deg, #ff2d2d, #f90000);
  color: #fff;
  border-radius: 50px;
  padding: 0.8rem 2rem;
  box-shadow: 0 6px 20px rgba(255, 45, 45, 0.3);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  text-decoration: none;
}
.article-detail .article__back:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 30px rgba(255, 45, 45, 0.5);
}
.article-detail .article__back:active {
  transform: translateY(1px) scale(0.98);
  box-shadow: 0 4px 12px rgba(255, 45, 45, 0.3);
}
.article-detail .article__back::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.15);
  transform: skewX(-20deg);
  transition: all 0.5s ease;
}
.article-detail .article__back:hover::before {
  left: 100%;
}

.footer {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: black;
  text-align: center;
  padding: 3rem 1rem;
  margin-top: auto;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  border-radius: 1rem 1rem 0 0;
}
.footer::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 45, 45, 0.1));
  animation: footerGlow 8s linear infinite;
  pointer-events: none;
}
.footer p {
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.5px;
}

#loadingOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

#loadingOverlay.active {
  opacity: 1;
  visibility: visible;
}

.spinner {
  width: 60px;
  height: 60px;
  border: 6px solid rgba(255, 45, 45, 0.2);
  border-top: 6px solid #ff2d2d;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes neonGlow {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(10px, 10px) rotate(45deg);
  }
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@media (max-width: 768px) {
  .header .burger {
    display: block;
  }
  .header .nav {
    display: none;
  }
  .article-detail {
    padding: 2rem 1rem;
  }
  .article-detail .article__content p {
    font-size: 1rem;
  }
}/*# sourceMappingURL=detail.css.map */