/* Подключение шрифта Cygre */

/* Regular */
@font-face {
  font-family: "Cygre";
  src: url("cygre_default/Cygre-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

/* Light */
@font-face {
  font-family: "Cygre";
  src: url("cygre_default/Cygre-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}

/* Book */
@font-face {
  font-family: "Cygre";
  src: url("cygre_default/Cygre-Book.ttf") format("truetype");
  font-weight: 450;
  font-style: normal;
}

/* Medium */
@font-face {
  font-family: "Cygre";
  src: url("cygre_default/Cygre-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}

/* Semibold */
@font-face {
  font-family: "Cygre";
  src: url("cygre_default/Cygre-Semibold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
}

/* Bold */
@font-face {
  font-family: "Cygre";
  src: url("cygre_default/Cygre-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

/* ExtraBold */
@font-face {
  font-family: "Cygre";
  src: url("cygre_default/Cygre-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
}

/* Black */
@font-face {
  font-family: "Cygre";
  src: url("cygre_default/Cygre-Black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
}

/* Thin */
@font-face {
  font-family: "Cygre";
  src: url("cygre_default/Cygre-Thin.ttf") format("truetype");
  font-weight: 100;
  font-style: normal;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-normal);
  line-height: 1.5;
  color: var(--text-primary);
  background-color: var(--main-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("images/bg.png");

  pointer-events: none;

  z-index: 2;
  opacity: 0.5;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-weight: var(--font-weight-semibold);
  line-height: 1.2;
}

h1 {
  font-size: var(--font-size-2xl);
}
h2 {
  font-size: var(--font-size-xl);
}
h3 {
  font-size: var(--font-size-lg);
}
h4 {
  font-size: var(--font-size-base);
}

p {
  margin: 0;
  line-height: 1.6;
}

/* Buttons */
button {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  margin: 0;
  overflow: visible;
  text-transform: none;
  border: none;
  background: none;
  cursor: pointer;
  transition: all var(--transition-normal);
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Form elements */
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  margin: 0;
}

/* Lists */
ul,
ol {
  list-style: none;
}

/* Images */
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

/* Utility classes */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  display: block;
  overflow: visible;
  position: relative;
  z-index: 1;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-hover);
}

::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: var(--radius-sm);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-secondary);
}

/* Selection */
::selection {
  background: var(--primary-color);
  color: white;
}

:root {
  /* Colors */
  --main-bg: #e0e3f2;
  --sidebar-bg: #ffffff;
  --primary-color: #6366f1;
  --text-primary: #1f2937;
  --text-secondary: #6b7280;
  --text-secondary2: #8f9bba;
  --border-color: #e5e7eb;
  --success-color: #10b981;
  --error-color: #dc2626;
  --warning-color: #f59e0b;
  --info-color: #3b82f6;
  --text-secondary3: #a3aed0;

  /* Background variants */
  --bg-hover: #f3f4f6;
  --bg-active: #eef2ff;
  --bg-error: #fef2f2;
  --bg-success: #f0fdf4;

  /* Typography */
  --font-family: "Cygre", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-family-symbols: "Segoe UI Symbol", sans-serif;
  --font-size-xs: 12px;
  --font-size-sm: 14px;
  --font-size-base: 16px;
  --font-size-lg: 18px;
  --font-size-xl: 20px;
  --font-size-2xl: 24px;

  /* Font weights */
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  /* Spacing */
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 12px;
  --spacing-lg: 16px;
  --spacing-xl: 20px;
  --spacing-2xl: 24px;
  --spacing-3xl: 32px;

  /* Border radius */
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-xl: 12px;
  --radius-full: 50%;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.2s ease;
  --transition-slow: 0.3s ease;

  /* Layout */
  --sidebar-width: 286px;
  --tabs-width: 200px;
  --max-content-width: 1200px;

  /* Z-index */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal: 1040;
  --z-popover: 1050;
  --z-tooltip: 1060;
}

.text-highlight {
  background: linear-gradient(30deg, #3d73eb 0%, #de8fff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 500;
}

.container {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  margin-left: 180px;
  margin-right: 180px;
}

.navbar {
  position: relative;
  margin: 15px auto 0 auto;
  width: 85%;
  z-index: 100;
}

.navbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(
    135deg,
    rgba(61, 115, 235, 0.3),
    rgba(222, 143, 255, 0.3)
  );
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 32px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0;
  position: relative;
}

/* ===== УГЛОВЫЕ ЭЛЕМЕНТЫ НАВБАРА ===== */

.navbar-content::before,
.navbar-content::after {
  content: "";
  position: absolute;
  width: 15px;
  height: 15px;
  border: 1px solid #323240;
  z-index: 2;
  pointer-events: none;
}

.navbar-content::before {
  top: -2px;
  left: -2px;
  border-right: none;
  border-bottom: none;
}

.navbar-content::after {
  top: -2px;
  right: -2px;
  border-left: none;
  border-bottom: none;
}

.navbar-corner {
  position: absolute;
  width: 15px;
  height: 15px;
  border: 1px solid #323240;
  z-index: 2;
  pointer-events: none;
}

.navbar-corner--bottom-left {
  bottom: -1px;
  left: -1px;
  border-right: none;
  border-top: none;
}

.navbar-corner--bottom-right {
  bottom: -1px;
  right: -1px;
  border-left: none;
  border-top: none;
}

/* ===== СТРУКТУРА НАВБАРА ===== */
.navbar__left {
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.navbar__center {
  display: flex;
  gap: 32px;
  align-items: center;
}

.navbar__right {
  display: flex;
  gap: 12px;
  align-items: center;
}

/* ===== ЛОГОТИП ===== */
.logo {
  height: 32px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: left center;
}

.logo--desktop {
  display: block;
}

.logo--mobile {
  display: none;
}

.logo:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.navbar__left::after {
  content: "";
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  background-image: url("images/logo2.svg");
  pointer-events: none;
}

/* ===== НАВИГАЦИЯ ===== */
.nav-link {
  color: #6b7280;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.nav-link--active {
  color: #1f2937;
  font-weight: 600;
}

.nav-link:hover {
  color: #1f2937;
}

/* ===== КНОПКИ ===== */
.btn-login,
.btn-signup {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  border-radius: 0;
  white-space: nowrap;
  width: 90px;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 70px;
}

.btn-login {
  background: transparent;
  /* border: 1px solid #e5e7eb; */
  color: #6b7280;
}

.btn-login:hover {
  background: rgba(255, 255, 255, 0.5);
  color: #1f2937;
}

.btn-signup {
  background: linear-gradient(30deg, #3d73eb, #de8fff);
  border: none;
  color: white;
  font-weight: 400;
}

.btn-signup:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

/* ===== УГЛОВЫЕ ЭЛЕМЕНТЫ КНОПОК ===== */

.btn-login::before,
.btn-login::after,
.btn-signup::before,
.btn-signup::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border: 1px solid #323240;
  z-index: 3;
  pointer-events: none;
}

.btn-login::before,
.btn-signup::before {
  top: -1px;
  left: -1px;
  border-right: none;
  border-bottom: none;
}

.btn-login::after,
.btn-signup::after {
  top: -1px;
  right: -1px;
  border-left: none;
  border-bottom: none;
}

.btn-login-corners,
.btn-signup-corners {
  position: relative;
  display: inline-block;
}

.btn-login-corners::before,
.btn-login-corners::after,
.btn-signup-corners::before,
.btn-signup-corners::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border: 1px solid #323240;
  z-index: 3;
  pointer-events: none;
}

.btn-login-corners::before,
.btn-signup-corners::before {
  bottom: -1px;
  left: -1px;
  border-right: none;
  border-top: none;
}

.btn-login-corners::after,
.btn-signup-corners::after {
  bottom: -1px;
  right: -1px;
  border-left: none;
  border-top: none;
}

/* ===== МОБИЛЬНАЯ КНОПКА ===== */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #1f2937;
  padding: 8px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.mobile-menu-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
}

.mobile-menu-toggle svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}

.mobile-menu-toggle::before,
.mobile-menu-toggle::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  border: 1px solid #323240;
  z-index: 3;
  pointer-events: none;
}

.mobile-menu-toggle::before {
  top: -1px;
  left: -1px;
  border-right: none;
  border-bottom: none;
}

.mobile-menu-toggle::after {
  top: -1px;
  right: -1px;
  border-left: none;
  border-bottom: none;
}

.mobile-menu-toggle-corners {
  position: relative;
  display: none;
}

.mobile-menu-toggle-corners::before,
.mobile-menu-toggle-corners::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  border: 1px solid #323240;
  z-index: 3;
  pointer-events: none;
}

.mobile-menu-toggle-corners::before {
  bottom: -1px;
  left: -1px;
  border-right: none;
  border-top: none;
}

.mobile-menu-toggle-corners::after {
  bottom: -1px;
  right: -1px;
  border-left: none;
  border-top: none;
}

/* ===== МОБИЛЬНОЕ МЕНЮ ===== */
.mobile-menu {
  display: none;
  position: absolute;
  top: calc(100% + 0px);
  left: 0;
  right: 0;
  background: linear-gradient(
    135deg,
    rgba(61, 115, 235, 0.3),
    rgba(222, 143, 255, 0.3)
  );
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 16px;
  z-index: 50;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.mobile-menu.mobile-menu--open {
  display: block;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}

.mobile-menu .nav-link {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #353544;
  font-weight: 500;
}

.mobile-menu .nav-link:last-child {
  border-bottom: none;
}

.mobile-menu .nav-link:hover {
  color: #ffffff;
  opacity: 0.8;
}

.mobile-auth-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-auth-buttons .btn-login-corners,
.mobile-auth-buttons .btn-signup-corners {
  width: 100%;
}

.mobile-auth-buttons .btn-login,
.mobile-auth-buttons .btn-signup {
  width: 100%;
  justify-content: center;
  text-align: center;
  min-height: 44px;
  font-size: 14px;
  font-weight: 500;
}

/* ===== СОСТОЯНИЯ ===== */
.navbar.menu-open .mobile-menu {
  display: block;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.navbar.menu-open .mobile-menu-toggle {
  background: rgba(255, 255, 255, 0.3);
}

.mobile-menu-toggle svg line {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: 12px 12px;
}

.mobile-menu-toggle.active svg line:nth-child(1) {
  transform: translate(0, 6px) rotate(45deg);
  transform-origin: 12px 6px;
}

.mobile-menu-toggle.active svg line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active svg line:nth-child(3) {
  transform: translate(0, -6px) rotate(-45deg);
  transform-origin: 12px 18px;
}

/*==== INVESTMENT INFO ====*/
.investment-info-section {
  display: flex;
  flex-direction: column;
  gap: 100px;

  margin: 100px 40px 100px 130px;

  /* max-height: 410px; */
}

.investment-info-top {
  display: flex;
}

.investment-info-title {
  font-size: 60px;
  font-weight: 400;

  max-width: 700px;

  margin-bottom: 12px;
}

.investment-info-descr {
  font-size: 18px;
  font-weight: 400px;

  max-width: 600px;

  margin-bottom: 44px;

  letter-spacing: 0.24px;
}

.investment-info-options {
  display: flex;
  flex-direction: row;
  gap: 44px;

  max-width: 760px;

  margin-bottom: 43px;
}

.investment-info-option {
  display: flex;
  flex-direction: row;

  align-items: center;

  gap: 12px;
  max-width: 240px;
}

.investment-info-option img {
  /* background: #d7dae8; */
  border-radius: 50%;

  padding: 10px;

  width: 40px;
  height: 40px;
}

.investment-info-option p {
  font-size: 16px;
  font-weight: 500;
}

.investment-info-button {
  position: relative;

  max-width: 345px;
  max-height: 47px;

  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.27px;

  background: linear-gradient(30deg, #3d73eb, #de8fff);
  color: #ededf8;
  text-transform: uppercase;

  padding: 12px 64px;
}

.investment-info-button::before,
.investment-info-button::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border: 1px solid #323240;
  z-index: 3;
  pointer-events: none;
}

.investment-info-button::before {
  top: -1px;
  left: -1px;
  border-right: none;
  border-bottom: none;
}

.investment-info-button::after {
  top: -1px;
  right: -1px;
  border-left: none;
  border-bottom: none;
}

.investment-info-image {
  max-width: 588px;
  max-height: 410px;
}

.investment-info-bottom {
  text-align: center;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.investment-info-bottom img {
  margin-bottom: 22px;
}

.investment-info-text {
  font-size: 28px;
  font-weight: 400;

  max-width: 1250px;
}

/*==== TABLE SECTION ====*/
.table-section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.ranking-table {
  border-radius: 16px;
  backdrop-filter: blur(10px);

  background: linear-gradient(
    135deg,
    rgba(61, 115, 235, 0.1),
    rgba(222, 143, 255, 0.1)
  );
}

.ranking-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 15px 0;
  margin-bottom: 40px;

  background: linear-gradient(
    135deg,
    rgba(61, 115, 235, 0.2),
    rgba(222, 143, 255, 0.2)
  );

  border-radius: 16px;
}

.ranking-icon {
  width: 111px;
  height: 126px;
}

.ranking-header h2 {
  font-size: 52px;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.ranking-columns {
  display: grid;
  grid-template-columns: 2fr 2fr 3fr;
  gap: 20px;
  padding: 0 40px;
  opacity: 0.7;
  text-align: center;
}

.column-header {
  font-size: 22px;
  font-weight: 400;
  color: #9d9ac3;
  letter-spacing: 1px;
}

.ranking-rows {
  display: flex;
  flex-direction: column;
  gap: 24px;

  padding: 40px;

  text-align: center;
}

.ranking-row {
  display: grid;
  grid-template-columns: 2fr 2fr 3fr;
  gap: 20px;
  align-items: center;
  border-radius: 16px;
  padding: 24px;
  transition: all 0.3s ease;

  background-image: url("images/row-bg.png");
  height: 128px;
}

.ranking-row:hover {
  transform: translateX(4px);
}

.rank-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.rank-badge {
  width: 50px;
  height: 56px;
}

.rank-name {
  font-size: 22px;
  font-weight: 400;
  color: #353544;
}

.rank-turnover {
  font-size: 22px;
  font-weight: 400;
  color: #353544;
  padding-top: 15px;
}

.rank-investments {
  font-size: 22px;
  font-weight: 400;
  color: #353544;
  padding-top: 15px;
}

.description-section {
  margin-bottom: 50px;
}

/* Адаптивность */
@media (max-width: 768px) {
  .ranking-columns {
    display: none;
  }

  .ranking-row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 20px;
  }

  .rank-info {
    justify-content: flex-start;
  }

  .rank-turnover,
  .rank-investments {
    padding-left: 72px;
    font-size: 14px;
  }

  .rank-turnover::before {
    content: "Turnover: ";
    opacity: 0.7;
  }

  .rank-investments::before {
    content: "Investments: ";
    opacity: 0.7;
  }
}
/* ===== КНОПКА НАВЕРХ ===== */
.scroll-to-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 48px;
  height: 48px;
  background: linear-gradient(30deg, #3d73eb 0%, #de8fff 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(99, 102, 241, 0.2);
  cursor: pointer;
  z-index: var(--z-fixed);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top:hover {
  background: rgba(255, 255, 255, 1);
  border-color: rgba(99, 102, 241, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(99, 102, 241, 0.2);
}

.scroll-to-top svg {
  width: 20px;
  height: 20px;
  stroke: #cacaceff;
  stroke-width: 2.5;
  fill: none;
  transition: transform 0.3s ease;
}

.scroll-to-top:hover svg {
  transform: translateY(-2px);
}
/*==== FOOTER ====*/
footer {
  margin-left: 176px;
  margin-right: 176px;
}

.footer-content {
  background-image: url("./images/logo-neutys3.svg");
  background-position: top left;
  background-repeat: no-repeat;

  border: 1px solid rgba(50, 50, 64, 0.1);
}

.footer-top {
  display: flex;
  justify-content: space-between;

  display: flex;
  flex-direction: row;
  align-items: center;

  padding: 68px 102px 42px 102px;
}

.footer-top img {
  width: 120px;
}

.footer-top-right {
  display: flex;
  flex-direction: row;
}

.footer-top-right img {
  width: 20px;
}

.footer-top-right span {
  text-transform: uppercase;
  color: #74767e;
}

/* ==== FOOTER MIDDLE ==== */
.footer-middle {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 42px 18px 42px 42px;
  border-top: 1px solid rgba(50, 50, 64, 0.1);
  border-bottom: 1px solid rgba(50, 50, 64, 0.1);
}

.footer-column {
  display: flex;
  flex-direction: row;
  align-items: top;
  gap: 25px;
}

.footer-column h4 {
  text-transform: uppercase;
  font-size: 14px;
  margin-bottom: 20px;
  color: #323240;
  display: flex;
  flex-direction: row;
}

.footer-column a {
  display: block;
  margin-bottom: 10px;
  color: #323240;
  text-decoration: none;
  font-size: 14px;
}

.footer-column a:hover {
  color: #6c63ff;
}

.footer-column-left {
  display: flex;
  text-transform: uppercase;
  color: #74767e;
  height: 25px;
}

.footer-column-left img {
  width: 20px;
}

.footer-column-left span {
  font-size: 10px;
}

.footer-column-right {
  display: flex;
  flex-direction: column;
  gap: 27px;
}

.footer-column-right a {
  font-size: 14px;
  color: #4c4c4c;
}

.footer-auth .auth-buttons {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.footer-info p {
  font-size: 13px;
  margin-bottom: 12px;
  color: #74767e;
}

/* ==== FOOTER BOTTOM ==== */
.footer-bottom {
  text-align: center;
  padding: 20px;
  font-size: 12px;
  color: #74767e;
}

/* ===== АДАПТИВНЫЕ БРЕЙКПОИНТЫ ===== */
@media (max-width: 1600px) {
  .container {
    margin-left: 120px;
    margin-right: 120px;
  }

  .navbar {
    width: 95%;
  }

  .investment-info-section {
    margin: 50px 40px 50px 35px;
  }
}

@media (max-width: 1500px) {
  .investment-info-section {
    margin: 50px 40px 50px 35px;
  }
  .investment-info-option p {
    font-size: 12px;
  }

  .investment-info-option img {
    width: 30px;
    height: 30px;
    padding: 5px;
  }

  footer {
    margin: 0;
  }
}

@media (max-width: 1400px) {
  .navbar {
    width: 100%;
  }
  .navbar__center {
    gap: 20px;
  }

  .investment-info-section {
    margin: 50px 0;
  }

  .investment-info-title {
    font-size: 40px;
  }

  .investment-info-descr {
    font-size: 16px;
  }
  .investment-info-option p {
    font-size: 12px;
  }

  .investment-info-option img {
    width: 30px;
    height: 30px;
    padding: 5px;
  }

  .investment-info-button {
    font-size: 16px;
    padding: 12px 56px;
  }

  .investment-info-bottom img {
    width: 150px;
  }

  .investment-info-text {
    font-size: 25px;
  }
}

@media (max-width: 1200px) {
  .container {
    margin-left: 80px;
    margin-right: 80px;
  }

  .navbar {
    width: 100%;
  }
  .navbar-content {
    padding: 12px 12px;
  }
  .navbar__center {
    gap: 14px;
  }
  .navbar__right {
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
  }
  .btn-login,
  .btn-signup {
    padding: 6px 12px;
    font-size: 13px;
    width: 80px;
    min-width: 60px;
  }

  footer {
    margin-left: 80px;
    margin-right: 80px;
  }

  .footer-top {
    padding: 50px 60px 30px 60px;
  }

  .footer-middle {
    padding: 30px 18px;
    gap: 30px;
  }

  .investment-info-image {
    width: 420px;
    max-height: 350px;
  }
}

@media (max-width: 1024px) {
  footer {
    margin: 0;
  }

  .investment-info-section {
    margin: 50px 0;
  }

  .investment-info-title {
    font-size: 36px;
  }

  .investment-info-descr {
    font-size: 16px;
    margin-bottom: 36px;
  }

  .investment-info-options {
    gap: 32px;
    margin-bottom: 36px;
  }

  .investment-info-option img {
    width: 24px;
    height: 24px;
    padding: 5px;
  }

  .investment-info-option p {
    font-size: 10px;
  }

  .investment-info-button {
    font-size: 16px;
    padding: 12px 60px;
  }

  .investment-info-image {
    max-width: 480px;
  }

  .investment-info-bottom img {
    width: 140px;
    margin-bottom: 20px;
  }

  .investment-info-text {
    font-size: 18px;
  }

  .rank-turnover {
    padding-top: 0;
  }
}

@media (max-width: 1000px) {
  .navbar {
    width: 98%;
  }
  .navbar-content {
    padding: 12px 20px;
    min-height: 60px;
  }
  .navbar__center {
    gap: 16px;
  }

  .navbar__right {
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
  }

  .logo--desktop {
    display: none;
  }
  .logo--mobile {
    display: block;
    animation: logoFadeIn 0.5s ease;
    height: 32px;
    max-width: 140px;
  }

  .navbar-content::before,
  .navbar-content::after,
  .navbar-corner {
    width: 12px;
    height: 12px;
  }
  .btn-login::before,
  .btn-login::after,
  .btn-signup::before,
  .btn-signup::after,
  .btn-login-corners::before,
  .btn-login-corners::after,
  .btn-signup-corners::before,
  .btn-signup-corners::after {
    width: 6px;
    height: 6px;
  }
  .btn-login,
  .btn-signup {
    padding: 5px 8px;
    font-size: 12px;
    width: 65px;
    min-width: 55px;
  }
}

@media (max-width: 968px) {
  footer {
    margin-left: 50px;
    margin-right: 30px;
  }

  .footer-top {
    flex-direction: column;
    gap: 20px;
    padding: 40px 30px;
  }

  .footer-middle {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    padding: 30px 20px;
  }

  .footer-column {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 950px) {
  .navbar-content {
    padding: 12px 16px;
    min-height: 50px;
  }

  .navbar__center {
    display: none !important;
  }
  .navbar__right .btn-login-corners,
  .navbar__right .btn-signup-corners {
    display: none !important;
  }

  .mobile-menu-toggle-corners {
    display: block !important;
  }
  .mobile-menu-toggle {
    display: flex !important;
  }

  .navbar-content::before,
  .navbar-content::after,
  .navbar-corner {
    width: 10px;
    height: 10px;
  }

  .logo--desktop {
    display: block;
    animation: logoFadeIn 0.5s ease;
    height: 32px;
    max-width: 140px;
  }
  .logo--mobile {
    display: none;
  }

  .investment-info-title {
    font-size: 26px;
  }

  .investment-info-descr {
    font-size: 12px;
    margin-bottom: 20px;
  }

  .investment-info-options {
    gap: 5px;
    margin-bottom: 24px;
  }

  .investment-info-image {
    max-width: 350px;
    max-height: 200px;
  }
}

@media (max-width: 768px) {
  footer {
    margin-left: 0;
    margin-right: 0;
  }

  .footer-content {
    margin: 0 20px;
  }

  .footer-top-right span {
    font-size: 12px;
  }

  .footer-top img {
    width: 100px;
    max-width: 100px;
    height: auto;
  }

  .footer-top-right img {
    width: 20px;
  }

  .container {
    margin-left: 20px;
    margin-right: 20px;
  }

  .investment-info-section {
    gap: 60px;
  }

  .investment-info-top {
    flex-direction: column;
  }

  .investment-info-title {
    font-size: 32px;
    max-width: 100%;
  }

  .investment-info-descr {
    font-size: 14px;
    max-width: 100%;
    margin-bottom: 28px;
  }

  .investment-info-options {
    flex-direction: column;
    gap: 20px;
    margin-bottom: 28px;
  }

  .investment-info-option {
    max-width: 100%;
  }

  .investment-info-option img {
    width: 32px;
    height: 32px;
  }

  .investment-info-option p {
    font-size: 13px;
  }

  .investment-info-button {
    max-width: 100%;
    width: 100%;
    font-size: 14px;
  }

  .investment-info-image {
    display: none;
  }

  .investment-info-text {
    font-size: 19px;
  }

  .table-section {
    padding: 60px 15px;
  }

  .ranking-table {
    padding: 0;
  }

  .ranking-header {
    flex-direction: column;
    padding: 20px 15px;
    margin-bottom: 30px;
    gap: 12px;
  }

  .ranking-icon {
    width: 70px;
    height: 80px;
  }

  .ranking-header h2 {
    font-size: 24px;
    text-align: center;
    letter-spacing: 1px;
  }

  .ranking-columns {
    display: none;
  }

  .ranking-rows {
    padding: 20px 15px;
    gap: 16px;
  }

  .ranking-row {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px 16px;
    height: auto;
    background-size: cover;
    background-position: center right;
  }

  .rank-info {
    justify-content: flex-start;
    gap: 12px;
  }

  .rank-badge {
    width: 40px;
    height: 45px;
  }

  .rank-name {
    font-size: 18px;
  }

  .rank-turnover,
  .rank-investments {
    padding-top: 0;
    padding-left: 52px;
    font-size: 16px;
    text-align: left;
  }

  .rank-turnover::before {
    content: "Turnover: ";
    color: #74767e;
    font-weight: 500;
  }

  .rank-investments::before {
    content: "Investments: ";
    color: #74767e;
    font-weight: 500;
  }
}

@media (max-width: 700px) {
  .logo--mobile {
    height: 28px;
    max-width: 120px;
  }

  .container {
    margin: 20px;
  }
}

@media (max-width: 600px) {
  .navbar-content {
    padding: 10px 14px;
  }

  footer {
    margin-left: 20px;
    margin-right: 20px;
  }

  .footer-top {
    padding: 30px 20px;
  }

  .footer-middle {
    padding: 20px 15px;
  }

  .footer-column h4 {
    font-size: 13px;
  }

  .footer-column a {
    font-size: 13px;
  }

  .footer-auth .auth-buttons {
    flex-direction: column;
  }

  .footer-auth .btn-login,
  .footer-auth .btn-signup {
    width: 100%;
  }

  .investment-info-section {
    gap: 50px;
  }

  .investment-info-title {
    font-size: 28px;
  }

  .investment-info-descr {
    font-size: 13px;
    margin-bottom: 24px;
  }

  .investment-info-options {
    gap: 16px;
    margin-bottom: 24px;
  }

  .investment-info-option img {
    width: 28px;
    height: 28px;
  }

  .investment-info-option p {
    font-size: 12px;
  }

  .investment-info-button {
    font-size: 13px;
  }

  .investment-info-button::before,
  .investment-info-button::after {
    width: 12px;
    height: 12px;
  }

  .investment-info-text {
    font-size: 17px;
  }
}

@media (max-width: 480px) {
  .investment-info-section {
    gap: 40px;
  }

  .investment-info-title {
    font-size: 24px;
  }

  .investment-info-descr {
    font-size: 12px;
    margin-bottom: 20px;
  }

  .investment-info-options {
    gap: 14px;
    margin-bottom: 20px;
  }

  .investment-info-option img {
    width: 26px;
    height: 26px;
  }

  .investment-info-option p {
    font-size: 11px;
  }

  .investment-info-button {
    font-size: 12px;
    max-height: 42px;
  }

  .investment-info-button::before,
  .investment-info-button::after {
    width: 10px;
    height: 10px;
  }

  .investment-info-text {
    font-size: 15px;
  }

  .footer-content {
    margin: 0;
    border-left: none;
    border-right: none;
    background-size: 80px;
    background-position: 20px 20px;
  }
}

.btn-login:hover::before,
.btn-login:hover::after,
.btn-signup:hover::before,
.btn-signup:hover::after,
.btn-login-corners:hover::before,
.btn-login-corners:hover::after,
.btn-signup-corners:hover::before,
.btn-signup-corners:hover::after {
  border-color: #333333;
}

@media (hover: none) and (pointer: coarse) {
  .btn-login:hover,
  .btn-signup:hover,
  .mobile-menu-toggle:hover {
    transform: none;
    box-shadow: none;
  }
  .logo:hover {
    transform: none;
    filter: none;
  }
  .btn-login:active {
    background: rgba(255, 255, 255, 0.3);
  }
  .btn-signup:active {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
  }
}

@media (prefers-reduced-motion: reduce) {
  .logo--desktop,
  .logo--mobile {
    transition: none;
  }
  .logo:hover {
    transform: none;
    filter: none;
  }
  @keyframes logoFadeIn {
    from,
    to {
      opacity: 1;
      transform: none;
    }
  }
}

@media print {
  .navbar {
    display: none !important;
  }
}
