/* ===================================================
   EQUALLY ESPORT - CLEAN STYLE.CSS
   =================================================== */

/* Reset léger */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
    height: -webkit-fill-available;

}

/* ================= VARIABLES ================= */

:root {
  --accent: #dc2626;
}

/* ================= HERO ANIMATION ================= */

@keyframes fadeUpGlow {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadeUpGlow {
  animation: fadeUpGlow 1.2s ease-out forwards;
}

/* ================= POPUP ================= */

.popup-overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.6);
  z-index: 50;
}

.popup-overlay.active {
  display: flex;
}

.popup-box {
  background: #0f0f14;
  border: 1px solid rgba(127, 29, 29, 0.3);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  max-width: 400px;
  width: 100%;
}

.popup-button {
  background: var(--accent);
  padding: 0.5rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  color: white;
  border: none;
  cursor: pointer;
  transition: 0.3s;
}

.popup-button:hover {
  background: #b91c1c;
}

/* ================= SPONSORS SCROLLER ================= */

.sponsors {
  width: 100%;
  background: #000;
  overflow: hidden;
  padding: 18px 0;
}

.scroller-track {
  display: flex;
  gap: 3rem;
  animation: scroll 20s linear infinite;
}

.sponsor img {
  height: 64px;
  width: auto;
  display: block;
  transition: transform .2s ease, box-shadow .2s ease;
}

.sponsor:hover img {
  transform: translateY(-6px) scale(1.05);
  box-shadow: 0 12px 30px rgba(0,0,0,0.4);
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (max-width: 700px) {
  .sponsor img {
    height: 48px;
  }
}

/* ================= FORMS ================= */

#contactForm {
  max-width: 640px;
  margin: 20px auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

input,
textarea {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #333;
  background: #111;
  color: #fff;
  outline: none;
  transition: box-shadow .2s ease, border-color .2s ease;
}

input:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.2);
}

button[type="submit"] {
  padding: 12px 16px;
  border-radius: 8px;
  border: 0;
  background: var(--accent);
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

button[type="submit"]:hover {
  background: #b91c1c;
}