.footer {
      color: #fff;
      font-weight: bold;
      border-radius: 0;
      padding: 15px 20px;
      position: relative;
      z-index: 1;
      margin-top: auto;
      box-sizing: border-box;
    }
    .footer-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
      width: 100%;
      max-width: none;
      margin: 0;
      box-sizing: border-box;
    }
    .footer-left {
      display: flex;
      align-items: center;
      gap: 20px;
    }
    .footer-left-text {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }
    .footer-title {
      font-size: 16px;
      color: #fff;
      text-shadow: 1px 1px rgba(0,0,0,0.3);
    }
    .footer-title-gradient {
      display: inline-block;
      background: linear-gradient(270deg, #86bfe5, #a7e1b7, #e2bd7b, #bdaee8, #86bfe5);
      background-size: 1200% 1200%;
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
      color: transparent;
      animation: footerGradientMove 20s ease-in-out infinite;
      text-shadow: none;
    }
    .footer-text {
      font-size: 14px;
      color: #ccc;
      text-shadow: 1px 1px rgba(0,0,0,0.3);
    }
    .footer-right {
      display: flex;
      align-items: center;
    }
    .footer-links {
      display: flex;
      gap: 0;
      align-items: center;
      background: rgba(255, 255, 255, 0.1);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      border: 1px solid rgba(255, 255, 255, 0.18);
      border-radius: 20px;
      box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
      padding: 0;
      overflow: hidden;
    }
    .footer-links a {
      color: #fff;
      text-decoration: none;
      font-weight: bold;
      font-size: 14px;
      transition: all 0.3s ease;
      text-shadow: 1px 1px rgba(0,0,0,0.3);
      padding: 8px 16px;
    }
    .footer-links a:not(:last-child) {
      border-right: 1px solid rgba(255, 255, 255, 0.18);
    }
    .footer-links a:hover {
      background: rgba(255, 255, 255, 0.15);
    }
    @keyframes gradientText {
      0% {
        background-position: 0% 50%;
      }
      100% {
        background-position: 300% 50%;
      }
    }
    @keyframes footerGradientMove {
      0% { background-position: 0% 50%; }
      50% { background-position: 100% 50%; }
      100% { background-position: 0% 50%; }
    }
    .footer-contact-btn {
      color: #fff;
      text-decoration: none;
      font-weight: bold;
      font-size: 13px;
      transition: all 0.3s ease;
      text-shadow: 1px 1px rgba(0,0,0,0.3);
      padding: 7px 14px;
      background: rgba(255, 255, 255, 0.1);
      backdrop-filter: blur(18px);
      -webkit-backdrop-filter: blur(18px);
      border: 1px solid rgba(255, 255, 255, 0.2);
      border-radius: 18px;
    }
    .footer-contact-btn:hover {
      background: rgba(255, 255, 255, 0.15);
    }
    .footer-contact-link {
      display: none;
    }
    .footer-center {
      display: flex;
      align-items: center;
      justify-content: center;
      flex: 1 1 auto;
      min-width: 190px;
    }
    .footer-language {
      position: relative;
      display: inline-block;
      color: #eef6ff;
      box-sizing: border-box;
    }
    .footer-language-trigger {
      width: 178px;
      height: 34px;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      color: #eef6ff;
      background: linear-gradient(180deg, rgba(42, 42, 42, 0.96), rgba(24, 24, 24, 0.96));
      border: 1px solid rgba(255, 255, 255, 0.16);
      border-radius: 18px;
      box-shadow: 0 8px 22px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.08);
      padding: 0 12px;
      font: inherit;
      font-size: 13px;
      font-weight: 700;
      outline: none;
      cursor: pointer;
      text-shadow: none;
      transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    }
    .footer-language-trigger:hover,
    .footer-language.is-open .footer-language-trigger {
      border-color: rgba(255, 255, 255, 0.26);
      background: linear-gradient(180deg, rgba(50, 50, 50, 0.98), rgba(28, 28, 28, 0.98));
    }
    .footer-language-trigger:focus-visible {
      border-color: rgba(255, 255, 255, 0.42);
      box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.10), 0 8px 22px rgba(0, 0, 0, 0.24);
    }
    .footer-language-flag {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      flex: 0 0 auto;
      width: 24px;
      height: 16px;
      border-radius: 3px;
      overflow: hidden;
      box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16), 0 1px 4px rgba(0, 0, 0, 0.25);
      position: relative;
    }
    .footer-language-flag-ru {
      background: linear-gradient(to bottom, #fff 0 33.33%, #2450a4 33.33% 66.66%, #d52b1e 66.66% 100%);
    }
    .footer-language-flag-us {
      background: repeating-linear-gradient(to bottom, #b22234 0 1.23px, #fff 1.23px 2.46px);
    }
    .footer-language-flag-us::before {
      content: '';
      position: absolute;
      left: 0;
      top: 0;
      width: 10px;
      height: 8.6px;
      background: #3c3b6e;
    }
    .footer-language-flag-tr {
      background: #e30a17;
    }
    .footer-language-flag-tr::before {
      content: '';
      position: absolute;
      left: 5px;
      top: 3px;
      width: 9px;
      height: 9px;
      border-radius: 50%;
      background: #fff;
    }
    .footer-language-flag-tr::after {
      content: '';
      position: absolute;
      left: 8px;
      top: 3px;
      width: 9px;
      height: 9px;
      border-radius: 50%;
      background: #e30a17;
      box-shadow: 7px 2px 0 -3px #fff;
    }
    .footer-language-flag-cn {
      background: #de2910;
    }
    .footer-language-flag-cn::before {
      content: '';
      position: absolute;
      left: 4px;
      top: 3px;
      width: 6px;
      height: 6px;
      background: #ffde00;
      clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 56%, 79% 91%, 50% 70%, 21% 91%, 32% 56%, 2% 35%, 39% 35%);
    }
    .footer-language-flag-cn::after {
      content: '';
      position: absolute;
      right: 5px;
      top: 4px;
      width: 3px;
      height: 3px;
      border-radius: 50%;
      background: #ffde00;
      box-shadow: -2px 5px 0 #ffde00, 4px 4px 0 #ffde00;
    }
    .footer-language-name {
      min-width: 0;
      flex: 1 1 auto;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      text-align: left;
    }
    .footer-language-trigger i {
      flex: 0 0 auto;
      color: rgba(255, 255, 255, 0.66);
      font-size: 10px;
      transition: transform 0.18s ease;
    }
    .footer-language.is-open .footer-language-trigger i {
      transform: rotate(180deg);
    }
    .footer-language-menu {
      position: fixed;
      left: 0;
      top: 0;
      display: none;
      width: 220px;
      max-height: min(48vh, 260px);
      overflow-y: auto;
      overflow-x: hidden;
      padding: 8px;
      border-radius: 16px;
      background: rgba(30, 30, 30, 0.97);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      border: 1px solid rgba(255, 255, 255, 0.15);
      box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
      transform: translateY(0);
      transform-origin: bottom center;
      z-index: 10030;
      box-sizing: border-box;
      scrollbar-width: thin;
      scrollbar-color: rgba(255, 255, 255, 0.22) transparent;
    }
    .footer-language.is-open .footer-language-menu,
    .footer-language-menu.is-open {
      display: flex;
      flex-direction: column;
      gap: 4px;
      animation: footerLanguagePopupIn 0.14s ease-out;
    }
    @keyframes footerLanguagePopupIn {
      from {
        opacity: 0;
      }
      to {
        opacity: 1;
      }
    }
    .footer-language-menu::-webkit-scrollbar {
      width: 10px;
    }
    .footer-language-menu::-webkit-scrollbar-track {
      background: transparent;
      border-radius: 999px;
    }
    .footer-language-menu::-webkit-scrollbar-thumb {
      background: rgba(255, 255, 255, 0.2);
      border-radius: 999px;
      border: 1px solid rgba(255, 255, 255, 0.1);
      min-height: 36px;
    }
    .footer-language-option {
      display: flex;
      align-items: center;
      gap: 10px;
      width: 100%;
      min-height: 38px;
      padding: 8px 10px;
      color: #f4f4f4;
      background: transparent;
      border: 0;
      border-radius: 10px;
      font: inherit;
      font-size: 13px;
      font-weight: 700;
      text-align: left;
      cursor: pointer;
      transition: background 0.16s ease, color 0.16s ease;
    }
    .footer-language-option:hover,
    .footer-language-option.is-active {
      background: rgba(255, 255, 255, 0.1);
      color: #fff;
    }
    .footer-language-option.is-active span {
      filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.18));
    }
    .telegram-widget {
      display: flex;
      align-items: center;
      gap: 12px;
      background: #229ED9;
      border: 1px solid rgba(255, 255, 255, 0.15);
      border-radius: 16px;
      padding: 6px 12px;
      text-decoration: none;
      transition: background 0.3s ease;
      box-shadow: 0 4px 15px rgba(34, 158, 217, 0.4);
      height: 34px;
      box-sizing: border-box;
    }
    .telegram-icon {
      flex-shrink: 0;
      width: 32px;
      height: 32px;
    }
    .telegram-content {
      display: flex;
      flex-direction: column;
      gap: 2px;
    }
    .telegram-title {
      color: #fff;
      font-weight: bold;
      font-size: 14px;
      line-height: 1.2;
      text-shadow: none;
    }
    .telegram-subtitle {
      color: rgba(255, 255, 255, 0.7);
      font-size: 11px;
      font-weight: 500;
      line-height: 1.2;
    }
    .mobile-nav .footer-center {
      display: flex;
      width: 100%;
      min-width: 0;
      order: 2;
    }
    .mobile-nav .footer-language {
      width: min(240px, 100%);
    }
    .mobile-nav .footer-language-trigger {
      width: 100%;
      height: 38px;
      border-radius: 14px;
      background: rgba(30, 30, 30, 0.82);
      border: 1px solid rgba(255, 255, 255, 0.13);
      box-shadow: none;
      padding: 0 12px;
      font-size: 13px;
    }
    .mobile-nav .footer-language-trigger:hover,
    .mobile-nav .footer-language.is-open .footer-language-trigger {
      background: rgba(42, 42, 42, 0.92);
      border-color: rgba(255, 255, 255, 0.22);
    }
    .mobile-nav .footer-language-flag {
      width: 26px;
      height: 17px;
      border-radius: 4px;
    }
    .mobile-nav .footer-language-option {
      min-height: 42px;
      padding: 10px 12px;
      border-radius: 10px;
      font-size: 14px;
    }
    @media (max-width: 900px) {
      .footer-center {
        display: flex;
        width: 100%;
        min-width: 0;
        order: 2;
      }
      .footer-language {
        width: min(240px, 100%);
      }
      .footer-language-trigger {
        width: 100%;
        height: 38px;
        border-radius: 14px;
        background: rgba(30, 30, 30, 0.82);
        border: 1px solid rgba(255, 255, 255, 0.13);
        box-shadow: none;
        padding: 0 12px;
        font-size: 13px;
      }
      .footer-language-trigger:hover,
      .footer-language.is-open .footer-language-trigger {
        background: rgba(42, 42, 42, 0.92);
        border-color: rgba(255, 255, 255, 0.22);
      }
      .footer-language-flag {
        width: 26px;
        height: 17px;
        border-radius: 4px;
      }
      .footer-language-menu {
        width: min(260px, calc(100vw - 24px));
        max-height: min(42vh, 240px);
        padding: 8px;
        border-radius: 14px;
        background: rgba(30, 30, 30, 0.98);
        border: 1px solid rgba(255, 255, 255, 0.14);
        box-shadow: 0 14px 34px rgba(0, 0, 0, 0.46);
      }
      .footer-language-option {
        min-height: 42px;
        padding: 10px 12px;
        border-radius: 10px;
        font-size: 14px;
      }
      .footer-language-option:hover,
      .footer-language-option.is-active {
        background: rgba(255, 255, 255, 0.09);
      }
    }
    @media (max-width: 768px) {
      .footer {
        padding: 16px 16px;
        background: #17212B;
        border-top: none;
        border-radius: 0;
      }
      .footer-inner {
        flex-direction: column;
        gap: 14px;
        text-align: center;
        width: 100%;
      }
      .footer-left {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        width: 100%;
      }
      .footer-left-text {
        align-items: center;
        gap: 4px;
      }
      .footer-title {
        font-size: 12px;
      }
      .footer-text {
        font-size: 10px;
        color: #8e9297;
      }
      .footer-contact-btn {
        display: none;
      }
      .footer-contact-link {
        display: block;
      }
      .footer-right {
        width: 100%;
      }
      .footer-links {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0;
        justify-content: center;
        width: 100%;
        background: rgba(30, 39, 50, 0.6);
        border: 1px solid rgba(51, 144, 236, 0.15);
        border-radius: 16px;
        overflow: hidden;
      }
      .footer-links a {
        font-size: 12px;
        padding: 10px 14px;
        text-shadow: none;
      }
      .footer-links a:not(:last-child) {
        border-right: 1px solid rgba(51, 144, 236, 0.12);
      }
      .footer-links a:hover {
        background: rgba(51, 144, 236, 0.15);
        color: #3390ec;
      }
      .footer-center {
        display: flex;
        width: 100%;
        min-width: 0;
        order: 2;
      }
      .footer-language {
        width: min(240px, 100%);
      }
      .footer-language-trigger {
        width: 100%;
        height: 38px;
        border-radius: 14px;
        background: rgba(30, 30, 30, 0.82);
        border: 1px solid rgba(255, 255, 255, 0.13);
        box-shadow: none;
        padding: 0 12px;
        font-size: 13px;
      }
      .footer-language-trigger:hover,
      .footer-language.is-open .footer-language-trigger {
        background: rgba(42, 42, 42, 0.92);
        border-color: rgba(255, 255, 255, 0.22);
      }
      .footer-language-flag {
        width: 26px;
        height: 17px;
        border-radius: 4px;
      }
      .footer-language-menu {
        width: min(260px, calc(100vw - 24px));
        max-height: min(42vh, 240px);
        padding: 8px;
        border-radius: 14px;
        background: rgba(30, 30, 30, 0.98);
        border: 1px solid rgba(255, 255, 255, 0.14);
        box-shadow: 0 14px 34px rgba(0, 0, 0, 0.46);
      }
      .footer-language-option {
        min-height: 42px;
        padding: 10px 12px;
        border-radius: 10px;
        font-size: 14px;
      }
      .footer-language-option:hover,
      .footer-language-option.is-active {
        background: rgba(255, 255, 255, 0.09);
      }
    }
    .footer * {
      -webkit-user-select: none;
      -moz-user-select: none;
      -ms-user-select: none;
      user-select: none;
    }
