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

body {
  font-family: 'Arial', sans-serif;
  background: linear-gradient(270deg, #4b8df8, #8e4eff);
  color: #fff;
  overflow-x: hidden;
  scroll-behavior: smooth;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 20px;
}

/* Top Bar Styling */
.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 320px;
  margin-bottom: 20px;
}

.profile-icon {
  width: 30px;
  color: #fff;
}

.points-balance {
  font-size: 1.2em;
  font-weight: bold;
  color: #ffd700; /* Oro per rappresentare i punti */
}

/* Card Styling */
.card {
  background-color: #f8f9fa;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 320px;
  height: 220px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.partner-logo {
  width: 50px;
  height: auto;
  margin-bottom: 10px;
}

.synlab{
  width: 100px;
}

.card h2 {
  font-size: 1.2em;
  margin-bottom: 8px;
  color: #333;
}

.card p {
  font-size: 1em;
  color: #666;
  margin-bottom: 15px;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(142, 78, 255, 0.3);
}

/* Partner Button */
.partner-button {
  background: linear-gradient(135deg, #4b8df8, #8e4eff);
  color: white;
  border: none;
  padding: 12px 25px;
  font-size: 1em;
  cursor: pointer;
  border-radius: 20px;
  transition: box-shadow 0.3s ease, transform 0.2s ease;
  box-shadow: 0px 0px 15px rgba(142, 78, 255, 0.5);
  font-weight: bold;
  text-transform: uppercase;
  text-decoration: none;
}

.partner-button:hover {
  transform: scale(1.05);
  box-shadow: 0px 0px 20px rgba(142, 78, 255, 0.8);
}

/* Money Info */
.money-info {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 1em;
  color: #ffd700;
  font-weight: bold;
}