/* Reset & Base */
:root {
  --primary: #ff6b00;
  --primary-dark: #cc5500;
  --secondary: #00d4ff;
  --accent: #ff00cc;
  --bg: #0a0a0f;
  --bg-card: #141420;
  --text: #f0f0f0;
  --text-muted: #a0a0a0;
  --border: #2a2a3d;
  --card-radius: 16px;
  --transition: 0.3s ease;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #0a0a0f !important;
  color: #f0f0f0;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #2a2a3d;
  padding: 1rem 0;
  z-index: 100;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: #f0f0f0;
}

.logo-icon {
  font-size: 1.8rem;
}

.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 900;
  background: linear-gradient(45deg, #ff6b00, #ff00cc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.category-btn {
  background: transparent;
  border: 2px solid #2a2a3d;
  color: #a0a0a0;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  transition: 0.3s ease;
}

.category-btn:hover,
.category-btn.active {
  border-color: #ff6b00;
  color: #ff6b00;
  background: rgba(255, 107, 0, 0.1);
}

/* Hero */
.hero {
  text-align: center;
  padding: 4rem 0 3rem;
  border-bottom: 1px solid #2a2a3d;
  margin-bottom: 2rem;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #f0f0f0, #ff6b00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: #a0a0a0;
  margin-bottom: 1.5rem;
}

.disclaimer {
  display: inline-block;
  background: rgba(255, 107, 0, 0.1);
  border: 1px solid #ff6b00;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  color: #ff6b00;
}

/* Single News Page */
.single-news {
  max-width: 800px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.back-button {
  background: transparent;
  border: 2px solid #2a2a3d;
  color: #f0f0f0;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  margin-bottom: 2rem;
  transition: 0.3s ease;
}

.back-button:hover {
  border-color: #ff6b00;
  color: #ff6b00;
}

.news-full {
  background: #141420;
  border: 1px solid #2a2a3d;
  border-radius: 16px;
  overflow: hidden;
}

.news-full .news-category {
  display: inline-block;
  background: rgba(255, 107, 0, 0.2);
  color: #ff6b00;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  margin: 1.5rem 1.5rem 0.5rem;
}

.news-full .news-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 900;
  margin: 0.5rem 1.5rem 1rem;
  line-height: 1.2;
  background: linear-gradient(135deg, #f0f0f0, #ff6b00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.news-full .news-meta {
  padding: 0 1.5rem 1rem;
  color: #a0a0a0;
  font-size: 0.9rem;
  border-bottom: 1px solid #2a2a3d;
}

.news-full .news-image-container {
  margin: 1.5rem;
  border-radius: 12px;
  overflow: hidden;
  background: #2a2a3d;
}

.news-full .news-image-container img {
  width: 100%;
  height: auto;
  display: block;
}

.news-full .news-content-full {
  padding: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.8;
}

.news-full .news-content-full p {
  margin-bottom: 1rem;
}

/* Hide hero on single news page */
body.single-page .hero-section {
  display: none;
}

/* News Grid */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  padding: 2rem 0;
}

.news-card {
  background: #141420;
  border: 1px solid #2a2a3d;
  border-radius: 16px;
  overflow: hidden;
  transition: 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.news-card:hover {
  transform: translateY(-4px);
  border-color: #ff6b00;
  box-shadow: 0 12px 40px rgba(255, 107, 0, 0.15);
}

.news-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: #2a2a3d;
}

.news-content {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-category {
  display: inline-block;
  background: rgba(255, 107, 0, 0.2);
  color: #ff6b00;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.news-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.3;
  color: #f0f0f0;
}

.news-excerpt {
  font-size: 0.9rem;
  color: #a0a0a0;
  margin-bottom: 1rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: #a0a0a0;
  margin-top: auto;
}

.news-date {
  opacity: 0.7;
}

.news-link {
  color: #00d4ff;
  text-decoration: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.news-link:hover {
  text-decoration: underline;
}

/* Load More */
.load-more-wrapper {
  text-align: center;
  padding: 3rem 0;
}

.btn-load-more {
  background: #ff6b00;
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
}

.btn-load-more:hover {
  background: #cc5500;
  transform: scale(1.05);
}

.btn-load-more:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* No Results */
.no-results {
  text-align: center;
  padding: 4rem 0;
  color: #a0a0a0;
  font-size: 1.1rem;
}

/* Footer */
.footer {
  border-top: 1px solid #2a2a3d;
  padding: 2rem 0;
  margin-top: 4rem;
  text-align: center;
  color: #a0a0a0;
  font-size: 0.9rem;
}

.footer a {
  color: #00d4ff;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .header .container {
    flex-direction: column;
    gap: 0.75rem;
  }

  .nav {
    justify-content: center;
    gap: 0.25rem;
  }

  .category-btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }

  .news-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .disclaimer {
    font-size: 0.8rem;
    padding: 0.5rem 0.75rem;
  }
}
