:root {
  --bg: #0d1117;
  --bg-secondary: #161b22;
  --bg-tertiary: #21262d;
  --accent: #58a6ff;
  --accent-hover: #79c0ff;
  --accent-secondary: #f85149;
  --text-primary: #f0f6fc;
  --text-secondary: #8b949e;
  --text-muted: #6e7681;
  --border: #30363d;
  --border-hover: #58a6ff;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-hover: 0 12px 32px rgba(88, 166, 255, 0.2);
  --radius: 8px;
  --radius-lg: 12px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Prevent body scroll when mobile menu is open */
@media (max-width: 768px) {
  body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
  }
}

/* Global Scrollbar Styles */
html {
  scroll-behavior: smooth;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
  transition: background 0.2s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

::-webkit-scrollbar-thumb:active {
  background: var(--accent-hover);
}

/* Firefox scrollbar */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--border) var(--bg-secondary);
}

/* Hide scrollbar on mobile for cleaner look */
@media (max-width: 768px) {
  .sidebar::-webkit-scrollbar {
    width: 4px;
  }
  
  ::-webkit-scrollbar {
    width: 4px;
    height: 4px;
  }
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0;
}

/* Minimalist Header */
.header {
  padding: 16px 24px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 1111;
}

.mobile-menu-btn {
  display: none;
}

.logo {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
}

.logo-accent {
  color: var(--accent);
}

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

.header-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}

.header-link:hover {
  color: var(--accent);
}

/* Sidebar Layout */
.main-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: calc(100vh - 60px);
}

.sidebar {
  background: var(--bg-secondary);
  border-right: 1px solid var(--border);
  padding: 24px 16px;
  position: sticky;
  top: 60px;
  height: calc(100vh - 60px);
  overflow-y: auto;
  overflow-x: hidden;
}

/* Custom Scrollbar for Sidebar */
.sidebar {
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
  scroll-behavior: smooth;
}

.sidebar::-webkit-scrollbar {
  width: 6px;
}

.sidebar::-webkit-scrollbar-track {
  background: transparent;
  margin: 8px 0;
}

.sidebar::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 3px;
  transition: background 0.2s ease;
}

.sidebar::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

.sidebar::-webkit-scrollbar-thumb:active {
  background: var(--accent-hover);
}

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

.sidebar-title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 12px;
  padding: 0 12px;
}

.sidebar-nav {
  list-style: none;
}

.sidebar-nav-item {
  margin-bottom: 4px;
}

.sidebar-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: var(--radius);
  font-size: 0.875rem;
  transition: all 0.2s;
}

.sidebar-nav-link:hover {
  background: var(--bg-tertiary);
  color: var(--text-primary);
}

.sidebar-nav-link.active {
  background: var(--bg-tertiary);
  color: var(--accent);
  font-weight: 500;
}

.sidebar-nav-icon {
  font-size: 1.125rem;
  width: 20px;
  text-align: center;
}

/* Main Content */
.main-content {
  padding: 32px 40px;
}

.page-header {
  margin-bottom: 32px;
}

.page-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.page-description {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Quick Stats */
.quick-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.stat-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: all 0.2s;
}

.stat-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow);
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.stat-value {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--accent);
}

/* Games Section */
.games-section {
  margin-bottom: 48px;
}

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

.section-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

.section-more {
  color: var(--accent);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s;
}

.section-more:hover {
  color: var(--accent-hover);
  transform: translateX(4px);
}

/* Games List - Card Style */
.games-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
}

.games-list-header {
  display: none;
}

.games-list-item {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  align-items: stretch;
}

.games-list-item:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: 0 8px 24px rgba(88, 166, 255, 0.2);
}

.game-icon {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 0;
  background: linear-gradient(135deg, rgba(88, 166, 255, 0.25), rgba(248, 81, 73, 0.25));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

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

.games-list-item:hover .game-icon img {
  transform: scale(1.05);
}

.game-icon::after {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 30% 30%, rgba(88, 166, 255, 0.4) 0%, transparent 60%),
    radial-gradient(circle at 70% 70%, rgba(248, 81, 73, 0.4) 0%, transparent 60%);
  opacity: 0.6;
  pointer-events: none;
}

.game-details {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
  min-height: 0;
}

.game-name {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 1.125rem;
  line-height: 1.3;
  margin-bottom: 4px;
}

.game-meta-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.game-category-badge {
  padding: 5px 12px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.75rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.game-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #fbbf24;
  font-weight: 600;
  font-size: 0.875rem;
}

.game-action {
  width: 100%;
  margin-top: auto;
}

.play-btn {
  width: 100%;
  padding: 12px 24px;
  background: var(--accent);
  border: none;
  border-radius: var(--radius);
  color: white;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.play-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(88, 166, 255, 0.3);
}

/* Responsive */
@media (max-width: 1024px) {
  .main-layout {
    grid-template-columns: 200px 1fr;
  }

  .games-list {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .main-layout {
    grid-template-columns: 1fr;
  }

  .mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-primary);
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.2s;
    margin-right: 12px;
  }

  .mobile-menu-btn:hover {
    background: var(--bg-tertiary);
    border-color: var(--accent);
  }

  .mobile-menu-btn.active {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
  }

  .sidebar {
    display: none;
    position: fixed;
    left: 0;
    width: 280px;
    z-index: 1000;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }

  .sidebar.mobile-open {
    display: block;
    transform: translateX(0);
  }

  .sidebar-overlay {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    cursor: pointer;
  }

  .sidebar-overlay.active {
    display: block;
  }

  .main-content {
    padding: 20px 16px;
  }

  .page-header {
    margin-bottom: 24px;
  }

  .page-title {
    font-size: 1.5rem;
  }

  .page-description {
    font-size: 0.875rem;
  }

  .quick-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 24px;
  }

  .stat-card {
    padding: 16px;
  }

  .stat-value {
    font-size: 1.5rem;
  }

  .games-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .games-list-item {
    border-radius: var(--radius);
  }

  .game-icon {
    font-size: 3rem;
  }

  .game-details {
    padding: 16px;
  }

  .game-name {
    font-size: 1rem;
    margin-bottom: 12px;
  }

  .game-meta-info {
    margin-bottom: 16px;
  }

  .play-btn {
    padding: 10px 20px;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .section-title {
    font-size: 1.25rem;
  }

  .section-more {
    align-self: flex-end;
  }

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

  .game-rating-count {
    display: none;
  }

  .game-players {
    display: none;
  }

  .game-action {
    flex-shrink: 0;
    align-self: stretch;
    display: flex;
    align-items: center;
  }

  .play-btn {
    min-width: 90px;
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius);
    box-shadow: 0 2px 8px rgba(88, 166, 255, 0.3);
    white-space: nowrap;
  }

  .play-btn:active {
    transform: scale(0.98);
  }
}

@media (max-width: 480px) {
  .header {
    padding: 12px 16px;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .logo {
    font-size: 1.1rem;
  }

  .main-content {
    padding: 16px 12px;
  }

  .page-title {
    font-size: 1.25rem;
  }

  .quick-stats {
    grid-template-columns: 1fr;
  }

  .stat-card {
    padding: 14px;
  }

  .stat-value {
    font-size: 1.25rem;
  }

  .game-icon {
    font-size: 2.5rem;
  }

  .game-details {
    padding: 14px;
  }

  .play-btn {
    padding: 10px 20px;
    min-height: 44px;
  }

  .search-box {
    padding: 10px 12px;
    gap: 6px;
  }

  .search-icon {
    font-size: 1rem;
  }

  .search-input {
    font-size: 0.9rem;
  }

  .search-btn {
    padding: 10px 12px;
    font-size: 0.8rem;
  }

}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.games-list-item {
  animation: fadeIn 0.3s ease-out backwards;
}

.games-list-item:nth-child(1) { animation-delay: 0.05s; }
.games-list-item:nth-child(2) { animation-delay: 0.1s; }
.games-list-item:nth-child(3) { animation-delay: 0.15s; }
.games-list-item:nth-child(4) { animation-delay: 0.2s; }
.games-list-item:nth-child(5) { animation-delay: 0.25s; }

/* ============================================
   Additional Pages Styles
   ============================================ */

/* Section Title */
.section-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 20px;
}

/* Tag Page Styles */
.tags-section {
  margin-bottom: 40px;
}

.tags-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.tag-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 20px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--text-primary);
  transition: all 0.3s ease;
  text-align: center;
}

.tag-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-hover);
}

.tag-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.tag-name {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.tag-count {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tag-badge {
  padding: 8px 16px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  transition: all 0.2s;
}

.tag-badge:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(88, 166, 255, 0.1);
}

/* Game Detail Page Styles */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

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

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

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

.game-detail-header {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 24px;
  padding: 24px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.game-detail-icon {
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  background: linear-gradient(135deg, rgba(88, 166, 255, 0.25), rgba(248, 81, 73, 0.25));
  border-radius: var(--radius-lg);
  flex-shrink: 0;
}

.game-detail-info {
  flex: 1;
}

.game-detail-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.game-detail-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.game-detail-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #fbbf24;
  font-weight: 600;
}

.rating-value {
  font-size: 1.125rem;
}

.rating-count {
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: normal;
}

.game-detail-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.play-btn-large {
  padding: 14px 32px;
  background: var(--accent);
  border: none;
  border-radius: var(--radius);
  color: white;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.play-btn-large:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(88, 166, 255, 0.3);
}

.favorite-btn {
  width: 48px;
  height: 48px;
  padding: 0;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 1.25rem;
  cursor: pointer;
  transition: all 0.2s;
}

.favorite-btn:hover {
  border-color: var(--accent);
  background: rgba(88, 166, 255, 0.1);
}

.game-stats-bar {
  display: flex;
  gap: 24px;
  padding: 20px 24px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.game-stat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.stat-icon {
  font-size: 1.125rem;
}

.game-detail-content {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
  margin-bottom: 40px;
}

.game-detail-main {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.game-section {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.game-description {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

.game-description:last-child {
  margin-bottom: 0;
}

.game-features {
  list-style: none;
  padding: 0;
}

.game-features li {
  padding: 8px 0;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}

.game-features li:last-child {
  border-bottom: none;
}

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

.game-sidebar-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.sidebar-card-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.info-item {
  display: flex;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.info-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.info-label {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.info-value {
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.875rem;
}

.share-buttons {
  display: flex;
  gap: 12px;
}

.share-btn {
  flex: 1;
  padding: 12px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 1.25rem;
  cursor: pointer;
  transition: all 0.2s;
}

.share-btn:hover {
  border-color: var(--accent);
  background: rgba(88, 166, 255, 0.1);
}

/* Search Page Styles */
.search-container {
  margin-bottom: 32px;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 16px;
}

.search-icon {
  font-size: 1.25rem;
  color: var(--text-muted);
  flex-shrink: 0;
}

.search-input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1rem;
  outline: none;
  padding: 0;
}

.search-input::placeholder {
  color: var(--text-muted);
}

.search-btn {
  padding: 10px 24px;
  background: var(--accent);
  border: none;
  border-radius: var(--radius);
  color: white;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}

.search-btn:hover {
  background: var(--accent-hover);
}

.search-btn:active {
  transform: scale(0.98);
}

.search-filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

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

.results-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
}

.results-count {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.no-results {
  text-align: center;
  padding: 60px 20px;
}

.no-results-icon {
  font-size: 4rem;
  margin-bottom: 20px;
  opacity: 0.5;
}

.no-results-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.no-results-text {
  color: var(--text-muted);
}

.popular-searches {
  margin-top: 48px;
}

.popular-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.popular-tag {
  padding: 10px 20px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  transition: all 0.2s;
}

.popular-tag:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(88, 166, 255, 0.1);
}

/* Content Page Styles (Privacy, Terms, etc.) */
.content-page {
  max-width: 800px;
}

.content-section {
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.content-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.content-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.content-text {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 12px;
}

.content-list {
  list-style: none;
  padding-left: 0;
  margin: 16px 0;
}

.content-list li {
  padding: 8px 0;
  padding-left: 24px;
  position: relative;
  color: var(--text-secondary);
  line-height: 1.7;
}

.content-list li::before {
  content: '•';
  position: absolute;
  left: 8px;
  color: var(--accent);
  font-weight: bold;
}

.contact-info {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-top: 16px;
}

.contact-info p {
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.contact-info p:last-child {
  margin-bottom: 0;
}

/* Responsive adjustments for new pages */
@media (max-width: 1024px) {
  .game-detail-content {
    grid-template-columns: 1fr;
  }

  .game-detail-sidebar {
    order: -1;
  }
}

@media (max-width: 768px) {
  .game-detail-header {
    flex-direction: column;
    align-items: stretch;
  }

  .game-detail-icon {
    width: 100%;
    aspect-ratio: 16 / 9;
    font-size: 3rem;
  }

  .game-detail-actions {
    width: 100%;
  }

  .play-btn-large {
    flex: 1;
  }

  .game-stats-bar {
    flex-direction: column;
    gap: 16px;
  }

  .tags-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
  }

  .search-container {
    margin-bottom: 24px;
  }

  .search-box {
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
  }

  .search-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
  }

  .search-input {
    flex: 1;
    font-size: 0.95rem;
    min-width: 0;
    padding: 0;
  }

  .search-btn {
    padding: 10px 16px;
    font-size: 0.85rem;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .search-filters {
    flex-direction: column;
  }

  .filter-select {
    width: 100%;
  }
}

/* ============================================
   Additional Pages Styles (Terms, About, Contact, FAQ)
   ============================================ */

/* About Page Styles */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.value-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  transition: all 0.3s ease;
}

.value-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-hover);
}

.value-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.value-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.value-text {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 0.9rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.stat-item-large {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Contact Page Styles */
.contact-page {
  max-width: 1000px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

.contact-form-section,
.contact-info-section {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}

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

.form-message {
  padding: 16px 20px;
  border-radius: var(--radius);
  margin-bottom: 24px;
  font-size: 0.95rem;
  line-height: 1.5;
  animation: slideDown 0.3s ease;
}

.form-message-success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #22c55e;
}

.form-message-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-primary);
}

.form-input,
.form-textarea {
  padding: 12px 16px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-size: 0.9rem;
  font-family: inherit;
  transition: all 0.2s;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(88, 166, 255, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.submit-btn {
  padding: 14px 32px;
  background: var(--accent);
  border: none;
  border-radius: var(--radius);
  color: white;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  align-self: flex-start;
}

.submit-btn:hover:not(:disabled) {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(88, 166, 255, 0.3);
}

.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 32px;
}

.contact-method {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.method-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.method-content {
  flex: 1;
}

.method-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.method-text {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 4px;
}

.method-text:last-child {
  margin-bottom: 0;
}

.response-time {
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}

.response-title {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.response-text {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.6;
}

.faq-quick-links {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-top: 32px;
}

.quick-links-text {
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.quick-links-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.quick-link {
  padding: 8px 16px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--accent);
  text-decoration: none;
  font-size: 0.875rem;
  transition: all 0.2s;
}

.quick-link:hover {
  border-color: var(--accent);
  background: rgba(88, 166, 255, 0.1);
}

/* FAQ Page Styles */
.faq-page {
  max-width: 900px;
}

.faq-categories {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.faq-category-btn {
  padding: 10px 20px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.faq-category-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.faq-category-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}

.faq-item {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: var(--border-hover);
}

.faq-item.active {
  border-color: var(--accent);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  user-select: none;
}

.faq-question h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  flex: 1;
}

.faq-toggle {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--accent);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s;
}

.faq-item.active .faq-toggle {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 24px;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 24px 20px 24px;
}

.faq-answer p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

.faq-footer {
  text-align: center;
  padding: 40px 24px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.faq-footer-text {
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.contact-link-btn {
  display: inline-block;
  padding: 14px 32px;
  background: var(--accent);
  border: none;
  border-radius: var(--radius);
  color: white;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.contact-link-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(88, 166, 255, 0.3);
}

/* Responsive adjustments for new pages */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .faq-categories {
    flex-direction: column;
  }

  .faq-category-btn {
    width: 100%;
  }

  .submit-btn {
    width: 100%;
  }
}

/* ============================================
   Footer Styles
   ============================================ */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  margin-top: 60px;
  padding: 40px 24px 20px;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  margin-bottom: 32px;
}

.footer-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.footer-text {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.6;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links li {
  margin: 0;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}

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

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

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  transition: all 0.2s;
  position: relative;
}

.social-icon {
  font-size: 1.25rem;
  display: block;
}

.social-link:hover {
  border-color: var(--accent);
  background: rgba(88, 166, 255, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(88, 166, 255, 0.2);
}

.social-link.share-btn {
  background: var(--bg-secondary);
}

.social-link.share-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.social-link.share-btn:hover .social-icon {
  filter: brightness(0) invert(1);
}

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-copyright {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin: 0;
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .footer {
    padding: 32px 16px 16px;
  }
}
