:root {
  --bg-color: #0b0f19;
  --surface-color: rgba(255, 255, 255, 0.03);
  --surface-border: rgba(255, 255, 255, 0.08);
  --primary-color: #c99339; /* Premium gold */
  --primary-hover: #e5b05c;
  --text-main: #f0f0f5;
  --text-muted: #a0a5b5;
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 50%, rgba(201, 147, 57, 0.08), transparent 25%),
    radial-gradient(circle at 85% 30%, rgba(201, 147, 57, 0.12), transparent 25%);
  background-attachment: fixed;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-hover);
}

/* Header */
header {
  padding: 2rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--surface-border);
  background: rgba(11, 15, 25, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 100;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 1px;
  background: linear-gradient(90deg, #c99339, #f7d58b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
}

nav a {
  color: var(--text-main);
  font-weight: 500;
  font-size: 0.95rem;
}

nav a:hover {
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  padding: 8rem 5%;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #fff, #a0a5b5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-inline: auto;
}

.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  background: var(--primary-color);
  color: #000;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  border: 1px solid transparent;
}

.btn:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(201, 147, 57, 0.2);
  color: #000;
}

/* Sections */
.section {
  padding: 5rem 5%;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  text-align: center;
}

/* Glassmorphism Cards */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--surface-color);
  border: 1px solid var(--surface-border);
  border-radius: 16px;
  padding: 2rem;
  transition: var(--transition);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(201, 147, 57, 0.4);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.card-tag {
  align-self: flex-start;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.card-link::after {
  content: '→';
  transition: transform 0.2s;
}

.card:hover .card-link::after {
  transform: translateX(4px);
}

/* Badges for ranking */
.ranking-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(201, 147, 57, 0.15);
  color: var(--primary-color);
  font-weight: bold;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

/* Footer */
footer {
  padding: 4rem 5%;
  text-align: center;
  border-top: 1px solid var(--surface-border);
  margin-top: 4rem;
  color: var(--text-muted);
}

/* Article Styles */
.article-header {
  text-align: center;
  padding: 6rem 5% 3rem;
  max-width: 800px;
  margin: 0 auto;
}

.article-header h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.article-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.article-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 5% 5rem;
  font-size: 1.125rem;
  color: #d1d5db;
}

.article-content h2 {
  font-size: 2rem;
  color: var(--text-main);
  margin: 3rem 0 1.5rem;
}

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

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

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

.article-content blockquote {
  border-left: 4px solid var(--primary-color);
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--text-muted);
}

.references {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--surface-border);
  font-size: 0.9rem;
}

.references h3 {
  margin-bottom: 1rem;
  color: var(--text-main);
}

.references li {
  color: var(--text-muted);
  word-break: break-all;
}

@media (max-width: 768px) {
  .hero h1 { font-size: 2.5rem; }
  .section-title { font-size: 2rem; }
  .article-header h1 { font-size: 2.2rem; }
  nav ul { gap: 1rem; display: none; /* simple mobile menu hiding for now */ }
}
