/* =========================
   Reset & global
   ========================= */

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  background: #111;
  color: white;
  font-family: Arial, sans-serif;
}
/* =========================
   App container
   ========================= */

.app {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* =========================
   Layout principal
   ========================= */

body {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* =========================
   Contenu principal
   ========================= */

#counter {
  font-size: 48px;
  margin-bottom: 30px;
  text-align: center;
}

button {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: none;
  font-size: 20px;
  cursor: pointer;
  background: hotpink;
  color: white;
  box-shadow: 0 0 20px rgba(255, 105, 180, 0.6);
  transition: transform 0.1s ease, box-shadow 0.2s ease;
}

button:hover {
  box-shadow: 0 0 30px rgba(255, 105, 180, 0.9);
}

button:active {
  transform: scale(0.95);
}

/* =========================
   Footer (hors layout)
   ========================= */

.site-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 16px 0;
  pointer-events: auto;
}

/* =========================
   Contenu du footer
   ========================= */

.footer-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 1.2rem;
  color: #ffffff;
}

/* =========================
   Icônes du footer
   ========================= */

.footer-icon {
  height: 40px;
  width: auto;
  vertical-align: middle;
  transition: transform 0.3s ease;
}

.footer-icon:hover {
  transform: scale(1.2);
}

/* =========================
   Liens du footer
   ========================= */

.site-footer a {
  text-decoration: none;
  color: inherit;
}

/* =========================
   Responsive mobile
   ========================= */

@media (max-width: 768px) {
  button {
    width: 220px;
    height: 220px;
    font-size: 28px;
  }

  #counter {
    font-size: 36px;
  }
}

/* =========================
   Footer mobile only
   ========================= */

@media (max-width: 768px) {
  .site-footer {
    padding: 8px 0;
  }

  .footer-content {
    gap: 8px;
    font-size: 0.9rem;
  }

  .footer-icon {
    height: 24px;
  }
}
