/* ==========================================================
   MINECO STUDIOS - NEWS
   ========================================================== */

.news-card {
  transition: 0.35s;
}

.news-card:hover {
  transform: translateY(-8px);
  border-color: #03fcf0;
  box-shadow:
    0 0 25px rgba(3, 252, 240, 0.18),
    0 20px 45px rgba(0, 0, 0, 0.55);
}

.news-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  font-size: 0.9rem;
  color: #aaa;
}

.news-meta .author {
  font-weight: 600;
  color: #03fcf0;
}

.news-meta .date {
  color: #888;
}

.news-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.tag {
  background: rgba(3, 252, 240, 0.15);
  color: #03fcf0;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.read-more {
  display: inline-block;
  color: #03fcf0;
  text-decoration: none;
  font-weight: 600;
  padding: 8px 16px;
  border: 1px solid rgba(3, 252, 240, 0.3);
  border-radius: 20px;
  transition: 0.3s;
}

.read-more:hover {
  background: rgba(3, 252, 240, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(3, 252, 240, 0.25);
}

/* ==========================================================
   NEWS DETAIL PAGE
   ========================================================== */

.news-detail {
  width: min(1000px, 95%);
  margin: auto;
  padding: 40px 0 80px;
}

.news-content-container {
  background: #0b0b0b;
  border: 1px solid rgba(3, 252, 240, 0.15);
  border-radius: 28px;
  padding: 40px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.45);
}

.news-header {
  text-align: center;
  margin-bottom: 40px;
}

.news-hero-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 30px;
  border: 1px solid rgba(3, 252, 240, 0.15);
}

.news-title {
  font-family: "Orbitron", sans-serif;
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #fff;
  text-shadow: 0 0 15px rgba(3, 252, 240, 0.3);
}

.news-body {
  color: #d5d5d5;
  font-size: 1.1rem;
  line-height: 1.8;
}

.news-body p {
  margin-bottom: 20px;
}

.news-body h2 {
  color: #03fcf0;
  margin: 30px 0 20px;
  font-size: 1.8rem;
}

.news-body h3 {
  color: #03fcf0;
  margin: 25px 0 15px;
  font-size: 1.5rem;
}

.news-body ul,
.news-body ol {
  margin: 20px 0;
  padding-left: 30px;
}

.news-body li {
  margin-bottom: 10px;
}

.news-body a {
  color: #03fcf0;
  text-decoration: none;
}

.news-body a:hover {
  text-decoration: underline;
}

.news-body img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 20px 0;
  border: 1px solid rgba(3, 252, 240, 0.15);
}

.news-body blockquote {
  border-left: 4px solid #03fcf0;
  padding: 10px 20px;
  margin: 20px 0;
  background: rgba(3, 252, 240, 0.05);
  font-style: italic;
}

/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 900px) {
  .news-detail {
    width: 92%;
    padding: 30px 0 60px;
  }

  .news-content-container {
    padding: 30px 20px;
  }

  .news-hero-image {
    height: 300px;
  }

  .news-title {
    font-size: 2rem;
  }

  .news-meta {
    flex-direction: column;
    gap: 8px;
  }

  .news-body {
    font-size: 1rem;
  }

  .news-body h2 {
    font-size: 1.5rem;
  }

  .news-body h3 {
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .news-detail {
    width: 90%;
    padding: 20px 0 40px;
  }

  .news-content-container {
    padding: 20px 15px;
  }

  .news-hero-image {
    height: 200px;
  }

  .news-title {
    font-size: 1.6rem;
  }

  .news-tags {
    gap: 6px;
  }

  .tag {
    padding: 3px 10px;
    font-size: 0.7rem;
  }

  .read-more {
    padding: 6px 12px;
    font-size: 0.9rem;
  }
}

/* ==========================================================
   LOADING & EMPTY STATES
========================================================== */

.loading-state,
.empty-state,
.error-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  background: rgba(16, 16, 16, 0.6);
  border-radius: 20px;
  border: 2px dashed rgba(3, 252, 240, 0.2);
  margin: 20px 0;
}

.loading-state i,
.empty-state i,
.error-state i {
  font-size: 3rem;
  margin-bottom: 20px;
  display: block;
}

.loading-state i {
  color: #03fcf0;
}

.empty-state i {
  color: #888;
}

.error-state i {
  color: #ff4040;
}

.loading-state p,
.empty-state p,
.error-state p {
  color: #d5d5d5;
  font-size: 1.2rem;
  margin: 0;
}

.skeleton-card {
  background: #0b0b0b;
  border: 1px solid rgba(3, 252, 240, 0.1);
  border-radius: 28px;
  padding: 40px 35px;
  text-align: center;
}

.skeleton {
  background: linear-gradient(90deg, #1a1a1a 25%, #222 50%, #1a1a1a 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
  border-radius: 8px;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
