:root {
  --yellow: #F1F606;
  --bg-dark: #181818;
  --footer-bg: #1d1d1d;
  --text-muted: #c9c9c9;
  --font-head: "Bebas Neue", sans-serif;
  --font-body: "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html,
body {
  background: #000;
  color: #fff;
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  flex: 1;
  min-height: 100vh;
  background-image: url("assets/bg (1).webp");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.92) 0%,
    rgba(0, 0, 0, 0.7) 28%,
    rgba(0, 0, 0, 0.25) 50%,
    rgba(0, 0, 0, 0.1) 75%,
    rgba(0, 0, 0, 0.35) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 0 48px;
}

.hero__logo {
  height: auto;
  width: 507px;
  margin-bottom: 18px;
  display: block;
}

.hero__title {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 120px;
  line-height: 0.98;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hero__title--accent {
  color: var(--yellow);
}

.hero__subtitle {
  margin-top: 20px;
  font-size: 24px;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 560px;
}

/* ---------- FORM ---------- */
.form {
  margin-top: 30px;
  display: flex;
  gap: 0;
  max-width: 560px;
  border-radius: 10px;
  overflow: hidden;
}

.form__input {
  flex: 1;
  min-width: 0;
  border: none;
  border-radius: 0;
  padding: 18px 20px;
  font-size: 18px;
  font-family: inherit;
  background: #fff;
  color: #111;
  outline: none;
}

.form__input::placeholder {
  color: #9a9a9a;
}

.form__input.shake {
  animation: shake 0.4s ease;
  box-shadow: 0 0 0 2px #ef4444;
}

@keyframes shake {
  10%, 90% { transform: translateX(-2px); }
  20%, 80% { transform: translateX(4px); }
  30%, 50%, 70% { transform: translateX(-6px); }
  40%, 60% { transform: translateX(6px); }
}

.form__button {
  border: none;
  border-radius: 0;
  background: var(--yellow);
  color: #111;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  padding: 0 28px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.form__button:hover {
  filter: brightness(1.05);
  box-shadow: 0 8px 24px rgba(242, 229, 0, 0.3);
}

.form__button:active {
  transform: translateY(1px);
}

.form__arrow {
  font-size: 1.2rem;
  line-height: 1;
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--footer-bg);
  padding: 22px 48px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  min-height: 86px;
}

.footer__logo {
  height: auto;
  width: 118px;
  left: 48px;
  top: 50%;
}

.footer__text {
  font-size: 18px;
  color: var(--text-muted);
}

.footer__text strong {
  color: #fff;
  font-weight: 700;
}

/* ---------- MODAL ---------- */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 20px;
}

.modal.is-open {
  display: flex;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  animation: fade 0.25s ease;
}

.modal__card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 420px;
  background: #1f1f1f;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 40px 32px 32px;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  animation: pop 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

.modal__close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  color: #888;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.15s ease;
}

.modal__close:hover {
  color: #fff;
}

.modal__icon {
  width: 84px;
  height: 84px;
  margin: 0 auto 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.6rem;
}

.modal__icon svg {
  width: 44px;
  height: 44px;
}

.modal--trusted .modal__icon {
  background: rgba(34, 197, 94, 0.15);
}
.modal--trusted .modal__icon svg {
  stroke: #22c55e;
}
.modal--trusted .modal__title {
  color: #22c55e;
}

.modal--danger .modal__icon {
  background: rgba(239, 68, 68, 0.15);
}
.modal--danger .modal__icon svg {
  stroke: #ef4444;
}
.modal--danger .modal__title {
  color: #ef4444;
}

.modal__title {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 1.7rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.modal__message {
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.modal__number {
  margin-top: 16px;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #fff;
}

.modal__action {
  margin-top: 28px;
  width: 100%;
  border: none;
  border-radius: 8px;
  background: var(--yellow);
  color: #111;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  padding: 15px;
  cursor: pointer;
  transition: filter 0.15s ease;
}

.modal__action:hover {
  filter: brightness(1.05);
}

@keyframes fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes pop {
  from { opacity: 0; transform: scale(0.9) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

/* ---------- MOBILE ---------- */
@media (max-width: 768px) {
  .br-desk {
    display: none;
  }

  .hero {
    height: fit-content;
    min-height: 0;
    flex-direction: column;
    background-image: none;
    align-items: stretch;
    background-image: url("assets/bg_mobile (3).webp");
    background-size: cover;
    background-position: center center;
    padding-bottom: 400px;
  }

  .hero__content {
    padding: 40px 24px 32px;
    order: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

 

  .hero__overlay {
    display: none;
  }

  .hero__logo {
    height: auto;
    width: 314px;
  }

  .hero__title {
    font-size: 16vw;
  }

  .hero__subtitle {
    font-size: 0.9rem;
    max-width: none;
  }

  .form {
    flex-direction: column;
    max-width: none;
    gap: 12px;
    overflow: visible;
    border-radius: 0;
    width: 100%;
  }

  .form__input {
    border-radius: 8px;
  }

  .form__button {
    border-radius: 8px;
    padding: 15px 22px;
    justify-content: center;
  }

  .footer {
    flex-direction: column;
    gap: 14px;
    padding: 28px 24px;
    text-align: center;
  }

  .footer__logo {
    position: static;
    transform: none;
    height: 46px;
  }
}
