* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #111111;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
  position: relative;
  z-index: 1;
}

header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 16px 40px;
  background-color: #000000;
  border-bottom: 2px solid #e00000;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: #e00000;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 900;
  color: #ffffff;
}

.logo-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logo-text {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.5px;
  line-height: 1;
}

.logo-text span {
  color: #e00000;
}

.logo-subtitle {
  font-size: 11px;
  color: #aaaaaa;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Hero section */
.hero {
  text-align: center;
  padding: 100px 40px;
}

.hero h1 {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 16px;
}

.hero h1 span {
  color: #e00000;
}

.hero p {
  font-size: 18px;
  color: #aaaaaa;
}

/* Footer */
footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  padding: 24px 40px;
  background-color: #000000;
  border-top: 1px solid #e00000;
  color: #aaaaaa;
  font-size: 14px;
}

footer span {
  color: #e00000;
  font-weight: 600;
}

.btn-telegram {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #229ED9;
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: 6px;
  transition: background-color 0.2s;
}

.btn-telegram:hover {
  background-color: #1a86b8;
}

/* Hamburger Button */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-right: 14px;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger:hover span {
  background-color: #e00000;
}

/* Sidebar */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 260px;
  height: 100vh;
  background-color: #0a0a0a;
  border-right: 2px solid #e00000;
  z-index: 200;
  transform: translateX(-280px);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.sidebar.open {
  transform: translateX(0);
}

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid #222222;
  font-size: 16px;
  font-weight: 700;
  color: #e00000;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.sidebar-close {
  background: none;
  border: none;
  color: #aaaaaa;
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

.sidebar-close:hover {
  color: #e00000;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  padding: 16px 0;
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #cccccc;
  text-decoration: none;
  font-size: 15px;
  padding: 13px 24px;
  transition: background 0.2s, color 0.2s;
  border-left: 3px solid transparent;
}

.sidebar-nav a svg {
  flex-shrink: 0;
  stroke: #aaaaaa;
  transition: stroke 0.2s;
}

.sidebar-nav a:hover {
  background-color: #1a0000;
  color: #ffffff;
  border-left-color: #e00000;
}

.sidebar-nav a:hover svg {
  stroke: #e00000;
}

/* Overlay */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 150;
}

.sidebar-overlay.active {
  display: block;
}

/* Page Hero */
.page-hero {
  padding: 60px 40px 30px;
  text-align: center;
}

.page-hero h1 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 12px;
}

.page-hero p {
  font-size: 16px;
  color: #aaaaaa;
}

/* Active sidebar link */
.sidebar-nav a.active {
  background-color: #1a0000;
  color: #ffffff;
  border-left-color: #e00000;
}

.sidebar-nav a.active svg {
  stroke: #e00000;
}

/* Games Grid */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  padding: 20px 40px 60px;
}

.game-card {
  background-color: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}

.game-card:hover {
  border-color: #e00000;
  transform: translateY(-4px);
}

.game-thumb {
  background-color: #111111;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #2a2a2a;
}

.game-thumb img {
  width: 80px;
  height: 80px;
  border-radius: 16px;
  object-fit: cover;
}

.game-info {
  padding: 16px 20px 20px;
}

.game-info h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #ffffff;
}

.game-info p {
  font-size: 13px;
  color: #aaaaaa;
  margin-bottom: 16px;
  line-height: 1.5;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #e00000;
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 6px;
  transition: background-color 0.2s;
}

.btn-download:hover {
  background-color: #b00000;
}

.footer-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-youtube {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #FF0000;
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: 6px;
  transition: background-color 0.2s;
}

.btn-youtube:hover {
  background-color: #cc0000;
}

/* Search */
.search-wrapper {
  padding: 0 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: #1a1a1a;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 10px 16px;
  width: 100%;
  max-width: 480px;
  transition: border-color 0.2s;
}

.search-box:focus-within {
  border-color: #e00000;
}

.search-box input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: #ffffff;
  font-size: 15px;
}

.search-box input::placeholder {
  color: #666;
}

.search-clear {
  background: none;
  border: none;
  color: #666;
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
  display: none;
  transition: color 0.2s;
}

.search-clear:hover {
  color: #e00000;
}

.search-count {
  font-size: 13px;
  color: #aaaaaa;
}

/* Empty state */
.search-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 60px 40px;
  color: #555;
  font-size: 15px;
}

/* Network Background */
#networkCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

footer {
  position: relative;
  z-index: 1;
}

/* Language Button */
.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  background: none;
  border: 1px solid #444;
  color: #cccccc;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  letter-spacing: 0.5px;
}

.lang-btn:hover {
  border-color: #e00000;
  color: #e00000;
}

.lang-btn svg {
  flex-shrink: 0;
}

/* Feature Tags */
.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.feature-tag {
  font-size: 11px;
  font-weight: 600;
  color: #e00000;
  background-color: #1a0000;
  border: 1px solid #e00000;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.3px;
  cursor: default;
  transition: background-color 0.2s, color 0.2s;
}

.feature-tag:hover {
  background-color: #e00000;
  color: #ffffff;
}

/* Card Actions */
.card-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.btn-feature {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 1px solid #444;
  color: #cccccc;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  flex: 1;
  justify-content: center;
}

.btn-feature:hover {
  border-color: #e00000;
  color: #e00000;
}

.btn-download {
  flex: 1;
  justify-content: center;
}

/* Modal */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 500;
  align-items: center;
  justify-content: center;
}

.modal-overlay.active {
  display: flex;
}

.modal {
  background: #1a1a1a;
  border: 1px solid #e00000;
  border-radius: 12px;
  width: 90%;
  max-width: 400px;
  overflow: hidden;
  animation: modalIn 0.2s ease;
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #2a2a2a;
}

.modal-header h3 {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
}

.modal-close {
  background: none;
  border: none;
  color: #aaaaaa;
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

.modal-close:hover {
  color: #e00000;
}

.modal-features {
  list-style: none;
  padding: 16px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #cccccc;
}

/* ── About Page ── */

/* Profile */
.about-profile {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  max-width: 700px;
  margin: 0 auto 60px;
  padding: 0 40px;
}

.profile-avatar {
  flex-shrink: 0;
  width: 90px;
  height: 90px;
  background: #e00000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  font-weight: 900;
  color: #fff;
}

.profile-info h2 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 4px;
  color: #ffffff;
}

.profile-info p {
  font-size: 14px;
  color: #aaaaaa;
  margin-bottom: 10px;
  line-height: 1.6;
}

.profile-info #profileRole {
  color: #e00000;
  font-weight: 600;
  margin-bottom: 12px;
}

.profile-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* About Section */
.about-section {
  max-width: 800px;
  margin: 0 auto 60px;
  padding: 0 40px;
}

.about-section h2 {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 24px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e00000;
  display: inline-block;
}

/* About Cards */
.about-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.about-card {
  background-color: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 12px;
  padding: 24px 20px;
  transition: border-color 0.2s, transform 0.2s;
}

.about-card:hover {
  border-color: #e00000;
  transform: translateY(-4px);
}

.about-card-icon {
  margin-bottom: 14px;
}

.about-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.about-card p {
  font-size: 13px;
  color: #aaaaaa;
  line-height: 1.6;
}

/* Contact List */
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background-color: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 10px;
  padding: 14px 18px;
  text-decoration: none;
  transition: border-color 0.2s;
}

.contact-item:hover {
  border-color: #e00000;
}

.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-label {
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
}

.contact-value {
  font-size: 12px;
  color: #aaaaaa;
}

/* ── Home Page ── */

/* Hero */
.hero {
  text-align: center;
  padding: 80px 40px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.hero-badge {
  display: inline-block;
  background-color: #1a0000;
  color: #e00000;
  border: 1px solid #e00000;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}

.hero h1 {
  font-size: 46px;
  font-weight: 900;
  line-height: 1.15;
  max-width: 640px;
}

.hero h1 span {
  color: #e00000;
}

.hero p {
  font-size: 17px;
  color: #aaaaaa;
  max-width: 500px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}

.hero-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #e00000;
  color: #ffffff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  padding: 12px 26px;
  border-radius: 8px;
  transition: background-color 0.2s;
}

.hero-btn-primary:hover {
  background-color: #b00000;
}

.hero-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #229ED9;
  color: #ffffff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  padding: 12px 26px;
  border-radius: 8px;
  transition: background-color 0.2s;
}

.hero-btn-secondary:hover {
  background-color: #1a86b8;
}

/* Home Features */
.home-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  padding: 0 40px 60px;
}

.home-feature-card {
  background-color: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 12px;
  padding: 24px 20px;
  transition: border-color 0.2s, transform 0.2s;
}

.home-feature-card:hover {
  border-color: #e00000;
  transform: translateY(-4px);
}

.home-feature-icon {
  margin-bottom: 14px;
}

.home-feature-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.home-feature-card p {
  font-size: 13px;
  color: #aaaaaa;
  line-height: 1.6;
}


/* Loading State */
.games-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 80px 40px;
  color: #aaaaaa;
  font-size: 14px;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #2a2a2a;
  border-top-color: #e00000;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ════════════════════════════════════════
   RESPONSIVE
   - Mobile kecil : max 480px  (360px target)
   - Tablet       : 481px – 768px
   - Laptop       : 769px – 1200px
   ════════════════════════════════════════ */

/* ── Laptop (769px – 1200px) ── */
@media (max-width: 1200px) {
  header { padding: 14px 24px; }
  .hero  { padding: 70px 24px 50px; }
  .hero h1 { font-size: 40px; }
  .home-features { padding: 0 24px 50px; }
  .games-grid    { padding: 16px 24px 50px; }
  .search-wrapper { padding: 0 24px 16px; }
  .about-profile  { padding: 0 24px; }
  .about-section  { padding: 0 24px; }
  .page-hero      { padding: 50px 24px 24px; }
}

/* ── Tablet (481px – 768px) ── */
@media (max-width: 768px) {
  /* Header */
  header { padding: 12px 16px; }
  .logo-text    { font-size: 18px; }
  .logo-subtitle { display: none; }

  /* Hero (home) */
  .hero { padding: 60px 16px 40px; gap: 14px; }
  .hero h1 { font-size: 32px; }
  .hero p  { font-size: 15px; }
  .hero-btn-primary,
  .hero-btn-secondary { padding: 10px 20px; font-size: 14px; }

  /* Home Features */
  .home-features {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 16px 40px;
    gap: 12px;
  }

  /* Page hero */
  .page-hero { padding: 40px 16px 20px; }
  .page-hero h1 { font-size: 28px; gap: 10px; }
  .page-hero h1 svg { width: 28px; height: 28px; }

  /* Games grid */
  .games-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 12px 16px 40px;
    gap: 12px;
  }

  /* Search */
  .search-wrapper { padding: 0 16px 14px; }
  .search-box { max-width: 100%; }

  /* Footer */
  footer { padding: 20px 16px; }

  /* About */
  .about-profile {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 16px;
    margin-bottom: 40px;
  }
  .profile-links { justify-content: center; }
  .about-section { padding: 0 16px; margin-bottom: 40px; }
  .about-cards { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .contact-item { padding: 12px 14px; }
}

/* ── Mobile kecil (max 480px / target 360px) ── */
@media (max-width: 480px) {
  /* Header */
  header { padding: 10px 12px; }
  .logo-icon   { width: 34px; height: 34px; font-size: 16px; }
  .logo-text   { font-size: 16px; }
  .lang-btn    { padding: 5px 9px; font-size: 12px; }
  .lang-btn svg { display: none; }

  /* Hero (home) */
  .hero { padding: 48px 14px 32px; gap: 12px; }
  .hero h1 { font-size: 26px; }
  .hero p  { font-size: 14px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-btn-primary,
  .hero-btn-secondary {
    width: 100%;
    justify-content: center;
    padding: 11px 16px;
    font-size: 14px;
  }

  /* Home Features */
  .home-features {
    grid-template-columns: 1fr;
    padding: 0 14px 32px;
  }

  /* Page hero */
  .page-hero { padding: 32px 14px 16px; }
  .page-hero h1 { font-size: 22px; gap: 8px; flex-wrap: wrap; justify-content: center; }
  .page-hero h1 svg { width: 22px; height: 22px; }
  .page-hero p { font-size: 13px; }

  /* Games grid — 1 kolom */
  .games-grid {
    grid-template-columns: 1fr;
    padding: 10px 14px 32px;
    gap: 10px;
  }

  /* Game card */
  .game-thumb { height: 100px; }
  .game-thumb img { width: 64px; height: 64px; }
  .game-info { padding: 12px 14px 14px; }
  .game-info h3 { font-size: 15px; }
  .card-actions { flex-direction: column; gap: 6px; }
  .btn-feature,
  .btn-download { width: 100%; justify-content: center; }

  /* Search */
  .search-wrapper { padding: 0 14px 12px; }
  .search-box { padding: 9px 12px; }

  /* Footer */
  footer { padding: 18px 14px; gap: 10px; font-size: 13px; }
  .footer-buttons { flex-direction: column; align-items: stretch; }
  .btn-telegram,
  .btn-youtube { justify-content: center; }

  /* Modal */
  .modal { width: 95%; }

  /* Sidebar */
  .sidebar { width: 240px; }

  /* About */
  .about-profile {
    padding: 0 14px;
    margin-bottom: 32px;
    gap: 16px;
  }
  .profile-avatar { width: 72px; height: 72px; font-size: 28px; }
  .profile-info h2 { font-size: 20px; }
  .about-section { padding: 0 14px; margin-bottom: 32px; }
  .about-cards { grid-template-columns: 1fr; }
  .contact-item { gap: 12px; padding: 10px 12px; }
}

/* ════════════════════════════════════════
   GAMES PAGE — UI BARU
   ════════════════════════════════════════ */

/* Hero games */
.games-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 50px 40px 28px;
  text-align: center;
}

.games-hero-icon {
  width: 64px;
  height: 64px;
  background: #1a0000;
  border: 1px solid #e00000;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.games-hero h1 {
  font-size: 34px;
  font-weight: 900;
  color: #ffffff;
}

.games-hero p {
  font-size: 15px;
  color: #888;
  max-width: 480px;
  line-height: 1.6;
}

/* Game Card — baru */
.game-card {
  background: #141414;
  border: 1px solid #1e1e1e;
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}

.game-card:hover {
  border-color: #e00000;
  transform: translateY(-5px);
  box-shadow: 0 8px 32px rgba(224,0,0,0.12);
}

/* Thumbnail */
.gc-thumb {
  position: relative;
  height: 130px;
  background: linear-gradient(135deg, #1a0000 0%, #0d0d0d 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.gc-thumb img {
  width: 80px;
  height: 80px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 4px 16px rgba(0,0,0,0.5);
  transition: transform 0.3s;
}

.game-card:hover .gc-thumb img {
  transform: scale(1.07);
}

.gc-overlay {
  position: absolute;
  bottom: 8px;
  right: 10px;
}

.gc-label {
  font-size: 10px;
  font-weight: 700;
  color: #e00000;
  background: rgba(224,0,0,0.12);
  border: 1px solid rgba(224,0,0,0.3);
  padding: 2px 8px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Body */
.gc-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.gc-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.gc-name {
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
}

.gc-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 600;
  color: #22c55e;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.25);
  padding: 3px 8px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}

.gc-dot {
  width: 6px;
  height: 6px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse-dot 1.8s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

.gc-desc {
  font-size: 12px;
  color: #777;
  line-height: 1.5;
  margin: 0;
}

/* Feature chips in card */
.gc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.gc-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 600;
  color: #ccc;
  background: #1e1e1e;
  border: 1px solid #2a2a2a;
  padding: 3px 8px;
  border-radius: 20px;
}

.gc-chip-more {
  color: #e00000;
  background: #1a0000;
  border-color: rgba(224,0,0,0.3);
}

/* Actions */
.gc-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

.gc-btn-info {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: none;
  border: 1px solid #2a2a2a;
  color: #aaa;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.gc-btn-info:hover {
  border-color: #e00000;
  color: #e00000;
  background: rgba(224,0,0,0.05);
}

.gc-btn-dl {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #e00000;
  color: #ffffff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 10px;
  border-radius: 8px;
  transition: background 0.2s, transform 0.1s;
}

.gc-btn-dl:hover {
  background: #b00000;
  transform: scale(1.02);
}

/* Modal upgrade */
.modal {
  background: #141414;
  border: 1px solid #2a2a2a;
  border-radius: 16px;
  width: 92%;
  max-width: 420px;
  overflow: hidden;
  animation: modalIn 0.2s ease;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid #1e1e1e;
  background: #1a0000;
}

.modal-header h3 {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
}

.modal-features {
  list-style: none;
  padding: 18px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.modal-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: #cccccc;
  padding: 10px 14px;
  background: #1a1a1a;
  border: 1px solid #222;
  border-radius: 8px;
  transition: border-color 0.2s;
}

.modal-features li:hover {
  border-color: #e00000;
}

/* Search upgrade */
.search-box {
  background: #141414;
  border: 1px solid #222;
  border-radius: 10px;
  padding: 11px 16px;
}

.search-box:focus-within {
  border-color: #e00000;
  box-shadow: 0 0 0 3px rgba(224,0,0,0.08);
}

/* Responsive games-hero */
@media (max-width: 768px) {
  .games-hero { padding: 36px 16px 20px; }
  .games-hero h1 { font-size: 26px; }
  .games-hero-icon { width: 52px; height: 52px; border-radius: 12px; }
  .games-hero-icon svg { width: 26px; height: 26px; }
}

@media (max-width: 480px) {
  .games-hero { padding: 28px 14px 16px; }
  .games-hero h1 { font-size: 22px; }
  .gc-thumb { height: 110px; }
  .gc-thumb img { width: 68px; height: 68px; }
  .gc-body { padding: 12px 14px 14px; gap: 8px; }
  .gc-name { font-size: 14px; }
  .gc-actions { flex-direction: column; gap: 6px; }
  .gc-btn-info, .gc-btn-dl { width: 100%; }
}

/* ── Game Card Badge: New / Updated ── */
.gc-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  animation: badge-pop 0.3s ease;
}

@keyframes badge-pop {
  from { opacity: 0; transform: scale(0.7); }
  to   { opacity: 1; transform: scale(1); }
}

.gc-badge-new {
  background: #22c55e;
  color: #000;
  box-shadow: 0 2px 8px rgba(34,197,94,0.4);
}

.gc-badge-updated {
  background: #f59e0b;
  color: #000;
  box-shadow: 0 2px 8px rgba(245,158,11,0.4);
}
