:root {
  --bg: #070907;
  --accent: #3dff7a;
  --text: #e0e0e0;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, sans-serif;
  min-height: 100vh;
}
.sticky-header {
  position: sticky;
  top: 0;
  background: rgba(7, 9, 7, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  z-index: 100;
  border-bottom: 1px solid #1a2a1a;
  position: relative;
}
.logo-container {
  position: relative;
  width: 60px;
  height: 60px;
  z-index: 20;
  background: rgba(7, 9, 7, 0.98);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.frog-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 50%;
  box-shadow: 0 0 15px var(--accent);
  position: relative;
  z-index: 20;
  background: transparent;
}
svg.frog-logo {
  width: 60px;
  height: 60px;
}
.snow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}
.snowflake {
  position: absolute;
  top: -10px;
  color: var(--accent);
  text-shadow: 0 0 5px var(--accent), 0 0 10px var(--accent), 0 0 15px #00ff88;
  animation: fall linear infinite;
  opacity: 0.55;
}
@keyframes fall {
  0% { transform: translateY(-20px) rotate(0deg); opacity: 0.8; }
  100% { transform: translateY(120px) rotate(360deg); opacity: 0; }
}
h1 {
  font-size: 1.8rem;
  color: var(--accent);
  text-shadow: 0 0 10px var(--accent);
  z-index: 5;
  position: relative;
}
nav a {
  color: var(--text);
  text-decoration: none;
  margin: 0 1rem;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  transition: all 0.3s;
  z-index: 5;
  position: relative;
}
nav a:hover {
  background: var(--accent);
  color: #000;
}
.hub {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.column h2 {
  color: var(--accent);
  margin-bottom: 1rem;
  text-align: center;
}
.card {
  display: block;
  background: #111;
  border: 1px solid #222;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  text-align: center;
  text-decoration: none;
  color: var(--text);
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(61, 255, 122, 0.3);
}
footer {
  text-align: center;
  padding: 2rem;
  color: #666;
  border-top: 1px solid #1a2a1a;
}
@media (max-width: 800px) {
  .hub { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5rem; padding: 1rem 0.5rem; }
  .column h2 { font-size: 1rem; margin-bottom: 0.6rem; }
  .card { padding: 0.75rem 0.3rem; margin-bottom: 0.5rem; font-size: 0.85rem; border-radius: 10px; overflow-wrap: break-word; }
  .sticky-header { flex-wrap: wrap; padding: 0.75rem 1rem; gap: 0.75rem; }
  nav a { margin: 0 0.15rem; padding: 0.4rem 0.6rem; }
}
/* game video previews */
.game-card { padding: 0; }
.game-card .preview { display: block; position: relative; aspect-ratio: 16 / 9; background: #0b0f0b; }
.game-card video, .game-card .preview img { width: 100%; height: 100%; object-fit: cover; display: block; }
.open-app { display: block; padding: 1.5rem 0.5rem; color: var(--text); text-decoration: none; }
@media (max-width: 800px) {
  .game-card .preview { aspect-ratio: 1 / 1; }
  .open-app { padding: 0.75rem 0.3rem; min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) { .card, .card:hover { transition: none; transform: none; } }
/* app name labels: bright core with a soft neon glow that drifts green → grey → white */
.open-app {
  font-size: 1.2rem; font-weight: 700; letter-spacing: 0.03em; line-height: 1.25;
  color: #eafff0; overflow-wrap: anywhere; hyphens: auto;
  text-shadow: 0 0 4px rgba(61,255,122,0.55), 0 0 12px rgba(61,255,122,0.35);
  animation: label-glow 7s ease-in-out infinite;
}
.game-card:hover .open-app, .game-card:focus-visible .open-app { color: #ffffff; text-shadow: 0 0 5px rgba(61,255,122,0.8), 0 0 16px rgba(61,255,122,0.5); }
.game-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@keyframes label-glow {
  0%, 100% { color: #c9ffd9; text-shadow: 0 0 4px rgba(61,255,122,0.7), 0 0 14px rgba(61,255,122,0.4); }
  33%      { color: #d6dcd8; text-shadow: 0 0 3px rgba(200,210,204,0.45), 0 0 10px rgba(61,255,122,0.2); }
  66%      { color: #ffffff; text-shadow: 0 0 4px rgba(255,255,255,0.5), 0 0 12px rgba(61,255,122,0.3); }
}
@media (max-width: 800px) {
  .open-app { font-size: clamp(0.78rem, 3.3vw, 0.95rem); letter-spacing: 0.01em; padding: 0.7rem 0.25rem; }
}
@media (prefers-reduced-motion: reduce) {
  .open-app { animation: none; color: #eafff0; text-shadow: 0 0 4px rgba(61,255,122,0.55), 0 0 12px rgba(61,255,122,0.35); }
}
