/*
 * Ragnar Academy — Coming Soon Overlay v2
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800;900&display=swap');

/* ── Overlay wrapper ─────────────────────────────── */
#ra-cs {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  background: rgba(8, 8, 12, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 24px 16px;
  overflow-y: auto;
}

/* ── Hlavní kontejner ────────────────────────────── */
#ra-cs-modal {
  position: relative;
  width: 100%;
  max-width: 680px;
  text-align: center;
}

/* ── Badge ───────────────────────────────────────── */
#ra-cs-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(201, 168, 76, 0.10);
  border: 1px solid rgba(201, 168, 76, 0.30);
  border-radius: 999px;
  padding: 6px 18px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  color: #c9a84c;
  text-transform: uppercase;
  margin-bottom: 32px;
}

/* ── Hlavní nadpis ───────────────────────────────── */
#ra-cs-title {
  font-size: clamp(52px, 10vw, 88px);
  font-weight: 900;
  letter-spacing: -.03em;
  color: #ececf2;
  line-height: 1.0;
  margin: 0 0 20px;
  text-transform: uppercase;
}

#ra-cs-title span {
  color: #c9a84c;
}

/* ── Popis ───────────────────────────────────────── */
#ra-cs-sub {
  font-size: clamp(16px, 2.5vw, 20px);
  font-weight: 400;
  color: #9292a3;
  margin: 0 auto 10px;
  line-height: 1.55;
  max-width: 500px;
}

/* ── Instagram social proof ──────────────────────── */
#ra-cs-ig {
  margin: 0 0 20px;
}

#ra-cs-ig-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 999px;
  padding: 8px 18px 8px 14px;
  text-decoration: none;
  transition: border-color .2s ease, background .2s ease;
}

#ra-cs-ig-link:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

#ra-cs-ig-icon {
  width: 18px;
  height: 18px;
  color: #c9a84c;
  flex-shrink: 0;
}

#ra-cs-ig-handle {
  font-size: 14px;
  font-weight: 700;
  color: #ececf2;
}

#ra-cs-ig-count {
  font-size: 13px;
  font-weight: 500;
  color: #9292a3;
}

/* ── Datum ───────────────────────────────────────── */
#ra-cs-date {
  font-size: 13px;
  font-weight: 700;
  color: #c9a84c;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin: 0 0 48px;
}

/* ── CTA sekce ───────────────────────────────────── */
#ra-cs-cta {
  background: #111118;
  border: 1px solid rgba(201, 168, 76, 0.18);
  border-radius: 20px;
  padding: 36px 36px 28px;
  margin-bottom: 0;
}

#ra-cs-cta-label {
  font-size: 22px;
  font-weight: 800;
  color: #ececf2;
  margin: 0 0 6px;
  letter-spacing: -.01em;
}

#ra-cs-cta-sub {
  font-size: 14px;
  color: #9292a3;
  margin: 0 0 24px;
  line-height: 1.5;
}

/* ── Early bird ──────────────────────────────────── */
#ra-cs-early {
  background: rgba(201, 168, 76, 0.08);
  border: 1px solid rgba(201, 168, 76, 0.18);
  border-radius: 10px;
  padding: 11px 16px;
  font-size: 13px;
  color: #c9a84c;
  font-weight: 600;
  margin-bottom: 20px;
  line-height: 1.4;
}

/* ── Formulář ────────────────────────────────────── */
#ra-cs-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#ra-cs-input-row {
  display: flex;
  gap: 10px;
}

#ra-cs-email {
  flex: 1;
  background: #0a0a0f;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 16px 18px;
  font-size: 16px;
  color: #ececf2;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color .2s ease;
  min-width: 0;
}

#ra-cs-email::placeholder {
  color: #9292a3;
}

#ra-cs-email:focus {
  border-color: rgba(201, 168, 76, 0.5);
}

#ra-cs-submit {
  background: #c9a84c;
  color: #0a0a0f;
  border: none;
  border-radius: 12px;
  padding: 16px 28px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  white-space: nowrap;
  transition: background .2s ease, transform .15s ease;
  flex-shrink: 0;
}

#ra-cs-submit:hover {
  background: #d9b95c;
}

#ra-cs-submit:active {
  transform: scale(0.97);
}

#ra-cs-submit:disabled {
  opacity: .55;
  cursor: not-allowed;
}

/* ── Privacy + error ─────────────────────────────── */
#ra-cs-privacy {
  font-size: 12px;
  color: #9292a3;
  margin: 4px 0 0;
}

#ra-cs-privacy a {
  color: #9292a3;
  text-decoration: underline;
}

#ra-cs-error {
  display: none;
  font-size: 12px;
  color: #e07070;
  margin: 0;
}

/* ── Success stav ────────────────────────────────── */
#ra-cs-success {
  display: none;
  padding: 12px 0;
}

#ra-cs-success-icon {
  width: 60px;
  height: 60px;
  background: rgba(201, 168, 76, 0.12);
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: #c9a84c;
  margin: 0 auto 20px;
}

#ra-cs-success h3 {
  font-size: 24px;
  font-weight: 800;
  color: #ececf2;
  margin: 0 0 8px;
}

#ra-cs-success p {
  font-size: 15px;
  color: #9292a3;
  margin: 0;
  line-height: 1.55;
}

/* ── Ecomail widget wrapper ──────────────────────── */
#ra-cs-eco-wrap {
  margin-bottom: 14px;
}

/* Reset Ecomail kontejner */
#ra-cs-eco-wrap > div,
#f-1-43c2cd496486bcc27217c3e790fb4088 {
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  box-shadow: none !important;
  font-family: 'Inter', sans-serif !important;
}

/* Formulář uvnitř widgetu */
#ra-cs-eco-wrap form,
#f-1-43c2cd496486bcc27217c3e790fb4088 form {
  background: transparent !important;
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;
}

/* Email input */
#ra-cs-eco-wrap input[type="email"],
#ra-cs-eco-wrap input[type="text"],
#f-1-43c2cd496486bcc27217c3e790fb4088 input[type="email"],
#f-1-43c2cd496486bcc27217c3e790fb4088 input[type="text"] {
  background: #0a0a0f !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 12px !important;
  padding: 16px 18px !important;
  font-size: 16px !important;
  color: #ececf2 !important;
  font-family: 'Inter', sans-serif !important;
  outline: none !important;
  width: 100% !important;
  box-sizing: border-box !important;
  margin-bottom: 10px !important;
}

#ra-cs-eco-wrap input[type="email"]::placeholder,
#f-1-43c2cd496486bcc27217c3e790fb4088 input[type="email"]::placeholder {
  color: #9292a3 !important;
}

#ra-cs-eco-wrap input[type="email"]:focus,
#f-1-43c2cd496486bcc27217c3e790fb4088 input[type="email"]:focus {
  border-color: rgba(201, 168, 76, 0.5) !important;
}

/* Submit tlačítko */
#ra-cs-eco-wrap button[type="submit"],
#ra-cs-eco-wrap input[type="submit"],
#f-1-43c2cd496486bcc27217c3e790fb4088 button[type="submit"],
#f-1-43c2cd496486bcc27217c3e790fb4088 input[type="submit"] {
  background: #c9a84c !important;
  color: #0a0a0f !important;
  border: none !important;
  border-radius: 12px !important;
  padding: 16px 28px !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  letter-spacing: .05em !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  font-family: 'Inter', sans-serif !important;
  width: 100% !important;
  box-sizing: border-box !important;
  transition: background .2s ease !important;
  display: block !important;
}

#ra-cs-eco-wrap button[type="submit"]:hover,
#f-1-43c2cd496486bcc27217c3e790fb4088 button[type="submit"]:hover {
  background: #d9b95c !important;
}

/* Success / confirmation message */
#ra-cs-eco-wrap .ecm-success,
#ra-cs-eco-wrap [class*="success"],
#ra-cs-eco-wrap [class*="confirm"],
#f-1-43c2cd496486bcc27217c3e790fb4088 .ecm-success,
#f-1-43c2cd496486bcc27217c3e790fb4088 [class*="success"],
#f-1-43c2cd496486bcc27217c3e790fb4088 [class*="confirm"] {
  color: #c9a84c !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  text-align: center !important;
  padding: 20px 0 !important;
}

/* Schovat Ecomail branding / powered by */
#ra-cs-eco-wrap [class*="powered"],
#ra-cs-eco-wrap [class*="branding"],
#ra-cs-eco-wrap [class*="footer"],
#f-1-43c2cd496486bcc27217c3e790fb4088 [class*="powered"],
#f-1-43c2cd496486bcc27217c3e790fb4088 [class*="branding"] {
  display: none !important;
}

/* Ostatní texty uvnitř widgetu */
#ra-cs-eco-wrap p,
#ra-cs-eco-wrap label,
#f-1-43c2cd496486bcc27217c3e790fb4088 p,
#f-1-43c2cd496486bcc27217c3e790fb4088 label {
  color: #9292a3 !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 13px !important;
}

/* ── Mobilní responzivita ────────────────────────── */
@media (max-width: 520px) {
  #ra-cs-cta {
    padding: 28px 20px 22px;
  }

  #ra-cs-input-row {
    flex-direction: column;
  }

  #ra-cs-submit {
    width: 100%;
    padding: 16px;
    font-size: 15px;
  }

  #ra-cs-title {
    font-size: 52px;
  }
}
