@import url('https://fonts.googleapis.com/css2?family=Fredoka+One&display=swap');

.bg-blobs {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: blobFloat 20s ease-in-out infinite;
}

.blob:nth-child(1) {
  width: 400px;
  height: 400px;
  background: rgba(99, 102, 241, 0.15);
  top: -100px;
  left: -100px;
  animation-delay: 0s;
}

.blob:nth-child(2) {
  width: 350px;
  height: 350px;
  background: rgba(236, 72, 153, 0.1);
  top: 30%;
  right: -80px;
  animation-delay: -5s;
  animation-duration: 25s;
}

.blob:nth-child(3) {
  width: 300px;
  height: 300px;
  background: rgba(20, 184, 166, 0.12);
  bottom: 10%;
  left: 20%;
  animation-delay: -10s;
  animation-duration: 22s;
}

.blob:nth-child(4) {
  width: 250px;
  height: 250px;
  background: rgba(245, 158, 11, 0.1);
  top: 60%;
  right: 20%;
  animation-delay: -7s;
  animation-duration: 18s;
}

@keyframes blobFloat {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  25% {
    transform: translate(30px, -40px) scale(1.1);
  }

  50% {
    transform: translate(-20px, 20px) scale(0.95);
  }

  75% {
    transform: translate(40px, 30px) scale(1.05);
  }
}



/* ========== Game Detail Section ========== */
.game-detail-section {
  padding: 30px;
}

.game-detail-header {
  display: flex;
  gap: 24px;
  margin-bottom: 30px;
  background: var(--card-bg);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow-md);
}

.game-cover {
  width: 280px;

  border-radius: 16px;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}

.game-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-info {
  flex: 1;
}

.game-title {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text);
}

.game-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.game-tag {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  background: var(--primary);
  color: #fff;
}

.game-rating {
  display: flex;
  align-items: center;
  gap: 6px;
}

.game-rating .stars {
  display: flex;
  gap: 2px;
}

.game-rating .star {
  color: var(--accent);
  font-size: 16px;
}

.game-rating .rating-num {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.game-description {
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 24px;
}

.game-actions {
  display: flex;
  gap: 16px;
}

.btn {
  padding: 12px 32px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 12px var(--primary-glow);
}

.btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--primary-glow);
}

.btn-secondary {
  background: rgba(79, 70, 229, 0.1);
  color: var(--primary);
}

.btn-secondary:hover {
  background: rgba(79, 70, 229, 0.2);
  transform: translateY(-2px);
}

/* ========== Game Screenshots ========== */
.game-screenshots {
  margin-bottom: 30px;
}

.section-header {
  display: flex;
  align-items: center;
  margin-bottom: 18px;
}

.section-header .accent-bar {
  width: 5px;
  height: 24px;
  border-radius: 3px;
  margin-right: 14px;
  background: linear-gradient(180deg, var(--primary), var(--pink));
  box-shadow: 0 0 12px var(--primary-glow);
}

.section-header h2 {
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
}

.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.screenshot-item {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16/9;
  cursor: pointer;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.screenshot-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-lg);
}

.screenshot-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ========== Similar Games ========== */
.similar-games {
  margin-bottom: 30px;
}

.similar-games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.similar-game-card {
  background: var(--card-bg);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.similar-game-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.similar-game-thumb {
  width: 100%;
  height: 140px;
  position: relative;
  overflow: hidden;
}

.similar-game-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.similar-game-card:hover .similar-game-thumb img {
  transform: scale(1.08);
}

.similar-game-info {
  padding: 12px;
}

.similar-game-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.similar-game-meta {
  font-size: 12px;
  color: var(--text-dim);
}

@media (max-width: 768px) {
  .game-detail-header {
    flex-direction: column;
  }

  .game-cover {
    width: 100%;
    height: auto;
aspect-ratio: 5 / 3;
  }

  .screenshots-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .similar-games-grid {
    grid-template-columns: repeat(2, 1fr);
  }

 
  .game-detail-section {
    padding: 10px;
  }
.game-detail-header {
    padding: 16px;
}
.game-title {
    font-size: 22px;}
.game-meta {
    margin-bottom: 0px;
}
.game-description {
    margin-bottom: 8px;
}
.game-detail-header {
    margin-bottom: 10px;
}.game-screenshots {
    margin-bottom: 10px;
}
.similar-games {
    margin-bottom: 0px;
}
}