/* ============================================================
   FIFASCORING.COM — contactus.css
   Contact Us page styles — matches main site theme exactly
   ============================================================ */

:root {
  --gold:        #FFD700;
  --gold-light:  #FFE55C;
  --gold-dark:   #C9A000;
  --red:         #CC0000;
  --navy:        #001D4A;
  --navy-mid:    #002966;
  --dark:        #050D1A;
  --darker:      #020810;
  --white:       #FFFFFF;
  --off-white:   #F0F4FF;
  --text-muted:  #8899BB;
  --card-bg:     rgba(0, 30, 80, 0.6);
  --card-border: rgba(255, 215, 0, 0.15);
  --glass:       rgba(0, 20, 60, 0.7);
  --success:     #44CC88;
  --error-red:   #FF5555;

  --page-padding:    clamp(5px, 4vw, 5%);
  --body-min-margin: 5px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--darker);
  color: var(--white);
  overflow-x: hidden;
  padding: 0 var(--body-min-margin);
  min-width: 320px;
}
img  { max-width: 100%; height: auto; display: block; }
a    { text-decoration: none; }
button { cursor: pointer; font-family: inherit; }

/* ============================================================
   PARTICLES
   ============================================================ */
#particles-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.3;
}

/* ============================================================
   NAVBAR  (identical to main site)
   ============================================================ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 var(--page-padding);
  background: rgba(2, 8, 16, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 215, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 12px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-logo-img {
  height: 40px !important;
  width: auto !important;
  display: inline-block !important;
  vertical-align: middle;
  filter: drop-shadow(0 0 4px rgba(255, 215, 0, 0.3));
  transition: filter 0.2s;
}

.nav-logo-img:hover { filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.6)); }

.nav-logo span {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1rem, 3vw, 1.4rem);
  letter-spacing: 2px;
  background: linear-gradient(135deg, var(--gold), var(--white), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  align-items: center;
}

.nav-links a {
  font-family: 'Oswald', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 1.2px;
  color: var(--off-white);
  text-decoration: none;
  padding: 7px 12px;
  border-radius: 4px;
  border: 1px solid transparent;
  transition: all 0.25s;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--gold);
  border-color: rgba(255, 215, 0, 0.5);
  background: rgba(255, 215, 0, 0.08);
}

.blog-nav-btn {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 229, 92, 0.08));
    border: 1px solid var(--gold);
    color: var(--gold) !important;
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
    animation: blog-glow-pulse 1.8s ease-in-out infinite;
    position: relative;
    overflow: hidden;
  }

  .blog-nav-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.3), transparent);
    transition: left 0.5s;
  }

  .blog-nav-btn:hover::before {
    left: 100%;
  }

  .blog-nav-btn:hover {
    background: rgba(255, 215, 0, 0.2);
    box-shadow: 0 0 16px rgba(255, 215, 0, 0.7);
    transform: scale(1.02);
  }

  @keyframes blog-glow-pulse {
    0% {
      box-shadow: 0 0 4px rgba(255, 215, 0, 0.4);
      border-color: rgba(255, 215, 0, 0.6);
    }
    50% {
      box-shadow: 0 0 14px rgba(255, 215, 0, 0.8);
      border-color: var(--gold);
    }
    100% {
      box-shadow: 0 0 4px rgba(255, 215, 0, 0.4);
      border-color: rgba(255, 215, 0, 0.6);
    }
  }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: transparent;
  flex-shrink: 0;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: all 0.3s;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   CONTACT HERO
   ============================================================ */
.contact-hero {
  position: relative;
  min-height: 52vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 120px clamp(10px, 4vw, 40px) 60px;
  z-index: 1;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%,  rgba(0, 50, 150, 0.55) 0%, transparent 70%),
    radial-gradient(ellipse 60% 80% at 20% 100%, rgba(204, 0, 0, 0.2) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 100%, rgba(0, 100, 200, 0.15) 0%, transparent 60%),
    linear-gradient(180deg, #020810 0%, #001230 40%, #020810 100%);
  z-index: 1;
}

.hero-pitch-lines {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image:
    repeating-linear-gradient(0deg,   transparent, transparent 59px, rgba(255,255,255,0.5) 60px),
    repeating-linear-gradient(90deg,  transparent, transparent 59px, rgba(255,255,255,0.5) 60px);
  z-index: 2;
}

.contact-hero-content {
  position: relative;
  z-index: 3;
  max-width: 700px;
  width: 100%;
  margin: 0 auto;
  animation: fadeUp 0.8s ease forwards;
}

.hero-eyebrow {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(0.6rem, 2vw, 0.75rem);
  letter-spacing: 4px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.contact-hero-title {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 6px;
  line-height: 0.9;
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
}

.title-line-1 {
  font-size: clamp(3rem, 10vw, 7rem);
  color: var(--white);
}

.title-line-2 {
  font-size: clamp(3rem, 10vw, 7rem);
  background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% auto;
  animation: shimmer 3s linear infinite;
}

@keyframes shimmer { to { background-position: 200% center; } }

.contact-hero-desc {
  font-size: clamp(0.88rem, 2.5vw, 1rem);
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 520px;
  margin: 0 auto 28px;
  padding: 0 10px;
}

.hero-hosts {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  opacity: 0.7;
}

.host-flag { font-size: 1.4rem; }
.host-sep  { color: var(--text-muted); font-size: 0.9rem; }
.host-name {
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  font-size: 0.8rem;
  letter-spacing: 2px;
  color: var(--off-white);
  text-transform: uppercase;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(25px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   CONTACT SECTION — 2-column grid
   ============================================================ */
.contact-section {
  position: relative;
  z-index: 5;
  padding: clamp(40px, 6vw, 70px) var(--page-padding) clamp(60px, 10vw, 100px);
  max-width: 1200px;
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 40px;
  align-items: start;
}

/* ============================================================
   INFO CARDS (left column)
   ============================================================ */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.info-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 20px 18px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: border-color 0.25s, transform 0.25s;
}

.info-card:hover {
  border-color: rgba(255, 215, 0, 0.4);
  transform: translateY(-3px);
}

.info-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(0, 60, 160, 0.3));
  border: 1px solid rgba(255, 215, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--gold);
  flex-shrink: 0;
}

.info-card-body { flex: 1; min-width: 0; }

.info-card-title {
  font-family: 'Oswald', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.info-card-text {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.info-card-text strong { color: var(--off-white); }

.info-card-link {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.78rem;
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.info-card-link:hover { color: var(--gold-light); }

/* ============================================================
   CONTACT FORM (right column)
   ============================================================ */
.contact-form-wrap {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: clamp(24px, 4vw, 48px);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

/* Gold top-accent line */
.contact-form-wrap::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--gold-light), var(--gold), transparent);
}

/* Form header */
.form-header {
  margin-bottom: 32px;
}

.form-eyebrow {
  font-family: 'Oswald', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 8px;
}

.form-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  letter-spacing: 3px;
  color: var(--white);
  line-height: 1;
  margin-bottom: 14px;
}

.form-line {
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
  border-radius: 2px;
}

/* Form groups */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-label {
  font-family: 'Oswald', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--off-white);
  display: flex;
  align-items: center;
  gap: 7px;
}

.form-label i { color: var(--gold); font-size: 0.78rem; }

.required { color: var(--error-red); margin-left: 2px; }

.form-input {
  width: 100%;
  background: rgba(0, 10, 40, 0.7);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 8px;
  padding: 13px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  color: var(--white);
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
  -webkit-appearance: none;
  appearance: none;
}

.form-input::placeholder { color: rgba(136, 153, 187, 0.6); }

.form-input:focus {
  border-color: rgba(255, 215, 0, 0.6);
  background: rgba(0, 20, 70, 0.8);
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.08);
}

.form-input.input-error {
  border-color: rgba(255, 80, 80, 0.7);
  box-shadow: 0 0 0 3px rgba(255, 80, 80, 0.08);
}

.form-textarea {
  resize: vertical;
  min-height: 140px;
  max-height: 400px;
  line-height: 1.65;
}

.char-count {
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  color: var(--text-muted);
  text-align: right;
  margin-top: 4px;
  transition: color 0.2s;
}

.field-error {
  font-size: 0.72rem;
  color: var(--error-red);
  font-family: 'Inter', sans-serif;
  min-height: 1em;
  display: block;
}

/* Send button */
.btn-send {
  width: 100%;
  padding: 15px 24px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
  border: none;
  border-radius: 10px;
  font-family: 'Oswald', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--dark);
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
  margin-top: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-send::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.08);
  opacity: 0;
  transition: opacity 0.2s;
}

.btn-send:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255, 215, 0, 0.3);
}

.btn-send:hover:not(:disabled)::after { opacity: 1; }

.btn-send:disabled { opacity: 0.6; cursor: not-allowed; }

.btn-text, .btn-loading {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.btn-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(5, 13, 26, 0.3);
  border-top-color: var(--dark);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: inline-block;
  flex-shrink: 0;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* Success state */
.form-success {
  text-align: center;
  padding: 40px 20px;
  animation: fadeUp 0.5s ease forwards;
}

.success-icon {
  font-size: 3.5rem;
  color: var(--success);
  margin-bottom: 16px;
  animation: pop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes pop {
  from { transform: scale(0.5); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}

.success-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.2rem;
  letter-spacing: 3px;
  color: var(--success);
  margin-bottom: 10px;
}

.success-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 340px;
  margin: 0 auto 24px;
}

.btn-send-another {
  background: transparent;
  border: 1px solid rgba(255, 215, 0, 0.4);
  border-radius: 6px;
  padding: 10px 22px;
  font-family: 'Oswald', sans-serif;
  font-size: 0.76rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  transition: all 0.2s;
}

.btn-send-another:hover {
  background: rgba(255, 215, 0, 0.08);
  border-color: var(--gold);
}

/* Error message bar */
.form-error-msg {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(255, 50, 50, 0.1);
  border: 1px solid rgba(255, 80, 80, 0.35);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 0.82rem;
  color: var(--error-red);
  font-family: 'Inter', sans-serif;
  line-height: 1.5;
  margin-bottom: 16px;
}

.form-error-msg i { flex-shrink: 0; margin-top: 2px; }

/* ============================================================
   FOOTER (identical to main site)
   ============================================================ */
footer {
  background: var(--darker);
  border-top: 1px solid rgba(255, 215, 0, 0.15);
  position: relative;
  z-index: 5;
  padding: clamp(36px, 6vw, 60px) var(--page-padding) 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-wrap: wrap;
}

.footer-col { display: flex; flex-direction: column; }

.footer-nav-col {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.footer-nav-title {
  font-family: 'Oswald', sans-serif;
  font-size: 0.63rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  text-align: center;
  width: 100%;
}

.footer-nav { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }

.footer-nav a {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: color 0.2s;
  display: block;
}

.footer-nav a:hover { color: var(--gold); }

.footer-brand-col { flex: 0 0 auto; align-items: flex-start; text-align: left; }

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.footer-logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(255, 215, 0, 0.3));
}

.footer-logo-text {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.3rem, 4vw, 1.7rem);
  letter-spacing: 3px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-sub {
  font-size: 0.74rem;
  color: var(--text-muted);
  letter-spacing: 1px;
  line-height: 1.9;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  color: rgba(136, 153, 187, 0.5);
  letter-spacing: 0.5px;
  text-align: center;
}

.footer-bottom-sep { opacity: 0.3; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .contact-info {
    /* On tablet: show cards in 2-col grid */
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  /* Hamburger nav */
  .nav-hamburger { display: flex; }

  .nav-links {
    display: none;
    position: fixed;
    top: 70px; left: 0; right: 0;
    background: rgba(2, 8, 16, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    flex-direction: column;
    padding: 14px var(--page-padding);
    gap: 4px;
    z-index: 999;
    overflow-y: auto;
    max-height: calc(100vh - 70px);
  }

  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 16px; border-radius: 6px; font-size: 0.9rem; }

  .contact-info {
    grid-template-columns: 1fr;
  }

  .footer-inner { flex-direction: column; align-items: flex-start; gap: 28px; }
  .footer-nav-col { align-items: flex-start; }
  .footer-bottom { flex-direction: column; gap: 4px; }
  .footer-bottom-sep { display: none; }
}

@media (max-width: 480px) {
  .contact-form-wrap { padding: 20px 16px; border-radius: 14px; }

  .contact-hero { min-height: 46vh; padding-top: 100px; }

  .contact-hero-title { gap: 8px; }

  .title-line-1, .title-line-2 { font-size: clamp(2.4rem, 14vw, 4rem); }

  .info-card { padding: 16px 14px; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Touch-friendly tap targets */
@media (hover: none) and (pointer: coarse) {
  .btn-send, .btn-send-another { min-height: 48px; }
  .form-input { font-size: 16px; /* Prevents iOS zoom */ }
}