
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Inter', sans-serif;
  background-color: #000;
  color: #fff;
}
nav {
  display: flex;
  justify-content: space-between;
  padding: 20px;
  background-color: #111;
  align-items: center;
}
.logo {
  font-size: 24px;
  font-weight: bold;
  color: #f4c542;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}
.nav-links a {
  text-decoration: none;
  color: #f4c542;
  font-weight: bold;
}
.wrapper {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 10px;
}
.hero {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 40px;
  padding: 40px 0;
}
.hero-text {
  flex: 1;
}
.hero-text h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 36px;
  color: #f4c542;
}
.hero-text p {
  font-size: 16px;
  margin: 10px 0 30px;
}
.exchange-box {
  min-width: 300px;

  background-color: #111;
  border: 1px solid #333;
  padding: 20px;
  border-radius: 6px;
}
.input-group {
  display: flex;
  align-items: center;
  background: #222;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 5px;
}
.input-group i {
  margin-right: 10px;
  color: #f4c542;
}
.input-group input {
  background: transparent;
  border: none;
  outline: none;
  color: white;
  font-size: 16px;
  width: 100%;
}
.arrow {
  font-size: 24px;
  text-align: center;
  display: block;
  margin: 10px 0;
}
button {
  width: 100%;
  background-color: #f4c542;
  color: black;
  padding: 10px;
  border: none;
  font-weight: bold;
  font-size: 16px;
  border-radius: 5px;
  cursor: pointer;
}
.hero-image {
  display: flex;
  align-items: flex-end;
}
.hero-image img {
  width: 360px;
  height: auto;
}
.features {
  display: flex;
  justify-content: space-between;
  text-align: center;
  padding: 30px 0;
  gap: 10px;
}
.features div {
  flex: 1;
}
.features i {
  font-size: 30px;
  margin-bottom: 10px;
  color: #f4c542;
}
.features h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-family: 'Space Grotesk', sans-serif;
  margin-bottom: 5px;
}
footer {
  text-align: center;
  padding: 20px;
  background-color: #000;
  color: #888;
}
@media (max-width: 600px) {
  .hero {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }
  .hero-image img {
    width: 280px;
  }
}


.input-group select {
  background-color: #222;
  border: none;
  padding: 10px;
  color: white;
  width: 100%;
  font-size: 16px;
  border-radius: 5px;
  appearance: none;
}

select option {
  background-color: #222;
  color: #fff;
  padding-left: 30px;
  background-repeat: no-repeat;
  background-size: 20px;
  background-position: 8px center;
}
select option[value="usdt"] {
  background-image: url('https://cryptologos.cc/logos/tether-usdt-logo.png');
}
select option[value="payoneer"] {
  background-image: url('https://seeklogo.com/images/P/payoneer-logo-7B26F08FDF-seeklogo.com.png');
}
select option[value="bank"] {
  background-image: url('https://cdn-icons-png.flaticon.com/512/3135/3135706.png');
}
select option[value="cash"] {
  background-image: url('https://cdn-icons-png.flaticon.com/512/3144/3144456.png');
}


.exchange-box {
  min-width: 300px;

  border: 1px solid #444;
  padding: 20px;
  border-radius: 8px;
  background-color: #111;
  width: 100%;
}

.exchange-row {
  margin-bottom: 20px;
}

.input-icon-box {
  display: flex;
  align-items: center;
  background-color: #222;
  padding: 10px 14px;
  border-radius: 8px;
  gap: 12px;
}

.input-icon-box img {
  width: 26px;
  height: 26px;
}

.input-icon-box input {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  width: 100%;
  outline: none;
}

.arrow-center {
  text-align: center;
  color: #f4c542;
  font-size: 24px;
  margin-bottom: 20px;
}


.exchange-box {
  min-width: 300px;

  border: 1px solid #333;
  background-color: #0a0a0a;
  padding: 24px;
  border-radius: 14px;
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
}

.exchange-row {
  margin-bottom: 24px;
}

.exchange-row label {
  font-size: 13px;
  color: #cccccc;
  margin-bottom: 6px;
  display: block;
  font-weight: 400;
}

.input-icon-box {
  display: flex;
  align-items: center;
  background-color: #1a1a1a;
  padding: 12px 16px;
  border-radius: 6px;
  gap: 12px;
  border: 1px solid #333;
}

.input-icon-box img {
  width: 28px;
  height: 28px;
}

.input-icon-box input {
  background: transparent;
  border: none;
  color: #f5f5f5;
  font-size: 22px;
  font-weight: 500;
  width: 100%;
  outline: none;
  text-align: right;
  padding: 0;
}

.arrow-center {
  text-align: center;
  color: #f4c542;
  font-size: 22px;
  margin: 10px 0 20px;
}

button {
  width: 100%;
  background-color: #f4c542;
  color: #000;
  padding: 14px;
  border: none;
  font-weight: bold;
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 10px;
}


.exchange-box {
  min-width: 300px;

  background-color: #141414;
  border: 1px solid #2c2c2c;
  padding: 22px;
  border-radius: 8px;
  max-width: 360px;
}

.exchange-row label {
  font-size: 14px;
  color: #999999;
  font-weight: 400;
  letter-spacing: 0.3px;
}

.input-icon-box {
  background-color: #1a1a1a;
  padding: 10px 14px;
  border-radius: 6px;
  border: 1px solid #2c2c2c;
  height: 56px;
}

.input-icon-box img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.input-icon-box input {
  font-size: 20px;
  font-weight: 400;
  color: #f2f2f2;
  text-align: right;
}

.arrow-center {
  font-size: 20px;
  color: #f4c542;
  margin: 12px 0 20px;
}

button {
  background-color: #f4c542;
  color: #000;
  font-size: 15px;
  padding: 12px;
  border-radius: 6px;
  font-weight: 600;
}


.features {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 40px 0 20px;
  flex-wrap: wrap;
}

.feature {
  flex: 1;
  min-width: 100px;
  text-align: center;
  color: #fff;
}

.feature img {
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
  filter: brightness(1.2);
}

.feature h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  color: #f4c542;
  margin-bottom: 6px;
}

.feature p {
  font-size: 13px;
  color: #aaa;
}


.features {
  max-width: 800px;
  margin: 40px auto;
}


.custom-dropdown {
  position: relative;
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 6px;
  padding: 10px 12px;
  cursor: pointer;
}

.selected-option {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  color: #fff;
}

.selected-option img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
}

.options {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #111;
  border: 1px solid #333;
  border-radius: 6px;
  z-index: 10;
}

.options div {
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #eee;
}

.options div:hover {
  background: #222;
}

.options img {
  width: 22px;
  height: 22px;
  border-radius: 50%;
}


.currency-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 10px 14px;
  position: relative;
}

.currency-box input {
  background: transparent;
  border: none;
  font-size: 20px;
  font-weight: 500;
  color: #fff;
  text-align: right;
  flex-grow: 1;
}

.currency-select {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  color: #fff;
}

.currency-select img {
  width: 26px;
  height: 26px;
  border-radius: 50%;
}

.currency-dropdown {
  position: absolute;
  left: 0;
  top: 100%;
  background: #111;
  border: 1px solid #333;
  width: 100%;
  border-radius: 6px;
  margin-top: 5px;
  display: none;
  z-index: 20;
}

.currency-dropdown div {
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.currency-dropdown div:hover {
  background: #222;
}

.currency-dropdown img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
}


.currency-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 10px;
}

.currency-select {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 50%;
  flex-shrink: 1;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.currency-select img {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  object-fit: contain;
}

.currency-select span {
  font-size: 16px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.currency-box input {
  flex: 1;
  min-width: 0;
  max-width: 100%;
  font-size: 18px;
  text-align: right;
}


@media (max-width: 768px) {
  .wrapper {
    padding: 0 16px;
  }

  .hero {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
  }

  .hero-text {
    flex: 0 1 60%;
    min-width: 60%;
  }

  .hero-image {
    flex: 0 1 35%;
    min-width: 35%;
    max-width: 35%;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
  }

  .hero-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .exchange-box {
  min-width: 300px;

    padding: 16px;
  }

  .currency-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 10px;
  }

  .currency-select {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    max-width: 45%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .currency-select span {
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .currency-select img {
    width: 20px;
    height: 20px;
  }

  .currency-box input {
    flex: 1;
    min-width: 0;
    max-width: 100%;
    font-size: 15px;
    text-align: right;
  }

  button {
    width: 100%;
    font-size: 16px;
    padding: 14px;
  }

  .features {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .hero {
    position: relative;
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-start;
    align-items: center;
    gap: 40px;
    padding: 16px;
    width: 100%;
    height: auto;
  }

  .hero-text {
    flex: 1;
    padding-right: 24px;
    text-align: left;
    z-index: 2;
  }

  .hero-text h1 {
    font-size: 36px;
    margin-bottom: 16px;
  }

  .hero-text p {
    font-size: 24px;
    line-height: 1.7;
    max-width: 100%;
    margin-top: 0;
  }

  .hero-image {
    display: none;  /* Убираем персонажа на мобильной версии */
  }

  .exchange-box {
  min-width: 300px;

    width: 100%;
    padding: 24px 16px;
    margin-top: 40px;
    background-color: rgba(0, 0, 0, 0.7);  /* Прозрачная форма */
    z-index: 3;
  }

  .currency-box {
    flex-wrap: nowrap;
    gap: 10px;
  }

  .currency-select {
    max-width: 50%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .currency-select img {
    width: 22px;
    height: 22px;
  }

  .currency-box input {
    flex: 1;
    min-width: 0;
    font-size: 16px;
    text-align: right;
  }

  button {
    width: 100%;
    font-size: 16px;
    padding: 14px;
  }

  .features {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    height: 20px;
    width: 26px;
    cursor: pointer;
}

.hamburger span {
    display: block;
    height: 2px;
    background-color: #1a1a1a;
    border-radius: 1px;
    transition: 0.3s ease;
}

.nav-links {
    display: flex;
    gap: 20px;
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        height: 0;
        overflow: hidden;
        flex-direction: column;
        background-color: #fff;
        transition: 0.3s ease;
        opacity: 0;
        pointer-events: none;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        height: auto;
        opacity: 1;
        pointer-events: auto;
        padding: 10px 0;
    }
}

.hamburger span {
    background-color: #f4c542; /* цвет сайта */
}

@media (max-width: 768px) {
    .nav-links {
        background-color: #ffffff; /* Белый фон меню */
    }
}

@media (max-width: 768px) {
    .nav-links {
        background-color: #000000;
        pointer-events: auto;
        transform: translateY(0);
        transition: transform 0.3s ease, padding 0.3s ease;
        padding: 15px 0;
        position: absolute;
        width: 100%;
        top: 60px;
        left: 0;
        flex-direction: column;
        z-index: 9999;
        box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    }

    .nav-links:not(.active) {
        pointer-events: none;
        transform: translateY(-100%);
        padding: 0;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        color: #ffffff;
        display: block;
        padding: 10px 20px;
        width: 100%;
    }
}


/* Дополнительная настройка для лучшего выравнивания формы */
.exchange-box {
  margin-top: 4px; /* Чуть опустим для выравнивания по высоте */
  margin-left: 0; /* Уберем лишний отступ слева */
}


/* Фикс размера описания для мобильной версии */
.hero-text p {
  font-size: 16px !important;
}

.features {
  display: flex;
  justify-content: space-between;
  text-align: center;
  margin: 40px 0;
  gap: 20px;
}
.feature {
  flex: 1;
}
.feature-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 15px;
}
.feature h3 {
  color: #f4c542;
  margin-bottom: 10px;
  font-size: 18px;
}
.feature p {
  font-size: 14px;
  color: #ccc;
}

.features {
  display: flex;
  justify-content: space-between;
  text-align: center;
  margin: 40px 0;
  gap: 20px;
}
.feature {
  flex: 1;
}
.feature-icon {
  font-size: 60px;
  color: #f4c542;
  margin-bottom: 15px;
}
.feature h3 {
  color: #f4c542;
  margin-bottom: 10px;
  font-size: 18px;
}
.feature p {
  font-size: 14px;
  color: #ccc;
}

.feature-icon {
  font-size: 80px !important;
  color: #f4c542 !important;
  margin-bottom: 18px !important;
}
.feature h3 {
  color: #f4c542 !important;
  margin-bottom: 12px !important;
  font-size: 20px !important;
}
.feature p {
  font-size: 16px !important;
  color: #ccc !important;
}
.features {
  gap: 30px !important;
}

.features {
  margin: 20px 0 !important;
}
