/* Footer Styles */
:root {
  --footer-bg: #000628;
  --footer-white: #FFFFFF;
  --footer-link-color: #BEC7D5;
  --footer-legal-color: #8293AB;
  --footer-divider-color: #64748B;
  --footer-btn-bg: #2C52F5;
  --footer-btn-hover: #1e3ed6;
}

.rand-footer {
  background-color: var(--footer-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 100px 60px;
  width: 100%;
  box-sizing: border-box;
}

.rand-footer__container {
  display: flex;
  flex-direction: column;
  gap: 50px;
  width: 100%;
  max-width: 1320px;
}

.rand-footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
}

.rand-footer__logo {
  width: 126px;
  height: 24px;
  object-fit: contain;
}

.rand-footer__nav {
  display: flex;
  gap: 24px;
}

.rand-footer__nav-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 125px;
}

.rand-footer__nav-title {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  color: var(--footer-white);
  margin: 0;
  text-transform: uppercase;
}

.rand-footer__nav-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rand-footer__nav-link {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  color: var(--footer-link-color);
  text-decoration: none;
  transition: color 0.2s ease;
}

.rand-footer__nav-link:hover {
  color: var(--footer-white);
}

.rand-footer__qr {
  width: 104px;
  height: 104px;
  border-radius: 12px;
  object-fit: cover;
}

.rand-footer__app-btn {
  display: none;
  align-items: center;
  justify-content: center;
  background-color: var(--footer-btn-bg);
  color: var(--footer-white);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 20px;
  height: 52px;
  padding: 8px 24px;
  border-radius: 999px;
  text-decoration: none;
  transition: background-color 0.2s ease;
  white-space: nowrap;
}

.rand-footer__app-btn:hover {
  background-color: var(--footer-btn-hover);
  color: var(--footer-white);
}

.rand-footer__legal {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: normal;
  color: var(--footer-legal-color);
  width: 100%;
  margin: 0;
}

.rand-footer__legal a {
  color: var(--footer-legal-color);
  text-decoration: underline;
}

.rand-footer__legal a:hover {
  color: var(--footer-link-color);
}

.rand-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.rand-footer__terms {
  display: flex;
  align-items: center;
  gap: 16px;
}

.rand-footer__terms-link {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 24px;
  color: var(--footer-legal-color);
  text-decoration: none;
  transition: color 0.2s ease;
}

.rand-footer__terms-link:hover {
  color: var(--footer-link-color);
}

.rand-footer__divider {
  width: 1px;
  height: 16px;
  background-color: var(--footer-divider-color);
}

.rand-footer__social {
  display: flex;
  align-items: center;
  gap: 24px;
}

.rand-footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
}

.rand-footer__social-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  transition: opacity 0.2s ease;
}

.rand-footer__social-link:hover .rand-footer__social-icon {
  opacity: 0.8;
}

/* Tablet */
@media screen and (max-width: 991px) {
  .rand-footer {
    padding: 80px 40px;
  }

  .rand-footer__container {
    gap: 40px;
  }

  .rand-footer__top {
    flex-direction: column;
    gap: 40px;
  }

  .rand-footer__nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 32px 24px;
  }

  .rand-footer__nav-column {
    flex: 1 1 calc(50% - 12px);
    min-width: 140px;
  }

  .rand-footer__bottom {
    flex-direction: column;
    gap: 32px;
    align-items: flex-start;
  }

  .rand-footer__terms {
    flex-wrap: wrap;
    gap: 12px 16px;
  }
}

/* Mobile */
@media screen and (max-width: 767px) {
  .rand-footer {
    padding: 60px 16px 120px;
  }

  .rand-footer__container {
    gap: 40px;
  }

  .rand-footer__top {
    flex-direction: column;
    gap: 40px;
  }

  .rand-footer__logo {
    margin-bottom: 0;
  }

  .rand-footer__nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    width: 100%;
    padding: 0 8px;
    box-sizing: border-box;
  }

  .rand-footer__nav-column {
    min-width: unset;
  }

  .rand-footer__qr {
    display: none;
  }

  .rand-footer__app-btn {
    display: inline-flex;
  }

  .rand-footer__bottom {
    flex-direction: column;
    gap: 50px;
    align-items: flex-start;
  }

  .rand-footer__terms {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .rand-footer__divider {
    display: none;
  }

  .rand-footer__social {
    gap: 24px;
  }
}

