body{
    background: radial-gradient(circle at top, #0d1b2a 0%, #1b263b 100%);
    color:#fff;
    min-height:100vh;
}

.card-counter{
    background:#ffffff;
    color:#003049;
    border-radius:12px;
    padding:2rem;
    text-align:center;
    box-shadow:0 4px 12px rgba(0,0,0,.15);
}

.card-counter .number{
    background:#003049;
    color:#fff;
    width:90px;
    height:90px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:2rem;
    margin:0 auto 1rem;
}

.table-dark td,
.table-dark th{
    vertical-align:middle;
}

/* === FONDO & TIPOGRAFÍAS === */
body {
  background: linear-gradient(to right, #141e30, #243b55);
  color: white;
  font-family: 'Roboto', sans-serif;
  margin-bottom: 80px; /* espacio para el footer */
}

/* Navbar transparente */
.navbar {
  background: transparent !important;
}
.navbar-brand, .nav-link {
  color: white !important;
}

/* === TARJETAS WALLET === */
.wallet {
  --bg-color: #003049;
  --bg-color-light: #005073;
  --shadow-color: rgba(0, 48, 73, 0.48);

  width: 180px;
  height: 180px;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  margin: 10px auto;
  box-shadow: 0 14px 26px rgba(0,0,0,0.04);
  transition: all 0.3s ease-out;
  text-decoration: none;
}

.wallet:hover {
  transform: translateY(-5px) scale(1.005);
  box-shadow:
    0 24px 36px rgba(0,0,0,0.11),
    0 24px 46px var(--shadow-color);
}

.wallet .overlay {
  position: absolute;
  width: 70px; height: 70px;
  background: var(--bg-color);
  border-radius: 50%;
  top: 30px; left: 55px;
  z-index: 1;
  transition: transform 0.3s ease-out;
}

.wallet:hover .overlay {
  transform: scale(4);
}

.wallet .circle {
  width: 80px; height: 80px;
  background: var(--bg-color);
  border: 2px solid var(--bg-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  transition: all 0.3s ease-out;
}

.wallet:hover .circle {
  background: var(--bg-color);
  border-color: var(--bg-color-light);
}

.wallet .circle h2 {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.8em;
  color: #fff;
}

.wallet p {
  margin-top: 15px;
  font-size: 15px;
  color: #333;
  transition: color 0.3s ease-out;
}

.wallet:hover p {
  color: #fff;
  font-weight: bold;
}

/* === TARJETAS DE CLUBES === */
.club-card {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 20px;
}

.club-card:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

.card-img-top {
  height: 150px;
  object-fit: cover;
  object-position: center;
}

.card.club-card .card-title {
  color: #333;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}

/* === BOTÓN “AGREGAR CLUB” === */
.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0.5rem 1.25rem;
  background-color: #006bb3;
  color: #fff;
  font-weight: bold;
  font-size: 15px;
  border: 3px solid rgba(255,255,255,0.3);
  border-radius: 9999px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
}

.button .icon {
  width: 24px; height: 24px;
  transition: transform 0.3s ease-in-out;
}

.button:hover {
  transform: scale(1.05);
  border-color: rgba(255,255,255,0.6);
}

.button:hover .icon {
  transform: translateX(4px);
}

.button::before {
  content: "";
  position: absolute;
  width: 100px; height: 100%;
  top: 0; left: -100px;
  background: linear-gradient(120deg,
    rgba(255,255,255,0) 30%,
    rgba(255,255,255,0.8),
    rgba(255,255,255,0) 70%
  );
  opacity: 0.6;
}

@keyframes shine {
  0%   { left: -100px; }
  60%  { left: 100%; }
  100% { left: 100%; }
}

.button:hover::before {
  animation: shine 1.5s ease-out infinite;
}

/* === TITULO PRINCIPAL === */
.main-heading {
  margin: 20px 0 30px;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  color: white;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* === RESPONSIVIDAD === */
.summary-col {
  padding: 10px;
}
@media (max-width: 576px) {
  .summary-col { flex: 0 0 50%; max-width: 50%; }
}
@media (min-width: 577px) {
  .summary-col { flex: 0 0 25%; max-width: 25%; }
}

.club-col {
  padding: 10px;
}
@media (max-width: 576px) {
  .club-col { flex: 0 0 50%; max-width: 50%; }
}
@media (min-width: 577px) {
  .club-col { flex: 0 0 25%; max-width: 25%; }
}
