/* Lotto Top 25 Numbers Section */
.lotto-top-numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: flex-start;
  margin: 18px 0 10px 0;
  padding: 0 4px;
}

.lotto-number-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f3f6ff 0%, #e3e8ff 100%);
  border: 1.5px solid #ccd6f6;
  border-radius: 16px;
  min-width: 56px;
  min-height: 56px;
  padding: 8px 10px 6px 10px;
  box-shadow: 0 2px 8px rgba(34,42,68,0.06);
  font-size: 1.1em;
  font-weight: 600;
  color: #223388;
  margin: 0;
  transition: box-shadow 0.2s, border 0.2s;
}
.lotto-number-chip:hover {
  border: 1.5px solid #3a5ad7;
  box-shadow: 0 4px 16px rgba(58,90,215,0.13);
}
.lotto-chip-rank {
  font-size: 0.85em;
  color: #667eea;
  font-weight: 500;
  margin-bottom: 2px;
}
.lotto-number-chip .number {
  font-size: 1.3em;
  font-weight: 700;
  color: #3a5ad7;
  margin-bottom: 2px;
}
.lotto-number-chip small {
  font-size: 0.85em;
  color: #888fa8;
  font-weight: 400;
}

@media (max-width: 700px) {
  .lotto-top-numbers {
    gap: 8px;
    padding: 0 2px;
  }
  .lotto-number-chip {
    min-width: 44px;
    min-height: 44px;
    padding: 6px 6px 4px 6px;
    font-size: 1em;
  }
  .lotto-number-chip .number {
    font-size: 1.1em;
  }
  main, .container {
    padding: 0.5em;
    margin: 0.5em;
    box-shadow: 0 2px 8px rgba(34,42,68,0.04);
  }
  table {
    font-size: 0.95em;
    display: block;
    overflow-x: auto;
    width: 100%;
  }
  th, td {
    padding: 0.5em 0.6em;
    white-space: nowrap;
  }
  .euromillions-balls-row, .lotto-balls-row {
    flex-wrap: wrap;
    gap: 2px;
  }
  .euromillions-recent-table, .lotto-table {
    font-size: 0.95em;
  }
  .pricing-card, .euromillions-meta, .euromillions-tracker-table-wrap, .lotto-more-wrap {
    padding: 0.5em 0.2em;
  }
}

@media (max-width: 480px) {
  header h1 {
    font-size: 1.3em;
  }
  nav a {
    font-size: 0.95em;
    padding: 0.4em 0.7em;
  }
  .lotto-number-chip {
    min-width: 36px;
    min-height: 36px;
    font-size: 0.95em;
  }
  .lotto-number-chip .number {
    font-size: 1em;
  }
  th, td {
    font-size: 0.95em;
    padding: 0.4em 0.4em;
  }
  main, .container {
    padding: 0.2em;
    margin: 0.2em;
  }
}

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: linear-gradient(135deg, #f9f9f9 0%, #e3e8ff 100%);
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

header, footer {
  background: #222a44;
  color: #fff;
  padding: 2em 1em 1em 1em;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

header h1 {
  margin: 0 0 0.5em 0;
  font-size: 2.2em;
  letter-spacing: 2px;
}

nav {
  margin: 1em 0;
}
nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
nav ul li {
  display: inline-block;
  margin: 0 1em;
}
nav a {
  color: #3a5ad7;
  background: #fff;
  padding: 0.5em 1.2em;
  border-radius: 24px;
  text-decoration: none;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(58,90,215,0.07);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
nav a:hover {
  background: #3a5ad7;
  color: #fff;
  box-shadow: 0 4px 16px rgba(58,90,215,0.13);
}

main, .container {
  max-width: 900px;
  margin: 2em auto;
  padding: 2em;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(34,42,68,0.07);
}

button, .btn {
  background: #3a5ad7;
  color: #fff;
  border: none;
  border-radius: 24px;
  padding: 0.6em 1.5em;
  font-size: 1em;
  font-weight: 500;
  cursor: pointer;
  margin-top: 1em;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(58,90,215,0.07);
}
button:hover, .btn:hover {
  background: #223388;
}

form {
  margin: 2em 0;
}
input[type="text"], input[type="password"], input[type="email"], input[type="file"] {
  padding: 0.5em;
  border: 1px solid #ccd6f6;
  border-radius: 8px;
  margin-bottom: 1em;
  width: 100%;
  font-size: 1em;
  box-sizing: border-box;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 2em 0;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(34,42,68,0.04);
  font-size: 1em;
}
th, td {
  padding: 0.8em 1em;
  border-bottom: 1px solid #e3e8ff;
  text-align: left;
  vertical-align: middle;
}
th {
  background: #f3f6ff;
  font-weight: 600;
}
tr:last-child td {
  border-bottom: none;
}

footer {
  margin-top: 3em;
  font-size: 1em;
  padding: 1.5em 1em;
  border-radius: 0 0 18px 18px;
}

@media (max-width: 700px) {
  main, .container {
    padding: 1em;
  }
  header, footer {
    padding: 1em;
  }
  nav ul li {
    margin: 0 0.5em;
  }
}
