/* ---------- RESET ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #0a0a1a;
  --card: #15152b;
  --card-hover: #1e1e3f;
  --cyan: #00e5ff;
  --pink: #ff2d75;
  --green: #22ff88;
  --blue: #2d7dff;
  --text: #ffffff;
  --muted: #8b8ba7;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ---------- TOPBAR ---------- */
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  position: sticky;
  top: 0;
  background: rgba(10, 10, 26, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
  font-weight: 800;
  font-size: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo span {
  background: linear-gradient(90deg, var(--cyan), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tagline {
  font-size: 12px;
  color: var(--muted);
  display: none;
}

@media (min-width: 640px) {
  .tagline { display: block; }
}

/* ---------- HERO ---------- */
.hero {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 40px 24px;
  margin: 24px 16px;
  background: linear-gradient(135deg, #15152b 0%, #1e1e3f 100%);
  border-radius: 24px;
  border: 1px solid rgba(0, 229, 255, 0.15);
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero {
    flex-direction: row;
    align-items: center;
    padding: 60px;
    margin: 40px auto;
    max-width: 1100px;
  }
}

.hero-content {
  flex: 1;
  z-index: 2;
}

.badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0, 229, 255, 0.15);
  color: var(--cyan);
  margin-bottom: 16px;
}

.hero h1 {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -1px;
}

@media (min-width: 768px) {
  .hero h1 { font-size: 72px; }
}

.hero p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 420px;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

.btn-cyan {
  background: var(--cyan);
  color: #000;
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.4);
}

.btn-cyan:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(0, 229, 255, 0.7);
}

.hero-visual {
  flex: 1;
  height: 200px;
  min-height: 200px;
  border-radius: 16px;
  background: radial-gradient(circle at center, rgba(0, 229, 255, 0.3), transparent 70%);
  position: relative;
}

.echo-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-radial-gradient(
    circle at center,
    transparent 0px,
    transparent 15px,
    rgba(0, 229, 255, 0.3) 16px,
    transparent 17px
  );
  border-radius: 16px;
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* ---------- GAMES SECTION ---------- */
.games-section {
  padding: 40px 16px;
  max-width: 1100px;
  margin: 0 auto;
}

.games-section h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 24px;
  padding-left: 8px;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (min-width: 768px) {
  .game-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

/* ---------- GAME CARD ---------- */
.game-card {
  background: var(--card);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, background 0.2s;
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: block;
  cursor: pointer;
}

.game-card:hover {
  transform: translateY(-4px);
  background: var(--card-hover);
}

.thumb {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.thumb-label {
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 2px;
  z-index: 3;
  text-align: center;
  line-height: 1.1;
}

/* ---------- ECHO THUMB ---------- */
.echo-thumb {
  background: radial-gradient(circle at center, #003a4d, #0a0a1a);
}

.echo-thumb::before {
  content: '';
  position: absolute;
  inset: 20%;
  border-radius: 50%;
  border: 2px solid var(--cyan);
  animation: echoRipple 2s ease-out infinite;
}

@keyframes echoRipple {
  0% { transform: scale(0.5); opacity: 1; }
  100% { transform: scale(2); opacity: 0; }
}

.echo-thumb .thumb-label {
  color: var(--cyan);
  text-shadow: 0 0 20px var(--cyan);
}

/* ---------- SLIME SHOOTER THUMB ---------- */
.shooter-thumb {
  background: linear-gradient(135deg, #1a0a1f, #0a0a1a);
}

.slime-blob {
  position: absolute;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  filter: blur(18px);
  z-index: 1;
}

.blob-green {
  background: var(--green);
  top: 15%;
  left: 15%;
  animation: float1 3s ease-in-out infinite;
}

.blob-red {
  background: var(--pink);
  bottom: 15%;
  right: 15%;
  animation: float2 3s ease-in-out infinite;
}

.blob-blue {
  background: var(--blue);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: float3 4s ease-in-out infinite;
}

@keyframes float1 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(15px, 15px); }
}

@keyframes float2 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-15px, -15px); }
}

@keyframes float3 {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.3); }
}

.shooter-thumb .thumb-label {
  color: #fff;
  text-shadow: 0 0 20px var(--pink), 0 0 40px var(--blue);
}

/* ---------- LOCKED CARD ---------- */
.locked-thumb {
  background: #0f0f1e;
  color: var(--muted);
  font-size: 48px;
  font-weight: 800;
}

.locked {
  opacity: 0.5;
  cursor: not-allowed;
}

.locked:hover {
  transform: none;
  background: var(--card);
}

/* ---------- CARD INFO ---------- */
.card-info {
  padding: 12px 16px 16px;
}

.card-info h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.card-info p {
  font-size: 12px;
  color: var(--muted);
}

/* ---------- FOOTER ---------- */
.footer {
  text-align: center;
  padding: 40px 24px;
  color: var(--muted);
  font-size: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 40px;
}

.socials {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin: 16px 0;
}

.socials a {
  color: var(--cyan);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}

.socials a:hover {
  color: var(--pink);
}

.copyright {
  font-size: 12px;
  opacity: 0.6;
}