/* ==========================================================================
   Falai Craque — Landing Page
   ========================================================================== */

:root {
  --color-white: #FFFFFF;
  --color-black: #000000;
  --color-green: #02701A;
  --color-yellow: #FFED03;

  --font-main: 'Poppins', 'Segoe UI', Arial, Helvetica, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--color-black);
  color: var(--color-white);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ---------------------------------------------------------------------- */
/* Background                                                             */
/* ---------------------------------------------------------------------- */

.bg-stadium {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(180deg, rgba(0, 8, 3, 0.55) 0%, rgba(0, 10, 4, 0.35) 40%, rgba(0, 12, 5, 0.65) 100%),
    url('../assets/estadio-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.bg-stadium::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(2, 112, 26, 0) 30%, rgba(0, 0, 0, 0.55) 100%);
}

/* ---------------------------------------------------------------------- */
/* Layout                                                                  */
/* ---------------------------------------------------------------------- */

.hero {
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 20px 24px;
}

.container {
  width: 100%;
  max-width: 620px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;

  background: rgba(0, 20, 8, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 36px 32px 32px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);

  opacity: 0;
  transform: translateY(24px);
  animation: fadeInUp 0.9s ease forwards;
}

/* ---------------------------------------------------------------------- */
/* Logo                                                                    */
/* ---------------------------------------------------------------------- */

.logo {
  width: min(260px, 60vw);
  height: auto;
  display: block;
  margin: 0 auto 18px;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.45));
}

/* ---------------------------------------------------------------------- */
/* Title / Subtitle                                                        */
/* ---------------------------------------------------------------------- */

.title {
  font-size: clamp(22px, 4.2vw, 32px);
  font-weight: 800;
  line-height: 1.25;
  color: var(--color-white);
  letter-spacing: -0.5px;
}

.title .highlight {
  color: var(--color-yellow);
}

.subtitle {
  margin-top: 12px;
  font-size: clamp(13px, 2vw, 15px);
  font-weight: 400;
  color: var(--color-white);
  opacity: 0.92;
}

.divider {
  width: 100%;
  max-width: 460px;
  height: 2px;
  margin: 24px 0 22px;
  border: none;
  background: var(--color-yellow);
  border-radius: 2px;
}

/* ---------------------------------------------------------------------- */
/* Social section                                                          */
/* ---------------------------------------------------------------------- */

.social-title {
  font-size: clamp(17px, 3vw, 22px);
  font-weight: 700;
  color: var(--color-yellow);
  line-height: 1.4;
  margin-bottom: 22px;
}

.social-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 100%;
  margin-bottom: 26px;
}

.social-btn {
  display: inline-block;
  width: 100%;
  max-width: 320px;
  line-height: 0;
  border-radius: 999px;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.social-btn img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 999px;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.35));
  transition: filter 0.3s ease;
}

.social-btn:hover,
.social-btn:focus-visible {
  transform: translateY(-4px) scale(1.02);
}

.social-btn:hover img,
.social-btn:focus-visible img {
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.45)) brightness(1.04);
}

.social-btn:active {
  transform: translateY(-1px) scale(0.99);
}

/* ---------------------------------------------------------------------- */
/* Contact section                                                         */
/* ---------------------------------------------------------------------- */

.contact {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 14px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.contact:hover,
.contact:focus-visible {
  background-color: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.contact-icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
}

.contact-divider {
  width: 1px;
  height: 34px;
  background: rgba(255, 255, 255, 0.5);
}

.contact-text {
  text-align: left;
  font-size: 14px;
  color: var(--color-white);
  line-height: 1.4;
}

.contact-email {
  color: var(--color-yellow);
  font-size: 15px;
  font-weight: 700;
}

.contact-toast {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-black);
  background: var(--color-yellow);
  padding: 4px 12px;
  border-radius: 999px;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

.contact-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------------------------------------------------------------------- */
/* Footer                                                                   */
/* ---------------------------------------------------------------------- */

.footer {
  text-align: center;
  padding: 0 20px 22px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
}

/* ---------------------------------------------------------------------- */
/* Animations                                                               */
/* ---------------------------------------------------------------------- */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------------------------------------------------------------------- */
/* Responsive                                                               */
/* ---------------------------------------------------------------------- */

@media (max-width: 480px) {
  .container {
    padding: 28px 18px 24px;
    border-radius: 18px;
  }

  .logo {
    width: 68vw;
    margin-bottom: 14px;
  }

  .divider {
    margin: 20px 0 18px;
  }

  .social-buttons {
    gap: 12px;
    margin-bottom: 22px;
  }

  .contact-text {
    font-size: 13px;
  }

  .contact-email {
    font-size: 14px;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .container {
    max-width: 560px;
  }
}

@media (min-width: 1025px) {
  .container {
    max-width: 640px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .container {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .social-btn,
  .social-btn img,
  .contact {
    transition: none;
  }
}
