@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;500;700&display=swap');

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Header */
.header {
  background: #121212;
  padding: 15px 20px;
  position: sticky;
  top: 0;
  z-index: 999;
  border-bottom: 1px solid #2a2a2a;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 50px;
}

.main-nav {
  display: flex;
  gap: 24px;
}

.main-nav a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.main-nav a:hover {
  color: #ff58e4;
}

/* Responsive */
@media (max-width: 768px) {
  .main-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }

  .header-container {
    flex-direction: column;
    gap: 12px;
  }
}


body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(120deg, #0f0f0f, #1a1a1a);
  color: #ffffff;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero */
.hero-carousel {
  width: 100%;
  height: 400px;
  overflow: hidden;
  position: relative;
  background: #000; /* fallback background */
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-inner {
  display: flex;
  width: 300%; /* 3 slides */
  height: 100%;
  transition: transform 0.6s ease-in-out;
}

.carousel-inner img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  flex: 0 0 100%;
  background-color: #000;
}


/* Buttons */
.carousel-cta {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 40px 0;
}

.btn {
  text-decoration: none;
  padding: 12px 30px;
  font-weight: bold;
  border-radius: 50px;
  background: linear-gradient(90deg, #ff58e4, #9d4edd);
  color: #fff;
  transition: 0.3s ease;
  box-shadow: 0 0 10px #ff58e4a2;
}

.btn:hover {
  transform: scale(1.05);
}

/* Tabs */
.games-section {
  background: #141414;
}

.games-section h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 40px;
  font-weight: 700;
  color: #fff;
}

.tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}

.tabs button {
  background: #2a2a2a;
  color: #fff;
  border: none;
  padding: 10px 24px;
  border-radius: 25px;
  font-weight: 500;
  transition: 0.3s ease;
  cursor: pointer;
}

.tabs button:hover,
.tabs button.active {
  background: #ff58e4;
  color: #000;
}

/* Category content layout */
.category-content {
  display: none;
  animation: fadeIn 0.3s ease-in-out;
}

.category-content.active {
  display: grid;
  gap: 25px;
  padding: 0 20px;
  max-width: 1200px;
  margin: 0 auto;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Game Card */
.games-carousel {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 16px;
  justify-content: center;
  align-items: flex-start;
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.game-box {
  background: #1a1530;
  border-radius: 12px;
  padding: 12px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.2);
}

@media (max-width: 480px) {
  .games-carousel {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    padding: 16px;
  }
}
.game-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 18px rgba(0, 255, 225, 0.3), 0 0 8px rgba(255, 77, 196, 0.3);
}

.game-box img {
  width: 100%;
  border-radius: 10px;
  aspect-ratio: 1/1;
  object-fit: cover;
}

.game-box p {
  margin-top: 10px;
  font-size: 14px;
  color: #fff;
  font-weight: 500;
}

/* Article Section */
.article-section {
  background: #141414;
  color: #eee;
  padding: 60px 20px;
  line-height: 1.8;
  font-family: 'Segoe UI', sans-serif;
}

.article-section h1,
.article-section h2,
.article-section h3, 
.article-section h4 {
  text-align: center;
  color: #ff4ec5;
  margin: 40px 0 20px;
}

.article-section p,
.article-section ul {
  max-width: 900px;
  margin: 0 auto 20px;
  font-size: 16px;
}

.article-section ul {
  padding-left: 20px;
}

.article-section ul li {
  margin-bottom: 10px;
}

.article-section a {
  color: #ffd36a;
  text-decoration: underline;
}

.article-section a:hover {
  color: #ffffff;
  background: #ff4ec5;
  padding: 2px 6px;
  border-radius: 4px;
  text-decoration: none;
}

/* Responsive image */
.responsive-image {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 30px auto;
  box-shadow: 0 0 20px rgba(255, 78, 197, 0.3);
}

/* Table styling */
.table-container {
  overflow-x: auto;
  margin: 40px auto;
  max-width: 900px;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: #1f1f1f;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(255, 78, 197, 0.2);
}

.comparison-table th,
.comparison-table td {
  padding: 14px 16px;
  border: 1px solid #2a2a2a;
  text-align: left;
  color: #ddd;
}

.comparison-table thead {
  background: #292929;
  color: #fff;
}

.comparison-table tbody tr:nth-child(even) {
  background: #252525;
}

.comparison-table tbody tr:hover {
  background: #333;
  transition: 0.3s ease;
}

/* Footer */
.footer {
  background: #101010;
  padding: 40px 20px;
  text-align: center;
  color: #ccc;
  border-top: 1px solid #333;
}

.footer-icons {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.footer-icons img {
  height: 50px;
}
