/* Teknoloji Masası - Luxury Dark Gold Tech Magazine Theme */

:root {
  --tm-bg: #0B0E14;
  --tm-bg-card: #121622;
  --tm-bg-card-hover: #161D2F;
  --tm-border: #1E2638;
  --tm-gold: #F5A623;
  --tm-gold-hover: #FFAF38;
  --tm-text: #F1F5F9;
  --tm-muted: #94A3B8;
  --tm-max-w: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  background: var(--tm-bg);
}

body {
  margin: 0;
  background-color: var(--tm-bg);
  background-image: radial-gradient(at 50% 0%, rgba(245, 166, 35, 0.04) 0px, transparent 60%);
  color: var(--tm-text);
  font-family: "Plus Jakarta Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* Strict Centered Container (No wide stretches!) */
.tm-container {
  width: 100%;
  max-width: var(--tm-max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: "Plus Jakarta Sans", sans-serif;
  letter-spacing: -0.02em;
}

.font-mono {
  font-family: "JetBrains Mono", monospace;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #0B0E14;
}
::-webkit-scrollbar-thumb {
  background: #1E2638;
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #F5A623;
}

/* Header & Breaking */
.tm-breaking {
  background: #0D111A;
  border-bottom: 1px solid var(--tm-border);
  font-size: 11px;
  padding: 6px 0;
}

.tm-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(11, 14, 20, 0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--tm-border);
}

.tm-brand-logo {
  height: 38px;
  max-width: 210px;
  object-fit: contain;
}

.tm-main-nav a {
  color: #94A3B8;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 0;
  transition: color 0.15s ease;
}
.tm-main-nav a:hover,
.tm-main-nav a.is-active {
  color: #FFFFFF;
}
.tm-main-nav a.is-active {
  position: relative;
}
.tm-main-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--tm-gold);
  border-radius: 2px;
}

/* Category Pills */
.cat-pill {
  flex: 0 0 auto;
  border: 1px solid var(--tm-border);
  background: var(--tm-bg-card);
  color: #94A3B8;
  border-radius: 999px;
  padding: 5px 13px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.cat-pill:hover,
.cat-pill.active {
  color: #0B0E14 !important;
  background: var(--tm-gold) !important;
  border-color: var(--tm-gold) !important;
}

/* Circular Score Badges */
.score-circle-gold {
  border: 2px solid var(--tm-gold);
  color: var(--tm-gold);
  background: rgba(245, 166, 35, 0.12);
  box-shadow: 0 0 8px rgba(245, 166, 35, 0.15);
}
.score-circle-green {
  border: 2px solid #10B981;
  color: #10B981;
  background: rgba(16, 185, 129, 0.12);
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.15);
}
.score-circle-blue {
  border: 2px solid #3B82F6;
  color: #3B82F6;
  background: rgba(59, 130, 246, 0.12);
  box-shadow: 0 0 8px rgba(59, 130, 246, 0.15);
}

/* Micro-motion on Cards */
.tm-card-hover {
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease, box-shadow 0.2s ease;
}
.tm-card-hover:hover {
  transform: translateY(-2px);
  border-color: rgba(245, 166, 35, 0.35);
  box-shadow: 0 8px 20px -6px rgba(245, 166, 35, 0.12);
}

/* Article Prose Typography */
.article-prose h2, .article-prose h3 {
  color: #FFFFFF;
  font-weight: 800;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}
.article-prose p {
  color: #CBD5E1;
  line-height: 1.75;
  margin-bottom: 1rem;
}
