/* Deep Aqua / Cyber Neon Theme */
:root {
  --bg-dark: #070d19;
  /* Very deep blue/black */
  --pane-bg: #111a2e;
  --neon-blue: #00f3ff;
  --neon-purple: #b026ff;
  --text-main: #e0f2fe;
  --text-muted: #7dd3fc;
  --border-color: #1e293b;
  --hover-bg: #1e293b;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-image:
    radial-gradient(circle at 15% 50%, rgba(0, 243, 255, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 85% 30%, rgba(176, 38, 255, 0.08) 0%, transparent 50%);
  background-attachment: fixed;
  min-height: 100vh;
}

/* Header & Nav */
.cyber-header {
  background: rgba(17, 26, 46, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.brand-title {
  font-size: 28px;
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0;
  text-shadow: 0 0 10px var(--neon-blue), 0 0 20px var(--neon-blue);
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
}

.brand-title span {
  color: var(--neon-purple);
  text-shadow: 0 0 10px var(--neon-purple);
}

.nav-menu {
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-link {
  color: var(--text-main);
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1px;
  padding: 8px 16px;
  border-radius: 4px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.nav-link:hover {
  color: var(--neon-blue);
  background: rgba(0, 243, 255, 0.1);
  border-color: rgba(0, 243, 255, 0.3);
  box-shadow: 0 0 15px rgba(0, 243, 255, 0.2);
}

/* Layout Grid */
.main-container {
  max-width: 1400px;
  margin: 30px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 30px;
}

/* Game Grid */
.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
}

.game-card {
  background: var(--pane-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  position: relative;
}

.game-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 12px;
  box-shadow: 0 0 0 2px transparent;
  transition: box-shadow 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.game-card:hover {
  transform: translateY(-5px);
  background: var(--hover-bg);
}

.game-card:hover::before {
  box-shadow: 0 0 0 2px var(--neon-blue), 0 0 15px var(--neon-blue) inset;
}

.game-thumb {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-bottom: 1px solid var(--border-color);
}

.game-info {
  padding: 12px;
  text-align: center;
}

.game-title {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.game-category {
  color: var(--text-muted);
  font-size: 12px;
  margin-top: 5px;
  text-transform: uppercase;
}

/* Sidebar */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.widget {
  background: var(--pane-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.widget::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
}

.widget-title {
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: 15px;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  background: rgba(0, 243, 255, 0.05);
  border: 1px solid rgba(0, 243, 255, 0.2);
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.tag:hover {
  background: var(--neon-blue);
  color: #000;
  border-color: var(--neon-blue);
  box-shadow: 0 0 10px var(--neon-blue);
}

.hot-game {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
  text-decoration: none;
  transition: transform 0.2s;
}

.hot-game:hover {
  transform: translateX(5px);
}

.hot-game img {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--border-color);
}

.hot-game span {
  color: var(--text-main);
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s;
}

.hot-game:hover span {
  color: var(--neon-purple);
}

/* Archive / Footer */
.seo-archive {
  max-width: 1400px;
  margin: 40px auto;
  padding: 20px;
  border-top: 1px solid var(--border-color);
}

.seo-title {
  color: var(--text-muted);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px;
}

.keyword-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  line-height: 1.4;
}

.keyword-link {
  color: rgba(125, 211, 252, 0.3);
  text-decoration: none;
  font-family: 'Courier New', Courier, monospace;
  font-size: 11px;
  transition: all 0.2s;
}

.keyword-link:hover {
  color: var(--neon-blue);
  text-shadow: 0 0 5px var(--neon-blue);
}

.site-footer {
  background: #050914;
  padding: 30px 20px;
  text-align: center;
  border-top: 1px solid var(--border-color);
  margin-top: 40px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 15px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #fff;
}

.copyright {
  color: #475569;
  font-size: 12px;
  margin: 0;
}

/* Animations */
@keyframes neonPulse {
  0% {
    opacity: 0.8;
  }

  50% {
    opacity: 1;
    text-shadow: 0 0 15px var(--neon-blue);
  }

  100% {
    opacity: 0.8;
  }
}

.live-indicator {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--neon-purple);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--neon-purple);
  animation: neonPulse 2s infinite;
}

/* Responsive */
@media (max-width: 992px) {
  .main-container {
    grid-template-columns: 1fr;
  }

  .nav-menu {
    display: none;
  }
}

@media (max-width: 576px) {
  .game-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .brand-title {
    font-size: 20px;
  }
}