/* ========================================
   Fortnite & UEFN News - Yahoo-like Design
   ======================================== */

/* CSS Variables - Yahoo-inspired colors */
:root {
  --primary-color: #6002ee;
  --primary-dark: #4a00ba;
  --secondary-color: #ff6900;
  --accent-color: #00c8ff;
  --fortnite-blue: #00a8e8;
  --fortnite-purple: #9d4edd;
  
  --bg-primary: #f4f4f4;
  --bg-secondary: #ffffff;
  --bg-dark: #1a1a2e;
  
  --text-primary: #333333;
  --text-secondary: #666666;
  --text-muted: #999999;
  --text-white: #ffffff;
  
  --border-color: #e0e0e0;
  --border-light: #f0f0f0;
  
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
  
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  
  --transition: all 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  min-height: 100vh;
}

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

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

ul {
  list-style: none;
}

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

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ========================================
   Header - Yahoo-style
   ======================================== */

.header {
  background: var(--bg-secondary);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Top Bar */
.header-top {
  background: linear-gradient(135deg, var(--primary-color), var(--fortnite-purple));
  padding: 6px 0;
  font-size: 12px;
  color: var(--text-white);
}

.header-top-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.update-info {
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0.9;
}

.update-info i {
  animation: spin 2s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.language-switch {
  display: flex;
  gap: 12px;
}

.language-switch .lang {
  cursor: pointer;
  opacity: 0.7;
  transition: var(--transition);
}

.language-switch .lang.active,
.language-switch .lang:hover {
  opacity: 1;
}

/* Main Header */
.header-main {
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
}

.header-main-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  font-size: 36px;
  filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.2));
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 20px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-color), var(--fortnite-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-subtitle {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 1px;
}

/* Search Box */
.search-box {
  display: flex;
  flex: 1;
  max-width: 400px;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.search-box:focus-within {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(96, 2, 238, 0.1);
}

.search-box input {
  flex: 1;
  padding: 10px 16px;
  border: none;
  outline: none;
  font-size: 14px;
}

.search-box button {
  padding: 10px 16px;
  background: var(--primary-color);
  color: var(--text-white);
  transition: var(--transition);
}

.search-box button:hover {
  background: var(--primary-dark);
}

/* Navigation */
.header-nav {
  background: var(--bg-secondary);
  border-bottom: 3px solid var(--primary-color);
}

.nav-list {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav-list::-webkit-scrollbar {
  display: none;
}

.nav-item {
  flex-shrink: 0;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  border-bottom: 3px solid transparent;
  margin-bottom: -3px;
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--primary-color);
  background: rgba(96, 2, 238, 0.05);
}

.nav-link.active {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
  background: rgba(96, 2, 238, 0.05);
}

.nav-icon {
  font-size: 14px;
}

/* ========================================
   Main Content
   ======================================== */

.main-content {
  padding: 24px 0;
  min-height: calc(100vh - 200px);
}

.content-wrapper {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 24px;
}

/* Three Column Layout */
.content-wrapper.three-column {
  grid-template-columns: 280px 1fr 280px;
}

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

/* Category Header */
.category-header {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--border-color);
}

.category-title {
  font-size: 24px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.category-icon {
  font-size: 28px;
}

/* Section Header */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary-color);
}

.section-title {
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-primary);
}

.section-title i {
  color: var(--primary-color);
}

.section-actions {
  display: flex;
  gap: 8px;
}

.filter-btn {
  padding: 6px 12px;
  font-size: 12px;
  border-radius: var(--radius-sm);
  background: var(--bg-primary);
  color: var(--text-secondary);
  transition: var(--transition);
}

.filter-btn:hover {
  background: var(--border-color);
}

.filter-btn.active {
  background: var(--primary-color);
  color: var(--text-white);
}

/* ========================================
   Featured News
   ======================================== */

.featured-section {
  margin-bottom: 32px;
}

.featured-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
}

.featured-main {
  display: block;
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.featured-main:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.featured-image {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

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

.featured-main:hover .featured-image img {
  transform: scale(1.05);
}

.featured-overlay {
  position: absolute;
  top: 12px;
  left: 12px;
}

.featured-badge {
  display: inline-block;
  padding: 6px 12px;
  background: linear-gradient(135deg, var(--secondary-color), #ff8c00);
  color: var(--text-white);
  font-size: 11px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.featured-content {
  padding: 20px;
}

.news-category {
  display: inline-block;
  padding: 4px 8px;
  background: var(--bg-primary);
  color: var(--primary-color);
  font-size: 11px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
}

.featured-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.featured-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-meta {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: var(--text-muted);
}

.news-source {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Featured Sub */
.featured-sub {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.featured-sub-item {
  display: flex;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.featured-sub-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.featured-sub-image {
  width: 120px;
  flex-shrink: 0;
  overflow: hidden;
}

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

.featured-sub-content {
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-sub-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ========================================
   News List
   ======================================== */

.news-section {
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

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

.news-item {
  border-bottom: 1px solid var(--border-light);
}

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

.news-item.hidden {
  display: none;
}

.news-link {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  transition: var(--transition);
}

.news-link:hover {
  background: rgba(96, 2, 238, 0.02);
}

.news-thumb {
  width: 160px;
  height: 100px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
}

.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.news-link:hover .news-thumb img {
  transform: scale(1.05);
}

.news-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  padding: 3px 6px;
  font-size: 10px;
  font-weight: 600;
  border-radius: 3px;
  color: var(--text-white);
}

.badge-official { background: var(--primary-color); }
.badge-uefn { background: #00b4d8; }
.badge-update { background: #2ec4b6; }
.badge-event { background: #ff6b6b; }
.badge-esports { background: #ffd93d; color: #333; }
.badge-creative { background: #c77dff; }
.badge-collab { background: #ff9f1c; }
.badge-leak { background: #6c757d; }
.badge-default { background: #adb5bd; }

.news-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.news-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--text-primary);
}

.news-link:hover .news-title {
  color: var(--primary-color);
}

.news-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: auto;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
}

.news-time {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

.news-lang {
  font-size: 14px;
}

/* Load More */
.load-more {
  text-align: center;
  padding: 20px 0 0;
}

.load-more-btn {
  padding: 12px 32px;
  background: var(--bg-primary);
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius-lg);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.load-more-btn:hover {
  background: var(--primary-color);
  color: var(--text-white);
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

.empty-state i {
  font-size: 48px;
  margin-bottom: 16px;
  opacity: 0.5;
}

/* ========================================
   Sidebar
   ======================================== */

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-card {
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.card-header {
  padding: 14px 16px;
  background: linear-gradient(135deg, var(--primary-color), var(--fortnite-purple));
  color: var(--text-white);
}

.card-header h3 {
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-body {
  padding: 16px;
}

/* Update Card */
.update-card .card-body {
  padding: 0;
}

.update-status {
  padding: 16px;
  border-bottom: 1px solid var(--border-light);
}

.status-item {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
}

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

.status-value {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-color);
}

.update-schedule {
  padding: 16px;
  background: var(--bg-primary);
}

.schedule-title {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 10px;
  text-align: center;
}

.schedule-times {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.time-badge {
  padding: 6px 10px;
  background: var(--bg-secondary);
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 500;
}

/* Category List */
.category-list {
  display: flex;
  flex-direction: column;
}

.category-link {
  display: flex;
  align-items: center;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.category-link:hover {
  background: var(--bg-primary);
}

.category-link.active {
  background: rgba(96, 2, 238, 0.1);
  color: var(--primary-color);
}

.category-link .category-icon {
  width: 24px;
  text-align: center;
}

.category-link .category-name {
  flex: 1;
  font-size: 13px;
  margin-left: 8px;
}

.category-link i.fa-chevron-right {
  font-size: 10px;
  color: var(--text-muted);
}

/* Quick Links */
.quick-links li {
  border-bottom: 1px solid var(--border-light);
}

.quick-links li:last-child {
  border-bottom: none;
}

.quick-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  font-size: 13px;
  color: var(--text-secondary);
}

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

.quick-links i {
  width: 20px;
  text-align: center;
}

/* About Card */
.about-card {
  background: var(--bg-primary);
}

.about-text {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 10px;
}

.disclaimer {
  font-size: 10px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ========================================
   Left Sidebar - Tips & Tweet Templates
   ======================================== */

.left-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.left-sidebar .sidebar-card {
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.left-sidebar .card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: linear-gradient(135deg, var(--fortnite-blue), var(--accent-color));
}

.left-sidebar .tips-card .card-header {
  background: linear-gradient(135deg, #ff6b35, #f7931e);
}

.left-sidebar .tweet-card .card-header {
  background: linear-gradient(135deg, #1da1f2, #0d8ecf);
}

.left-sidebar .card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: white;
  margin: 0;
}

.left-sidebar .card-icon {
  font-size: 16px;
}

.left-sidebar .card-badge {
  padding: 3px 8px;
  background: rgba(255,255,255,0.25);
  border-radius: 10px;
  font-size: 10px;
  font-weight: 600;
  color: white;
}

.left-sidebar .copy-badge {
  background: rgba(0,255,136,0.3);
}

/* Tips List */
.tips-list {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tip-item {
  display: flex;
  gap: 10px;
  padding: 10px;
  background: var(--bg-primary);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.tip-item-link {
  text-decoration: none;
  cursor: pointer;
}

.tip-item:hover {
  background: rgba(255, 107, 53, 0.08);
  transform: translateX(2px);
}

.tip-item-link:hover .tip-title {
  color: var(--primary-color);
}

.tip-arrow {
  font-size: 10px;
  margin-left: 4px;
  opacity: 0;
  transition: var(--transition);
}

.tip-item-link:hover .tip-arrow {
  opacity: 1;
}

.card-badge-link {
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
}

.card-badge-link:hover {
  background: var(--primary-dark);
  transform: scale(1.05);
}

.tip-number {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  color: white;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
}

.tip-content {
  flex: 1;
  min-width: 0;
}

.tip-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
  line-height: 1.3;
}

.tip-text {
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 6px;
}

.tip-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.tip-category {
  padding: 2px 6px;
  background: var(--bg-secondary);
  border-radius: 4px;
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
}

.tip-category-verse { color: #9b59b6; background: rgba(155, 89, 182, 0.1); }
.tip-category-device { color: #3498db; background: rgba(52, 152, 219, 0.1); }
.tip-category-terrain { color: #27ae60; background: rgba(39, 174, 96, 0.1); }
.tip-category-performance { color: #e74c3c; background: rgba(231, 76, 60, 0.1); }
.tip-category-visual { color: #e67e22; background: rgba(230, 126, 34, 0.1); }
.tip-category-sound { color: #1abc9c; background: rgba(26, 188, 156, 0.1); }
.tip-category-design { color: #f39c12; background: rgba(243, 156, 18, 0.1); }
.tip-category-ui { color: #00a8e8; background: rgba(0, 168, 232, 0.1); }
.tip-category-tips { color: #9d4edd; background: rgba(157, 78, 221, 0.1); }
.tip-category-shortcut { color: #2c3e50; background: rgba(44, 62, 80, 0.1); }
.tip-category-troubleshoot { color: #c0392b; background: rgba(192, 57, 43, 0.1); }

.tip-source {
  font-size: 10px;
  color: var(--primary-color);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  background: rgba(96, 2, 238, 0.1);
  border-radius: var(--radius-sm);
  font-weight: 500;
}

.tip-source:hover {
  background: rgba(96, 2, 238, 0.2);
  color: var(--primary-dark);
}

.tip-source i {
  font-size: 9px;
}

/* 情報源の明示バナー */
.tips-source-notice {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: linear-gradient(135deg, rgba(39, 174, 96, 0.1) 0%, rgba(46, 204, 113, 0.05) 100%);
  border-left: 3px solid #27ae60;
  margin: 0;
  font-size: 11px;
  color: var(--text-secondary);
}

.tips-source-notice i {
  color: #27ae60;
  font-size: 14px;
}

.tips-source-notice a {
  color: var(--primary-color);
  text-decoration: none;
}

.tips-source-notice a:hover {
  text-decoration: underline;
}

.tips-source-notice strong {
  color: var(--text-primary);
}

/* Tips フッター */
.tips-footer {
  padding: 12px 14px;
  background: var(--bg-primary);
  border-top: 1px solid var(--border-light);
  text-align: center;
}

.official-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--fortnite-purple) 100%);
  color: white;
  text-decoration: none;
  font-size: 11px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.official-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(96, 2, 238, 0.3);
}

.official-link i {
  font-size: 10px;
}

/* Tweet Templates */
.tweet-list {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tweet-item {
  background: var(--bg-primary);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.tweet-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 10px;
  background: rgba(29, 161, 242, 0.1);
  border-bottom: 1px solid var(--border-light);
}

.tweet-type {
  font-size: 11px;
  font-weight: 600;
  color: #1da1f2;
}

.copy-btn {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 4px;
  transition: var(--transition);
}

.copy-btn:hover {
  background: var(--bg-secondary);
  color: var(--primary-color);
}

.tweet-content {
  padding: 10px;
  font-size: 11px;
  color: var(--text-primary);
  line-height: 1.6;
  white-space: pre-wrap;
}

.tweet-hashtags {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.hashtag {
  color: #1da1f2;
  font-weight: 500;
}

.tweet-actions {
  display: flex;
  gap: 8px;
  padding: 8px 10px;
  border-top: 1px solid var(--border-light);
}

.tweet-copy-btn, .tweet-post-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 12px;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
}

.tweet-copy-btn {
  background: var(--bg-secondary);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
}

.tweet-copy-btn:hover {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.tweet-post-btn {
  background: #1da1f2;
  color: white;
}

.tweet-post-btn:hover {
  background: #0d8ecf;
}

.card-more-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px;
  background: var(--bg-primary);
  color: var(--text-muted);
  font-size: 12px;
  text-decoration: none;
  transition: var(--transition);
}

.card-more-link:hover {
  color: var(--primary-color);
  background: rgba(96, 2, 238, 0.05);
}

/* ========================================
   Footer
   ======================================== */

.footer {
  background: var(--bg-dark);
  color: var(--text-white);
  padding: 40px 0 20px;
  margin-top: 40px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  display: block;
}

.footer-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.footer-column h4 {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--accent-color);
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column a {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}

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

.footer-bottom {
  padding-top: 20px;
  text-align: center;
}

.copyright {
  font-size: 13px;
  margin-bottom: 8px;
}

.footer-bottom .disclaimer {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  max-width: 600px;
  margin: 0 auto;
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 1280px) {
  .content-wrapper.three-column {
    grid-template-columns: 250px 1fr 250px;
  }
}

@media (max-width: 1024px) {
  .content-wrapper {
    grid-template-columns: 1fr;
  }
  
  .content-wrapper.three-column {
    grid-template-columns: 1fr;
  }
  
  .left-sidebar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    order: 2;
  }
  
  .main-area {
    order: 1;
  }
  
  .sidebar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    order: 3;
  }
  
  .sidebar-card.about-card {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .header-main-content {
    flex-wrap: wrap;
  }
  
  .search-box {
    order: 3;
    max-width: 100%;
    width: 100%;
    margin-top: 12px;
  }
  
  .featured-grid {
    grid-template-columns: 1fr;
  }
  
  .featured-sub {
    flex-direction: row;
    overflow-x: auto;
  }
  
  .featured-sub-item {
    flex-direction: column;
    min-width: 200px;
  }
  
  .featured-sub-image {
    width: 100%;
    height: 120px;
  }
  
  .news-link {
    flex-direction: column;
  }
  
  .news-thumb {
    width: 100%;
    height: 180px;
  }
  
  .sidebar {
    grid-template-columns: 1fr;
  }
  
  .left-sidebar {
    grid-template-columns: 1fr;
  }
  
  .sidebar-card.about-card {
    grid-column: span 1;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 12px;
  }
  
  .logo-title {
    font-size: 16px;
  }
  
  .logo-icon {
    font-size: 28px;
  }
  
  .nav-link {
    padding: 10px 12px;
    font-size: 12px;
  }
  
  .featured-title {
    font-size: 18px;
  }
  
  .section-actions {
    display: none;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
  }
  
  .schedule-times {
    flex-wrap: wrap;
  }
}

/* ========================================
   Detail Page Styles
   ======================================== */

.detail-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 24px 16px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 13px;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--fortnite-blue);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb .separator {
  color: var(--text-muted);
}

.breadcrumb .current {
  color: var(--text-secondary);
}

.detail-article {
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.detail-header {
  padding: 24px;
  border-bottom: 1px solid var(--border-light);
}

.detail-meta {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.category-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  background: var(--primary-color);
  color: white;
}

.category-official { background: #2196f3; }
.category-update { background: #4caf50; }
.category-event { background: #ff9800; }
.category-esports { background: #f44336; }
.category-creative { background: #9c27b0; }
.category-collab { background: #e91e63; }
.category-leak { background: #607d8b; }

.language-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  background: var(--bg-primary);
  color: var(--text-secondary);
}

.detail-title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.detail-info {
  display: flex;
  gap: 24px;
  color: var(--text-muted);
  font-size: 14px;
}

.detail-info i {
  margin-right: 6px;
}

.detail-image {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg-dark);
}

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

.detail-content {
  padding: 32px 24px;
}

.detail-description {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-primary);
  margin-bottom: 32px;
  white-space: pre-wrap;
}

.detail-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--fortnite-purple));
  color: white;
}

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

.btn-secondary {
  background: var(--bg-primary);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: var(--border-light);
}

.detail-footer {
  padding: 16px 24px;
  background: var(--bg-primary);
  border-top: 1px solid var(--border-light);
}

.update-info {
  font-size: 13px;
  color: var(--text-muted);
}

.update-info i {
  margin-right: 6px;
}

/* Related News */
.related-news {
  margin-top: 32px;
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 24px;
}

.related-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.related-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.related-item {
  display: flex;
  gap: 16px;
  text-decoration: none;
  padding: 12px;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.related-item:hover {
  background: var(--bg-primary);
}

.related-thumb {
  width: 120px;
  height: 68px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}

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

.related-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

.related-item-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

/* Back Button */
.back-to-top {
  margin-top: 24px;
  text-align: center;
}

.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--bg-secondary);
  color: var(--text-primary);
  text-decoration: none;
  border-radius: var(--radius-md);
  font-weight: 500;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.btn-back:hover {
  background: var(--primary-color);
  color: white;
}

/* Detail Page Responsive */
@media (max-width: 768px) {
  .detail-container {
    padding: 16px 12px;
  }

  .detail-header {
    padding: 20px 16px;
  }

  .detail-title {
    font-size: 22px;
  }

  .detail-info {
    flex-direction: column;
    gap: 8px;
  }

  .detail-content {
    padding: 24px 16px;
  }

  .detail-description {
    font-size: 15px;
  }

  .detail-actions {
    flex-direction: column;
  }

  .btn-primary, .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .related-thumb {
    width: 100px;
    height: 56px;
  }

  .related-item-title {
    font-size: 13px;
  }
}
