:root {
    /* Цвета фона и карточек (как в инструкции и app.html) */
    --card-bg-color: #0f1214;       
    --card-border-color: #262626;   
    
    /* Скругление карточек (34px) */
    --card-radius: 34;
    --support-card-h: 110;
    --grid-margin-top: 24;
    --frame-width: 520px;
    
    /* Текст карточки */
    --support-title-size: 32;
    --card-title-size: 18;
    --card-desc-size: 14;

    /* Иконки */
    --icon-size: 95;
}

html {
    scroll-behavior: smooth;
    background-color: #000000;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent !important; 
    touch-action: manipulation !important;
}

*:focus {
    outline: none !important; 
}

/* Корневые элементы с центрированием */
html, body {
    background-color: #000000;
    color: #ffffff;
    width: 100%;
    min-height: 100dvh;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

.prevent-select {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* МОБИЛЬНЫЙ ФРЕЙМ */
.preview-area {
    width: 100%;
    max-width: var(--frame-width);
    min-height: 100dvh;
    background-color: #000000;
    overflow-x: hidden; 
    overflow-y: visible;
    position: relative;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

/* ОРИГИНАЛЬНЫЙ 1800px ВЕРХНИЙ ГРАДИЕНТ СТРАНИЦЫ */
.glow-container {
    position: absolute !important;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1800px; 
    height: 100vh;
    pointer-events: none;
    z-index: 1;
    background-image: 
        radial-gradient(ellipse 484px 244px at calc(50% - 323px) -7px, rgba(0, 217, 255, 1) 0%, rgba(0, 217, 255, 0) 100%),
        radial-gradient(ellipse 484px 244px at calc(50% + 323px) -7px, rgba(0, 255, 225, 1) 0%, rgba(0, 255, 225, 0) 100%);
    background-repeat: no-repeat;
}

.content-wrapper {
    width: 100%;
    padding: 24px 24px 60px 24px;
    z-index: 2;
    position: relative;
    flex: 1;
}

.header-nav {
    width: 100%;
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.back-btn {
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    text-decoration: none;
    outline: none !important;
    border: none;
    background: transparent;
    transition: transform 0.15s ease;
}

.back-btn:active {
    transform: scale(0.9);
}

.back-btn svg {
    width: 24px;
    height: 24px;
}

/* ЗАГОЛОВКИ */
.main-title {
    font-size: calc(var(--support-title-size) * 1px);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
    line-height: 1.1;
}

.main-desc {
    color: #b5b5b5;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.35;
}

/* СПИСОК КАРТОЧЕК ПОДДЕРЖКИ */
.support-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: calc(var(--grid-margin-top) * 1px);
}

.support-card {
    min-height: calc(var(--support-card-h) * 1px);
    height: auto !important; 
    background-color: var(--card-bg-color);
    border: none; 
    border-radius: calc(var(--card-radius) * 1px); /* 34px */
    padding: 22px 24px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
    color: #fff;
    outline: none !important;
    z-index: 1;
    transition: transform 0.15s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.support-card:active {
    transform: scale(0.96);
}

/* СЕТКА LINEBG */
.support-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('https://raw.githubusercontent.com/Aimpok/Zelloicons/refs/heads/main/linebg.png');
    background-size: cover !important;
    background-position: center !important;
    mix-blend-mode: screen;
    opacity: 0.85;
    z-index: 2;
    pointer-events: none;
}

/* КОНТЕНТ КАРТОЧЕК */
.support-text-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 4;
    margin-right: 85px; 
    width: auto;
}

.support-card-title {
    font-size: calc(var(--card-title-size) * 1px);
    font-weight: 600;
    margin-bottom: 4px;
    line-height: 1.2;
    color: #ffffff;
}

.support-card-desc {
    font-size: calc(var(--card-desc-size) * 1px);
    color: #b5b5b5;
    font-weight: 400;
    line-height: 1.35;
}

/* 3D ИКОНКИ ПОДДЕРЖКИ */
.support-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: calc(var(--icon-size) * 1px);
    height: calc(var(--icon-size) * 1px);
    z-index: 3;
    pointer-events: none;
    object-fit: contain;
}
