:root {
    --neon-blue: #00f3ff;
    --neon-pink: #ff006e;
    --neon-yellow: #ffbe0b;
    --neon-green: #00ff87;
    --dark-bg: #0a0e27;
    --darker-bg: #050814;
    --card-bg: rgba(15, 23, 42, 0.85);
}

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

body {
    font-family: 'Orbitron', sans-serif;
    background: var(--darker-bg);
    color: #fff;
    min-height: 100vh;
    overflow-x: hidden;
}

.bg-grid {
    position: fixed;
    inset: 0;
    background:
        linear-gradient(rgba(0,243,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,243,255,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
    z-index: 0;
    pointer-events: none;
}

@keyframes gridMove {
    from {
        transform: perspective(500px) rotateX(60deg) translateY(0);
    }
    to {
        transform: perspective(500px) rotateX(60deg) translateY(50px);
    }
}

.orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    z-index: 0;
    animation: float 15s ease-in-out infinite;
    pointer-events: none;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: var(--neon-pink);
    top: -100px;
    left: -100px;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: var(--neon-blue);
    bottom: -50px;
    right: -50px;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: var(--neon-yellow);
    top: 50%;
    left: 50%;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(40px, -40px); }
    66% { transform: translate(-30px, 30px); }
}


.container {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: auto;
    padding: 2rem;
}

.logo {
    font-family: 'Press Start 2P', cursive;
    text-align: center;
    font-size: 3rem;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-pink));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.category {
    margin-bottom: 4rem;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.category-icon {
    font-size: 2.5rem;
}

.category-title {
    font-size: 2rem;
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr)); 
    gap: 24px;
}

.game-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 243, 255, 0.15);
    backdrop-filter: blur(10px);
}

.game-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 243, 255, 0.3);
}

.game-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.game-title {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.game-description {
    font-size: 0.95rem;
    opacity: 0.85;
    line-height: 1.5;
}

.play-btn {
  margin-top: 1.2rem;
  padding: 0.8rem 2.2rem;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border: none;
  border-radius: 10px;

  background: linear-gradient(135deg, var(--neon-blue), var(--neon-pink));
  color: #fff;
  font-weight: bold;
  font-family: inherit;

  cursor: pointer;
  transition: all 0.3s ease;

  text-decoration: none; 
}

.play-btn:link,
.play-btn:visited {
  color: #fff;
}

.play-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.4);
}


@media (max-width: 768px) {
    .game-grid {
        grid-template-columns: 1fr;
    }
}
