@font-face {
  font-family: "Roboto Condensed";
  src: url("/assets/fonts/RobotoCondensed-ExtraLight.woff2") format("woff2");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto Condensed";
  src: url("/assets/fonts/RobotoCondensed-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto Condensed";
  src: url("/assets/fonts/RobotoCondensed-Regular.woff2") format("woff2"),
    url("/assets/fonts/RobotoCondensed-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto Condensed";
  src: url("/assets/fonts/RobotoCondensed-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

.goog-logo-link,
.goog-te-banner-frame,
#goog-gt-tt,
.goog-te-gadget img {
  display: none !important;
}
.goog-te-gadget {
  height: 0;
  overflow: hidden;
}

:root {
  --color-black: #0f0f0f;
  --color-white: #ffffff;
  --color-lime: #bfff00;
  --color-blue: #0066ff;
  --color-gray: #888888;
  --color-dark-gray: #1a1a1a;
  --logo-width: 190px;
  --container-padding: 24px;
  --container-max: 1200px;
  --header-line-color: rgba(135, 135, 135, 1);
  --header-height: 60px;
  --header-line-height: 2px;
  --ui-font: system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  --btn-border-radius: 20px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Roboto Condensed", var(--ui-font);
  font-style: normal;
  background-color: var(--color-black);
  color: var(--color-white);
  overflow-x: hidden;
  max-width: 100vw;
  height: auto;
  min-height: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Roboto Condensed", var(--ui-font);
  font-weight: 300;
}

a {
  text-decoration: none;
}

ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

footer {
  padding: 60px 0 32px;
  position: relative;
  hr {
    margin-bottom: 40px;
  }
}

/* colors */
.text-gray {
  color: var(--color-gray);
}

/* layout */
.page {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  height: auto !important;
  padding-top: var(--header-height);
  padding-top: 60px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-content > * {
  min-width: 0;
  overflow-wrap: anywhere;
}

.container,
.section-content {
  width: 100%;
  height: auto !important;
  overflow: visible !important;
}

/* header section */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--color-black);
  z-index: 1000;
}

.header-content {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  align-items: center;
  gap: 0;
  position: relative;
  padding: 16px 0;
}

.logo {
  grid-column: 1;
}

.mobile-menu-toggle {
  display: none;
  width: 32px;
  height: 24px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  background-color: var(--color-black);
  border: none;
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--color-white);
}

.nav-menu {
  grid-column: 3;
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: center;
  position: relative;
}

.nav-menu {
  a {
    color: var(--color-white);
    font-size: 16px;
    font-weight: 400;
    transition: color 0.3s;
  }
}

.nav-menu::before {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  right: -9999px;
  height: 2px;
  background: var(--header-line-color);
  transform: translateY(16px);
}

.nav-menu a:hover {
  color: var(--color-lime);
}

.lang-switcher {
  display: flex;
  gap: 4px;
  border-radius: var(--btn-border-radius);
  padding: 3px 2px 2px;
  border: 1px solid var(--color-white);
  transform: translateY(1px);

  button {
    border: none;
    background: transparent;
    color: var(--color-white);
    font-size: 14px;
    padding: 6px 12px;
    border-radius: var(--btn-border-radius);
    cursor: pointer;
    transition: background-color 0.3s;
  }
}

.lang-btn.active {
  background-color: var(--color-white);
  color: var(--color-black);
}

.header-actions {
  grid-column: 5;
  display: flex;
  gap: 16px;
  justify-self: end;
  align-items: center;
}

/* footer section */
.footer {
  color: var(--color-gray);
  padding: 40px 0 32px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.footer-left,
.footer-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-right {
  width: 100%;
  align-items: flex-end;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.payment-security-wrapper {
  display: flex;
  gap: 16px;
  align-items: center;
}

.bit-encryption {
  display: flex;
  align-items: center;
  gap: 8px;
  text-wrap: nowrap;
}

.visa {
  height: 24px;
}

.footer-logo,
.payment-security-wrapper {
  height: 38px;
}

.footer hr {
  margin: 20px 0;
}

.footer-nav,
.footer-legal {
  display: flex;
  gap: 24px;
  justify-content: end;
}

.quick-links {
  width: inherit;
}
.footer-nav a,
.footer-legal a {
  color: var(--color-gray);
  font-size: 14px;
  transition: color 0.3s;
}

.quick-links hr {
  border: 0;
  height: 1px;
  background-color: var(--color-gray);
}

.footer-nav a:hover,
.footer-legal a:hover {
  color: var(--color-lime);
}

.copyright-bar {
  text-align: center;
  padding-top: 16px;
  border-top: 1px solid var(--color-gray);
  font-size: 14px;
}

.scroll-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 56px;
  height: 56px;
  background-color: var(--color-lime);
  color: var(--color-black);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  z-index: 999;
}

.scroll-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(191, 255, 0, 0.4);
}

/* modal */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(194, 194, 194, 0.1);
  backdrop-filter: blur(5px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.modal.active {
  display: flex;
}

.modal-content {
  background-color: var(--color-black);
  font-weight: 300;
  padding: 48px;
  max-width: 650px;
  width: 90%;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 0;
  right: 0;
  background-color: var(--color-white);
  color: var(--color-black);
  border: none;
  width: 32px;
  height: 32px;
  /* border-radius: 4px; */
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.modal-close:hover {
  background-color: var(--color-lime);
}

.modal-content h2 {
  font-size: 38px;
  margin-bottom: 32px;
  text-align: center;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form input {
  padding: 16px;
  background-color: var(--color-black);
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--color-white);
  font-size: 16px;
  transition: border-color 0.3s;
}

.form input:focus {
  outline: none;
  border-bottom-color: var(--color-lime);
}

.form input::placeholder {
  color: var(--color-gray);
}

.form .btn-cta {
  width: fit-content;
  justify-content: center;
  margin: 8px auto 0;
}

.link {
  color: var(--color-white);
  text-decoration: none;
  text-align: center;
  font-size: 14px;
  transition: color 0.3s;
}

.link:hover {
  color: var(--color-gray);
}

.link.lime {
  color: var(--color-lime);
}

.link.lime:hover {
  color: var(--color-white);
}

.remember-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: -8px 0 8px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
}

.checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.forgot-link {
  color: var(--color-white);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.forgot-link:hover {
  color: var(--color-lime);
}

.signup-section {
  padding: 80px 0;
}

.signup-prompt {
  text-align: center;
  font-size: 14px;
  margin-top: 8px;
}

input:-internal-autofill-selected {
  background-color: transparent !important;
  color: var(--color-white) !important;
}

.welcome-modal .welcome-content {
  text-align: center;
  max-width: 600px;
}

.welcome-modal .welcome-content h2 {
  font-size: 42px;
  margin-bottom: 24px;
}

.welcome-modal .welcome-content p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.9);
}

.welcome-modal .welcome-content .btn-cta {
  width: fit-content;
  margin: 20px auto 0;
}

.page-hero {
  padding: 60px 0;
  text-align: center;
  background-image: url(https://images.pexels.com/photos/5428836/pexels-photo-5428836.jpeg?auto=compress&cs=tinysrgb&w=1200);
  background-size: cover;
  background-position: center;
  position: relative;

  h1 {
    font-size: 48px;
    color: var(--color-white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  }
}

/* buttons */
.auth-buttons {
  display: flex;
  gap: 6px;
  button {
    background-color: transparent;
    border: 1px solid var(--color-white);
    padding: 8px 16px;
    font-size: 15px;
    color: var(--color-white);
    border-radius: var(--btn-border-radius);
    cursor: pointer;
  }

  a {
    display: inline-flex;
    align-items: center;
    line-height: 1;
    color: var(--color-black);
    font-size: 15px;
    border: 1px solid var(--color-white);
    background-color: var(--color-white);
    padding: 8px 16px;
    border-radius: var(--btn-border-radius);
  }
}

.btn-text {
  color: var(--color-white) !important;
  border: 0 !important;
  background-color: var(--color-black) !important;
  cursor: pointer;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  background-color: var(--color-white);
  color: var(--color-dark-gray);
  border: none;
  border-radius: var(--btn-border-radius);
  font-size: 16px;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  height: 38px;
}

.btn-cta > span:first-child {
  flex: 1;
  padding-left: 14px;
}

.btn-cta .btn-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-black);
  border: 2px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
  margin-right: 2px;
}

.btn-cta .btn-icon svg {
  width: 20px;
  height: 20px;
  color: var(--color-white);
}

.btn-cta:hover {
  background-color: var(--color-lime);
  transform: translateY(-2px);
}

.abs-wrap {
  position: relative;
  min-height: 1px;
}

.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

/* .debug-overflow {
  outline: 2px dashed rgba(255, 0, 0, 0.2);
} */

.mobile-nav-menu {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  background-color: var(--color-black);
  border-top: 1px solid var(--header-line-color);
  padding: 24px 0;
  display: none;
  flex-direction: column;
  gap: 18px;
  text-align: center;
  z-index: 999;
  animation: slideDownMenu 0.25s ease-out;
}

@keyframes slideDownMenu {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-nav-menu a {
  color: var(--color-white);
  font-size: 18px;
  font-weight: 300;
  padding: 8px 0;
  transition: color 0.3s;
}

.mobile-nav-menu a:hover {
  color: var(--color-lime);
}

.mobile-nav-menu hr {
  width: 70%;
  margin: 10px auto 0;
  border: none;
  height: 1px;
  background-color: var(--color-gray);
}

.mobile-auth {
  color: var(--color-lime);
  font-size: 18px;
  font-weight: 400;
}

.mobile-auth-btn {
  margin: 0 auto;
  padding: 10px 18px;
  font-size: 16px;
  border-radius: var(--btn-border-radius);
  background-color: transparent;
  border: 1px solid var(--color-white);
  color: var(--color-white);
  cursor: pointer;
  transition: all 0.3s;
}

.mobile-auth-btn:hover {
  background-color: var(--color-lime);
  color: var(--color-black);
}

.mobile-nav-open {
  display: flex !important;
}

/* ===== Desktop (1200px) ===== */
@media (max-width: 1200px) {
  .header .nav-menu a {
    font-size: 16px;
  }
}

/* ===== Laptop / Small Desktop (992px–1199px) ===== */
@media (max-width: 1199px) and (min-width: 992px) {
  .logo img {
    width: 160px;
  }

  .nav-menu {
    gap: 0;
  }

  .nav-menu a {
    margin: 0 12px;
  }

  .header-actions {
    gap: 16px;
  }
}

/* ===== Mobile to Tablet (0px–991px) ===== */
@media (max-width: 991px) {
  :root {
    --mobile-container-padding: 16px;
    --mobile-logo-width: 135px;
    --mobile-left-bleed: 8px;
  }

  .header-underline {
    display: block;
    left: 0;
    right: 0;
    bottom: 0;
    height: var(--header-line-height);
    background: var(--header-line-color);
    position: absolute;
    z-index: 10;
  }

  .header-underline::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: calc(
      var(--mobile-container-padding) + var(--mobile-logo-width) +
        var(--mobile-left-bleed)
    );
    background: var(--color-black); /* same as header background */
    z-index: 11; /* above the underline */
    pointer-events: none;
  }

  .nav-menu,
  .auth-buttons {
    display: none !important;
  }

  .lang-switcher {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 50;
    pointer-events: auto;
  }

  .mobile-menu-toggle {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
  }

  .logo {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
  }

  .header-content {
    height: var(--header-height);
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
  }

  .footer-right,
  .payment-security-wrapper {
    flex-direction: column-reverse;
    align-items: center;
    flex: 1;
  }

  .footer-nav,
  .footer-legal {
    justify-content: center;
    display: inline-flex;
    flex-wrap: wrap;
    width: 70%;
  }

  .quick-links {
    padding-bottom: 20px;
    border-bottom: 1px solid var(--color-gray);

    a {
      color: var(--color-gray);
    }

    hr {
      color: var(--color-gray);
      background-color: var(--color-gray);
      border: 0;
      height: 1px;
    }
  }

  .btn-cta .register {
    width: 100%;
  }
}

/* ===== Tablet (768px–991px) ===== */
@media (max-width: 991px) and (min-width: 768px) {
  :root {
    --mobile-container-padding: 16px;
    --mobile-logo-width: 150px;
    --mobile-left-bleed: 6px;
  }

  .nav-menu {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .auth-buttons {
    display: none;
  }

  .logo img {
    width: 150px;
  }

  .header-underline {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: var(--header-line-height);
    background: var(--header-line-color);
    z-index: 10;
  }

  .nav-menu::before {
    display: none;
  }

  .header-underline::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: calc(
      var(--mobile-container-padding) + var(--mobile-logo-width) +
        var(--mobile-left-bleed)
    );
    background: var(--color-black);
    z-index: 11;
  }
}

/* ===== Mobile (≤767px) ===== */
@media (max-width: 767px) {
  .header-content {
    padding: 10px 0;
  }

  .logo img {
    width: 135px;
  }

  .nav-menu {
    display: none;
  }

  .auth-buttons {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .container {
    padding: 0 16px;
  }

  h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 24px;
  }

  p {
    font-size: 15px;
    line-height: 1.6;
  }
}
