:root {
  --color-primary: #1a64fc;
  --color-background: #10161e;
  --color-header-background: rgba(16, 22, 30, 0.8);
  --color-text: #d0d0d0;
  --color-text-light: #e0e0e0;
  --color-text-bright: #fff;
  --color-footer-bg: #0c1219;
  --color-border: #334661;
  --border-radius: 8px;
  --container-width: 1100px;
  --font-family-main: 'Montserrat', sans-serif;
}

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

html {
  width: 100%;
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-background);
  color: var(--color-text);
  font-family: var(--font-family-main);
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
  min-width: 320px;
  padding: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

ul {
  list-style: none;
}

/* Layout */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  width: 100%;
}

.main {
  flex: 1;
}

/* Header */
.header {
  width: 100%;
  background-color: var(--color-header-background);
  position: relative;
}

.header__menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
}

.header__logo {
  height: 24px;
}

.header__banner {
  width: 100%;
}

.header__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
  background-color: #161f2c;
  border-radius: var(--border-radius);
  padding: 60px 77px;
}

.header__info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.header__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-text-bright);
}

.header__description {
  color: var(--color-text-light);
  font-size: 14px;
  text-align: left;
  margin: 10px 0;
}

.header__buttons {
  display: flex;
  gap: 15px;
  margin: 10px 0;
  width: 100%;
}

.header__media img {
  border-radius: var(--border-radius);
  max-width: 100%;
}

/* Buttons */
.button {
  border-radius: var(--border-radius);
  padding: 10px 20px;
  font-family: var(--font-family-main);
  font-weight: 500;
  cursor: pointer;
  text-align: center;
  transition: all 0.3s ease;
}

.button--login {
  color: var(--color-text-bright);
  border: 1px solid var(--color-border);
  background-color: transparent;
}

.button--login:hover {
  background-color: #1c2635;
}

.button--register {
  color: var(--color-text-bright);
  background-color: var(--color-primary);
  position: relative;
  overflow: hidden;
}

.button--register::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.5), transparent);
  transition: left 0.5s ease;
}

.button--register:hover::before {
  left: 100%;
}

/* Content */
.content {
  padding: 10px 0 30px;
}

.content__title {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-text-bright);
  text-align: center;
    margin-bottom: 10px;
}

.content__table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
}

.content__table tr:nth-child(odd) {
  background-color: rgba(255, 255, 255, 0.05);
}

.content__table td {
  padding: 10px 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.content__table td:first-child {
  font-weight: 500;
  width: 30%;
}

.content__text {
  margin-bottom: 20px;
  line-height: 1.6;
}

/* Footer */
.footer {
  background-color: var(--color-footer-bg);
  margin-top: 20px;
  padding-top: 30px;
}

.footer__menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: 30px;
}

.footer__column {
  flex: 1;
  min-width: 200px;
}

.footer__column-title {
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--color-text-bright);
    font-size: 16px;
}

.footer__link {
  display: block;
  color: var(--color-text);
  font-size: 14px;
  margin-bottom: 10px;
  transition: color 0.3s ease;
  cursor: pointer;
}

.footer__link:hover {
  color: var(--color-text-bright);
}

.footer__payments {
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer__payments-title {
  font-weight: bold;
  text-align: center;
  font-size: 21px;
  margin-bottom: 30px;
}

.footer__payments-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

.footer__payment-icon {
  height: 40px;
  filter: grayscale(20%);
  transition: filter 0.3s ease;
}

.footer__payment-icon:hover {
  filter: grayscale(0%);
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__counter {
  margin-bottom: 15px;
}

.footer__copyright {
  display: flex;
  justify-content: space-between;
  width: 100%;
  color: var(--color-text);
  font-size: 14px;
}

/* Breadcrumbs */
.breadcrumbs {
  margin-top: 20px;
}

.breadcrumbs__list {
  display: flex;
  align-items: center;
}

.breadcrumbs__item {
  font-size: 14px;
  color: var(--color-text);
}

/* Responsive design */
@media (max-width: 768px) {
  .container {
    margin: 0 10px;
  }
  .header__content {
    grid-template-columns: 1fr;
    padding: 30px;
  }

  .footer__menu {
    flex-direction: column;
    gap: 20px;
  }

  .footer__column {
    width: 100%;
    text-align: center;
  }

  .footer__copyright {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .header__buttons {
    flex-direction: column;
  }

  .content__table td {
    padding: 8px;
  }

  .content__title {
    font-size: 24px;
  }
}
