/* ===========================================
   HAVFUN — contact.css
   High-Fidelity Contact & Subscription Page
   No Loader, No Extra Hero, Sticky Nav Pill
   =========================================== */

/* ── CONFIG ─────────────────────────────── */
:root {
  --neon-purple: #7b2fff;
  --neon-cyan: #00f0ff;
  --neon-pink: #ff00ff;
  --bg-deep: #05070d;
}

/* ── RESET & BODY ────────────────────────── */
.contact-page-body {
  background: var(--bg-deep);
  color: var(--text-primary);
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  font-family: var(--font-display);
}

/* ── ATMOSPHERE & GRID ───────────────────── */
.vibe-atmosphere {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  z-index: 0;
  background: var(--bg-deep);
}

.vibe-glow {
  position: absolute;
  width: 70vw; height: 70vw;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.25;
  mix-blend-mode: screen;
}

.vibe-glow-blue { background: radial-gradient(circle, var(--neon-cyan) 0%, transparent 70%); top: -10%; left: -10%; }
.vibe-glow-purple { background: radial-gradient(circle, var(--neon-purple) 0%, transparent 70%); bottom: -15%; right: -15%; }
.vibe-glow-pink { background: radial-gradient(circle, var(--neon-pink) 0%, transparent 70%); top: 50%; left: 50%; transform: translate(-50%, -50%); }

.dot-grid-canvas {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.35;
}

/* ── CONTENT ─────────────────────────────── */
.contact-main {
  position: relative;
  z-index: 10;
  padding-top: 160px; /* Space for fixed nav */
  padding-bottom: 100px;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
}

/* Form Section */
.welcome-text-gaming {
  font-family: 'Rubik Mono One', sans-serif;
  font-size: clamp(3rem, 6vw, 6rem);
  text-transform: uppercase;
  line-height: 1.1;
  color: #fff;
  text-shadow: 2px 2px 0px #8b0000, 4px 4px 0px #4b0082;
  margin-bottom: 40px;
}

.vibe-form { display: flex; flex-direction: column; gap: 30px; max-width: 500px; }
.form-group { display: flex; flex-direction: column; gap: 10px; }
.form-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; color: var(--text-secondary); }
.vibe-input { 
    background: rgba(255,255,255,0.05); 
    border: 1px solid rgba(255,255,255,0.1); 
    padding: 16px 20px; 
    border-radius: 12px; 
    color: #fff; 
}
.vibe-textarea { min-height: 120px; resize: vertical; }

.btn-neon-3d {
  position: relative;
  width: 100%;
  max-width: 500px;
  padding: 24px 50px;
  background: linear-gradient(135deg, var(--neon-purple) 0%, #4b0082 100%);
  color: #fff;
  border-radius: 16px;
  font-family: 'Rubik Mono One', sans-serif;
  font-size: 1.3rem;
  box-shadow: 0 12px 0 #3b0066, 0 20px 40px rgba(123, 47, 255, 0.5);
  transition: all 0.2s;
  cursor: pointer;
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  opacity: 1 !important;
  visibility: visible !important;
}
.btn-neon-3d:hover { transform: translateY(-4px); box-shadow: 0 16px 0 #3b0066, 0 25px 45px rgba(123, 47, 255, 0.7); }
.btn-neon-3d:active { transform: translateY(12px); box-shadow: 0 0px 0 #3b0066; }

/* Sidebar */
.socials-sidebar { background: rgba(255,255,255,0.03); border-radius: 32px; padding: 40px; backdrop-filter: blur(20px); }
.contact-logo-wrap { background: rgba(0,0,0,0.2); border-radius: 20px; padding: 20px; margin-bottom: 40px; }
.social-grid { display: flex; flex-direction: column; gap: 16px; }
.social-link { display: flex; align-items: center; gap: 16px; padding: 12px; background: rgba(255,255,255,0.05); border-radius: 12px; transition: 0.3s; }
.social-link:hover { transform: translateX(8px); background: rgba(255,255,255,0.1); }
.social-img { width: 32px; height: 32px; }

/* ── SUCCESS POPUP ───────────────────────── */
.success-popup-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.95);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.success-popup-overlay.is-active { opacity: 1; pointer-events: all; }
.success-content { text-align: center; padding: 60px; max-width: 600px; width: 90%; border: 1px solid var(--neon-purple); box-shadow: 0 0 50px rgba(123,47,255,0.3); }
.btn-close-popup { background: transparent; border: 2px solid #fff; color: #fff; padding: 12px 32px; border-radius: 100px; font-family: 'Rubik Mono One', sans-serif; font-size: 0.9rem; cursor: pointer; transition: 0.3s; }
.btn-close-popup:hover { background: #fff; color: #000; }

/* Tablet */
@media (max-width: 900px) {
  .contact-container { grid-template-columns: 1fr; gap: 40px; }
  .contact-main { padding-top: 100px; }
}

/* Mobile */
@media (max-width: 767px) {
  /* Layout */
  .contact-main       { padding-top: 130px; padding-bottom: 60px; }
  .contact-container  { padding: 0 20px; gap: 32px; }

  /* Heading — centred */
  .vibe-heading-wrap    { text-align: center; width: 100%; }
  .welcome-text-gaming  { font-size: clamp(2.4rem, 14vw, 4rem); text-align: center; }

  /* Form inputs — comfortable for thumbs */
  .vibe-input  { padding: 14px 16px; font-size: 1rem; }
  .vibe-form   { gap: 20px; }

  /* Submit button — full width, easy tap target */
  .btn-neon-3d { padding: 20px 32px; font-size: 1.1rem; margin-top: 28px; margin-bottom: 20px; }

  /* Sidebar — compact */
  .socials-sidebar    { padding: 24px; border-radius: 20px; }
  .contact-logo-wrap  { padding: 14px; margin-bottom: 24px; border-radius: 14px; }
  .contact-logo-img   { max-height: 48px; width: auto; }
  .social-grid        { gap: 10px; }
  .social-link        { padding: 10px 14px; border-radius: 10px; gap: 12px; }
  .social-img         { width: 26px; height: 26px; }

  /* Touch feedback (replaces hover) */
  .social-link:active { transform: scale(0.97); background: rgba(255,255,255,0.12); }
  .btn-neon-3d:active { transform: translateY(10px); box-shadow: 0 2px 0 #3b0066; }

  /* Atmosphere — lighter blur for mobile GPU */
  .vibe-glow { filter: blur(70px) !important; width: 90vw !important; height: 90vw !important; }
}
