/* gtaroads.com overrides, 2026-10-17: header Log in / Sign up, compact CTA buttons, scroll-to-top.
   Loaded after style.css; style.scss is left as it was. */

/* Header: Log in (outline) + Sign up (filled) instead of Buy traffic / Start earning */
.header__button__wrapper { display: flex; align-items: center; gap: 10px; }
.header__button.btn {
  padding: 11px 22px;
  font-size: 14px;
  line-height: 18px;
  border: 2px solid transparent;
  white-space: nowrap;
  transition: background .15s, color .15s, border-color .15s, box-shadow .15s;
}
.header__button.btn.login { background: transparent; color: rgb(26, 25, 31); border-color: rgb(26, 25, 31); }
.header__button.btn.login:hover { background: rgb(26, 25, 31); color: #fff; }
.header__button.btn.signup { background: rgb(104, 117, 255); color: #fff; box-shadow: 0 6px 16px rgba(104, 117, 255, .35); }
.header__button.btn.signup:hover { background: rgb(84, 97, 240); }

/* Big CTA pairs (Buy traffic / Start earning and the like): compact pills */
.main__button.btn, .join__button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 230px;
  padding: 20px 40px;
  font-size: 17px;
  line-height: 20px;
  border-radius: 100px;
  transition: transform .15s, box-shadow .15s, background .15s;
}
.main__button.btn:hover, .join__button.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(26, 25, 31, .18); }
.main__button.btn.earning:hover, .join__button.btn.earning:hover { box-shadow: 0 10px 22px rgba(104, 117, 255, .35); }
.main__button__wrapper { margin-top: 40px; }

@media (max-width: 1000px) {
  /* Mobile: keep the two account buttons in the bar beside the menu icon */
  .header__wrapper { gap: 10px; }
  .header__button__wrapper { display: flex; margin-left: auto; gap: 6px; }
  .header__button.btn { padding: 8px 14px; font-size: 13px; line-height: 16px; }
  .main__button.btn, .join__button.btn { width: 100%; max-width: 320px; min-width: 0; padding: 16px 24px; }
  .main__button__wrapper { align-items: center; margin-top: 32px; }
}
@media (max-width: 340px) {
  .header__button.btn.login { display: none; }
}

/* Footer contacts: four icons (WhatsApp added) must fit one row on phones */
@media (max-width: 600px) {
  .footer__social_block { gap: 8px; }
  .footer__social_link { display: flex; flex-direction: column; align-items: center; min-width: 0; }
  .footer__social_link__img { width: 52px; height: 52px; padding: 12px; margin-bottom: 10px; box-sizing: border-box; }
  .footer__social_link__text { font-size: 13px; }
}

/* Learn more (format cards), Book a meeting, contact form and popup buttons: the same compact pills */
.formats__list__item__button, .meet__link.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  font-size: 16px;
  line-height: 20px;
  transition: transform .15s, box-shadow .15s, background .15s;
}
.formats__list__item__button { width: auto; min-width: 180px; }
.formats__list__item__button:hover, .meet__link.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(104, 117, 255, .35); }
.meet__link.btn:hover { box-shadow: 0 10px 22px rgba(26, 25, 31, .18); }
.contact__button.btn, .popup__content__button.btn { padding: 18px 0; font-size: 16px; line-height: 20px; }

/* Let's meet: a white-on-dark event logo sits on a dark badge */
.meet__img.dark-badge { background: rgb(26, 25, 31); border-radius: 16px; padding: 14px 20px; height: 72px; width: auto; box-sizing: border-box; }

@media (max-width: 1000px) {
  .formats__list__item__button { padding: 14px 28px; font-size: 15px; }
  .meet__link.btn { padding: 15px 28px; font-size: 15px; }
  .contact__button.btn, .popup__content__button.btn { padding: 16px 0; font-size: 15px; }
  .meet__img.dark-badge { height: 60px; padding: 12px 16px; }
}

/* Mobile audit 2026-10-17: the only two things wider than a 375 px screen */
@media (max-width: 1000px) {
  .header_block__title { width: fit-content; max-width: min(100%, calc(100vw - 32px)); }   /* the yellow bar hugs the text; long titles on /rtb/ wrap instead of running off */
  .seo_section table, section table { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; } /* comparison table on /formats/native/ */
}

/* 2026-10-17: format tabs on phones fill the row evenly (fixed 160 px left a wide gap on the right) */
@media (max-width: 600px) {
  .formats__links { margin-right: 16px; }                 /* the formats section has no right padding on phones */
  .formats__links__item { width: calc(50% - 4px); }
}
