/**
  Нормализация блочной модели
 */
 *,
 ::before,
 ::after {
   box-sizing: border-box;
   margin: 0;
   padding: 0;
 }

 
 /**
   Убираем внутренние отступы слева тегам списков,
   у которых есть атрибут class
  */
 :where(ul, ol):where([class]) {
   padding-left: 0;
 }
 
 /**
   Убираем внешние отступы body и двум другим тегам,
   у которых есть атрибут class
  */
 body,
 :where(blockquote, figure, fieldset):where([class]) {
   margin: 0;
 }
 
 /**
   Убираем внешние отступы вертикали нужным тегам,
   у которых есть атрибут class
  */
 :where(
   h1,
   h2,
   h3,
   h4,
   h5,
   h6,
   p,
   ul,
   ol,
   dl
 ):where([class]) {
   margin-block: 0;
 }
 
 :where(dd[class]) {
   margin-left: 0;
 }
 
 :where(fieldset[class]) {
   padding: 0;
   border: none;
 }
 
 /**
   Убираем стандартный маркер маркированному списку,
   у которого есть атрибут class
  */
 :where(ul[class]) {
   list-style: none;
 }
 
 :where(address[class]) {
   font-style: normal;
 }
 
 /**
   Обнуляем вертикальные внешние отступы параграфа,
   объявляем локальную переменную для внешнего отступа вниз,
   чтобы избежать взаимодействие с более сложным селектором
  */
 p {
   --paragraphMarginBottom: 24px;
 
   margin-block: 0;
 }
 
 /**
   Внешний отступ вниз для параграфа без атрибута class,
   который расположен не последним среди своих соседних элементов
  */
 p:where(:not([class]):not(:last-child)) {
   margin-bottom: var(--paragraphMarginBottom);
 }
 
 
 /**
   Упрощаем работу с изображениями и видео
  */
 img,
 video {
   display: block;
   max-width: 100%;
   height: auto;
 }
 
 /**
   Наследуем свойства шрифт для полей ввода
  */
 input,
 textarea,
 select,
 button {
   font: inherit;
 }
 
html {
  /**
    Пригодится в большинстве ситуаций
    (когда, например, нужно будет "прижать" футер к низу сайта)
   */
  height: 100%;
  /**
    Убираем скачок интерфейса по горизонтали
    при появлении / исчезновении скроллбара
   */
  scrollbar-gutter: stable;
  /**
    Плавный скролл
   */
  scroll-behavior: smooth;
}
 
 body {
   /**
     Пригодится в большинстве ситуаций
     (когда, например, нужно будет "прижать" футер к низу сайта)
    */
   min-height: 100%;
   /**
     Унифицированный интерлиньяж
    */
   line-height: 1.5;
 }
 
 /**
   Нормализация высоты элемента ссылки при его инспектировании в DevTools
  */
 a:where([class]) {
   display: inline-flex;
 }
 
 /**
   Курсор-рука при наведении на элемент
  */
 button,
 label {
   cursor: pointer;
 }
 
 /**
   Убирает серую подсветку при тапе на мобильных устройствах (iOS/Android)
  */
 button {
   -webkit-tap-highlight-color: transparent;
 }
 
 /**
   Приводим к единому цвету svg-элементы
   (за исключением тех, у которых уже указан
   атрибут fill со значением 'none' или начинается с 'url')
  */
 :where([fill]:not(
   [fill="none"],
   [fill^="url"]
 )) {
   fill: currentColor;
 }
 
 /**
   Приводим к единому цвету svg-элементы
   (за исключением тех, у которых уже указан
   атрибут stroke со значением 'none')
  */
 :where([stroke]:not(
   [stroke="none"],
   [stroke^="url"]
 )) {
   stroke: currentColor;
 }
 
 /**
   Чиним баг задержки смены цвета при взаимодействии с svg-элементами
  */
 svg * {
   transition-property: fill, stroke;
 }
 
 /**
   Приведение рамок таблиц в классический 'collapse' вид
  */
 :where(table) {
   border-collapse: collapse;
   border-color: currentColor;
 }
 
 /**
   Удаляем все анимации и переходы для людей,
   которые предпочитают их не использовать
  */
 @media (prefers-reduced-motion: reduce) {
   *,
   ::before,
   ::after {
     animation-duration: 0.01ms !important;
     animation-iteration-count: 1 !important;
     transition-duration: 0.01ms !important;
     scroll-behavior: auto !important;
   }
 }

:root {
    --color-light: #FFFFFF;
    --color-dark: #000000;
    --border-radius-header: 35px;
    --border-radius-first: 24px;

    --font-family-main: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --transition-main: 0.2s ease;
    
    /* Переменные для анимаций */
    --animation-duration: 0.3s;
    --animation-ease: cubic-bezier(0.4, 0, 0.2, 1);
    --animation-delay: 0.1s;
}

body {
    /**
      Пригодится в большинстве ситуаций
      (когда, например, нужно будет "прижать" футер к низу сайта)
     */
    min-height: 100dvh;
    /**
      Унифицированный интерлиньяж
     */
    line-height: 1.5;
    font-family: var(--font-family-main);
    background-color: var(--color-dark);
    overflow-x: hidden;
    padding-bottom: 40px;
}

/* ===== MOBILE & TABLET RESPONSIVE STYLES ===== */

/* Мобильная навигация */
@media (max-width: 768px) {
    .header-container {
        padding: 0 10px;
        top: 20px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .header {
        width: 100%;
        padding: 10px 6px;
        flex-wrap: nowrap;
        gap: 5px;
        box-sizing: border-box;
    }
    
    .header-logo {
        flex-shrink: 0;
        min-width: 60px;
    }
    
    .header-logo-image {
        content: url('icons/Main logotype.svg');
        width: 29px;
        height: auto;
    }
    
    .header-menu {
        display: none !important; /* Полностью скрываем меню на мобильных */
    }
    
    .header-buttons {
        display: flex;
        gap: 4px;
        margin-left: auto;
        flex-shrink: 0;
    }
    
    .header-button {
        font-size: 9.5px;
        padding: 5px 7px;
        border: 1px solid rgba(255, 255, 255, 0.25);
        border-radius: 14px;
        white-space: nowrap;
        flex-shrink: 1;
        min-width: 0;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 0 10px;
    }
    
    .header {
        padding: 9px 5px;
        gap: 4px;
    }
    
    .header-logo {
        min-width: 50px;
    }
    
    .header-logo-image {
        content: url('icons/Main logotype.svg');
        width: 23px;
    }
    
    .header-buttons {
        gap: 3px;
    }
    
    .header-button {
        font-size: 8.5px;
        padding: 4px 6px;
    }
}

@media (max-width: 390px) {
    .header-container {
        padding: 0 10px;
    }
    
    .header {
        padding: 8px 4px;
        gap: 3px;
    }
    
    .header-logo {
        min-width: 45px;
    }
    
    .header-logo-image {
        content: url('icons/Main logotype.svg');
        width: 27px;
    }
    
    .header-buttons {
        gap: 2px;
    }
    
    .header-button {
        font-size: 8px;
        padding: 4px 5px;
    }
}

.header {
    display: flex;
    width: 794px;
    padding: 10px;
    justify-content: space-between;
    align-items: center;
    border-radius: 35px;
    border: 1px solid rgba(255, 255, 255, 0.17);
    background: rgba(255, 255, 255, 0.01);
    backdrop-filter: blur(10.5px);
    margin: 0 auto;
    transition: width 0.3s ease, padding 0.3s ease;
}

.header.expanded {
    width: fit-content;
    max-width: 100%;
    padding: 15px 20px;
}

.header-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.header-menu-list {
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.header-menu-link {
    color: #FFF;
    text-align: center;
    font-family: var(--font-family-main);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-decoration: none;
}

.header-buttons {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-button {
    color: #FFF;
    text-align: center;
    font-family: var(--font-family-main);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-decoration: none;
}

.background-image {
    width: 1440px;
    height: 300px;
    flex-shrink: 0;
    aspect-ratio: 24/5;
    background-image: url('./images/Background Image.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin: 0 auto;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
}

.header-container {
    position: fixed;
    top: 29px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: 100%;
    display: flex;
    justify-content: center;
}

.main-screen {
    margin: 152px auto 0px auto;
    padding: 0px 0px 92px 0px;
    display: flex;
    width: 768px;
    flex-direction: column;
    align-items: center;
    gap: 60px;
    overflow: visible;
}

@media (max-width: 1024px) {
    .main-screen {
        width: 90%;
        margin-top: 120px;
        padding-bottom: 60px;
    }
}

@media (max-width: 768px) {
    .main-screen {
        width: 100%;
        max-width: 95%;
        margin-top: 110px;
        padding: 0 15px 50px;
        gap: 45px;
    }
}

@media (max-width: 480px) {
    .main-screen {
        margin-top: 95px;
        padding: 0 12px 40px;
        gap: 35px;
    }
}

/* Header Styles */
.header {
    display: flex;
    width: 794px;
    padding: 10px;
    justify-content: space-between;
    align-items: center;
    border-radius: 35px;
    border: 1px solid rgba(255, 255, 255, 0.17);
    background: rgba(255, 255, 255, 0.01);
    backdrop-filter: blur(10.5px);
    margin: 0 auto;
    transition: width 0.3s ease, padding 0.3s ease;
}

.header.expanded {
    width: fit-content;
    max-width: 100%;
    padding: 15px 20px;
}

.header-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.header-menu-list {
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.header-menu-link {
    color: #FFF;
    text-align: center;
    font-family: var(--font-family-main);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-decoration: none;
}

.header-buttons {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-button {
    color: #FFF;
    text-align: center;
    font-family: var(--font-family-main);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-decoration: none;
}

.header-container {
    position: fixed;
    top: 29px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: 100%;
    display: flex;
    justify-content: center;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background-color: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    text-align: center;
}

.mobile-menu-link {
    color: #fff;
    font-family: Montserrat;
    font-size: 24px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.mobile-menu.active .mobile-menu-link {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu-link:nth-child(2) { transition-delay: 0.2s; }
.mobile-menu-link:nth-child(3) { transition-delay: 0.3s; }

.mobile-menu-link:hover {
    color: #ffffff;
    transform: translateY(-2px);
}

/* Mobile Menu Responsive */
@media (max-width: 768px) {
    .header-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
}
.main-screen-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    align-self: stretch;
}

/* ===== PROFILE INFO SECTION ===== */

.profile-info {
    display: flex;
    gap: 10px;
    align-items: center;
    width: 100%;
    max-width: 768px;
    margin: 114px auto 0 auto;
    box-sizing: border-box;
}

.Profile-Title {
    font-family: var(--font-family-main);
    font-size: 24px;
    font-weight: 600; /* SemiBold */
    line-height: normal;
    color: #FFFFFF;
    margin: 0;
    white-space: pre;
}

.Profile-Email {
    font-family: var(--font-family-main);
    font-size: 15px;
    font-weight: 500; /* Medium */
    line-height: normal;
    color: rgba(255, 255, 255, 0.2);
    margin: 0;
    white-space: pre;
}

/* ===== SUBSCRIPTION AND DEVICES SECTION ===== */

.Subscription-and-Devices-Container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: flex-start;
    width: 100%;
    max-width: 768px;
    margin: 30px auto 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.Subscription-Container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: stretch;
    width: 100%;
}

/* Subscription Info Section */
.Subscription-Info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 192px;
    width: 100%;
    align-items: flex-start;
}

.Subscription-Title {
    font-family: var(--font-family-main);
    font-size: 20px;
    font-weight: 600; /* SemiBold */
    line-height: normal;
    color: #FFFFFF;
    margin: 0;
}

.Subscription-Details {
    backdrop-filter: blur(20.55px);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    flex: 1;
    width: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px 10px 10px 10px;
    box-sizing: border-box;
}

.Subscription-Type-Container {
    display: flex;
    gap: 4px;
    align-items: center;
    font-family: var(--font-family-main);
    font-size: 15px;
    font-weight: 500; /* Medium */
    line-height: normal;
    white-space: nowrap;
}

.Subscription-Expiry-Container {
    display: flex;
    gap: 5px;
    align-items: center;
    font-family: var(--font-family-main);
    font-size: 15px;
    font-weight: 500; /* Medium */
    line-height: normal;
    white-space: nowrap;
}

.Subscription-Type-Label {
    color: #FFFFFF;
    margin: 0;
    white-space: pre;
}

.Type-Value {
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    white-space: pre;
}

.Subscription-Renewal-Container {
    background: #FFFFFF;
    border-radius: 10px;
    padding: 10px 27px;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-main);
}

.Subscription-Renewal-Container:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.Upgrade-Text {
    font-family: var(--font-family-main);
    font-size: 14px;
    font-weight: 600; /* SemiBold */
    color: #000000;
    margin: 0;
    white-space: pre;
    text-align: center;
    width: 100%;
}

/* Devices Container Section */
.Devices-Container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    align-items: flex-start;
    align-self: stretch;
}

.Devices-Title {
    font-family: var(--font-family-main);
    font-size: 20px;
    font-weight: 600;
    line-height: normal;
    color: #FFFFFF;
    margin: 0;
    width: 100%;
}

.Devices-List-Wrapper {
    backdrop-filter: blur(20.55px);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    width: 100%;
    min-height: 0;
    box-sizing: border-box;
    flex: 1; /* Added to fill height */
    display: flex; /* Added to control child Devices-List if needed */
    flex-direction: column;
}

.Devices-List {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px;
    box-sizing: border-box;
    width: 100%;
}

.Device-Item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 9px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    box-sizing: border-box;
    min-height: 40px;
}

.Device-Name {
    font-family: var(--font-family-main);
    font-size: 13px;
    font-weight: 500;
    line-height: normal;
    color: #FFFFFF;
    margin: 0;
    white-space: pre-wrap;
    word-break: break-word;
}

.Non-Device-Name {
    font-family: var(--font-family-main);
    font-size: 13px;
    font-weight: 500;
    line-height: normal;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    white-space: pre;
}

.Logout-Button {
    width: 21px;
    height: 21px;
    background-image: url('icons/Logout 1.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
    transition: all var(--transition-main);
    flex-shrink: 0;
    border: none;
    background-color: transparent;
}

.Logout-Button:hover {
    opacity: 0.7;
    transform: scale(1.1);
}

/* Payment History Styles */
.payment-history-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.payment-history-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.payment-history-item {
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.payment-history-item-info {
    flex: 1;
}

.payment-history-period {
    font-weight: 500;
    margin-bottom: 4px;
    color: #FFFFFF;
}

.payment-history-date {
    font-size: 0.85em;
    color: rgba(255, 255, 255, 0.6);
}

.payment-history-item-status {
    text-align: right;
    margin-right: 4px;
}

.payment-history-amount {
    font-weight: 500;
    margin-bottom: 4px;
    color: #FFFFFF;
}

.payment-history-status-text {
    font-size: 0.85em;
}

/* Responsive Styles for Subscription and Devices */
@media (max-width: 1024px) {
    .Subscription-Container {
        grid-template-columns: 1fr;
        display: flex;
        flex-direction: column;
    }
    
    .Subscription-Info,
    .Devices-Container {
        width: 100%;
        max-width: 100%;
        height: auto;
        min-height: 192px;
    }
}

@media (max-width: 1024px) {
    .profile-info {
        margin-top: 110px;
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    body {
        padding-bottom: 50px;
    }
    
    .background-image {
        width: 100%;
        height: 200px;
    }
    
    .profile-info {
        margin-top: 100px;
        padding: 0 15px;
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .Profile-Title {
        font-size: 22px;
    }
    
    .Profile-Email {
        font-size: 14px;
    }
    
    .Subscription-and-Devices-Container {
        margin-top: 25px;
        padding: 0 15px;
        gap: 25px;
    }
    
    .Subscription-Container {
        gap: 15px;
    }
    
    .Subscription-Info,
    .Devices-Container {
        width: 100%;
        height: auto;
        min-height: 192px;
    }
    
    .Subscription-Details {
        min-height: 150px;
    }
}

@media (max-width: 480px) {
    body {
        padding-bottom: 40px;
    }
    
    .background-image {
        width: 100%;
        height: 150px;
    }
    
    .profile-info {
        margin-top: 90px;
        padding: 0 15px;
        gap: 5px;
    }
    
    .Profile-Title {
        font-size: 20px;
    }
    
    .Profile-Email {
        font-size: 13px;
    }
    
    .Subscription-and-Devices-Container {
        margin-top: 20px;
        padding: 0 15px;
        gap: 20px;
    }
    
    .Subscription-Container {
        gap: 12px;
    }
    
    .Subscription-Info,
    .Devices-Container {
        height: auto;
        min-height: 180px;
    }
    
    .Subscription-Title,
    .Devices-Title {
        font-size: 18px;
    }
    
    .Subscription-Type-Container,
    .Subscription-Expiry-Container {
        font-size: 14px;
    }
    
    .Upgrade-Text {
        font-size: 13px;
    }
    
    .Device-Name,
    .Non-Device-Name {
        font-size: 12px;
    }
    
    .Promo-Frame {
        height: 100px;
    }
}

@media (max-width: 390px) {
    body {
        padding-bottom: 30px;
    }
    
    .profile-info {
        margin-top: 85px;
        padding: 0 12px;
    }
    
    .Profile-Title {
        font-size: 18px;
    }
    
    .Profile-Email {
        font-size: 12px;
    }
    
    .Subscription-and-Devices-Container {
        margin-top: 18px;
        padding: 0 12px;
        gap: 18px;
    }
    
    .Subscription-Title,
    .Devices-Title {
        font-size: 16px;
    }
    
    .Subscription-Type-Container,
    .Subscription-Expiry-Container {
        font-size: 13px;
    }
    
    .Upgrade-Text {
        font-size: 12px;
    }
    
    .Device-Name,
    .Non-Device-Name {
        font-size: 11px;
    }
    
    .Download-App-Title,
    .Support-Title {
        font-size: 18px;
    }
    
    .Download-Button-Text,
    .Support-Button-Text {
        font-size: 13px;
    }
    
    .Promo-Frame {
        height: 90px;
    }
}

/* ===== DOWNLOAD APP SECTION ===== */

.Download-App-Container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    width: 100%;
}

.Download-App-Title {
    font-family: var(--font-family-main);
    font-size: 24px;
    font-weight: 600; /* SemiBold */
    line-height: normal;
    color: #FFFFFF;
    text-align: center;
    margin: 0;
    width: 100%;
}

.Download-App-Options {
    display: flex;
    gap: 28px;
    align-items: center;
    width: 100%;
}

.Download-App-Option {
    display: flex;
    flex-direction: column;
    gap: 9px;
    align-items: center;
    flex: 1;
    min-width: 0;
    min-height: 0;
}

.Download-Button-Container {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 10px 20px;
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    cursor: pointer;
    transition: all var(--transition-main);
}

.Download-Button-Container:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.Download-Button-Container:active {
    transform: translateY(0);
    opacity: 0.8;
}

.Download-Button-Icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    display: block;
}

.Download-Button-Text {
    font-family: var(--font-family-main);
    font-size: 15px;
    font-weight: 600; /* SemiBold */
    line-height: normal;
    color: #000000;
    text-align: center;
    margin: 0;
    white-space: pre;
}

.Download-App-Version {
    font-family: var(--font-family-main);
    font-size: 12px;
    font-weight: 500; /* Medium */
    line-height: normal;
    color: rgba(255, 255, 255, 0.3);
    text-align: center;
    margin: 0;
    width: 100%;
}

/* ===== SUPPORT SECTION ===== */

.Support-Container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
    width: 100%;
}

.Support-Title {
    font-family: var(--font-family-main);
    font-size: 24px;
    font-weight: 600; /* SemiBold */
    line-height: normal;
    color: #FFFFFF;
    text-align: center;
    margin: 0;
    width: 100%;
}

.Support-Button-Container {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 10px 20px;
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    cursor: pointer;
    transition: all var(--transition-main);
}

.Support-Button-Container:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.Support-Button-Icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    display: block;
}

.Support-Button-Text {
    font-family: var(--font-family-main);
    font-size: 15px;
    font-weight: 600; /* SemiBold */
    line-height: normal;
    color: #000000;
    text-align: center;
    margin: 0;
    white-space: pre;
}

/* ===== PROMO FRAME SECTION ===== */

.Promo-Frame {
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 128px;
    border-radius: 10px;
    width: 100%;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.Promo-Frame-Image {
    position: absolute;
    width: 100%;
    height: 123.01%;
    top: -11.51%;
    left: 0;
    object-fit: cover;
    display: block;
}

/* Responsive Styles for Download App, Support and Promo Frame */
@media (max-width: 1024px) {
    .Download-App-Options {
        gap: 20px;
    }
    
    .Promo-Frame {
        width: 100%;
        max-width: 768px;
    }
}

@media (max-width: 768px) {
    .Download-App-Container,
    .Support-Container {
        gap: 15px;
    }
    
    .Download-App-Title,
    .Support-Title {
        font-size: 22px;
    }
    
    .Download-App-Options {
        flex-direction: column;
        gap: 12px;
    }
    
    .Download-App-Option {
        width: 100%;
    }
    
    .Download-Button-Container,
    .Support-Button-Container {
        padding: 12px 20px;
    }
    
    .Promo-Frame {
        width: 100%;
        height: 110px;
    }
    
    .Promo-Frame-Image {
        position: absolute;
        height: 123.01%;
        top: -11.51%;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .Download-App-Container,
    .Support-Container {
        gap: 12px;
    }
    
    .Download-App-Title,
    .Support-Title {
        font-size: 20px;
    }
    
    .Download-App-Options {
        gap: 10px;
    }
    
    .Download-Button-Container,
    .Support-Button-Container {
        padding: 10px 15px;
    }
    
    .Download-Button-Text,
    .Support-Button-Text {
        font-size: 14px;
    }
    
    .Download-App-Version {
        font-size: 11px;
    }
    
    .Download-Button-Icon,
    .Support-Button-Icon {
        width: 20px;
        height: 20px;
    }
}

/* ===== HEADER USER INFO (AUTHENTICATED) ===== */
.header-user-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-user-email-link {
    text-decoration: none;
    display: inline-flex;
    pointer-events: none; /* Отключаем клик на странице профиля */
}

.header-user-email {
    color: #FFF;
    font-family: var(--font-family-main);
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    white-space: nowrap;
}

.header-logout-button {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 21px;
    height: 21px;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.header-logout-button:hover {
    opacity: 0.7;
    transform: scale(1.1);
}

.header-logout-button:active {
    transform: scale(0.95);
}

.header-logout-icon {
    width: 21px;
    height: 21px;
    display: block;
}

/* Responsive styles for header user info */
@media (max-width: 768px) {
    .header-user-info {
        gap: 6px;
    }
    
    .header-user-email {
        font-size: 10px;
    }
    
    .header-logout-button {
        width: 18px;
        height: 18px;
    }
    
    .header-logout-icon {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 480px) {
    .header-user-info {
        gap: 5px;
    }
    
    .header-user-email {
        font-size: 9px;
        max-width: 100px;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .header-logout-button {
        width: 16px;
        height: 16px;
    }
    
    .header-logout-icon {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 390px) {
    .header-user-info {
        gap: 4px;
    }
    
    .header-user-email {
        font-size: 8px;
        max-width: 80px;
    }
    
    .header-logout-button {
        width: 14px;
        height: 14px;
    }
    
    .header-logout-icon {
        width: 14px;
        height: 14px;
    }
}