
:root {
    --primary-color: #2c1a26;
    --secondary-color: #ffffff;
    --accent-color: #ff4d0d;
    --text-color: #333333;
    --light-gray: #f5f7fa;
    --medium-gray: #e9ecef;
    --dark-gray: #6c757d;
    --border-color: #dee2e6;
    --border-radius: 6px;
    --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  }

  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', 'Helvetica', sans-serif;
  }

  body {
    background-color: var(--light-gray);
    color: var(--text-color);
    line-height: 1.6;
  }

  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
  }

  .header {
    background: linear-gradient(135deg, var(--primary-color), #1a0f17);
    padding: 20px;
    color: var(--secondary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
  }

  .header .logo {
    height: 80px;
    width: 80px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--accent-color);
    transition: transform 0.3s ease;
  }

  .header .logo:hover {
    transform: scale(1.05);
  }

  .header h1 {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 5px;
    text-transform: uppercase;
  }

  .header p {
    font-size: 18px;
    opacity: 0.9;
    letter-spacing: 2px;
    text-transform: uppercase;
  }

  .marquee-container {
    margin-bottom: 20px;
    width: 100%;
    display: flex ;
          overflow: hidden ;
          white-space: nowrap ;
    background-color: white;
    color: black;
    padding: 10px 0;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }

.marquee-content {
  font-weight: bold;
  display: inline-block;
  white-space: nowrap;
  padding: 0 20px;
  animation: marquee 13s linear infinite;
}

    @keyframes marquee {
        from {
            transform: translateX( 0% );
        }
        to {
            transform: translateX( -100% );
        }
    }
.marquee-container:hover .marquee-content {
  animation-play-state: paused;
}

  .section-title {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
    font-weight: 600;
  }

  .step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    margin-right: 10px;
    font-weight: 600;
    font-size: 14px;
  }

  .step-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    color: var(--text-color);
  }

  .exchange-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
  }

  .crypto-section {
    background-color: var(--secondary-color);
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: var(--box-shadow);
  }

  .crypto-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
  }

  .crypto-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid var(--border-color);
  }

  .crypto-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
  }

  .crypto-item.selected {
    border: 2px solid var(--primary-color);
    background-color: rgba(15, 76, 129, 0.05);
  }

  .crypto-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-weight: bold;
    font-size: 16px;
    color: var(--secondary-color);
    background-color: var(--primary-color);
  }

  .crypto-name {
    font-weight: 600;
    font-size: 14px;
  }

  .crypto-symbol {
    color: var(--dark-gray);
    font-size: 12px;
    margin-left: 4px;
  }

  .crypto-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 50%;
  }

  .crypto-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .form-section {
    background-color: var(--secondary-color);
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: var(--box-shadow);
    margin-bottom: 30px;
  }

  .input-group {
    margin-bottom: 20px;
  }

  .input-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 14px;
    color: var(--text-color);
  }

  .input-field {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 14px;
    transition: border-color 0.2s;
  }

  .input-field:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(15, 76, 129, 0.1);
  }

  .btn-exchange {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    border-radius: var(--border-radius);
    padding: 14px;
    width: 100%;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    letter-spacing: 0.5px;
  }

  .btn-exchange:hover {
    background-color: var(--accent-color);
  }
  .btn-exchange:disabled {
    background-color: var(--medium-gray);
    cursor: not-allowed;
  }

  .warning-text {
    display: none;
    background-color: #fff3cd;
    border-left: 4px solid var(--accent-color);
    border-radius: var(--border-radius);
    padding: 10px;
    margin-top: 20px;
    font-size: 14px;
    color: #856404;
  }

  .modal {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .modal.show {
    display: flex;
    opacity: 1;
  }

  .modal-content {
    background-color: var(--secondary-color);
    width: 90%;
    max-width: 500px;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    position: relative;
    transform: translateY(-50px);
    transition: transform 0.3s ease;
  }

  .modal.show .modal-content {
    transform: translateY(0);
  }

  .close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    cursor: pointer;
    font-size: 22px;
    color: var(--dark-gray);
  }

  .modal-title {
    text-align: center;
    margin-bottom: 25px;
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
  }

  .wallet-address {
    font-family: monospace;
    word-break: break-all;
    background-color: var(--light-gray);
    padding: 15px;
    border-radius: var(--border-radius);
    margin: 15px 0;
    font-size: 14px;
    color: var(--text-color);
    border: 1px solid var(--border-color);
  }

  .copy-btn {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    border-radius: var(--border-radius);
    padding: 10px 15px;
    font-size: 14px;
    cursor: pointer;
    width: 100%;
    margin-top: 10px;
    font-weight: 600;
    transition: background-color 0.2s;
  }

  .copy-btn:hover {
    background-color: var(--accent-color);
  }
  .done-btn {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    border-radius: var(--border-radius);
    padding: 10px 15px;
    font-size: 14px;
    cursor: pointer;
    width: 100%;
    margin-top: 10px;
    font-weight: 600;
    transition: background-color 0.2s;
  }

  .done-btn:hover {
    background-color: #28a745;
  }

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

  .modal-details p {
    margin-bottom: 10px;
  }

  .modal-details b {
    font-weight: 600;
    color: var(--primary-color);
  }

  .modal-details hr {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 15px 0;
  }

  .transaction-detail {
    background-color: var(--light-gray);
    padding: 15px;
    border-radius: var(--border-radius);
    margin-top: 15px;
  }

  .transaction-detail p {
    margin-bottom: 8px;
    font-size: 14px;
  }

  .status-label {
    display: inline-block;
    background-color: #dc3545;
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
  }

  .benefits-section {
    background-color: var(--secondary-color);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    margin-bottom: 30px;
  }

  .benefits-title {
    font-size: 24px;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 30px;
    font-weight: 600;
  }

  .benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
  }

  .benefit-card {
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
  }

  .benefit-card:hover {
    transform: translateY(-5px);
  }

  .benefit-icon {
    background-color: rgba(15, 76, 129, 0.1);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    font-size: 28px;
    color: var(--primary-color);
  }

  .benefit-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary-color);
  }

  .benefit-description {
    color: var(--text-color);
    font-size: 14px;
    line-height: 1.6;
  }

  /* Стили для блока статистики */
  .stats-bar {
    display: flex;
    justify-content: space-between;
    background-color: var(--primary-color);
    padding: 20px;
    border-radius: var(--border-radius);
    margin-bottom: 30px;
    color: var(--secondary-color);
    flex-wrap: wrap;
  }

  .stat-item {
    text-align: center;
    padding: 0 15px;
    flex: 1;
    min-width: 150px;
    margin: 10px 0;
  }

  .stat-number {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
  }

  .stat-label {
    font-size: 14px;
    opacity: 0.9;
  }

  .partners-section {
    background-color: var(--secondary-color);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    margin-bottom: 30px;
    text-align: center;
  }

  .partners-title {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 25px;
    font-weight: 600;
  }

  .partners-logos {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
  }

  .partner-logo {
    text-decoration: none;
    height: 50px;
    width: 120px;
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--dark-gray);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
  }

  .support-link {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: background-color 0.3s;
  }

  .partner-logo:hover{
    transform: translateY(-5px);

  }

  .support-link:hover {
    background-color: var(--accent-color);
  }

  .footer {
    text-align: center;
    margin-top: 30px;
    padding: 20px;
    background-color: var(--secondary-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
  }

  .footer p {
    color: var(--dark-gray);
    font-size: 14px;
  }

  @media (max-width: 768px) {
    .exchange-container {
      grid-template-columns: 1fr;
    }

    .crypto-list {
      grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
  }

  .progress-bar-container {
    display: none;
    width: 100%;
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
    border: var(--primary-color) 1px solid;
    overflow: hidden;
    margin: 20px 0;
    height: 10px;
  }

  .progress-bar {
    width: 0%;
    height: 100%;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
  }