/* ============================================
   Altcoin Gundem - Main Stylesheet
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&display=swap');

/* === CSS Variables === */
:root {
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'Outfit', 'Inter', sans-serif;
  
  --color-bg: #FFFFFF;
  --color-bg-secondary: #F6F8FA;
  --color-bg-tertiary: #EEF1F5;
  --color-text: #0D1117;
  --color-text-secondary: #30363D;
  --color-text-muted: #6E7781;
  --color-text-light: #8B949E;
  --color-border: #D0D7DE;
  --color-border-light: #EAEEF2;
  
  --color-accent: #10B981;
  --color-accent-dark: #059669;
  --color-accent-glow: rgba(16,185,129,0.15);
  --color-green: #10B981;
  --color-red: #EF4444;
  --color-blue: #3B82F6;
  
  --color-markets: #059669;
  --color-finance: #2563EB;
  --color-tech: #7C3AED;
  --color-policy: #DC2626;
  --color-opinion: #D97706;
  
  --header-bg: #FFFFFF;
  --header-text: #0D1117;
  --header-height: 64px;
  --ticker-height: 56px;
  --max-width: 100%;
  --sidebar-width: 300px;
  
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.12);
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  
  --transition: all 0.2s ease;
}

/* === Reset === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--color-text);
  line-height: 1.3;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg-secondary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* === Header === */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--header-bg);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  height: var(--header-height);
  justify-content: space-between;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  color: var(--color-text);
  text-decoration: none;
  flex-shrink: 0;
  letter-spacing: -0.3px;
}

.logo:hover { color: var(--color-text); }

.logo-icon {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, #10B981, #059669);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 2px 8px rgba(16,185,129,0.3);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.main-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-secondary);
  padding: 4px 0;
  position: relative;
  white-space: nowrap;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.main-nav a:hover {
  color: var(--color-text);
}

.main-nav a.active {
  color: var(--color-text);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--color-border);
  border-radius: 24px;
  font-size: 14px;
  color: var(--color-text-muted);
  background: var(--color-bg-secondary);
  cursor: pointer;
  transition: var(--transition);
}

.search-box:hover {
  border-color: var(--color-text-muted);
  background: var(--color-bg-tertiary);
}

.search-box svg {
  width: 16px;
  height: 16px;
  opacity: 0.5;
}

.search-shortcut {
  background: var(--color-bg-tertiary);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text-muted);
}

.header-profile {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 1px solid var(--color-border);
  color: var(--color-text);
  transition: var(--transition);
}

.header-profile:hover {
  background: var(--color-bg-tertiary);
}

/* Mobile menu button */
.mobile-menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  background: none;
}

.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  position: relative;
  transition: var(--transition);
}

.mobile-menu-btn span::before,
.mobile-menu-btn span::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: var(--color-text);
  left: 0;
  transition: var(--transition);
}

.mobile-menu-btn span::before { top: -7px; }
.mobile-menu-btn span::after { top: 7px; }

/* === Price Ticker === */
.price-ticker {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
}

.price-ticker-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.price-ticker-inner::-webkit-scrollbar { display: none; }

.ticker-item {
  display: flex;
  flex-direction: column;
  padding: 8px 20px;
  border-right: 1px solid var(--color-border);
  min-width: 160px;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}

.ticker-item:first-child { padding-left: 0; }
.ticker-item:last-child { border-right: none; }

.ticker-item:hover {
  background: var(--color-bg-secondary);
}

.ticker-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-secondary);
  margin-bottom: 2px;
}

.ticker-price {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text);
}

.ticker-change {
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
}

.ticker-change.positive { color: var(--color-green); }
.ticker-change.negative { color: var(--color-red); }

.ticker-change .arrow {
  font-size: 10px;
}

/* === Main Content === */
.main-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* === Three Column Layout === */
.three-col {
  display: grid;
  grid-template-columns: 280px 1fr 300px;
  gap: 24px;
  padding: 32px 0;
}

/* === Column Card Styles === */
.latest-news-col, .featured-col, .sidebar-col {
  background: var(--color-bg);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
  border: 1px solid rgba(0,0,0,0.04);
  transition: var(--transition);
}

.latest-news-col:hover, .featured-col:hover, .sidebar-col:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}

/* === Left Column - Latest News Feed === */
.latest-news-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--color-text);
}

.latest-news-header svg {
  width: 20px;
  height: 20px;
  color: var(--color-accent);
}

.latest-news-header h3 {
  font-size: 16px;
  font-weight: 700;
  flex: 1;
}

.latest-news-header .arrow-link {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
}

.day-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 16px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}

.day-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--color-border);
}

.news-feed-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border-light);
}

.news-feed-time {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-bottom: 8px;
  font-weight: 500;
}

.news-feed-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.sentiment-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
}

.sentiment-badge.positive {
  background: #E8F5E9;
  color: var(--color-green);
}

.sentiment-badge.negative {
  background: #FFEBEE;
  color: var(--color-red);
}

.sentiment-badge.neutral {
  background: var(--color-bg-secondary);
  color: var(--color-text-muted);
}

.sentiment-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.btc-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 12px;
  background: var(--color-bg-secondary);
  color: var(--color-text-secondary);
}

.news-feed-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--color-text);
  margin-bottom: 6px;
}

.news-feed-title a:hover {
  color: var(--color-blue);
}

.news-feed-excerpt {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* === Center Column - Featured Stories === */
.featured-col {
  min-width: 0;
}

.featured-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.featured-header h2 {
  font-size: 20px;
  font-weight: 800;
  font-family: var(--font-serif);
}

.view-all-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-muted);
}

.view-all-link:hover { color: var(--color-text); }

/* Category Filter Tabs */
.category-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 4px;
}

.category-tabs::-webkit-scrollbar { display: none; }

.cat-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 24px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  border: 1px solid var(--color-border);
  cursor: pointer;
  transition: var(--transition);
  color: var(--color-text-secondary);
  background: var(--color-bg);
}

.cat-tab:hover { 
  background: var(--color-bg-secondary);
  border-color: var(--color-text-muted);
}

.cat-tab.active {
  background: var(--color-text);
  color: var(--color-bg);
  border-color: var(--color-text);
}

.cat-tab .cat-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: white;
}

/* Featured Story Hero */
.featured-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-bottom: 24px;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-bg);
  transition: var(--transition);
  min-height: 320px;
}

.featured-hero:hover {
  box-shadow: var(--shadow-md);
}

.featured-hero-image {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  min-height: 320px;
}

.featured-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.featured-hero:hover .featured-hero-image img {
  transform: scale(1.03);
}

.featured-hero-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.featured-hero-content .category-badge {
  margin-bottom: 12px;
}

.featured-hero-content h3 {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 12px;
  flex: 1;
}

.featured-hero-content h3 a:hover {
  color: var(--color-blue);
}

.featured-hero-content .meta {
  font-size: 13px;
  color: var(--color-text-muted);
}

/* Featured side list */
.featured-grid-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.featured-side-list {
  display: flex;
  flex-direction: column;
}

.featured-side-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border-light);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.featured-side-item:last-child {
  border-bottom: none;
}

.featured-side-item .category-badge {
  font-size: 11px;
}

.featured-side-item h4 {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}

.featured-side-item h4 a:hover {
  color: var(--color-blue);
}

/* Category Badge */
.category-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 10px;
  border-radius: 4px;
  background: #f1f5f9;
  color: #475569;
}

.category-badge.markets, .category-badge.piyasalar { color: #059669; background: #D1FAE5; }
.category-badge.finance, .category-badge.finans { color: #2563EB; background: #DBEAFE; }
.category-badge.tech, .category-badge.teknoloji { color: #7C3AED; background: #EDE9FE; }
.category-badge.policy, .category-badge.gizlilik { color: #DC2626; background: #FEE2E2; }
.category-badge.opinion, .category-badge.gorusler { color: #D97706; background: #FEF3C7; }
.category-badge.btc { color: #d97706; background: #fef3c7; }
.category-badge.altcoin { color: #4338ca; background: #e0e7ff; }
.category-badge.kripto { color: #be185d; background: #fce7f3; }

/* News Grid */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border-light);
}

.news-card {
  display: flex;
  flex-direction: column;
}

.news-card-image {
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.news-card:hover .news-card-image img {
  transform: scale(1.05);
}

.news-card .category-badge {
  margin-bottom: 6px;
}

.news-card h4 {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 8px;
}

.news-card h4 a:hover {
  color: var(--color-blue);
}

.news-card .meta {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-top: auto;
}

/* === Right Column - Sidebar === */
.sidebar-widget {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--color-border-light);
}

.sidebar-widget:last-child {
  border-bottom: none;
}

.widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.widget-header h3 {
  font-size: 18px;
  font-weight: 700;
  font-family: var(--font-serif);
}

.widget-header .arrow-link {
  font-size: 18px;
  color: var(--color-text-muted);
}

/* Research Widget */
.research-widget-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border-light);
}

.research-widget-item:last-child {
  border-bottom: none;
}

.research-widget-thumb {
  width: 80px;
  height: 60px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.research-widget-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.research-widget-info h4 {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 4px;
}

.research-widget-info h4 a:hover {
  color: var(--color-blue);
}

.research-widget-info .meta {
  font-size: 12px;
  color: var(--color-text-muted);
}

/* Newsletter Widget */
.newsletter-widget {
  background: var(--color-bg-secondary);
  border-radius: var(--radius-md);
  padding: 20px;
}

.newsletter-widget h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.newsletter-widget p {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.newsletter-form {
  display: flex;
  gap: 8px;
}

.newsletter-form input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: var(--font-sans);
  background: var(--color-bg);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--color-text);
}

.newsletter-form button {
  padding: 10px 16px;
  background: var(--color-text);
  color: var(--color-bg);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
}

.newsletter-form button:hover {
  background: #333;
}

/* === Section Dividers === */
.section-divider {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-divider hr {
  border: none;
  border-top: 1px solid var(--color-border);
}

/* === Category Section === */
.category-section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px 24px;
}

.category-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--color-text);
}

.category-section-header h2 {
  font-size: 24px;
  font-weight: 800;
  font-family: var(--font-serif);
}

.category-section-header h2 a:hover {
  color: var(--color-blue);
}

.category-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.category-hero-card {
  border-radius: var(--radius-md);
  overflow: hidden;
}

.category-hero-image {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.category-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.category-hero-card:hover .category-hero-image img {
  transform: scale(1.03);
}

.category-hero-card .category-badge {
  margin-bottom: 8px;
}

.category-hero-card h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 8px;
}

.category-hero-card h3 a:hover { color: var(--color-blue); }

.category-list {
  display: flex;
  flex-direction: column;
}

.category-list-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border-light);
}

.category-list-item:first-child { padding-top: 0; }
.category-list-item:last-child { border-bottom: none; }

.category-list-item .category-badge {
  margin-bottom: 6px;
  display: block;
}

.category-list-item h4 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}

.category-list-item h4 a:hover { color: var(--color-blue); }

/* === Most Read === */
.most-read-section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px 24px;
}

.most-read-header {
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--color-text);
}

.most-read-header h2 {
  font-size: 24px;
  font-weight: 800;
  font-family: var(--font-serif);
}

.most-read-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}

.most-read-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.most-read-number {
  font-size: 32px;
  font-weight: 800;
  color: var(--color-accent);
  font-family: var(--font-serif);
  line-height: 1;
  min-width: 36px;
}

.most-read-info h4 {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 4px;
}

.most-read-info h4 a:hover { color: var(--color-blue); }

.most-read-info .meta {
  font-size: 12px;
  color: var(--color-text-muted);
}

/* === Top Prices Table === */
.prices-section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px 24px;
}

.prices-section-header {
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--color-text);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.prices-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 10px;
  margin-top: 10px;
}

.prices-table th {
  text-align: left;
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.prices-table td {
  padding: 16px;
  border-bottom: 1px solid var(--color-border-light);
  font-size: 14px;
}

.prices-table tr:hover {
  background: var(--color-bg-secondary);
}

.prices-table .rank {
  color: var(--color-text-muted);
  font-weight: 500;
}

.asset-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}

.asset-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 12px;
  color: white;
  flex-shrink: 0;
}

.asset-name {
  font-weight: 600;
}

.asset-symbol {
  color: var(--color-text-muted);
  font-size: 12px;
}

.price-value {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.change-positive { color: var(--color-green); font-weight: 600; }
.change-negative { color: var(--color-red); font-weight: 600; }

.sparkline-cell {
  width: 100px;
  height: 32px;
}

.sparkline-cell canvas {
  width: 100%;
  height: 100%;
}

/* === Authors Section === */
.authors-section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px 24px;
}

.authors-section-header {
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--color-text);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.authors-section-header h2 {
  font-size: 24px;
  font-weight: 800;
  font-family: var(--font-serif);
}

.authors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.author-card {
  text-align: center;
  padding: 28px 20px;
  background: var(--color-bg);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.author-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.author-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 800;
  color: white;
  font-family: var(--font-serif);
}

.author-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

.author-role {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.author-articles {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-accent);
}

/* === Newsletter Banner === */
.newsletter-banner {
  background: linear-gradient(135deg, #0D1117 0%, #1a2744 100%);
  padding: 60px 24px;
  text-align: center;
  color: white;
}

.newsletter-banner-inner {
  max-width: 600px;
  margin: 0 auto;
}

.newsletter-banner h2 {
  font-size: 32px;
  font-weight: 800;
  color: white;
  margin-bottom: 12px;
}

.newsletter-banner p {
  font-size: 16px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 28px;
}

.newsletter-banner-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
}

.newsletter-banner-form input {
  flex: 1;
  padding: 14px 18px;
  border: none;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-family: var(--font-sans);
  background: rgba(255,255,255,0.1);
  color: white;
  border: 1px solid rgba(255,255,255,0.2);
}

.newsletter-banner-form input::placeholder {
  color: rgba(255,255,255,0.5);
}

.newsletter-banner-form input:focus {
  outline: none;
  border-color: var(--color-accent);
  background: rgba(255,255,255,0.15);
}

.newsletter-banner-form button {
  padding: 14px 24px;
  background: var(--color-accent);
  color: white;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
}

.newsletter-banner-form button:hover {
  background: var(--color-accent-dark);
  transform: translateY(-1px);
}

/* === Social Sidebar Widget === */
.social-links-widget {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.social-link-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: white;
  transition: var(--transition);
}

.social-link-item:hover {
  opacity: 0.9;
  transform: translateX(3px);
  color: white;
}

.social-link-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.social-link-twitter { background: #1DA1F2; }
.social-link-youtube { background: #FF0000; }
.social-link-tiktok { background: #000000; }
.social-link-instagram { background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D); }
.social-link-telegram { background: #0088cc; }

/* === Video YouTube Embed Sidebar === */
.youtube-embed-widget {
  margin-bottom: 24px;
}

.youtube-embed-widget h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.youtube-embed-widget h4::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 16px;
  background: #FF0000;
  border-radius: 2px;
}

.youtube-embed-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: #000;
}

.youtube-embed-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* === Article Page - New Layout === */
.article-layout {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px 24px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}

.article-main {
  min-width: 0;
}

.article-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 20px);
}

.article-sidebar .sidebar-widget {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--color-border-light);
}

.article-sidebar .widget-header h3 {
  font-size: 16px;
}

/* === Video Gallery Page === */
.videos-page {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px 24px;
}

.videos-hero {
  background: linear-gradient(135deg, #FF0000 0%, #cc0000 100%);
  color: white;
  padding: 48px 0;
  margin-bottom: 0;
}

.videos-hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.videos-hero h1 {
  font-size: 36px;
  font-weight: 800;
  color: white;
  margin-bottom: 8px;
}

.videos-hero p {
  color: rgba(255,255,255,0.8);
  font-size: 16px;
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 40px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.video-card {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.video-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.video-embed-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  background: #000;
}

.video-embed-container iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}

.video-card-title {
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
}

/* === Footer === */
.footer {
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  margin-top: 60px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
  margin-bottom: 40px;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--color-text);
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  font-size: 13px;
  color: var(--color-text-muted);
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--color-text);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 13px;
  color: var(--color-text-muted);
}

.footer-links a:hover { color: var(--color-text); }

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 16px;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--color-text);
  color: var(--color-bg);
}

.footer-disclosure {
  padding-top: 24px;
  margin-top: 24px;
  border-top: 1px solid var(--color-border);
  font-size: 12px;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* === Utility === */
.skeleton {
  background: linear-gradient(90deg, var(--color-bg-secondary) 25%, var(--color-bg-tertiary) 50%, var(--color-bg-secondary) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.breaking-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 10px;
  background: var(--color-red);
  color: white;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 12px;
  letter-spacing: 0.5px;
}

.breaking-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: white;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* === Article Page === */
.article-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 24px;
}

.article-page .category-badge {
  margin-bottom: 12px;
  display: block;
}

.article-page h1 {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  font-size: 14px;
  color: var(--color-text-muted);
}

.article-hero-img {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 32px;
  background: linear-gradient(135deg, #1a1a2e, #16213e);
}

.article-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-content {
  font-size: 17px;
  line-height: 1.8;
  color: var(--color-text-secondary);
}

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

.article-content h2 {
  font-family: var(--font-serif);
  font-size: 24px;
  margin: 32px 0 16px;
}

.article-content blockquote {
  border-left: 4px solid var(--color-accent);
  padding: 16px 24px;
  margin: 24px 0;
  background: var(--color-bg-secondary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
}

/* === Discover Banner === */
.discover-banner {
  padding: 2px 12px;
  background: linear-gradient(90deg, #00E676, #00C853);
  color: #000;
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  display: inline-block;
  border: 2px dashed #00C853;
}

/* === Responsive Design === */
@media (max-width: 1200px) {
  .three-col {
    grid-template-columns: 1fr 300px;
  }
  
  .latest-news-col {
    display: none;
  }
  
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .authors-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .videos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .article-layout {
    grid-template-columns: 1fr;
  }
  
  .article-sidebar {
    position: relative;
    top: 0;
  }
}

@media (max-width: 1024px) {
  .three-col {
    grid-template-columns: 1fr;
  }
  
  .sidebar-col {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--color-border-light);
    padding-top: 24px;
  }
  
  .category-layout {
    grid-template-columns: 1fr;
  }
  
  .most-read-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .featured-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  
  .featured-hero-image {
    min-height: 200px;
    aspect-ratio: 16/9;
  }
  
  .main-nav {
    display: none;
  }
  
  .mobile-menu-btn {
    display: flex;
  }
  
  .search-box .search-shortcut {
    display: none;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 56px;
  }
  
  .header-inner {
    padding: 0 16px;
  }
  
  .price-ticker-inner {
    padding: 8px 16px;
  }
  
  .ticker-item {
    min-width: 130px;
    padding: 6px 14px;
  }
  
  .main-content {
    padding: 0 16px;
  }
  
  .three-col {
    padding: 16px 0;
    gap: 24px;
  }
  
  .news-grid {
    grid-template-columns: 1fr;
  }
  
  .most-read-grid {
    grid-template-columns: 1fr;
  }
  
  .category-section {
    padding: 24px 16px;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .featured-hero-content h3 {
    font-size: 20px;
  }
  
  .category-section-header h2 {
    font-size: 20px;
  }
  
  .article-page h1 {
    font-size: 28px;
  }
  
  .prices-table {
    display: block;
    overflow-x: auto;
  }
  
  .featured-grid-row {
    grid-template-columns: 1fr;
  }
  
  .authors-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .videos-grid {
    grid-template-columns: 1fr;
  }
  
  .newsletter-banner h2 {
    font-size: 24px;
  }
  
  .newsletter-banner-form {
    flex-direction: column;
  }
  
  .article-layout {
    padding: 24px 16px;
    gap: 24px;
  }
}

@media (max-width: 480px) {
  .logo {
    font-size: 20px;
  }
  
  .search-box {
    padding: 6px 12px;
    font-size: 12px;
  }
  
  .search-box span { display: none; }
  
  .header-right {
    gap: 8px;
  }
  
  .ticker-item {
    min-width: 110px;
    padding: 6px 10px;
  }
  
  .ticker-name { font-size: 11px; }
  .ticker-price { font-size: 13px; }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .article-page {
    padding: 20px 16px;
  }
  
  .article-page h1 {
    font-size: 24px;
  }
}

/* === Mobile Menu === */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-bg);
  z-index: 999;
  padding: 24px;
  flex-direction: column;
  gap: 0;
  overflow-y: auto;
  animation: slideDown 0.3s ease;
}

.mobile-nav.active {
  display: flex;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.mobile-nav a {
  padding: 14px 0;
  font-size: 18px;
  font-weight: 600;
  border-bottom: 1px solid var(--color-border-light);
  color: var(--color-text);
}

.mobile-nav a:hover {
  color: var(--color-blue);
}

/* Placeholder gradient backgrounds for cards without images */
.gradient-bg-1 { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.gradient-bg-2 { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
.gradient-bg-3 { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }
.gradient-bg-4 { background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); }
.gradient-bg-5 { background: linear-gradient(135deg, #fa709a 0%, #fee140 100%); }
.gradient-bg-6 { background: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%); }
