
:root {
  --bg-dark: #0a0e27;
  --bg-card: #0f111a;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --accent-amber: #f59e0b;
  --accent-gold: #fbbf24;
  --border-color: rgba(255, 255, 255, 0.1);
}

body {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

/* Header & Nav */
header {
  background-color: rgba(15, 17, 26, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 1rem 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: white;
  font-weight: 700;
  font-size: 1.25rem;
}

.logo-img {
  height: 40px;
  width: auto;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  margin-left: 1.5rem;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--accent-gold);
}

/* Main Content */
main {
  padding: 2rem 1.5rem;
}

.article-container {
  max-width: 800px;
  margin: 0 auto;
}

/* Article Header */
.article-header {
  margin-bottom: 2rem;
}

h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 1rem;
  background: linear-gradient(to right, #ffffff, #cbd5e1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.article-meta {
  display: flex;
  gap: 1rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

.category-badge {
  background-color: rgba(245, 158, 11, 0.1);
  color: var(--accent-gold);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid rgba(245, 158, 11, 0.2);
  font-weight: 500;
}

/* Featured Image */
.featured-image-wrapper {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 1rem;
  overflow: hidden;
  margin-bottom: 2.5rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
}

.featured-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Content Typography */
.article-content {
  font-size: 1.125rem;
  color: #e2e8f0;
}

.article-content p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.article-content h2 {
  font-size: 1.875rem;
  color: var(--accent-gold);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.article-content h3 {
  font-size: 1.5rem;
  color: #fbbf24;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.article-content ul, .article-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.article-content li {
  margin-bottom: 0.5rem;
}

/* AdSense */
.ad-container {
  margin: 2rem auto;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed var(--border-color);
  text-align: center;
  border-radius: 0.5rem;
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Footer & Buttons */
.article-footer {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.btn-back {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background-color: transparent;
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold);
  text-decoration: none;
  border-radius: 0.5rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-back:hover {
  background-color: var(--accent-gold);
  color: #000;
}

footer {
  background-color: #050714;
  padding: 2rem 0;
  margin-top: 4rem;
  border-top: 1px solid var(--border-color);
  text-align: center;
  color: var(--text-secondary);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  h1 {
    font-size: 1.875rem;
  }
  
  .article-content {
    font-size: 1rem;
  }
  
  .nav-container {
    padding: 0 1rem;
  }
  
  main {
    padding: 1.5rem 1rem;
  }
}
