/* ============================================
   🎨 COMIC POP ART — Gaming Platform Theme
   ============================================ */

/* ===== Import Fonts ===== */
@import url('https://fonts.googleapis.com/css2?family=Bangers&family=Fredoka+One&family=Nunito:wght@400;600;700;800;900&display=swap');

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Pop Art Palette */
  --pink: #FF2D95;
  --hotpink: #FF1493;
  --cyan: #00E5FF;
  --yellow: #FFE600;
  --orange: #FF6B35;
  --lime: #39FF14;
  --purple: #9B30FF;
  --red: #FF1744;
  --white: #FFFDF7;
  --ink: #1A1A2E;
  --dark: #0F0F1A;
  --card-bg: #F5F0E8;

  /* Comic Style */
  --outline: 3px solid #1A1A2E;
  --outline-thin: 2px solid #1A1A2E;
  --shadow-comic: 6px 6px 0 #1A1A2E;
  --shadow-comic-sm: 4px 4px 0 #1A1A2E;
  --shadow-comic-lg: 10px 10px 0 #1A1A2E;
  --shadow-pink: 6px 6px 0 #FF2D95;
  --shadow-cyan: 6px 6px 0 #00E5FF;
  --shadow-yellow: 6px 6px 0 #FFE600;
  --shadow-purple: 6px 6px 0 #9B30FF;

  --radius: 4px;
  --radius-lg: 8px;
  --transition: 0.2s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--dark);
  color: var(--ink);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Prevent overflow from large pseudo-elements / shadows */
.hero,
.featured-list-section,
.main-content,
.stats-bar,
.footer {
  overflow: hidden;
}

/* Allow slider arrows to overflow the container */
.home-slider {
  overflow: visible;
}

.home-slider .slides>li {
  overflow: hidden;
}

/* ===== Halftone Dot Background ===== */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-color: var(--dark);
  background-image:
    /* Yellow dots layer */
    radial-gradient(circle, rgba(255, 230, 0, 0.25) 1px, transparent 1px),
    /* Cyan dots layer */
    radial-gradient(circle at 15px 15px, rgba(0, 229, 255, 0.2) 1.5px, transparent 1.5px),
    /* Pink dots layer */
    radial-gradient(circle at 30px 10px, rgba(255, 45, 149, 0.2) 1px, transparent 1px),
    /* Large dots */
    radial-gradient(circle at 50% 50%, rgba(155, 48, 255, 0.06) 3px, transparent 3px);
  background-size:
    20px 20px,
    20px 20px,
    40px 40px,
    60px 60px;
  animation: dotShift 12s linear infinite;
}

@keyframes dotShift {
  0% { background-position: 0 0, 0 0, 0 0, 0 0; }
  25% { background-position: 5px 5px, -3px 2px, 0 5px, 0 0; }
  50% { background-position: 10px 0, 0 5px, 5px 0, 0 10px; }
  75% { background-position: 5px -5px, 3px -2px, 0 -5px, 0 0; }
  100% { background-position: 0 0, 0 0, 0 0, 0 0; }
}

/* ===== Action Lines Background (hero area feel) ===== */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    /* Subtle action rays from top-left */
    conic-gradient(
      from 200deg at 0% 0%,
      transparent 0deg,
      rgba(255, 45, 149, 0.03) 5deg,
      transparent 10deg,
      rgba(0, 229, 255, 0.03) 25deg,
      transparent 30deg,
      rgba(255, 230, 0, 0.03) 45deg,
      transparent 50deg
    );
}

a {
  color: var(--ink);
  text-decoration: none;
  transition: all var(--transition);
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

/* ===== Container ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

/* ===== Header — Comic Strip Style ===== */
.header {
  background: var(--yellow);
  border-bottom: var(--outline);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: "Bangers", cursive;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 1px;
  text-shadow: 3px 3px 0 rgba(255, 45, 149, 0.5);
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: var(--pink);
  border: var(--outline);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: var(--shadow-comic-sm);
  transform: rotate(-5deg);
  animation: logoWobble 2s ease-in-out infinite;
}

@keyframes logoWobble {
  0%, 100% { transform: rotate(-5deg); }
  50% { transform: rotate(5deg); }
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav a {
  padding: 0.5rem 1rem;
  font-family: "Fredoka One", cursive;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  border: 2px solid transparent;
  border-radius: var(--radius);
  letter-spacing: 0.5px;
  position: relative;
  transition: all 0.15s ease;
  text-transform: uppercase;
}

.nav a::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 3px;
  background: var(--pink);
  transition: transform 0.2s ease;
}

.nav a:hover::after,
.nav a.active::after {
  transform: translateX(-50%) scaleX(1);
}

.nav a:hover,
.nav a.active {
  color: var(--pink);
  background: rgba(255, 255, 255, 0.5);
  border-color: var(--ink);
}

.nav-toggle {
  display: none;
  background: var(--ink);
  border: var(--outline);
  color: var(--yellow);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius);
  font-family: "Bangers", cursive;
  box-shadow: var(--shadow-comic-sm);
}

/* ===== Hero — Comic Cover Style ===== */
.hero {
  background: var(--ink);
  padding: 6rem 0 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* Sunburst rays */
.hero::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background:
    conic-gradient(
      from 0deg,
      transparent 0deg,
      var(--pink) 5deg,
      transparent 10deg,
      transparent 20deg,
      var(--cyan) 25deg,
      transparent 30deg,
      transparent 40deg,
      var(--yellow) 45deg,
      transparent 50deg,
      transparent 60deg,
      var(--purple) 65deg,
      transparent 70deg,
      transparent 80deg,
      var(--pink) 85deg,
      transparent 90deg,
      transparent 100deg,
      var(--cyan) 105deg,
      transparent 110deg,
      transparent 120deg,
      var(--yellow) 125deg,
      transparent 130deg,
      transparent 140deg,
      var(--pink) 145deg,
      transparent 150deg,
      transparent 160deg,
      var(--cyan) 165deg,
      transparent 170deg,
      transparent 180deg,
      transparent 190deg,
      var(--pink) 195deg,
      transparent 200deg,
      transparent 210deg,
      var(--yellow) 215deg,
      transparent 220deg,
      transparent 230deg,
      var(--purple) 235deg,
      transparent 240deg,
      transparent 250deg,
      var(--cyan) 255deg,
      transparent 260deg,
      transparent 270deg,
      var(--pink) 275deg,
      transparent 280deg,
      transparent 290deg,
      var(--yellow) 295deg,
      transparent 300deg,
      transparent 310deg,
      var(--purple) 315deg,
      transparent 320deg,
      transparent 330deg,
      var(--cyan) 335deg,
      transparent 340deg,
      transparent 350deg,
      var(--pink) 355deg,
      transparent 360deg
    );
  opacity: 0.08;
  animation: sunburstRotate 20s linear infinite;
  pointer-events: none;
}

@keyframes sunburstRotate {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.hero-content {
  position: relative;
  z-index: 2;
}

/* POW! decorative word */
.hero-content::before {
  content: "PLAY!";
  position: absolute;
  top: -50px;
  right: -20px;
  font-family: "Bangers", cursive;
  font-size: 5rem;
  color: var(--pink);
  transform: rotate(15deg);
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
  text-shadow: none;
  -webkit-text-stroke: 2px var(--pink);
}

.hero h1 {
  font-family: "Bangers", cursive;
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 1.2rem;
  color: var(--yellow);
  text-shadow:
    4px 4px 0 var(--pink),
    8px 8px 0 rgba(0, 0, 0, 0.3);
  letter-spacing: 2px;
  -webkit-text-stroke: 1.5px var(--ink);
  position: relative;
  z-index: 1;
  animation: heroBoing 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

@keyframes heroBoing {
  0% { transform: scale(0.3); opacity: 0; }
  60% { transform: scale(1.08); }
  100% { transform: scale(1); opacity: 1; }
}

/* Subtitle speech bubble */
.hero p {
  font-family: "Fredoka One", cursive;
  font-size: 1.25rem;
  color: var(--white);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  background: var(--ink);
  border: var(--outline);
  border-radius: 20px;
  padding: 1rem 1.8rem;
  position: relative;
  box-shadow: var(--shadow-comic);
  z-index: 1;
}

/* Speech bubble tail */
.hero p::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 18px solid transparent;
  border-right: 18px solid transparent;
  border-top: 18px solid var(--ink);
}

/* Second tail (outline) */
.hero p::before {
  content: "";
  position: absolute;
  bottom: -21px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 22px solid transparent;
  border-right: 22px solid transparent;
  border-top: 22px solid var(--ink);
  z-index: -1;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* ===== Buttons — Chunky Comic Style ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  font-family: "Fredoka One", cursive;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  border: var(--outline);
  border-radius: var(--radius);
  position: relative;
  transition: all 0.1s ease;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: var(--shadow-comic);
}

.btn:active {
  transform: translate(3px, 3px);
  box-shadow: 2px 2px 0 #1A1A2E;
}

.btn-primary {
  background: var(--pink);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--hotpink);
  box-shadow: 8px 8px 0 #1A1A2E;
  transform: translate(-2px, -2px);
}

.btn-outline {
  background: var(--white);
  color: var(--ink);
  border: var(--outline);
}

.btn-outline:hover {
  background: var(--yellow);
  box-shadow: 8px 8px 0 #1A1A2E;
  transform: translate(-2px, -2px);
}

.btn-sm {
  padding: 0.5rem 1.2rem;
  font-size: 0.78rem;
}

/* Comic action dots on buttons */
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 2px;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.2) 1px, transparent 1px);
  background-size: 8px 8px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
}

.btn-primary:hover::before {
  opacity: 1;
}

/* ===== Section ===== */
.section {
  padding: 4.5rem 0;
  position: relative;
  z-index: 1;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.section-title {
  font-family: "Bangers", cursive;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 1.5px;
  text-shadow: 3px 3px 0 var(--pink);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.section-title span {
  position: relative;
}

/* Comic starburst behind section titles */
.section-title::before {
  content: "★";
  font-size: 3rem;
  color: var(--yellow);
  text-shadow: 2px 2px 0 var(--ink);
  animation: starPulse 1.5s ease-in-out infinite alternate;
}

@keyframes starPulse {
  0% { transform: scale(0.8) rotate(-10deg); }
  100% { transform: scale(1.2) rotate(10deg); }
}

.section-link {
  font-family: "Fredoka One", cursive;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.4rem 1rem;
  border: var(--outline-thin);
  border-radius: var(--radius);
  background: rgba(0, 229, 255, 0.1);
  transition: all 0.15s ease;
}

.section-link:hover {
  background: var(--cyan);
  color: var(--ink);
  box-shadow: var(--shadow-cyan);
  transform: translate(-1px, -1px);
}

/* ===== Game Grid ===== */
.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2rem;
}

/* ===== Game Card — Comic Panel Style ===== */
.game-card {
  background: var(--card-bg);
  border: var(--outline);
  border-radius: var(--radius);
  overflow: visible;
  transition: all 0.15s ease;
  cursor: pointer;
  position: relative;
  box-shadow: var(--shadow-comic);
  transform: rotate(0deg);
}

/* Slight random-ish rotation */
.game-card:nth-child(odd) {
  transform: rotate(0.5deg);
}

.game-card:nth-child(3n) {
  transform: rotate(-0.3deg);
}

.game-card:hover {
  transform: translate(-3px, -3px) rotate(0deg) !important;
  box-shadow: 10px 10px 0 #1A1A2E;
}

.game-card:active {
  transform: translate(2px, 2px) !important;
  box-shadow: 3px 3px 0 #1A1A2E;
}

.game-card-img {
  position: relative;
  height: 170px;
  overflow: hidden;
  border-bottom: var(--outline);
}

.game-card-img .placeholder-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  transition: transform 0.3s ease;
}

.game-card:hover .placeholder-img {
  transform: scale(1.15) rotate(-5deg);
}

/* Comic badge — starburst shape */
.game-card-img .badge {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: var(--pink);
  color: var(--white);
  padding: 0.35rem 0.8rem;
  font-family: "Bangers", cursive;
  font-size: 0.8rem;
  font-weight: 700;
  border: var(--outline-thin);
  box-shadow: var(--shadow-comic-sm);
  clip-path: polygon(
    0% 15%, 15% 0%, 50% 10%, 85% 0%, 100% 15%,
    90% 50%, 100% 85%, 85% 100%, 50% 90%, 15% 100%,
    0% 85%, 10% 50%
  );
  letter-spacing: 1px;
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

.game-card-img .category-tag {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  background: var(--yellow);
  color: var(--ink);
  padding: 0.25rem 0.7rem;
  font-family: "Fredoka One", cursive;
  font-size: 0.65rem;
  font-weight: 600;
  border: var(--outline-thin);
  border-radius: 2px;
  text-transform: uppercase;
  box-shadow: var(--shadow-comic-sm);
}

.game-card-body {
  padding: 1.15rem;
  background: var(--card-bg);
  position: relative;
}

.game-card-body h3 {
  font-family: "Fredoka One", cursive;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--ink);
}

.game-card-body .game-desc {
  font-size: 0.82rem;
  color: #555;
  margin-bottom: 0.85rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.game-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
}

.rating {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-family: "Fredoka One", cursive;
  color: var(--orange);
  font-weight: 700;
}

.plays {
  color: #888;
  font-family: "Nunito", sans-serif;
}

/* ===== Category Pills — Comic Tags ===== */
.category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.category-pill {
  padding: 0.5rem 1.3rem;
  font-family: "Fredoka One", cursive;
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--white);
  border: var(--outline-thin);
  color: var(--ink);
  cursor: pointer;
  transition: all 0.1s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-comic-sm);
  clip-path: polygon(
    8px 0, 100% 0, 100% calc(100% - 8px),
    calc(100% - 8px) 100%, 0 100%, 0 8px
  );
}

.category-pill:hover,
.category-pill.active {
  background: var(--pink);
  color: var(--white);
  border-color: var(--ink);
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0 #1A1A2E;
}

.category-pill:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 #1A1A2E;
}

/* ===== Page Header ===== */
.page-header {
  background: var(--ink);
  padding: 5rem 0 3.5rem;
  text-align: center;
  border-bottom: var(--outline);
  position: relative;
  overflow: hidden;
}

.page-header h1 {
  font-family: "Bangers", cursive;
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--yellow);
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
  text-shadow:3px 3px 0 var(--pink);
  -webkit-text-stroke: 1.5px var(--ink);
  -webkit-text-stroke: 1.5px var(--ink);
  position: relative;
  z-index: 1;
  animation: heroBoing 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.page-header p {
  color: var(--white);
  font-size: 1.1rem;
  max-width: 520px;
  margin: 0 auto;
  font-weight: 600;
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 0.6rem 1.5rem;
  display: inline-block;
}

/* ===== Stats Bar — Comic Panel Style ===== */
.stats-bar {
  background: var(--purple);
  border-bottom: var(--outline);
  padding: 2.2rem 0;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

/* Zigzag top decoration */
.stats-bar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 10px;
  background:
    linear-gradient(
      45deg,
      var(--yellow) 25%,
      transparent 25%
    ) 0 0,
    linear-gradient(
      -45deg,
      var(--yellow) 25%,
      transparent 25%
    ) 0 0;
  background-size: 20px 20px;
  background-color: var(--yellow);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
  position: relative;
}

/* Comic divider lines */
.stat-item {
  position: relative;
  padding: 0.8rem 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius);
  box-shadow: var(--shadow-comic-sm);
}

.stat-item .stat-num {
  display: block;
  font-family: "Bangers", cursive;
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--yellow);
  text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.3);
  margin-bottom: 0.2rem;
  -webkit-text-stroke: 1px rgba(0, 0, 0, 0.5);
}

.stat-item:hover .stat-num {
  color: var(--white);
  text-shadow: 3px 3px 0 var(--pink);
  transform: scale(1.1);
  transition: all 0.15s ease;
}

.stat-item .stat-label {
  font-family: "Fredoka One", cursive;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* ===== Featured Grid ===== */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}

/* Featured Card — Comic Panel with action lines */
.featured-card {
  background: var(--card-bg);
  border: var(--outline);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  gap: 1.5rem;
  align-items: center;
  transition: all 0.15s ease;
  cursor: pointer;
  position: relative;
  box-shadow: var(--shadow-comic-lg);
  overflow: visible;
}

/* Action lines on hover */
.featured-card::after {
  content: "";
  position: absolute;
  inset: -8px;
  border: 3px dashed var(--pink);
  border-radius: 12px;
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
  animation: dashMove 1s linear infinite;
}

@keyframes dashMove {
  to { background-position: 20px 0; }
}

.featured-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: 14px 14px 0 #1A1A2E;
}

.featured-card:hover::after {
  opacity: 1;
}

.featured-card:active {
  transform: translate(2px, 2px);
  box-shadow: 4px 4px 0 #1A1A2E;
}

.featured-img {
  width: 110px;
  height: 110px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  border: var(--outline);
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-comic);
  transition: transform 0.2s ease;
}

.featured-card:hover .featured-img {
  transform: rotate(-10deg) scale(1.1);
}

.featured-img.f1 {
  background: var(--pink);
}

.featured-img.f2 {
  background: var(--cyan);
}

.featured-img.f3 {
  background: var(--orange);
}

.featured-img.f4 {
  background: var(--lime);
}

.featured-info {
  position: relative;
  z-index: 1;
}

.featured-info h3 {
  font-family: "Fredoka One", cursive;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--ink);
}

.featured-info p {
  font-size: 0.88rem;
  color: #555;
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* ===== Detail Page ===== */
.detail-hero {
  position: relative;
  height: 320px;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
  border-bottom: var(--outline);
  overflow: hidden;
}

/* Comic action burst behind icon */
.detail-hero::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  background: var(--yellow);
  border-radius: 50%;
  opacity: 0.12;
  animation: burstPulse 2s ease-in-out infinite;
}

@keyframes burstPulse {
  0%, 100% { transform: scale(0.8); opacity: 0.08; }
  50% { transform: scale(1.3); opacity: 0.18; }
}

.detail-hero .game-icon {
  position: relative;
  z-index: 1;
  animation: detailBounce 2s ease-in-out infinite;
  filter: drop-shadow(6px 6px 0 rgba(0, 0, 0, 0.5));
}

@keyframes detailBounce {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-12px) rotate(-5deg); }
  75% { transform: translateY(-6px) rotate(5deg); }
}

.detail-content {
  padding: 2.5rem 0;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 2.5rem;
}

.detail-main h2 {
  font-family: "Bangers", cursive;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--white);
  text-shadow: 3px 3px 0 var(--pink);
  letter-spacing: 1.5px;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  color: #aaa;
}

.detail-meta span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-family: "Fredoka One", cursive;
}

.game-developer,
.game-publish-date,
.game-update-time {
  display: inline-block;
  font-family: "Fredoka One", cursive;
  font-size: 0.75rem;
  color: #888;
  margin-right: 1.2rem;
  margin-bottom: 0.4rem;
  padding: 0.25rem 0.6rem;
  background: rgba(255, 255, 255, 0.05);
  border: var(--outline-thin);
  border-color: rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  letter-spacing: 0.3px;
}

.detail-desc {
  font-size: 0.98rem;
  color: #ccc;
  line-height: 1.85;
  margin-bottom: 2rem;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.detail-tags a {
  padding: 0.35rem 0.9rem;
  background: rgba(255, 255, 255, 0.08);
  border: var(--outline-thin);
  border-color: rgba(255, 255, 255, 0.2);
  font-family: "Fredoka One", cursive;
  font-size: 0.72rem;
  color: var(--white);
  transition: all 0.15s ease;
  text-transform: uppercase;
  clip-path: polygon(
    6px 0, 100% 0, 100% calc(100% - 6px),
    calc(100% - 6px) 100%, 0 100%, 0 6px
  );
}

.detail-tags a:hover {
  background: var(--pink);
  border-color: var(--white);
  box-shadow: var(--shadow-pink);
  transform: translate(-1px, -1px);
}

.play-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1.2rem 3rem;
  background: var(--lime);
  color: var(--ink);
  border: var(--outline);
  font-family: "Bangers", cursive;
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-comic-lg);
  letter-spacing: 2px;
  transition: all 0.1s ease;
  position: relative;
  overflow: hidden;
}

/* Halftone dots overlay */
.play-btn::before {
  content: "";
  position: absolute;
  inset: 6px;
  background-image:
    radial-gradient(circle, rgba(0, 0, 0, 0.1) 1px, transparent 1px);
  background-size: 6px 6px;
  pointer-events: none;
}

.play-btn:hover {
  background: #00FF00;
  transform: translate(-3px, -3px);
  box-shadow: 12px 12px 0 #1A1A2E;
}

.play-btn:active {
  transform: translate(3px, 3px);
  box-shadow: 3px 3px 0 #1A1A2E;
}

/* ===== FAQ Section ===== */
.faq-section {
  margin-top: 2.5rem;
  background: var(--white);
  border: var(--outline);
  border-radius: 12px;
  padding: 0;
  overflow: hidden;
  box-shadow: var(--shadow-comic);
}

.faq-title {
  font-family: "Bangers", cursive;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  background: var(--pink);
  padding: 1rem 1.5rem;
  margin: 0;
  cursor: pointer;
  user-select: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  letter-spacing: 1px;
  text-shadow: 2px 2px 0 #1A1A2E;
  transition: background 0.2s ease;
}

.faq-title:hover {
  background: #e84393;
}

.faq-section-toggle {
  font-size: 0.9rem;
  transition: transform 0.25s ease;
  display: inline-flex;
  align-items: center;
}

.faq-section.open .faq-section-toggle {
  transform: rotate(90deg);
}

.faq-list {
  padding: 0;
  display: none;
}

.faq-section.open .faq-list {
  display: block;
}

.faq-item {
  border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  font-family: "Fredoka One", cursive;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  padding: 1rem 1.5rem;
  cursor: pointer;
  user-select: none;
  position: relative;
  transition: color 0.15s ease;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: "Bangers", cursive;
  font-size: 1.3rem;
  color: var(--pink);
  transition: transform 0.25s ease;
}

.faq-item.open .faq-question::after {
  content: "−";
  transform: translateY(-50%) rotate(180deg);
}

.faq-question:hover {
  color: var(--pink);
}

.faq-answer {
  font-size: 0.88rem;
  color: #555;
  line-height: 1.75;
  padding: 0 1.5rem 1rem 1.5rem;
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

.detail-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sidebar-card {
  background: var(--card-bg);
  border: var(--outline);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-comic);
  transition: all 0.15s ease;
}

.sidebar-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 #1A1A2E;
}

.sidebar-card h4 {
  font-family: "Bangers", cursive;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 3px dashed var(--ink);
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--ink);
}

.info-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  font-size: 0.88rem;
  border-bottom: 1px dotted #ccc;
}

.info-row:last-child {
  border-bottom: none;
}

.info-row .label {
  font-family: "Fredoka One", cursive;
  color: #777;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.info-row .value {
  font-weight: 700;
  color: var(--ink);
}

.similar-game {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  padding: 0.6rem 0.5rem;
  border-bottom: 1px dotted #ddd;
  cursor: pointer;
  transition: all 0.15s ease;
  border-radius: var(--radius);
}

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

.similar-game:hover {
  background: var(--yellow);
}

.similar-img {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  border: var(--outline-thin);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transition: transform 0.2s ease;
}

.similar-game:hover .similar-img {
  transform: rotate(-5deg) scale(1.1);
}

.similar-info h5 {
  font-family: "Fredoka One", cursive;
  font-size: 0.88rem;
  margin-bottom: 0.15rem;
}

.similar-info span {
  font-size: 0.75rem;
  color: #999;
}

/* ===== Screenshots ===== */
.screenshots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}

.screenshot-item {
  aspect-ratio: 16 / 10;
  background: var(--card-bg);
  border: var(--outline);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: #aaa;
  transition: all 0.15s ease;
  position: relative;
  box-shadow: var(--shadow-comic-sm);
}

.screenshot-item:hover {
  border-color: var(--pink);
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--pink);
}

/* ===== Review Card ===== */
.review-card {
  background: var(--card-bg);
  border: var(--outline);
  border-radius: var(--radius);
  padding: 1.35rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-comic-sm);
  transition: all 0.15s ease;
}

.review-card:hover {
  transform: translate(-2px, -4px);
  box-shadow: 8px 10px 0 var(--purple);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--purple);
  border: var(--outline);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Bangers", cursive;
  font-size: 1rem;
  color: var(--white);
  box-shadow: var(--shadow-comic-sm);
}

.review-user {
  font-family: "Fredoka One", cursive;
  font-size: 0.92rem;
}

.review-date {
  font-size: 0.78rem;
  color: #999;
}

.review-rating {
  margin-left: auto;
  font-family: "Fredoka One", cursive;
  color: var(--orange);
  font-size: 0.85rem;
}

.review-text {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.75;
}

/* ===== Tag Cloud — Speech Bubble Tags ===== */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  padding: 2.5rem 0;
}

.tag-item {
  padding: 0.7rem 1.8rem;
  font-family: "Fredoka One", cursive;
  font-size: 0.9rem;
  font-weight: 600;
  background: var(--white);
  border: var(--outline);
  color: var(--ink);
  transition: all 0.15s ease;
  cursor: pointer;
  box-shadow: var(--shadow-comic-sm);
  position: relative;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Speech bubble tail */
.tag-item::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 25px;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 10px solid var(--white);
}

.tag-item::before {
  content: "";
  position: absolute;
  bottom: -14px;
  left: 23px;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 12px solid var(--ink);
  z-index: -1;
}

.tag-item:hover {
  background: var(--pink);
  color: var(--white);
  transform: translate(-2px, -4px);
  box-shadow: 8px 10px 0 #1A1A2E;
}

.tag-item:hover::after {
  border-top-color: var(--pink);
}

.tag-item.large {
  font-size: 1.2rem;
  padding: 0.85rem 2.2rem;
  background: var(--yellow);
  box-shadow: var(--shadow-comic);
}

.tag-item.large:hover {
  background: var(--pink);
  color: var(--white);
}

.tag-item.medium {
  font-size: 0.95rem;
  padding: 0.6rem 1.5rem;
}

.tag-count {
  font-family: "Bangers", cursive;
  color: var(--pink);
  font-size: 0.78rem;
  margin-left: 0.35rem;
}

/* ===== Content Page Styles ===== */
.content-page {
  padding: 3rem 0;
  flex: 1;
}

.content-page .container {
  max-width: 1200px;
}

.content-page h2 {
  font-family: "Bangers", cursive;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 2.2rem 0 0.85rem;
  color: var(--white);
  padding-left: 1rem;
  border-left: 5px solid var(--pink);
  text-shadow: 2px 2px 0 rgba(255, 45, 149, 0.4);
  letter-spacing: 1px;
}

.content-page h2:first-child {
  margin-top: 0;
}

.content-page p {
  margin-bottom: 1rem;
  color: #bbb;
  line-height: 1.85;
}

.content-page ul,
.content-page ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  color: #bbb;
}

.content-page ul {
  list-style: none;
}

.content-page ul li::before {
  content: "💥";
  margin-right: 0.5rem;
  font-size: 0.7rem;
}

.content-page ol {
  list-style: decimal;
}

.content-page li {
  margin-bottom: 0.55rem;
  line-height: 1.75;
}

/* ===== Contact Form — Chunky Style ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info h3 {
  font-family: "Bangers", cursive;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--white);
  text-shadow: 2px 2px 0 var(--pink);
  letter-spacing: 1px;
}

.contact-info p {
  color: #bbb;
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 0.75rem;
  border: var(--outline-thin);
  border-color: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  transition: all 0.15s ease;
  background: rgba(255, 255, 255, 0.03);
}

.contact-item:hover {
  border-color: var(--pink);
  background: rgba(255, 45, 149, 0.08);
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--pink);
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: var(--pink);
  border: var(--outline-thin);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-comic-sm);
}

.contact-text h4 {
  font-family: "Fredoka One", cursive;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
  color: var(--white);
}

.contact-text span {
  font-size: 0.85rem;
  color: #aaa;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-family: "Fredoka One", cursive;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.45rem;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.85rem 1.1rem;
  background: var(--card-bg);
  border: var(--outline);
  color: var(--ink);
  font-size: 0.9rem;
  font-family: "Nunito", sans-serif;
  transition: all 0.15s ease;
  border-radius: var(--radius);
  box-shadow: var(--shadow-comic-sm);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--pink);
  box-shadow: 6px 6px 0 var(--pink);
  transform: translate(-1px, -1px);
}

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

/* ===== Search Bar ===== */
.search-bar {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.search-bar input {
  flex: 1;
  padding: 0.9rem 1.2rem;
  background: var(--card-bg);
  border: var(--outline);
  font-size: 0.92rem;
  color: var(--ink);
  font-family: "Nunito", sans-serif;
  box-shadow: var(--shadow-comic-sm);
  border-radius: var(--radius);
  transition: all 0.15s ease;
}

.search-bar input:focus {
  outline: none;
  border-color: var(--pink);
  box-shadow: 6px 6px 0 var(--pink);
  transform: translate(-1px, -1px);
}

.search-bar input::placeholder {
  color: #aaa;
  font-family: "Nunito", sans-serif;
}

.search-bar button {
  padding: 0.9rem 2rem;
  background: var(--pink);
  color: var(--white);
  border: var(--outline);
  cursor: pointer;
  font-family: "Bangers", cursive;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 1px;
  box-shadow: var(--shadow-comic);
  border-radius: var(--radius);
  transition: all 0.1s ease;
}

.search-bar button:hover {
  background: var(--hotpink);
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 #1A1A2E;
}

.search-bar button:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 #1A1A2E;
}

/* ===== Breadcrumb ===== */
.breadcrumb {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-family: "Fredoka One", cursive;
  font-size: 0.8rem;
  color: #aaa;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.breadcrumb a {
  color: var(--cyan);
}

.breadcrumb a:hover {
  color: var(--pink);
}

.breadcrumb .sep {
  color: var(--pink);
}

/* ===== Pagination — Comic Buttons ===== */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 3rem;
}

.pagination a,
.pagination span {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Fredoka One", cursive;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  transition: all 0.1s ease;
}

.pagination a:hover {
  background: var(--yellow);
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 #1A1A2E;
}

.pagination a:active {
  transform: translate(1px, 1px);
  box-shadow: 2px 2px 0 #1A1A2E;
}

.pagination .current {
  background: var(--pink);
  border-color: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow-comic);
}

/* ===== Games List Toolbar ===== */
.games-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.games-count {
  font-family: "Fredoka One", cursive;
  font-size: 0.85rem;
  color: var(--white);
  background: var(--purple);
  border: var(--outline-thin);
  padding: 0.4rem 1rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-comic-sm);
}

.sort-select {
  padding: 0.55rem 1.2rem;
  background: var(--card-bg);
  border: var(--outline);
  color: var(--ink);
  font-size: 0.85rem;
  font-family: "Fredoka One", cursive;
  cursor: pointer;
  box-shadow: var(--shadow-comic-sm);
  border-radius: var(--radius);
  transition: all 0.15s ease;
}

.sort-select:focus {
  outline: none;
  border-color: var(--pink);
}

/* ===== Alert Box ===== */
.alert {
  padding: 1rem 1.35rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  border: var(--outline);
  background: var(--card-bg);
  box-shadow: var(--shadow-comic-sm);
}

.alert-success {
  border-color: var(--lime);
  color: var(--ink);
  background: #e8ffe8;
}

.alert-info {
  border-color: var(--cyan);
  color: var(--ink);
  background: #e8faff;
}

/* ===== Footer — Comic Credits Style ===== */
.footer {
  background: var(--yellow);
  border-top: var(--outline);
  padding: 3.5rem 0 2rem;
  margin-top: auto;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand .logo {
  margin-bottom: 0.85rem;
}

.footer-brand p {
  font-size: 0.85rem;
  color: #444;
  line-height: 1.75;
}

.footer-col h4 {
  font-family: "Bangers", cursive;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--ink);
  position: relative;
  display: inline-block;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--pink);
  border-radius: 1px;
}

.footer-col a {
  display: block;
  padding: 0.35rem 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: #444;
  transition: all 0.15s ease;
}

.footer-col a:hover {
  color: var(--pink);
  transform: translateX(5px);
  text-shadow: 1px 0 0 rgba(255, 45, 149, 0.3);
}

.footer-bottom {
  border-top: 3px dashed var(--ink);
  padding-top: 1.5rem;
  text-align: center;
  font-family: "Fredoka One", cursive;
  font-size: 0.82rem;
  color: #555;
}

/* ===== Animations ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px) rotate(-2deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(0);
  }
}

@keyframes popIn {
  0% { transform: scale(0.5); opacity: 0; }
  70% { transform: scale(1.1); }
  100% { transform: scale(1); opacity: 1; }
}

.hero-content {
  animation: popIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.game-card {
  animation: fadeInUp 0.5s ease-out backwards;
}

.game-card:nth-child(1) { animation-delay: 0.05s; }
.game-card:nth-child(2) { animation-delay: 0.1s; }
.game-card:nth-child(3) { animation-delay: 0.15s; }
.game-card:nth-child(4) { animation-delay: 0.2s; }
.game-card:nth-child(5) { animation-delay: 0.25s; }
.game-card:nth-child(6) { animation-delay: 0.3s; }
.game-card:nth-child(7) { animation-delay: 0.35s; }
.game-card:nth-child(8) { animation-delay: 0.4s; }
.game-card:nth-child(9) { animation-delay: 0.45s; }
.game-card:nth-child(10) { animation-delay: 0.5s; }
.game-card:nth-child(11) { animation-delay: 0.55s; }
.game-card:nth-child(12) { animation-delay: 0.6s; }

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .container {
    padding: 0 0.8rem;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--yellow);
    flex-direction: column;
    padding: 1rem;
    border-bottom: var(--outline);
    gap: 0.1rem;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    z-index: 101;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    width: 100%;
    text-align: left;
  }

  .nav-toggle {
    display: block;
    padding: 0.5rem 0.7rem;
    font-size: 1.5rem;
    position: relative;
    z-index: 102;
  }

  .hero {
    padding: 3rem 0 2.5rem;
  }

  .hero h1 {
    font-size: 2.2rem;
    text-shadow: 2px 2px 0 var(--pink), 4px 4px 0 rgba(0, 0, 0, 0.3);
  }

  .hero-content::before {
    font-size: 2rem;
    top: -15px;
    right: 0;
  }

  .hero p {
    font-size: 0.9rem;
    padding: 0.8rem 1.2rem;
  }

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

  .stat-item .stat-num {
    font-size: 2rem;
  }

  .game-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1.2rem;
  }

  .game-card-img {
    height: 130px;
  }

  .game-card-body {
    padding: 0.8rem;
  }

  .game-card-body h3 {
    font-size: 0.9rem;
  }

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

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

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

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .footer {
    padding: 2.5rem 0 1.5rem;
  }

  .page-header h1 {
    font-size: 2rem;
  }

  .page-header {
    padding: 3rem 0 2rem;
  }

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

  .breadcrumb {
    flex-wrap: wrap;
    font-size: 0.7rem;
  }

  .header-inner {
    height: 60px;
  }

  .logo {
    font-size: 1.3rem;
  }

  .logo-icon {
    width: 38px;
    height: 38px;
    font-size: 1.2rem;
  }

  .btn {
    padding: 0.7rem 1.5rem;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 0.6rem;
  }

  .hero {
    padding: 2.5rem 0 2rem;
  }

  .hero h1 {
    font-size: 1.7rem;
  }

  .hero-content::before {
    font-size: 1.5rem;
    top: -10px;
  }

  .hero p {
    font-size: 0.8rem;
    padding: 0.6rem 1rem;
  }

  .game-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.8rem;
  }

  .game-card-img {
    height: 110px;
  }

  .game-card-body {
    padding: 0.6rem;
  }

  .game-card-body h3 {
    font-size: 0.78rem;
  }

  .game-card-body .game-desc {
    font-size: 0.7rem;
  }

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

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

  .footer {
    padding: 2rem 0 1.2rem;
  }

  .footer-brand p {
    font-size: 0.78rem;
  }

  .footer-col a {
    font-size: 0.78rem;
  }

  .footer-bottom {
    font-size: 0.72rem;
  }

  .page-header {
    padding: 2.5rem 0 1.5rem;
  }

  .page-header h1 {
    font-size: 1.6rem;
  }

  .page-header p {
    font-size: 0.85rem;
    padding: 0.4rem 1rem;
  }

  .detail-hero {
    height: 200px;
    font-size: 3.5rem;
  }

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

  .stats-grid {
    gap: 0.8rem;
  }

  .stat-item .stat-num {
    font-size: 1.6rem;
  }

  .stat-item .stat-label {
    font-size: 0.65rem;
  }

  .header-inner {
    height: 54px;
  }

  .logo {
    font-size: 1.15rem;
  }

  .logo-icon {
    width: 34px;
    height: 34px;
    font-size: 1rem;
  }

  .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.78rem;
  }

  .section-header {
    margin-bottom: 1.5rem;
  }

  .section {
    padding: 2.5rem 0;
  }

  .featured-card {
    padding: 1.2rem;
    flex-direction: column;
    gap: 1rem;
  }

  .featured-img {
    width: 80px;
    height: 80px;
    font-size: 2rem;
  }

  .featured-info h3 {
    font-size: 1.1rem;
  }

  .sidebar-card {
    padding: 1rem;
  }

  .sidebar-card h4 {
    font-size: 1rem;
  }

  .category-pill {
    padding: 0.35rem 0.8rem;
    font-size: 0.65rem;
  }

  .tag-item {
    padding: 0.5rem 1.2rem;
    font-size: 0.72rem;
  }
}
