html {
    scroll-behavior: smooth;
}

.advantages-container {
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 0.5rem;
    margin: 1rem 0;
    margin: 50px 0 !important;
}

.advantages-title {
    color: #1e3a8a;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
}

.advantage-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    margin-bottom: 1rem;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

.advantage-item:hover {
    transform: translateY(-2px);
}

.advantage-number {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    height: 2rem;
    background: #2563eb;
    color: white;
    border-radius: 9999px;
    font-weight: bold;
}

.advantage-content {
    flex: 1;
}

.advantage-heading {
    color: #1e40af;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.advantage-text {
    color: #4b5563;
    line-height: 1.4;
}

.navbar-new {
    display: flex;
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding: 30px 20px;
    background: #0f4f97;
    align-items: center;
    justify-content: center;
}

.navbar-new .logo-toi {
    max-width: 400px;
}

.form-section {
    margin: 50px 0 !important;
}

.form-section,
.form-section .form-wrapper,
.form-section .form-wrapper .input-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    justify-content: center;
}

.form-section .form-wrapper {
    width: 100%;
    gap: 15px;
    /* padding: 50px 30px; */
    box-sizing: border-box;
    /* background: #de1a1a; */
}

.form-section .form-wrapper .form-title {
    font-size: 34px;
    margin-bottom: 15px;
    margin-top: 0;
    color: white;
    text-align: center;
}

.form-section .form-wrapper .input-wrapper {
    width: 100%;
    max-width: 500px;
    gap: 3px !important;
}

.form-section .form-wrapper .input-wrapper small {
    color: #4b5563;
    text-align: left !important;
    width: 100%;
}

.form-section .form-wrapper .input-wrapper input {
    width: 100%;
    height: 50px;
    padding: 11px 15px;
    border: 0;
    font-size: 16px;
    box-sizing: border-box;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    color: #333;
}

.form-section .form-wrapper .input-wrapper input[type="tel"] {
    width: 100%;
    padding-left: 100px !important;
}

.form-section .form-wrapper .submit_btn {
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    height: 50px;
    padding: 11px 16px;
    display: flex;
    width: 100%;
    max-width: 500px;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    border: 0;
    background: #2563eb;
    color: white;
    border-radius: 0.5rem;
}

.form_message.error.inactive,
.form_message.success.inactive {
    display: none;
}

.form_message.error.active,
.form_message.success.active {
    display: block !important;
}

.form_message {
    width: 100%;
    min-height: 50px;
    align-content: center;
    box-sizing: border-box;
    padding: 11px 15px !important;
    font-size: 16px !important;
    max-width: 500px;
    border-radius: 0.5rem;
}

.form_message.error {
    background-color: #ff7f7f;
    border: 2px dashed #ce0909;
    color: #fff;
}

.form_message.success {
    background-color: #d4ffe0;
    border: 2px dashed #1f6b34;
    color: #000;
}

.iti {
    width: 100%;
}

.iti__selected-flag {
    padding: 11px 15px;
    border-radius: 0.5rem 0 0 0.5rem;
}

.iti__country-name,
.iti__selected-flag,
.iti__dial-code {
    color: #333;
}

.iti__flag-container {
    padding: unset !important;
}

.iti-mobile .iti__country-list {
    box-sizing: border-box;
    max-width: 90%;
}

@media (max-width: 480px) {
    .form_message,
    .iti__selected-dial-code,
    .form-section .form-wrapper .input-wrapper input {
        font-size: 14px;
    }
    
    .partner-item__logo {
        max-width: 150px;
    }
}

.nadpis span {
    font-size: 11px;
    font-weight: 600;
}

.nadpis {
    text-align: left;
    opacity: 90%;
    color: grey;
    font-family: 'Open Sans', sans-serif;
    font-size: 10px;
    font-weight: 400;
    text-align: center;
    line-height: 15px;
    position: relative;
    padding-right: 12%;
    padding-left: 12%;
    padding-bottom: 4px;
    padding-top: 6px;
}

/* ---------------------------------------- NEW ---------------------------------------- */

/* Navbar video bg */
/* .navbar-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-bottom: 1px solid #dfdfdf;
}

.navbar-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%) rotate(90deg);
  object-fit: cover;
  z-index: 0;
}

.navbar-new {
  position: relative;
  z-index: 2;
  display: flex;
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding: 30px 20px;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.tg-ai-logo {
  color: white;
  text-transform: uppercase;
  font-weight: 600;
  margin: 0;
} */
/* END Navbar video bg */

/* .dark-noise-block {
  position: relative;
  min-height: 100vh;
  background: #0f0f0f;
  color: #e0e0e0;
  overflow: hidden;
}

.dark-noise-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 600'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.12'/%3E%3C/svg%3E");
  background-size: 180px;
  pointer-events: none;
  mix-blend-mode: overlay;
} */

/* .page-wrapper {
    background: linear-gradient(180deg, #5f5e5e 0%, #757373 100%) !important;
} */

/* .page-wrapper {
  background-image: 
    radial-gradient(rgba(255,255,255,0.2) 0.5px, transparent 0.5px),
    radial-gradient(rgba(255,255,255,0) 0.5px, transparent 0.5px),
    linear-gradient(180deg, #262626 0%, #262626 100%);
  background-size: 20px 20px, 20px 20px, 100% 100%;
  background-position: 0 0, 10px 10px, 0 0;
} */

.page-wrapper {
  background-color: #262626;
  background-image: radial-gradient(rgba(255,255,255,0.1) 1px, transparent 1px);
  background-size: 30px 30px;
}

.navbar-new {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #1d1d1d;
}

.navbar-new img {
    max-width: 70px;
}

a {
    color: rgb(83, 105, 200);
}

.navbar-new .menu-list {
    display: flex;
    align-items: center;
    gap: 20px;
}

.navbar-new .menu-list a,
.menu-list-mobile a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
}

.navbar-new .menu-list a.menu-reg-button,
.menu-list-mobile a.menu-reg-button {
    padding: 10px;
    background: #F00;
}

.menu-list-mobile {
    background: #1d1d1d;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease-in-out;
}
.menu-list-mobile a.menu-reg-button {
    padding: 20px;
}

.menu-list-mobile a {
    padding: 20px;
    transition: all 0.3s ease-in-out;
}

.menu-list-mobile a:hover {
    background: #2a2a2a;
}

.menu-list-mobile a.menu-reg-button:hover,
.navbar-new .menu-list a.menu-reg-button {
    background: rgb(255, 48, 48);
}

.profit-calculator {
    width: 100%;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 0.5rem;
    box-sizing: border-box;
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #333;
    margin: 50px 0 !important;
}

.profit-calculator h2 {
    margin-bottom: 20px;
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    margin-top: unset;
    color: #1e3a8a;
    max-width: 500px;
}

.calc-label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #374151;
    max-width: 500px;
    width: 100%;
}

#amountInput {
    width: 100%;
    height: 50px;
    padding: 11px 15px;
    border: 0;
    font-size: 16px;
    box-sizing: border-box;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    max-width: 500px;
}

#amountRange {
    width: 100%;
    margin-bottom: 20px;
    max-width: 500px;
}

.result-box {
    background: white;
    border-radius: 0.5rem;
    padding: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    width: 100%;
}

.result-box span {
    font-size: 14px;
    color: #6b7280;
}

.result-box strong {
    font-size: 20px;
    color: #16a34a;
}

.calc-btn {
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    height: 50px;
    padding: 11px 16px;
    display: flex;
    width: 100%;
    max-width: 500px;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    border: 0;
    background: #2563eb;
    color: white;
    border-radius: 0.5rem;
    text-decoration: none;
}

/* Базовые цвета (светлая тема) */
:root {
  --bg: #ffffff;
  --text-primary: #0f1419;
  --text-secondary: #536471;
  --text-light: #71767b;
  --border: #eff3f4;
  --blue: #1d9bf0;
  --blue-hover: #1a8cd8;
  --gray-hover: #f7f9f9;
}

/* тёмная тема — раскомментировать при необходимости */
/* :root {
    --bg: #000000;
    --text-primary: #e7e9ea;
    --text-secondary: #71767b;
    --text-light: #8b98a5;
    --border: #2f3336;
    --blue: #1d9bf0;
    --blue-hover: #1a8cd8;
    --gray-hover: #16181c;
} */


.tweet-reply {
    background: white;
    border-bottom: 1px solid var(--border);
    padding: 12px 16px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 15px;
    line-height: 20px;
    color: var(--text-primary);
    position: relative;
}

.reply-line-container {
    display: flex;
    gap: 12px;
}

.avatar-column {
    flex-shrink: 0;
    width: 40px;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.content-column {
    flex: 1;
    min-width: 0;
}

.header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 8px;
    margin-bottom: 2px;
    font-size: 15px;
}

.display-name {
    font-weight: 700;
}

.username,
.time,
.dot {
    color: white;
}

.dot {
    font-weight: bold;
}

.reply-to {
    color: white;
    margin-bottom: 4px;
    font-size: 15px;
}

.reply-link {
    color: var(--blue);
    text-decoration: none;
}

.reply-link:hover {
    text-decoration: underline;
}

.text {
    word-break: break-word;
}

.hashtag {
    color: var(--blue);
}

.actions {
    display: flex;
    margin-top: 8px;
    margin-left: -8px;
    max-width: 425px;
    justify-content: space-between;
    pointer-events: none;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    border: none;
    background: none;
    color: white;
    font-size: 13px;
    border-radius: 9999px;
    transition: all 0.15s ease;
    cursor: pointer;
}

.action-btn svg {
    width: 18.75px;
    height: 18.75px;
    fill: currentColor;
}

.action-btn:hover {
    background: var(--gray-hover);
}

.reply-btn:hover {
    color: var(--blue);
}

.repost-btn:hover {
    color: #00ba7c;
}

.like-btn:hover {
    color: #f91880;
}

.views-count {
    color: var(--text-light);
}

/* Линия соединения ответов (вертикальная черта) */
.reply-thread-line {
    position: absolute;
    left: 36px;
    /* половина аватарки + отступ */
    top: -12px;
    /* от предыдущего комментария */
    bottom: 100%;
    width: 2px;
    background: var(--border);
    z-index: -1;
}

/* Для самого первого комментария в цепочке линию можно убрать */
.tweet-reply:first-child .reply-thread-line {
    display: none;
}

.feedback-text strong {
    margin-right: 5px;
}

.div-block-4 .header span {
    color: white;
}

.div-block-4 .header svg {
    max-width: 15px;
    max-height: 15px;
}

.div-block-4 .header svg path {
    fill: #2563eb;
}

.notify-container {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.notify {
  background: #16a34a;
  color: #ffffff;
  padding: 14px 18px;
  border-radius: 0.5rem;
  font-family: Arial, sans-serif;
  font-size: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  min-width: 260px;
  max-width: 320px;
  display: none;
}

.notify strong {
  font-weight: 700;
}

.notify .city {
  opacity: 0.9;
}

.notify .amount {
  font-weight: 700;
}

.button-menu {
    display: none;
}

.button-menu svg {
    width: 40px;
    height: 40px;
}

.button-menu {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

/*  */
.slider-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 50px 0;
}

.slider-container .swiper-wrapper {
    max-width: 580px;
}

.slider-container .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
}

.slider-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 50px 0;
    width: 100%;
    overflow: hidden;
}

.slider-container .swiper {
    width: 100%;
    max-width: 580px; /* Максимальная ширина на больших экранах */
}

.partner-item__logo {
    max-width: 180px;
}

/* Для мобильных устройств */
@media (max-width: 600px) {
    .slider-container .swiper {
        max-width: 100%; /* На мобильных занимает всю ширину */
        padding: 0 15px; /* Добавляем отступы по бокам */
    }
}

.slider-container .swiper-wrapper {
    width: 100%;
}

.slider-container .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto !important; /* Переопределяем ширину Swiper */
}
/*  */

/* .slider-container{
	overflow:hidden;
	width:100%;
}

.logo-track{
	display:flex;
	gap:80px;
	width:max-content;
	animation:logoScroll 25s linear infinite;
}

.partner-item__logo{
	display:flex;
	align-items:center;
	justify-content:center;
	height:80px;
}

.partner-item__logo img{
	max-height:60px;
	width:auto;
} */

@keyframes logoScroll{
	from{
		transform:translateX(0);
	}
	to{
		transform:translateX(-50%);
	}
}

.left-side-div {
    max-width: 580px;
}

.slider-container h2 {
    margin-bottom: 35px;

}

@media (max-width: 900px) {
    .menu-list {
        display: none !important;
    }

    .button-menu {
        display: block;
    }
}