:root {
  --g-bg-main: #130b29;
  --g-cyan: #00e0ff;
  --g-cyan-hover: #00b8d4;
  --g-text-white: #ffffff;
  --g-text-gray: #a0aec0;
  --g-card-bg: #2d2045;
  --g-gap: 12px;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--g-bg-main);
  font-family: "Nunito", sans-serif;
  color: var(--g-text-white);
  overflow-x: hidden;
}

.g-layout-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 20px;
}

.g-top-section {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr) 280px;
  gap: var(--g-gap);
  margin-bottom: var(--g-gap);
  height: 520px; 
}

.g-side-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: 1fr; 
  gap: var(--g-gap);
  overflow-y: auto; 
  scrollbar-width: none; 
}
.g-side-grid::-webkit-scrollbar {
  display: none;
}

.g-card {
  background-color: var(--g-card-bg);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform 0.2s;
  aspect-ratio: 16/10;
}
.g-card:hover {
  transform: scale(1.05);
  z-index: 2;
}
.g-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.g-game-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  color: white;
  padding: 8px;
  font-size: 14px;
  text-align: center;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  margin: 0;
}
.g-card:hover .g-game-title {
  transform: translateY(0);
}

.g-hero-center {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #000;
}

.g-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  filter: blur(20px) brightness(0.4); 
  z-index: 1;
}

.g-hero-content {
  position: relative;
  z-index: 10;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.g-hero-thumb {
  width: 180px;
  aspect-ratio: 16/9;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  margin-bottom: 10px;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.g-hero-title {
  font-size: 32px;
  font-weight: 900;
  margin: 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.g-hero-meta {
  font-size: 14px;
  color: #ddd;
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: 700;
  text-transform: uppercase;
}
.g-star {
  color: #ffd700;
  margin-right: 4px;
}

@keyframes heartbeat {
  0% { transform: scale(1); }
  14% { transform: scale(1.1); }
  28% { transform: scale(1); }
  42% { transform: scale(1.1); }
  70% { transform: scale(1); }
}

.g-play-btn {
  background-color: var(--g-cyan);
  color: #000;
  font-size: 18px;
  font-weight: 800;
  padding: 12px 40px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  box-shadow: 0 0 20px rgba(0, 224, 255, 0.3);
  transition: all 0.2s;
  animation: heartbeat 1.5s infinite;
}
.g-play-btn:hover {
  background-color: var(--g-cyan-hover);
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(0, 224, 255, 0.6);
}

.g-bottom-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: var(--g-gap);
}


@media (max-width: 1200px) {
  .g-top-section {
    grid-template-columns: 1fr; 
    height: auto; 
  }
  .g-side-grid {
    display: none;
  }
  .g-hero-center {
    min-height: 400px;
  }
}

@media (max-width: 768px) {
  .g-layout-container {
    padding: 15px;
  }
  .g-hero-center {
    min-height: auto;
    padding: 40px 20px;
  }
  .g-hero-thumb {
    width: 140px;
  }
  .g-hero-title {
    font-size: 24px;
  }

  .g-bottom-grid {
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 10px;
  }
}

.gc-ph {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}


.g-breadcrumb {
  margin: 20px 0;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.g-breadcrumb a {
  color:  #00e6c3;
  text-decoration: none;
}

.g-breadcrumb span {
  color: #ffffff;
}
