*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: system-ui, sans-serif;
}

body{
  background: #f0f4f8;
  color: #222;
  padding: 20px;
}

header{
  text-align: center;
  margin-bottom: 30px;
}

header h1{
  font-size: 28px;
  margin-bottom: 8px;
}

header p{
  color: #666;
}

.container{
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 20px;
}

.game-card{
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px #00000012;
  text-decoration: none;
  color: inherit;
  transition: 0.2s;
}

.game-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 8px 20px #00000018;
}

.card-img{
  height: 120px;
  width: 100%;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.game-screen{
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top, #1a1a3a 0%, #050510 48%, #000000 100%);
  position: relative;
  overflow: hidden;
}

.ball{
  width: 22px;
  height: 22px;
  background: radial-gradient(circle at 30% 30%, #ffeb3b, #ff9800);
  border-radius: 50%;
  position: absolute;
  top: 32px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 18px #ffeb3b, 0 0 34px #ff9800;
}

.paddle{
  width: 62px;
  height: 12px;
  background: linear-gradient(90deg, #00c6ff, #0072ff);
  border-radius: 6px;
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 12px #00c6ff, 0 0 24px #0072ff;
}


.card-info{
  padding: 14px;
}

.card-title{
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}

.card-desc{
  font-size: 13px;
  color: #777;
  line-height: 1.4;
}

footer{
  text-align: center;
  margin-top: 40px;
  color: #888;
  font-size: 13px;
}
