/* Humanoid Media Factory - Premium UI Theme */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600&display=swap');

:root {
  --neon-primary: #00ffcc;
  --neon-secondary: #ff00ff;
  --neon-glow: rgba(0, 255, 204, 0.15);
  --bg-deep: #0a0c10;
  --bg-glass: rgba(255, 255, 255, 0.05);
  --border-glass: rgba(0, 255, 204, 0.2);
  --text-main: #e0e0e0;
  --text-muted: #888;
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg-deep);
  color: var(--text-main);
  margin: 0;
  padding: 0;
  line-height: 1.6;
  min-height: 100vh;
}

.container {
  display: flex;
  width: 100%;
  max-width: 1200px;
  margin: 40px auto;
  gap: 30px;
  padding: 0 20px;
}

/* Hero Section */
.hero {
  position: relative;
  width: 100%;
  padding: 100px 20px 80px;
  text-align: center;
  background: linear-gradient(135deg, #001e3c, #000c1a);
  border-bottom: 1px solid var(--border-glass);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, var(--neon-primary), transparent 60%);
  opacity: 0.15;
  animation: pulse 8s infinite alternate;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.1;
  }

  100% {
    transform: scale(1.1);
    opacity: 0.2;
  }
}

.hero-title {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  color: var(--neon-primary);
  margin: 0 0 20px;
  letter-spacing: -1px;
  text-shadow: 0 0 20px var(--neon-glow);
}

.hero-sub {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Sidebar */
.sidebar {
  flex: 0 0 240px;
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 24px;
  height: fit-content;
  position: sticky;
  top: 40px;
}

.sidebar h2 {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--neon-primary);
  margin-top: 0;
  margin-bottom: 20px;
}

.sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar li {
  margin-bottom: 12px;
}

.sidebar a {
  text-decoration: none;
  color: var(--text-main);
  font-size: 0.95rem;
  transition: all 0.3s ease;
  display: block;
}

.sidebar a:hover {
  color: var(--neon-primary);
  transform: translateX(5px);
}

/* Main Content Area */
.content {
  flex: 1;
}

.content h1 {
  font-size: 2rem;
  color: var(--text-main);
  margin-top: 0;
  margin-bottom: 30px;
}

.category-title {
  font-size: 1.4rem;
  color: var(--neon-primary);
  border-left: 4px solid var(--neon-primary);
  padding-left: 15px;
  margin: 50px 0 25px;
}

/* Post Cards */
.post-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 20px;
}

.post-card {
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 24px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.post-card:hover {
  transform: translateY(-8px);
  border-color: var(--neon-primary);
  box-shadow: 0 10px 30px rgba(0, 255, 204, 0.1);
}

.post-card .date {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.post-card a {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-main);
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
  transition: color 0.2s;
}

.post-card a:hover {
  color: var(--neon-primary);
}

.post-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Article Page Styling */
.humanoid-content {
  padding: 0;
}

.premium-article {
  max-width: 800px;
  margin: 60px auto;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.premium-article header {
  text-align: center;
  margin-bottom: 50px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--border-glass);
}

.premium-article h1 {
  font-size: 2.8rem;
  color: var(--neon-primary);
  margin: 0 0 15px;
  line-height: 1.2;
}

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

.premium-article section {
  margin-bottom: 40px;
  font-size: 1.1rem;
}

.premium-article h2 {
  color: var(--neon-primary);
  margin-top: 50px;
  font-size: 1.6rem;
}

.premium-article p {
  margin-bottom: 20px;
}

.premium-article blockquote {
  border-left: 4px solid var(--neon-secondary);
  background: rgba(255, 0, 255, 0.03);
  padding: 25px;
  margin: 30px 0;
  font-style: italic;
  font-size: 1.15rem;
}

.premium-article figure.main-thumbnail img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 40px;
  border: 1px solid var(--border-glass);
}

/* Fact Box */
.fact-box {
  background: rgba(0, 255, 204, 0.05);
  border: 1px dashed var(--neon-primary);
  border-radius: 12px;
  padding: 20px;
  margin: 30px 0;
}

.fact-box h3 {
  margin-top: 0;
  color: var(--neon-primary);
  font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 900px) {
  .container {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    position: static;
  }

  .premium-article {
    margin: 40px 15px;
    padding: 25px;
  }

  .premium-article h1 {
    font-size: 2rem;
  }
}