/* ============================================================
   FAIRPLAY24 — GLOBAL STYLES (Fully Responsive)
   ============================================================ */

/* ============ RESET ============ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
}

:root {
  --orange: #f47b20;
  --orange-dark: #e06d14;
  --green: #4caf2e;
  --green-dark: #429627;
  --green-accent: #5db82e;
  --yellow: #ffd400;
  --bg-dark: #1a1a1a;
  --bg-black: #000;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg-dark);
  overflow-x: hidden;
}

img {
  max-width: 100%;
}

a {
  text-decoration: none;
}

/* ============ NAVBAR ============ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-black);
  display: flex;
  align-items: center;
  padding: 14px clamp(16px, 4vw, 48px);
  gap: clamp(20px, 3vw, 40px);
}
.nav-logo-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.nav-logo {
  width: clamp(130px, 14vw, 175px);
  height: auto;
}

/* Wrapper that collapses on mobile */
.nav-menu {
  display: flex;
  align-items: center;
  flex: 1;
  gap: clamp(20px, 3vw, 40px);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.5vw, 38px);
  flex: 1;
}
.nav-links a {
  color: #fff;
  font-size: clamp(15px, 1.6vw, 17px);
  font-weight: 700;
  transition: color 0.2s ease;
}
.nav-links a.active { color: var(--green-accent); }
.nav-links a:hover { color: var(--green-accent); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.nav-btn {
  padding: 12px clamp(20px, 2.5vw, 30px);
  border-radius: 22px;
  font-size: clamp(15px, 1.6vw, 17px);
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  transition: background 0.2s ease;
}
.nav-btn.login { background: var(--orange); }
.nav-btn.login:hover { background: var(--orange-dark); }
.nav-btn.register { background: var(--green); }
.nav-btn.register:hover { background: var(--green-dark); }

/* Hamburger toggle (hidden on desktop) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 9px;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ============ LOGO (cards / footer) ============ */
.logo-img {
  display: block;
  width: 210px;
  max-width: 70%;
  height: auto;
  margin: 0 auto;
}
.logo-img.small {
  width: 170px;
  max-width: 60%;
  margin: 0 0 4px;
}
.logo-tag {
  text-align: center;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-top: 4px;
}

/* ============ LOGIN / FORM SECTION ============ */
.login-section {
  background: var(--bg-dark);
  padding: clamp(28px, 5vw, 40px) 16px clamp(40px, 6vw, 60px);
  display: flex;
  justify-content: center;
}

.login-card {
  width: 100%;
  max-width: 400px;
  background: var(--bg-black);
  border: 2px solid var(--orange);
  padding: clamp(22px, 5vw, 34px);
  text-align: center;
}

/* ----- Card heading (contact) ----- */
.card-heading {
  color: #fff;
  font-size: clamp(24px, 5vw, 30px);
  font-weight: 800;
  line-height: 1.25;
  text-align: left;
  margin-top: 26px;
}

/* ----- Form ----- */
.login-form {
  margin-top: 34px;
  text-align: left;
}

.field {
  margin-bottom: 28px;
}
.field label {
  display: block;
  color: var(--orange);
  font-size: 14px;
  margin-bottom: 6px;
}
.field input,
.field textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--orange);
  color: #fff;
  font-size: 16px; /* 16px avoids iOS zoom-on-focus */
  padding: 8px 0;
  outline: none;
}
.field input:focus,
.field textarea:focus {
  border-bottom-color: var(--green-accent);
}
.field textarea {
  resize: vertical;
  min-height: 80px;
  font-family: inherit;
}

/* Buttons */
.btn-login {
  display: block;
  width: 100%;
  background: var(--orange);
  color: #fff;
  border: none;
  padding: 14px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1px;
  text-align: center;
  cursor: pointer;
  margin-top: 6px;
  transition: background 0.2s ease;
}
.btn-login:hover { background: var(--orange-dark); }

.btn-support {
  display: block;
  width: 100%;
  background: #4a2c12;
  color: #9a8472;
  border: none;
  padding: 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .5px;
  text-align: center;
  cursor: pointer;
  margin-top: 18px;
}

.register-line {
  text-align: center;
  color: #fff;
  font-size: 14px;
  margin-top: 26px;
}
.register-line a {
  color: #fff;
  text-decoration: underline;
}
.forgot-line {
  text-align: center;
  margin-top: 8px;
}
.forgot-line a {
  color: var(--orange);
  font-size: 14px;
}

.btn-whatsapp {
  width: 100%;
  background: var(--orange);
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 14px;
  font-size: clamp(15px, 2vw, 17px);
  cursor: pointer;
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: background 0.2s ease;
}
.btn-whatsapp:hover { background: var(--orange-dark); }
.wa-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.recaptcha {
  text-align: center;
  color: #fff;
  font-size: 12.5px;
  line-height: 1.6;
  margin-top: 24px;
}
.recaptcha .g-link { color: var(--orange); }

/* ============ BLINKING ATTENTION ANIMATION ============ */
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.3; }
}
/* Blink all form inputs + the "CONTACT SUPPORT" button to grab attention */
.field input,
.field textarea,
.btn-support {
  animation: blink 2s linear infinite;
}
/* Stop blinking while the user is actually typing in a field */
.field input:focus,
.field textarea:focus {
  animation: none;
  opacity: 1;
}

/* ============ INTRO SECTION ============ */
.intro-section {
  background: #fff;
  padding: clamp(36px, 6vw, 60px) clamp(20px, 8%, 140px) clamp(44px, 7vw, 70px);
}
.intro-title {
  font-size: clamp(24px, 5vw, 44px);
  font-weight: 800;
  color: #111;
  line-height: 1.25;
  max-width: 1100px;
}
.intro-text {
  color: #4a6a82;
  font-size: clamp(15px, 1.8vw, 17px);
  line-height: 1.6;
  margin-top: clamp(20px, 3vw, 34px);
  max-width: 1250px;
}
.intro-buttons {
  display: flex;
  gap: clamp(20px, 8%, 110px);
  margin-top: clamp(30px, 4vw, 50px);
  flex-wrap: wrap;
}
.btn-yellow {
  background: var(--yellow);
  color: #111;
  font-size: clamp(16px, 2vw, 19px);
  font-weight: 700;
  padding: 20px clamp(20px, 3vw, 34px);
  border-radius: 4px;
  flex: 1;
  min-width: 260px;
  max-width: 460px;
  text-align: center;
  transition: background 0.2s ease;
}
.btn-yellow:hover { background: #f0c800; }

/* ============ CONTENT SECTION ============ */
.content-section {
  background: var(--bg-dark);
  padding: 30px clamp(18px, 5vw, 80px) 50px;
}

.content-title-box {
  border: 1px solid var(--orange);
  border-radius: 4px;
  padding: 16px clamp(16px, 2vw, 22px);
  margin: 30px 0 22px;
}
.content-title-box h2 {
  color: var(--orange);
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 800;
}

.content-body p {
  color: #f0f0f0;
  font-size: clamp(15px, 1.8vw, 17px);
  line-height: 1.7;
  margin-bottom: 20px;
}
.content-body b { color: #fff; font-weight: 700; }

.step-box {
  border: 1px solid var(--green);
  border-radius: 6px;
  padding: 20px clamp(18px, 2vw, 24px);
  margin-bottom: 22px;
}
.step-box h3 {
  color: var(--orange);
  font-size: clamp(18px, 2.6vw, 24px);
  font-weight: 800;
  margin-bottom: 12px;
}
.step-box p {
  color: #f0f0f0;
  font-size: clamp(15px, 1.8vw, 17px);
  line-height: 1.65;
  margin-bottom: 6px;
}

.content-body a {
  color: var(--orange);
  text-decoration: underline;
}
.content-body a:hover { color: var(--green-accent); }

/* ============ MYFAIRPLAY SIGNUP SECTION ============ */
.signup-section {
  background: var(--bg-dark);
  padding: 20px clamp(18px, 5vw, 80px) clamp(40px, 6vw, 60px);
}
.signup-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(22px, 3vw, 44px);
  align-items: start;
}
.signup-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}
.signup-content .content-title-box {
  margin-top: 0;
}
.signup-content .content-body p:last-child {
  margin-bottom: 0;
}

/* ============ FOOTER ============ */
.footer {
  background: var(--bg-dark);
  color: #fff;
  padding: clamp(36px, 5vw, 50px) clamp(18px, 5vw, 80px) 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: clamp(24px, 3vw, 30px);
  padding-bottom: 50px;
}
.footer-tag {
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  margin: 4px 0 22px;
}
.footer-desc {
  color: #e6e6e6;
  font-size: 15px;
  line-height: 1.6;
}

.footer-links {
  list-style: none;
}
.footer-links li {
  color: #f0f0f0;
  font-size: 15px;
  line-height: 1.85;
}

.footer-heading {
  font-size: clamp(18px, 2.4vw, 22px);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 24px;
}
.footer-contact {
  color: #f0f0f0;
  font-size: 15px;
  margin-bottom: 6px;
  word-break: break-word;
}
.footer-contact.wa-num { margin-top: 24px; line-height: 1.5; }
.insta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: var(--orange);
  border-radius: 4px;
  margin-top: 26px;
}

.footer-bottom {
  border-top: 1px solid #333;
  padding: 26px 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 15px;
  color: #ddd;
}

/* ============ FLOATING WHATSAPP ============ */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 28px;
  z-index: 900;
  background: #25D366;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  padding: 12px 18px;
  border-radius: 26px;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: calc(100vw - 44px);
  box-shadow: 0 4px 12px rgba(0,0,0,.35);
  transition: transform 0.2s ease;
}
.wa-float:hover { transform: translateY(-2px); }
.wa-float svg { flex-shrink: 0; }

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */

/* ---- Tablet & below: collapse nav into hamburger ---- */
@media (max-width: 860px) {
  .navbar {
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0;
    padding: 12px clamp(16px, 4vw, 24px);
  }
  .nav-toggle { display: flex; }

  .nav-menu {
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }
  .nav-menu.open { max-height: 420px; }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    flex: none;
    padding-top: 8px;
  }
  .nav-links a {
    padding: 14px 6px;
    border-bottom: 1px solid #222;
    font-size: 16px;
  }

  .nav-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 16px 0 10px;
  }
  .nav-btn {
    text-align: center;
    padding: 13px;
    border-radius: 6px;
    font-size: 16px;
  }

  /* Signup section stacks: image on top, content below */
  .signup-grid { grid-template-columns: 1fr; gap: 24px; }
  .signup-image {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
  }
}

/* ---- Tablet: footer to 2 columns ---- */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ---- Small tablet / large phone ---- */
@media (max-width: 600px) {
  .intro-buttons { flex-direction: column; gap: 16px; }
  .btn-yellow { max-width: 100%; min-width: 0; width: 100%; }

  .wa-float {
    right: 16px;
    bottom: 18px;
    padding: 12px;
    font-size: 0;          /* hide label, keep round icon button */
    gap: 0;
    border-radius: 50%;
    width: 52px;
    height: 52px;
    justify-content: center;
  }
  .wa-float svg { width: 26px; height: 26px; }
}

/* ---- Phones ---- */
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 6px; text-align: center; justify-content: center; }
}

/* ---- Small phones ---- */
@media (max-width: 380px) {
  .login-card { padding: 20px 16px; }
  .nav-logo { width: 120px; }
}
