* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    box-sizing: border-box;
    position: relative;
    outline: none;
}

body {
    color: #d0d0d0;
    font-family: sans-serif;
    background: linear-gradient(
            135deg,
            #0a0a1a 0%,
            #12122e 30%,
            #1e1e3a 60%,
            #12122e 80%,
            #0a0a1a 100%
    );
    animation: bgPulse 12s ease-in-out infinite alternate;
}

@keyframes bgPulse {
    0% {
        background-position: 0 50%;
    }
    100% {
        background-position: 100% 50%;
    }
}


.content button, .content .button {
    background: rgba(87, 199, 255, 0.15);
    border: 1px solid rgba(87, 199, 255, 0.4);
    color: #57c7ff;
    font-size: 13pt;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 8pt;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow:
            0 4px 16px rgba(87, 199, 255, 0.15),
            inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    letter-spacing: 0.5px;
}

.content button:hover, .content .button:hover {
    background: rgba(87, 199, 255, 0.3);
    border-color: rgba(87, 199, 255, 0.7);
    box-shadow:
            0 8px 24px rgba(87, 199, 255, 0.3),
            inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.content button:active, .content .button:active {
    transform: translateY(0);
    box-shadow:
            0 2px 8px rgba(87, 199, 255, 0.2),
            inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.content button.selected, .content .button.selected {
    background: rgba(111, 255, 100, 0.15);
    border: 1px solid rgba(160, 255, 100, 0.4);
    color: #8dff69;
}
.content button.cancel, .content .button.cancel {
    background: rgba(255, 0, 32, 0.15);
    border: 1px solid rgba(138, 0, 23, 0.4);
    color: #ff979e;
}

a {
    color: #57c7ff;
    font-weight: bold;
    transition-duration: 200ms;
}

a:hover {
    color: #a0e0ff;
}

.right {
    text-align: right;
}

.center {
    text-align: center;
}

header {
    padding: 10pt;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c0daff;
    border-radius: 12pt;
    overflow: hidden;
    background: rgba(18, 18, 30, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: background 0.3s ease;
}

header h1 {
    font-size: 25pt;
    padding-left: 20pt;
    cursor: pointer;
    color: #e0e0e0;
    transition-duration: 200ms;
}

header h1:hover {
    color: #8adeff;
}

header .search {
    flex: 1;
    text-align: center;
    padding: 0 125pt 0 145pt;
}

header .search .search-line {
    background: #0b1124;
    display: block;
    width: 100%;
    padding: 6pt;
    min-height: 25pt;
    border: 1px solid #323232;
    border-radius: 6pt;
    transition-duration: 200ms;
    color: #5d758c;
}

header .search .search-line:focus {
    background: #111111;
    border-color: #818181;
    color: white;
}

header .menu {
    display: flex;
    align-items: center;
    justify-content: center;
}

header .menu a {
    color: #ffffff;
    font-size: 16pt;
    font-weight: bold;
    padding: 20pt 25pt;
    transition-duration: 200ms;
}

header .menu a:hover {
    color: #a0e0ff;
}

.app {
    max-width: 2000px;
    margin: 60pt auto;
    min-height: 60vh;
    display: flex;
    flex-direction: row;
}

.app .menu {
    width: 260pt;
    min-width: 260pt;
    color: #c0daff;
    padding: 10pt;
}

.app .menu a {
    color: #ffffff;
    font-size: 14pt;
    padding: 10pt 15pt;
    display: block;
    border-radius: 12px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(12px);

    transition:
            background 250ms cubic-bezier(0.4, 0, 0.2, 1),
            box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1),
            transform 200ms ease-out;

    will-change: transform, box-shadow;
}

.app .menu a:hover {
    background: rgba(30, 30, 58, 0.95);
    box-shadow:
            0 8px 24px rgba(0, 0, 0, 0.4),
            inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.app .menu a.selected {
    background: rgba(30, 30, 58, 0.95);
    box-shadow:
            0 8px 24px rgba(0, 0, 0, 0.4),
            inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.app .content {
    flex: 1;
    padding: 10pt 20pt;
}

.app .content h2 {
    padding-bottom: 15pt;
}

.app .content {
    font-size: 16pt;
}

.app .content .input {
    padding-bottom: 12pt;
}

footer {
    text-align: center;
    display: flex;
    align-items: center;
    justify-items: center;
}

footer .text {
    padding-left: 15pt;
    text-align: left;
    flex: 1;
}

footer a {
    font-weight: bold;
    color: #ffffff;
    font-size: 12pt;
    padding: 15pt 15pt;
    transition-duration: 200ms;
}

footer a:hover {
    color: #3bc5ff;
}

.menu-item b {
    display: block;
    padding-top: 10pt;
}

.menu-item {
    background: rgba(30, 30, 58, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 20px;
    box-shadow:
            0 8px 32px rgba(0, 0, 0, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.03);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-align: center;
    color: #e0e0e0;
    min-height: 150pt;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.menu-item:hover {
    transform: translateY(-4px);
    background: rgba(52, 52, 88, 0.9);
    box-shadow:
            0 16px 48px rgba(0, 0, 0, 0.5),
            inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.menu-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
            to right,
            transparent,
            rgba(255, 255, 255, 0.1),
            transparent
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-card:hover::before {
    opacity: 1;
}

.menu-item.blue {
    background-color: rgba(44, 87, 145, 0.47);
}

.menu-item.blue:hover {
    background-color: rgba(44, 87, 145, 0.72);
}

.wow {
    top: 8pt;
    right: 8pt;
    position: absolute;
    background: rgba(255, 98, 31, 0.9);
    border: 1px solid #ffa532;
    color: #333;
    font-weight: bold;
    font-size: 6pt;
    padding: 6pt;
    border-radius: 50%;
    box-shadow: 0 1pt 3pt rgba(0,0,0,0.1);
    z-index: 2;
}

.block {
    margin: 15pt 0;
    background: rgba(27, 39, 75, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #e0e0e0;
    font-size: 14pt;
    font-weight: 400;
    padding: 12pt 22pt;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow:
            0 6px 20px rgba(0, 0, 0, 0.4),
            inset 0 0 0 1px rgba(255, 255, 255, 0.03);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 120px;
    cursor: pointer;
}

.block:hover {
    color: white;
    background: rgba(34, 43, 95, 0.9);
}

.menu-item.warn {
    background: #5b1c1f;
}

.menu-item.warn:hover {
    background: #822b30;
}

.menu-item.green {
    background: #285028;
}

.menu-item.green:hover {
    background: #346834;
}

.flex_h {
    display: flex;
}

.flexfill {
    flex: 1;
}

.note {
    margin: 15pt 0;
    background: rgba(75, 46, 30, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #e0e0e0;
    font-size: 13pt;
    font-weight: 400;
    padding: 12pt 22pt;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow:
            0 6px 20px rgba(0, 0, 0, 0.4),
            inset 0 0 0 1px rgba(255, 255, 255, 0.03);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

button.back {
    background: rgba(146, 13, 25, 0.35);
    border: 1px solid rgba(255, 48, 94, 0.4);
    color: #ff9387;
}

button.back:hover {
    background: rgba(202, 13, 34, 0.35);
    border: 1px solid rgba(255, 135, 157, 0.4);
    color: #ffacb0;
}

button.reject {
    /*background: #8d0007;*/
    border-color: #7b001c;
    color: rgba(255, 153, 151, 0.77);
}

button.reject:hover {
    background: rgba(104, 0, 7, 0.51);
    color: white;
}

button.approve {
    border-color: #5da74c;
    color: rgba(138,222,255,0.77);
}

button.approve:hover {
    background: rgba(56, 113, 56, 0.55);
    color: white;
}

button.small {
    margin: 3pt;
    font-size: 12pt;
    padding: 5pt 10pt !important;
    min-width: auto;
    min-height: auto;
}

.status {
    font-size: 13pt;
    padding: 5pt 12pt;
    border-radius: 6pt;
    display: inline-block;
}

.status-pending {
    background: #52391a;
    font-weight: bold;
    border: 1px solid #986a3c;
    color: #d1d1d1;
}

.status-rejected {
    background: #4e0e27;
    font-weight: bold;
    border: 1px solid #af0022;
    color: #d1d1d1;
}

.status-approved {
    background: #254e27;
    font-weight: bold;
    border: 1px solid #579d4f;
    color: #d0e6d0;
}

.status-draft {
    background: #535353;
    font-weight: bold;
    border: 1px solid #979797;
    color: #cacaca;
}

.counter {
    background: #26374e;
    font-weight: bold;
    border: 1px solid transparent;
    color: #d1d1d1;
    padding: 5pt 12pt;
    display: inline-block;
    border-radius: 6pt;
}

.title {
    font-weight: bold;
    color: white;
    border: 1px solid transparent;
    padding: 5pt 8pt;
    display: inline-block;
    border-radius: 6pt;
}

.game-card {
    cursor: pointer;
    position: relative;
    display: inline-flex;
    flex-direction: column;
    width: 210pt;
    height: 210pt;
    border-radius: 12pt;
    overflow: hidden;

    transition-duration: 200ms;

    margin: 10pt;
    user-select: none;
    -webkit-user-drag: none;
    -moz-user-select: none;
    -ms-user-select: none;

    border: 2px solid rgba(255, 255, 255, 0.05);

    /* Глубина — не через тень, а через свет */
    box-shadow:
            0 4px 16px rgba(0, 0, 0, 0.3),
            inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.game-card .mask {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    z-index: 1;
}

.game-card:hover {
    box-shadow:
            0 12px 32px rgba(0, 0, 0, 0.4),
            inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    filter: brightness(1.01);
    border-color: rgba(59, 197, 255, 0.35);
}

.game-card:hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
            to bottom,
            rgba(255, 255, 255, 0.01),
            transparent
    );
    opacity: 0;
    transition: opacity 400ms ease-out;
    pointer-events: none;
}

.game-card:hover::before {
    opacity: 0.08;
}

.game-card .logo {
    flex: 1;
    background-position: center;
}

.game-card .title {
    opacity: 0;
    position: absolute;
    border: 1px solid #272c5c;
    color: #333;
    font-weight: bold;
    font-size: 12pt;
    padding: 4pt 8pt;
    border-radius: 12pt;
    box-shadow: 0 1pt 3pt rgba(0,0,0,0.1);
    z-index: 2;
    bottom: 6px;
    left: 2%;
    width: 96%;
    text-align: center;
    height: 50pt;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    word-wrap: break-word;
    line-height: 1.3;
    transition-duration: 200ms;
}

.game-card:hover .title {
    opacity: 1;
    background: rgba(30, 30, 58, 0.64);
    backdrop-filter: blur(14px);
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    color: #ffffff;
    font-weight: 300;
    line-height: 1.3;
}

.game-card .likes, .game-card .age {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #797979;
    color: #333;
    font-weight: bold;
    font-size: 12pt;
    padding: 4pt 8pt;
    border-radius: 4pt;
    box-shadow: 0 1pt 3pt rgba(0,0,0,0.1);
    z-index: 2;
}

.game-card .likes {
    opacity: 0;
    top: 8px;
    left: 8px;
    transition-duration: 200ms;
}

.game-card .age {
    top: 8px;
    right: 8px;
    background: #0e0e0e; /* красный фон для возраста */
    color: white;
}

.game-card .rating {
    font-weight: bold;
    font-size: 12pt;
    padding: 4pt 8pt;
    border-radius: 4pt;
    opacity: 0;
    position: absolute;
    top: 8px;                    /* Отступ сверху */
    left: 50%;                   /* Центрируем по горизонтали */
    min-width: 60pt;
    text-align: center;
    transform: translateX(-50%); /* Сдвигаем на половину своей ширины — идеальный центр */
    background: rgba(44, 88, 44, 0.9);
    color: #ffffff;
    box-shadow: 0 1pt 3pt rgba(0,0,0,0.1);
    z-index: 3;                  /* выше, чем likes/age — чтобы не перекрывались */
    gap: 4px;                    /* Расстояние между звёздой и цифрой */
    border: 1px solid #535353;
    transition-duration: 200ms;
}

.game-card:hover .rating {
    opacity: 1;
}

.game-card:hover .likes {
    opacity: 1;
}

.flexgrid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    grid-auto-rows: min-content;
    grid-gap: 20px;
    padding: 20px;
    text-align: center;
}

.flexgrid-lite {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    grid-auto-rows: min-content;
    grid-gap: 20px;
    padding: 20px;
    text-align: center;
}

.delm {
    background: #182e4e;
    padding: 0 1pt;
    margin: 0 5pt 0 5pt;
}

@media (min-width: 840px) {
    .flexgrid {
        grid-template-columns: repeat(2, minmax(280px, 1fr));
    }
}

@media (min-width: 1400px) {
    .flexgrid {
        grid-template-columns: repeat(3, minmax(280px, 1fr));
    }
}

.flexgrid>div {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.app input[type="text"],
.app input[type="email"],
.app input[type="tel"],
.app input[type="password"],
.app input[type="url"],
.app input[type="number"],
.app textarea {
    background: rgba(38, 36, 55, 0.77);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    color: #ffffff;
    font-size: 15pt;
    padding: 8pt 16pt;
    box-sizing: border-box;
    outline: none;
    transition:
            background 280ms cubic-bezier(0.4, 0, 0.2, 1),
            box-shadow 320ms cubic-bezier(0.4, 0, 0.2, 1),
            transform 180ms ease-out;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    resize: vertical; /* только для textarea — вертикально */
    letter-spacing: -0.01em;
    margin-top: 8pt;
}

.app input:focus,
.app textarea:focus {
    background: rgba(13, 13, 26, 0.95);
    box-shadow:
            0 0 0 2px rgba(255, 255, 255, 0.12),
            0 6px 18px rgba(0, 0, 0, 0.35);
    transform: translateY(-1px);
}

.app input::placeholder,
.app textarea::placeholder {
    color: rgba(255, 255, 255, 0.42);
    font-style: italic;
    font-weight: 300;
}

.app input:disabled,
.app textarea:disabled {
    background: rgba(30, 30, 58, 0.55);
    border-color: rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.69);
}

.cookie {
    background: #231312;
    z-index: 5;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 50pt;
    font-size: 18pt;
    text-align: center;
}
/* Оверлей затемнения */
.alert-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.alert-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

/* Основной блок уведомления */
.alert-box {
    background: rgba(30, 30, 58, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    box-shadow:
            0 12px 32px rgba(0, 0, 0, 0.5),
            inset 0 1px 0 rgba(255, 255, 255, 0.05);
    padding: 24px 32px;
    color: #e0e0e0;
    font-size: 16pt;
    font-weight: 500;
    text-align: center;
    max-width: 600px;
    width: 90%;
    transform: translateY(-20px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.alert-overlay.active .alert-box {
    transform: translateY(0);
    opacity: 1;
}

/* Текст сообщения */
.alert-content {
    margin-bottom: 20px;
    line-height: 1.5;
}

/* Кнопка "Закрыть" — стили как у твоих кнопок */
.alert-close {
    background: rgba(87, 199, 255, 0.15);
    border: 1px solid rgba(87, 199, 255, 0.4);
    color: #57c7ff;
    font-size: 13pt;
    font-weight: 500;
    padding: 10px 24px;
    border-radius: 8pt;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow:
            0 4px 16px rgba(87, 199, 255, 0.15),
            inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    min-height: 44px;
    letter-spacing: 0.5px;
    display: inline-block;
}

.alert-close:hover {
    background: rgba(87, 199, 255, 0.3);
    border-color: rgba(87, 199, 255, 0.7);
    box-shadow:
            0 8px 24px rgba(87, 199, 255, 0.3),
            inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.alert-close:active {
    transform: translateY(0);
    box-shadow:
            0 2px 8px rgba(87, 199, 255, 0.2),
            inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

/* Стили для типов уведомлений */

.alert-box.success {
    border-color: rgba(141, 255, 105, 0.4);
    background: rgba(30, 50, 30, 0.95);
}

.alert-box.success .alert-close {
    background: rgba(141, 255, 105, 0.15);
    border-color: rgba(141, 255, 105, 0.4);
    color: #8dff69;
}

.alert-box.success .alert-close:hover {
    background: rgba(141, 255, 105, 0.3);
    border-color: rgba(141, 255, 105, 0.7);
}

.alert-box.error {
    border-color: rgba(255, 98, 87, 0.4);
    background: rgba(50, 20, 20, 0.95);
}

.alert-box.error .alert-close {
    background: rgba(255, 98, 87, 0.15);
    border-color: rgba(255, 98, 87, 0.4);
    color: #ff6257;
}

.alert-box.error .alert-close:hover {
    background: rgba(255, 98, 87, 0.3);
    border-color: rgba(255, 98, 87, 0.7);
}

.alert-box.warn {
    border-color: rgba(255, 180, 80, 0.4);
    background: rgba(50, 40, 25, 0.95);
}

.alert-box.warn .alert-close {
    background: rgba(255, 180, 80, 0.15);
    border-color: rgba(255, 180, 80, 0.4);
    color: #ffb450;
}

.alert-box.warn .alert-close:hover {
    background: rgba(255, 180, 80, 0.3);
    border-color: rgba(255, 180, 80, 0.7);
}

/* ============================= */
/* Универсальные теги статусов (.tag-*) */
/* ============================= */

.tag-positive,
.tag-negative,
.tag-neutral {
    margin: 1pt;
    display: inline-block;
    font-size: 12pt;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    line-height: 1;
    letter-spacing: 0.5px;
    border: 1px solid transparent;
    background: rgba(30, 30, 58, 0.6);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: all 0.2s ease;
}

/* Позитивный — зелёный (успех, одобрено, лайк) */
.tag-positive {
    color: #d0e6d0;
    background: rgba(37, 78, 39, 0.8);
    border-color: #579d4f;
}

.tag-positive:hover {
    background: rgba(45, 95, 45, 0.9);
    box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.08),
            0 2px 8px rgba(141, 255, 105, 0.2);
}

/* Негативный — красный (ошибка, отклонено, дизлайк) */
.tag-negative {
    color: #ffd0d0;
    background: rgba(78, 14, 39, 0.8);
    border-color: #af0022;
}

.tag-negative:hover {
    background: rgba(95, 17, 47, 0.9);
    box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.08),
            0 2px 8px rgba(255, 98, 87, 0.2);
}

/* Нейтральный — жёлто-коричневый (ожидание, черновик, процесс) */
.tag-neutral {
    color: #e6dcd0;
    background: rgba(82, 57, 26, 0.8);
    border-color: #986a3c;
}

.tag-neutral:hover {
    background: rgba(100, 70, 32, 0.9);
    box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.08),
            0 2px 8px rgba(255, 180, 80, 0.2);
}


/* ============================= */
/* Стиль таблиц — в духе твоего дизайна */
/* ============================= */

table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    font-size: 14pt;
    background: rgba(25, 25, 45, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

th, td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.25s ease;
}

/* Заголовки таблицы */
th {
    background: rgba(30, 30, 58, 0.9);
    color: #ffffff;
    font-weight: 700;
    font-size: 13pt;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

th::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(120, 68, 255, 0.6), transparent);
}

/* Ячейки данных */
td {
    color: #e0e0e0;
    font-weight: 500;
    line-height: 1.5;
}

/* Чётные строки — чуть темнее для контраста */
tr:nth-child(even) td {
    background: rgba(35, 35, 55, 0.4);
}

/* Ховер на строку */
tr:hover td {
    background: rgba(50, 50, 80, 0.6);
    box-shadow: inset 2px 0 0 0 rgba(44, 87, 145, 0.2);
}

/* Акцентные цвета в ячейках — можно использовать классы, если нужно */
td.positive {
    color: #8dff69;
    font-weight: 600;
}

td.negative {
    color: #ff6257;
    font-weight: 600;
}

td.neutral {
    color: #57c7ff;
    font-weight: 600;
}

/* Анимация при появлении таблицы (опционально) */
@keyframes fadeInTable {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

table {
    animation: fadeInTable 0.6s ease-out;
}

/* Адаптивность — горизонтальный скролл на мобильных */
@media (max-width: 768px) {
    table {
        display: block;
        overflow-x: auto;
        border-radius: 12px;
    }

    th, td {
        white-space: nowrap;
        font-size: 13pt;
        padding: 12px 16px;
    }

    th {
        font-size: 14pt;
    }
}


.no-accent {
    opacity: 0.5;
}

.fill {
    width: 100%;
}

