body {
    background-color: #0077ff; /* Same blue as balls grid */
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

.cards-page {
  width: 100%;
  height: 100vh;
  overflow-y: auto;       /* scroll vertically for many cards */
  overflow-x: auto;       /* scroll horizontally if cards overflow */
  display: flex;
  justify-content: center; /* center horizontally when small */
}

.cards-container {
  display: grid;
  grid-template-columns: repeat(var(--columns), auto);
  gap: 20px;
  padding: 20px;
}

/* Each card */
.card {
  display: grid;
  grid-template-columns: repeat(5, var(--cell-w));
  grid-template-rows: repeat(5, var(--cell-h));
  background: #eee;
  padding: 10px;
  border-radius: 8px;
  border: 2px solid #ccc;

    box-shadow: 0px 0px 10px rgba(0,0,0,0.9);
}

/* Cell styling */
.cell {
  display: flex;
  justify-content: center;
  align-items: center;
}

.cell input {
  width: 100%;
  height: 100%;
  text-align: center;
  border: 1px solid #aaa;
  border-radius: 3px;
  font-size: 18px;
}

.ball {
    width: 110px;
    height: 110px;
    background: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 40px;
    font-weight: bold;
    color: black;
    border: 3px solid black;   /* NEW */
}
