:root {
  /* Colors */
  --primary-color: #6c5ce7;
  --secondary-color: #a29bfe;
  --accent-color: #fd79a8;
  --dark-color: #2d3436;
  --light-color: #f5f6fa;
  --gray-color: #dfe6e9;
  --warning-color: #fdcb6e;
  
  /* Effects */
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

/* ===== RESET & BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: var(--light-color);
  color: var(--dark-color);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  margin: 0 auto;
  padding: 20px;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 600;
}

.btn:hover {
  background-color: var(--secondary-color);
  transform: translateY(-2px);
}

/* ===== HEADER ===== */
header {
  background-color: white;
  box-shadow: var(--shadow);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
  display: flex;
  align-items: center;
}

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

.logo i {
  margin-right: 8px;
}

nav ul {
  display: flex;
}

nav ul li {
  margin-left: 20px;
}

nav ul li a {
  font-weight: 500;
  transition: var(--transition);
  padding: 8px 12px;
  border-radius: 4px;
}

nav ul li a:hover {
  background-color: var(--gray-color);
}

.search-bar {
  display: flex;
  align-items: center;
  background-color: var(--gray-color);
  border-radius: 20px;
  padding: 8px 15px;
  width: 300px;
}

.search-bar input {
  background: transparent;
  border: none;
  outline: none;
  width: 100%;
  margin-left: 8px;
}

/* ===== SECTION TITLES ===== */
.section-title {
  font-size: 32px;
  margin-bottom: 30px;
  text-align: center;
  color: var(--dark-color);
}

/* ===== CATEGORIES GRID ===== */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.category-item {
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 15px 20px;
  transition: var(--transition);
  border-left: 4px solid transparent;
  height: 90px;
}

.category-item:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
  border-left-color: var(--primary-color);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.category-icon {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  object-fit: cover;
  margin-right: 20px;
  flex-shrink: 0;
}

.category-name {
  font-size: 18px;
  font-weight: 600;
  color: white;
}

/* ===== GAMES GRID LAYOUTS ===== */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}

.full-width-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

/* ===== GAME CARDS ===== */
.game-card {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
}

.game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
}

.game-image {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.game-info,
.game-card-info {
  padding: 0;
}

.game-title,
.game-card-title {
  font-weight: 600;
  margin-bottom: 8px;
  color: #636e72;
  font-size: 16px;
  padding: 0 15px;
}

.game-title-post {
  font-weight: 600;
  margin-bottom: 8px;
  font-size: larger;
  padding: 0 15px;
}

/* ===== GAME ICON CARDS ===== */
.game-icon-card {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  background-color: white;
  box-shadow: var(--shadow);
  transition: var(--transition);
  aspect-ratio: 1;
}

.game-icon-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
}

.game-icon,
.game-icon-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-icon-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  padding: 15px;
  color: white;
  transform: translateY(100%);
  transition: var(--transition);
}

.game-icon-card:hover .game-icon-overlay {
  transform: translateY(0);
}

.game-icon-title {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 5px;
}

.game-icon-description {
  font-size: 11px;
  opacity: 0.9;
}

/* ===== FULL WIDTH SECTIONS ===== */
.full-width-games {
  padding: 0;
  background-color: var(--dark-color);
  color: white;
}

.full-width-container {
  width: 100%;
  margin: 0 auto;
  padding: 20px;
}

.full-width-games .section-title {
  color: white;
}

/* ===== GAME PLAY SECTION ===== */
.game-play-section {
  width: 100%;
  background-color: var(--dark-color);
  padding: 30px 0;
  color: white;
}

.game-container {
  width: 100%;
  margin: 0 auto;
  padding: 20px;
}

.game-layout {
  display: grid;
  grid-template-columns: 1fr 3fr 1fr;
  gap: 25px;
  align-items: start;
}

/* ===== SIDEBAR ===== */
.games-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
  color: white;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-color);
}

.sidebar-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

/* ===== GAME AREA ===== */
.game-area {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  position: relative;
  display: flex;
  flex-direction: column;
}

.game-content {
  position: relative;
  width: 100%;
}

.game-aspect-ratio {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  background: linear-gradient(135deg, rgba(108, 92, 231, 0.1), rgba(162, 155, 254, 0.1));
  border-radius: 8px;
  overflow: hidden;
}

.game-preview {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  text-align: center;
}

.game-preview-icon {
  width: 120px;
  height: 120px;
  border-radius: 20px;
  object-fit: cover;
  margin-bottom: 25px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  border: 3px solid rgba(255, 255, 255, 0.2);
}

.game-description {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 25px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 500px;
}

.play-btn {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border: none;
  padding: 15px 40px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 5px 15px rgba(108, 92, 231, 0.4);
  position: relative;
  z-index: 2;
}

.play-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(108, 92, 231, 0.6);
}

.game-frame-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  background-color: white;
}

.game-frame {
  width: 100%;
  height: 100%;
  border: none;
  background-color: white;
}

/* ===== GAME CONTROLS ===== */
.game-controls {
  position: absolute;
  bottom: 20px;
  right: 20px;
  display: flex;
  gap: 12px;
  z-index: 10;
  opacity: 1;
  visibility: visible;
}

.control-btn {
  background-color: var(--primary-color);
  color: white;
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(10px);
  font-size: 16px;
}

.control-btn:hover {
  background-color: var(--primary-color);
  transform: scale(1.1);
}

/* ===== GAME HEADER ===== */
.game-header {
  padding: 25px;
  background: linear-gradient(135deg, rgba(108, 92, 231, 0.2), rgba(162, 155, 254, 0.2));
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 25px;
}

.game-header-content {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.game-header-content .game-icon {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: var(--shadow);
  flex-shrink: 0;
}

.game-meta {
  display: flex;
  gap: 15px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.game-rating {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--warning-color);
}

.game-full-description {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

/* ===== MORE GAMES SECTION ===== */
.more-games-section {
  padding: 50px 0;
  background-color: var(--light-color);
}

/* ===== PAGINATION ===== */
.pagination-container {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.pagination {
  display: flex;
  list-style: none;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.page-item {
  margin: 0;
}

.page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  background-color: var(--gray-color);
  color: var(--dark-color);
  border-radius: 6px;
  transition: var(--transition);
  font-weight: 500;
  border: none;
  cursor: pointer;
}

.page-link:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

.page-item.active .page-link {
  background-color: var(--primary-color);
  color: white;
  font-weight: 600;
}

.page-item.disabled .page-link {
  background-color: #f8f9fa;
  color: #6c757d;
  cursor: not-allowed;
  transform: none;
}

.page-item.disabled .page-link:hover {
  background-color: #f8f9fa;
  transform: none;
}

/* Dark pagination for dark sections */
.full-width-games .page-link {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
}

.full-width-games .page-link:hover {
  background-color: var(--primary-color);
}

.full-width-games .page-item.active .page-link {
  background-color: var(--primary-color);
}

.full-width-games .page-item.disabled .page-link {
  background-color: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.4);
}

/* ===== ARTICLE SECTION ===== */
.article-section {
  padding: 50px 0;
  background-color: var(--dark-color);
  color: white;
}

.article-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.article-header {
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--primary-color);
}

.article-title {
  font-size: 36px;
  margin-bottom: 15px;
}

.article-meta {
  color: #636e72;
  font-size: 14px;
}

.article-content {
  font-size: 16px;
  line-height: 1.8;
}

.article-content h2 {
  font-size: 24px;
  margin: 30px 0 15px;
  color: var(--primary-color);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--gray-color);
}

.article-content h3 {
  font-size: 20px;
  margin: 25px 0 12px;
  color: var(--dark-color);
}

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

.article-content ul,
.article-content ol {
  margin-bottom: 20px;
  padding-left: 30px;
}

.article-content li {
  margin-bottom: 8px;
}

.article-content a {
  color: var(--primary-color);
  font-weight: 500;
}

.article-content a:hover {
  text-decoration: underline;
}

.highlight-box {
  background-color: rgba(108, 92, 231, 0.05);
  border-left: 4px solid var(--primary-color);
  padding: 20px;
  margin: 25px 0;
  border-radius: 0 8px 8px 0;
}

/* ===== SEARCH PAGE ===== */
.search-page {
  padding: 40px 20px;
  margin: 0 auto;
  background-color: var(--dark-color);
  color: white;
}

.search-header {
  text-align: center;
  margin-bottom: 40px;
}

.search-title {
  font-size: 36px;
  font-weight: 700;
  color: white;
  margin-bottom: 10px;
}

.search-subtitle {
  font-size: 18px;
  color: #636e72;
  max-width: 600px;
  margin: 0 auto;
}

.search-container {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.search-input-wrapper {
  position: relative;
  width: 100%;
  max-width: 600px;
  display: flex;
}

.search-input {
  flex: 1;
  padding: 15px 20px;
  border: 2px solid var(--gray-color);
  border-radius: 50px 0 0 50px;
  font-size: 16px;
  outline: none;
  transition: var(--transition);
}

.search-input:focus {
  border-color: var(--primary-color);
}

.search-button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 30px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border: none;
  border-radius: 0 50px 50px 0;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.search-button:hover {
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  transform: translateY(-2px);
}

.search-results-info {
  text-align: center;
}

.search-results-count {
  font-size: 18px;
}

.search-results-count strong {
  color: var(--primary-color);
}

.search-query {
  color: var(--accent-color);
  font-style: italic;
}

/* ===== 404 PAGE ===== */
.error-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  min-height: 60vh;
}

.error-icon {
  font-size: 80px;
  color: var(--primary-color);
  margin-bottom: 30px;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-20px);
  }
  60% {
    transform: translateY(-10px);
  }
}

.error-title {
  font-size: 120px;
  font-weight: 800;
  color: white;
  margin-bottom: 10px;
  line-height: 1;
  text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.error-subtitle {
  font-size: 32px;
  color: white;
  margin-bottom: 20px;
  font-weight: 600;
}

.error-description {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.error-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  box-shadow: 0 5px 15px rgba(108, 92, 231, 0.4);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.btn-primary:hover, .btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(108, 92, 231, 0.6);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

/* ===== LOADING STATES ===== */
.search-loading {
  display: none;
  text-align: center;
  padding: 40px;
}

.search-loading.active {
  display: block;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid var(--gray-color);
  border-top: 4px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ===== FOOTER ===== */
footer {
  background-color: var(--dark-color);
  color: white;
  padding: 60px 0 20px;
}

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

.footer-column h3 {
  font-size: 18px;
  margin-bottom: 20px;
  position: relative;
}

.footer-column h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 40px;
  height: 3px;
  background-color: var(--primary-color);
}

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

.footer-column ul li a {
  color: #b2bec3;
  transition: var(--transition);
}

.footer-column ul li a:hover {
  color: white;
  padding-left: 5px;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: #3d3d3d;
  border-radius: 50%;
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #3d3d3d;
  color: #b2bec3;
  font-size: 14px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 20px 0;
}

/* ===== FULLSCREEN MODE ===== */
.game-area.fullscreen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: var(--dark-color);
  padding: 20px;
}

.game-area.fullscreen .game-content {
  width: 100%;
  max-width: 90vw;
  max-height: 90vh;
}

.game-area.fullscreen .game-aspect-ratio {
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 ratio */
  max-width: calc(90vh * 1.777); /* 16/9 = 1.777 */
  max-height: 90vh;
}

.game-area.fullscreen .game-header {
  display: none;
}

.game-area.fullscreen .games-sidebar {
  display: none;
}
/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  margin: 15px 25px;
  color: rgba(255, 255, 255, 0.8);
}

.breadcrumb a {
  color: var(--primary-color);
  font-weight: 500;
  transition: var(--transition);
}

.breadcrumb a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

.breadcrumb-separator {
  color: rgba(255, 255, 255, 0.6);
}

.breadcrumb-current {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

@media (min-width: 1400px) {
  .sidebar-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1200px) {
  .game-layout {
    grid-template-columns: 1fr 2fr 1fr;
  }

  .game-preview-icon {
    width: 100px;
    height: 100px;
  }
  
  .categories-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

/* Tablets */
@media (max-width: 992px) {
  .search-bar {
    width: 200px;
  }
  
  .categories-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }
  
  .game-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .games-sidebar {
    order: 3;
  }

  .sidebar-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .game-header-content {
    flex-direction: column;
    text-align: center;
  }

  .game-icon {
    align-self: center;
  }

  .game-preview-icon {
    width: 90px;
    height: 90px;
  }
  
  .search-page {
    padding: 30px 20px;
  }
}

/* Small Tablets */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    gap: 15px;
  }

  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }

  nav ul li {
    margin: 5px;
  }

  .search-bar {
    width: 100%;
    max-width: 400px;
  }

  .game-preview {
    padding: 20px;
  }

  .game-preview-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
  }

  .game-description {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .play-btn {
    padding: 12px 30px;
    font-size: 16px;
  }

  .control-btn {
    width: 40px;
    height: 40px;
  }

  .sidebar-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

  .pagination {
    gap: 5px;
  }

  .page-link {
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    font-size: 14px;
  }
  
  .categories-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
  }

  .category-item {
    padding: 12px 15px;
    height: 80px;
  }

  .category-icon {
    width: 50px;
    height: 50px;
    margin-right: 15px;
  }

  .category-name {
    font-size: 16px;
  }
  
  .article-title {
    font-size: 30px;
  }

  .article-content h2 {
    font-size: 22px;
  }

  .article-content h3 {
    font-size: 18px;
  }
  
  .search-page {
    padding: 20px 15px;
  }
  
  .search-title {
    font-size: 28px;
  }
  
  .search-subtitle {
    font-size: 16px;
  }
  
  .search-input-wrapper {
    flex-direction: column;
    gap: 10px;
  }
  
  .search-input {
    border-radius: 50px;
    padding: 12px 20px;
  }
  
  .search-button {
    border-radius: 50px;
    padding: 12px 20px;
    justify-content: center;
  }
  
  .search-results-count {
    font-size: 16px;
  }
  
  .error-title {
    font-size: 80px;
  }
  
  .error-subtitle {
    font-size: 24px;
  }
  
  .error-description {
    font-size: 16px;
  }
  
  .error-icon {
    font-size: 60px;
  }
}

/* Mobile Phones */
@media (max-width: 576px) {
  .games-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }

  .full-width-grid {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  }

  .game-preview-icon {
    width: 70px;
    height: 70px;
  }

  .game-description {
    font-size: 13px;
  }

  .play-btn {
    padding: 10px 25px;
    font-size: 14px;
  }

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

  .game-meta {
    justify-content: center;
  }

  .section-title {
    font-size: 28px;
  }

  .pagination {
    gap: 3px;
  }

  .page-link {
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    font-size: 13px;
  }
  
  .categories-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .category-item {
    padding: 10px 12px;
    height: 70px;
  }

  .category-icon {
    width: 45px;
    height: 45px;
    margin-right: 12px;
  }

  .category-name {
    font-size: 15px;
  }
  
  .article-title {
    font-size: 26px;
  }

  .article-content {
    font-size: 15px;
  }
  
  .search-results-info {
    padding: 15px;
  }
  
  .error-title {
    font-size: 60px;
  }
  
  .error-subtitle {
    font-size: 20px;
  }
  
  .error-description {
    font-size: 14px;
  }
  
  .error-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .btn-primary, .btn-secondary {
    width: 100%;
    max-width: 250px;
    justify-content: center;
  }
}