.footer p {
    font-size: 15px;
    margin-top: 45px;
    margin-bottom: -30px;
}@font-face {
    font-family: 'Xirod';
    src: url('./xirod.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'NeoCrush';
    src: url('./neocrush.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'NeoCrush', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a1525 20%, #2a1f3d 50%, #302146 90%);
    color: #ffffff;
    min-height: 100vh;
    padding: 20px;
    position: relative;
    overflow-x: hidden;
}

/* Технологичные анимированные элементы фона */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(168, 85, 247, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(124, 58, 237, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(139, 92, 246, 0.08) 0%, transparent 50%);
    animation: backgroundPulse 8s ease-in-out infinite;
    pointer-events: none;
    z-index: -2;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(90deg, transparent 24%, rgba(168, 85, 247, 0.03) 25%, rgba(168, 85, 247, 0.03) 26%, transparent 27%, transparent 74%, rgba(168, 85, 247, 0.03) 75%, rgba(168, 85, 247, 0.03) 76%, transparent 77%, transparent),
        linear-gradient(0deg, transparent 24%, rgba(168, 85, 247, 0.03) 25%, rgba(168, 85, 247, 0.03) 26%, transparent 27%, transparent 74%, rgba(168, 85, 247, 0.03) 75%, rgba(168, 85, 247, 0.03) 76%, transparent 77%, transparent);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes backgroundPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

/* Плавающие частицы */
.tech-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(168, 85, 247, 0.6);
    border-radius: 50%;
    animation: floatUp 15s infinite linear;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { left: 20%; animation-delay: -2s; }
.particle:nth-child(3) { left: 30%; animation-delay: -4s; }
.particle:nth-child(4) { left: 40%; animation-delay: -6s; }
.particle:nth-child(5) { left: 50%; animation-delay: -8s; }
.particle:nth-child(6) { left: 60%; animation-delay: -10s; }
.particle:nth-child(7) { left: 70%; animation-delay: -12s; }
.particle:nth-child(8) { left: 80%; animation-delay: -14s; }
.particle:nth-child(9) { left: 90%; animation-delay: -16s; }

@keyframes floatUp {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) scale(1);
        opacity: 0;
    }
}

/* Анимированные линии связи */
.tech-lines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.tech-line {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.3), transparent);
    animation: lineScan 6s ease-in-out infinite;
}

.tech-line:nth-child(1) {
    top: 20%;
    width: 100%;
    animation-delay: 0s;
}

.tech-line:nth-child(2) {
    top: 50%;
    width: 100%;
    animation-delay: -2s;
}

.tech-line:nth-child(3) {
    top: 80%;
    width: 100%;
    animation-delay: -4s;
}

@keyframes lineScan {
    0%, 100% {
        transform: translateX(-100%);
        opacity: 0;
    }
    50% {
        transform: translateX(0%);
        opacity: 1;
    }
}

/* Дополнительные технологичные эффекты */
.container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Улучшенные hover-эффекты для панелей агентов */
.agent-panel {
    width: 100%;
    height: 192px;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 15px;
    padding: 0;
    display: flex;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.agent-panel:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 15px 35px rgba(168, 85, 247, 0.3), 
        0 0 30px rgba(168, 85, 247, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-color: rgba(168, 85, 247, 0.5);
}

.agent-panel:hover::before {
    animation-duration: 1s;
}

/* Эффект сканирования для заголовков */
.info-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-align: center;
    color: #a855f7;
    text-shadow: 0 0 20px rgba(168, 85, 247, 0.4);
    position: relative;
}

.info-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #a855f7, transparent);
    animation: titleScan 3s ease-in-out infinite;
}

@keyframes titleScan {
    0%, 100% { width: 0; opacity: 0; }
    50% { width: 100%; opacity: 1; }
}

.header {
    text-align: center;
    margin-bottom: 40px;
}

.header h1 {
    font-family: 'Xirod', 'Segoe UI', sans-serif;
    font-size: 4.5rem;
    margin-bottom: 10px;
    background: linear-gradient(45deg, #a855f7, #6c3dda);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(168, 85, 247, 0.5);
}

.header p {
    color: #d1d5db;
    font-size: 1.7rem;
}

.controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.control-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
}

.control-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 92, 246, 0.4), 0 0 20px rgba(139, 92, 246, 0.3);
}

.info-section {
    margin-bottom: 40px;
}

.info-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-align: center;
    color: #a855f7;
    text-shadow: 0 0 20px rgba(168, 85, 247, 0.4);
}

.content-section {
    background: linear-gradient(135deg, #2a1f3d 0%, #3a2952 50%, #4a3366 100%);
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 40px;
    border: 1px solid rgba(168, 85, 247, 0.2);
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.1);
}

.content-title {
    font-size: 1.5rem;
    color: #a855f7;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 0 0 15px rgba(168, 85, 247, 0.3);
}

.content-text {
    color: #ffffff;
    line-height: 1.6;
    text-align: left;
    margin-bottom: 10px;
}

.agents-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.agent-panel {
    width: 100%;
    height: 192px;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 15px;
    padding: 0;
    display: flex;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.agent-panel:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(168, 85, 247, 0.3), 0 0 30px rgba(168, 85, 247, 0.2);
    border-color: rgba(168, 85, 247, 0.5);
}

.agent-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #8b5cf6, #7c3aed, #8b5cf6);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.left-section {
    display: flex;
    flex-direction: column;
    width: 160px;
}

.profile-picture {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border: none;
    border-radius: 0;
}

.default-avatar {
    width: 160px;
    height: 160px;
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    border: none;
    border-radius: 0;
}

.token-symbol {
    width: 160px;
    height: 32px;
    font-size: 1.1rem;
    font-weight: bold;
    color: #a855f7;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(168, 85, 247, 0.15);
    border: none;
    border-radius: 0;
    margin: 0;
    text-shadow: 0 0 10px rgba(168, 85, 247, 0.3);
}

.middle-section {
    display: flex;
    flex-direction: column;
    width: 140px;
}

.data-section {
    display: flex;
    flex-direction: column;
    width: 140px;
}

.right-section {
    display: flex;
    flex-direction: column;
    width: 160px;
}

.label-container {
    width: 140px;
    height: 32px;
    font-size: 0.8rem;
    color: #d1d5db;
    display: flex;
    align-items: center;
    padding-left: 12px;
    background: rgba(255,255,255,0.05);
    border: none;
    border-radius: 0;
    margin: 0;
    border-right: 1px solid rgba(255,255,255,0.1);
}

.data-container {
    width: 140px;
    height: 32px;
    font-size: 0.8rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    padding-left: 12px;
    background: rgba(255,255,255,0.08);
    border: none;
    border-radius: 0;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    border-right: 1px solid rgba(255,255,255,0.1);
}

.data-container.address {
    font-family: 'NeoCrush', 'Courier New', monospace;
    font-size: 0.7rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.data-container.address:hover {
    background: rgba(168, 85, 247, 0.2);
    color: #a855f7;
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.3);
}

.data-container.social {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-left: 12px;
}

.risk-label {
    width: 160px;
    height: 32px;
    font-size: 0.9rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.05);
    border: none;
    border-radius: 0;
    margin: 0;
}

.risk-score {
    width: 160px;
    height: 160px;
    font-size: 2rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 0;
    margin: 0;
}

.risk-low { 
    color: #00ff88; 
    background: rgba(0,255,136,0.2);
}

.risk-medium { 
    color: #ffaa00; 
    background: rgba(255,170,0,0.2);
}

.risk-high { 
    color: #ff4444; 
    background: rgba(255,68,68,0.2);
}

.risk-unknown { 
    color: #888888; 
    background: rgba(136,136,136,0.2);
}

.label-container:not(:last-child),
.data-container:not(:last-child) {
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 40px;
    padding: 10px;
    background: rgba(255,255,255,0.05);
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(168, 85, 247, 0.1);
    width: 150px;
    margin-left: auto;
    margin-right: auto;
}

.pagination-btn {
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, #a855f7, #8b5cf6);
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination-btn:hover:not(:disabled) {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(168, 85, 247, 0.4), 0 0 15px rgba(168, 85, 247, 0.3);
}

.pagination-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.page-info {
    font-size: 1rem;
    color: #ffffff;
    min-width: 30px;
    text-align: center;
    font-weight: bold;
}

.loading {
    text-align: center;
    padding: 40px;
    font-size: 1.2rem;
    color: #a855f7;
}

.no-data {
    text-align: center;
    padding: 40px;
    font-size: 1.2rem;
    color: #d1d5db;
}

.loading-spinner {
    border: 3px solid rgba(168, 85, 247, 0.1);
    border-radius: 50%;
    border-top: 3px solid #a855f7;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.copy-notification {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,255,136,0.9);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: bold;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.copy-notification.show {
    opacity: 1;
}

.footer {
    margin-top: 60px;
    padding: 40px 0;
    border-top: 1px solid rgba(168, 85, 247, 0.2);
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    align-items: center;
}

.footer-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: bold;
    transition: all 0.3s ease;
    padding: 10px 20px;
    border-radius: 25px;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.2);
}

.footer-link:hover {
    color: #a855f7;
    background: rgba(168, 85, 247, 0.2);
    border-color: rgba(168, 85, 247, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(168, 85, 247, 0.3), 0 0 20px rgba(168, 85, 247, 0.2);
}


/* Мобильная адаптация */
@media (max-width: 768px) {
    /* Контейнер сетки - переводим в столбик */
    .agents-grid {
        display: grid;
        grid-template-columns: 1fr; /* Одна колонка вместо двух */
        gap: 15px;
        margin-bottom: 20px;
    }

    /* Панель агента - убираем transform, работаем с процентами */
    .agent-panel {
        width: 100%;
        height: 150px; /* Фиксированная высота, пропорциональная оригиналу */
        display: flex;
        padding: 0;
        /* Убираем transform и margin */
    }

    /* Секции панели - точные пропорции от оригинала */
    .left-section {
        width: 26.67%; /* 160px из 600px общей ширины */
        display: flex;
        flex-direction: column;
    }

    .middle-section {
        width: 23.33%; /* 140px из 600px */
        display: flex;
        flex-direction: column;
    }

    .data-section {
        width: 23.33%; /* 140px из 600px */
        display: flex;
        flex-direction: column;
    }

    .right-section {
        width: 26.67%; /* 160px из 600px */
        display: flex;
        flex-direction: column;
    }

    /* Изображения и аватары - сохраняем пропорции */
    .profile-picture,
    .default-avatar {
        width: 100%;
        height: 125px; /* Пропорционально от 160px */
        object-fit: cover;
        font-size: 2.2rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .token-symbol {
        width: 100%;
        height: 25px; /* Пропорционально от 32px */
        font-size: 0.9rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Контейнеры с данными - правильная высота для 6 строк */
    .label-container,
    .data-container {
        width: 100%;
        height: 25px; /* 150px / 6 строк = 25px */
        font-size: 0.65rem;
        padding-left: 8px;
        display: flex;
        align-items: center;
    }

    /* Специальная адаптация для социальных ссылок */
    .data-container.social {
        display: flex;
        align-items: center;
        gap: 6px; /* Уменьшаем gap с 8px до 6px */
        padding-left: 8px;
        height: 25px;
        font-size: 0.65rem;
    }

    .risk-label {
        width: 100%;
        height: 25px; /* Пропорционально от 32px */
        font-size: 0.75rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .risk-score {
        width: 100%;
        height: 125px; /* Пропорционально от 160px */
        font-size: 1.4rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Адаптация для очень маленьких экранов */
    @media (max-width: 480px) {
        .agent-panel {
            height: 120px; /* Немного меньше для совсем маленьких экранов */
        }

        .profile-picture,
        .default-avatar {
            height: 100px;
            font-size: 1.8rem;
        }

        .token-symbol {
            height: 20px;
            font-size: 0.8rem;
        }

        .label-container,
        .data-container {
            height: 20px; /* 120px / 6 строк = 20px */
            font-size: 0.6rem;
            padding-left: 6px;
        }

        /* Социальные ссылки для маленьких экранов */
        .data-container.social {
            gap: 4px; /* Еще меньше gap */
            padding-left: 6px;
            height: 20px;
            font-size: 0.6rem;
        }

        .risk-label {
            height: 20px;
            font-size: 0.7rem;
        }

        .risk-score {
            height: 100px;
            font-size: 1.2rem;
        }
    }

    /* Адаптация заголовков для мобильных */
    .header h1 {
        font-size: 1.5rem;
    }

    .header p {
        font-size: 1.3rem;
    }

    .info-title {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    /* Адаптация пагинации */
    .pagination {
        width: 130px;
        gap: 12px;
    }

    .pagination-btn {
        width: 28px;
        height: 28px;
        font-size: 0.95rem;
    }

    /* Контейнер основной */
    .container {
        padding: 0 15px;
    }

    /* Секции контента */
    .content-section {
        padding: 25px;
        margin-bottom: 25px;
    }

    .content-title {
        font-size: 1.3rem;
    }

    .content-text {
        font-size: 0.95rem;
        line-height: 1.5;
    }
}


/* Интерактивные элементы - изображения агентов */
.profile-picture[onclick],
.default-avatar[onclick] {
    cursor: pointer;
    transition: all 0.3s ease;
}

.profile-picture[onclick]:hover,
.default-avatar[onclick]:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.4);
    filter: brightness(1.1);
}

/* Обновленные стили для адресов кошельков */
.data-container.address {
    font-family: 'NeoCrush', 'Courier New', monospace;
    font-size: 0.7rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.data-container.address:hover {
    background: rgba(30, 144, 255, 0.2); /* Синий цвет для Basescan */
    color: #1e90ff;
    box-shadow: 0 0 10px rgba(30, 144, 255, 0.3);
}

.data-container.address::after {
    content: '🔍';
    position: absolute;
    right: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
    font-size: 0.8rem;
}

.data-container.address:hover::after {
    opacity: 1;
}

/* Мобильная адаптация для интерактивных элементов */
@media (max-width: 768px) {
    .profile-picture[onclick]:hover,
    .default-avatar[onclick]:hover {
        transform: scale(1.03); /* Меньший эффект на мобильных */
    }
    
    .data-container.address:hover {
        background: rgba(30, 144, 255, 0.15);
    }
    
    .data-container.address::after {
        font-size: 0.7rem;
        right: 6px;
    }
}

@media (max-width: 480px) {
    .profile-picture[onclick]:hover,
    .default-avatar[onclick]:hover {
        transform: scale(1.02);
    }
    
    .data-container.address::after {
        font-size: 0.65rem;
        right: 4px;
    }
}

/* ===== TERMINAL SECTION STYLES ===== */
/* ===== REDESIGNED TERMINAL SECTION STYLES ===== */

.terminal-section {
    max-width: 800px;
    margin: 0 auto 40px auto;
    padding: 40px 20px;
}

.terminal-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
    background: linear-gradient(45deg, #a855f7, #6c3dda);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(168, 85, 247, 0.3);
}

.terminal-subtitle {
    font-size: 1.2rem;
    text-align: center;
    color: #d1d5db;
    margin-bottom: 40px;
    line-height: 1.5;
}

.search-section {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.search-input {
    flex: 1;
    background: rgba(20, 20, 30, 0.8);
    border: 2px solid rgba(168, 85, 247, 0.3);
    border-radius: 12px;
    padding: 15px 20px;
    color: #ffffff;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    font-family: 'Courier New', monospace;
}

.search-input:focus {
    border-color: rgba(168, 85, 247, 0.6);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.3);
    background: rgba(20, 20, 30, 0.95);
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.search-button {
    background: linear-gradient(135deg, #a855f7, #8b5cf6);
    border: none;
    border-radius: 12px;
    padding: 15px 30px;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 160px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.3);
}

.search-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(168, 85, 247, 0.5);
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.search-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.2);
}

.results-container {
    background: rgba(20, 20, 30, 0.9);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 15px;
    padding: 25px;
    min-height: 200px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 200px;
    color: #a855f7;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(168, 85, 247, 0.2);
    border-top: 3px solid #a855f7;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.empty-state {
    text-align: center;
    color: #9ca3af;
    padding: 60px 20px;
}

.empty-state h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #d1d5db;
}

.empty-state p {
    font-size: 1rem;
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto;
}

.agent-result {
    animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.agent-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(168, 85, 247, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.agent-info {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    flex: 1;
}

.help-button {
    background: rgba(168, 85, 247, 0.2);
    border: 1px solid rgba(168, 85, 247, 0.4);
    border-radius: 6px;
    padding: 6px 12px;
    color: #a855f7;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.help-button:hover {
    background: rgba(168, 85, 247, 0.3);
    border-color: rgba(168, 85, 247, 0.6);
    transform: translateY(-1px);
}

.risk-assessment {
    margin-bottom: 20px;
}

.risk-assessment .risk-message {
    background: rgba(168, 85, 247, 0.2);
    border: 1px solid rgba(168, 85, 247, 0.4);
    border-radius: 8px;
    padding: 12px 24px;
    font-weight: 600;
    cursor: default;
    width: 100%;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    font-size: 1rem;
    display: block;
}

.risk-assessment .risk-message.warning {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.4);
    color: #fca5a5;
}

.risk-assessment .risk-message.ok {
    background: rgba(16, 185, 129, 0.2);
    border-color: rgba(16, 185, 129, 0.4);
    color: #86efac;
}

.risk-assessment .risk-message.moderate {
    background: rgba(245, 158, 11, 0.2);
    border-color: rgba(245, 158, 11, 0.4);
    color: #fcd34d;
}

/* Help Modal Styles */
.help-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.help-modal-content {
    background: linear-gradient(135deg, rgba(20, 20, 30, 0.95), rgba(40, 30, 60, 0.95));
    border: 2px solid rgba(168, 85, 247, 0.3);
    border-radius: 15px;
    padding: 0;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow: hidden;
    backdrop-filter: blur(15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.help-modal-header {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(124, 58, 237, 0.2));
    border-bottom: 1px solid rgba(168, 85, 247, 0.3);
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.help-modal-header h3 {
    color: #a855f7;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 0 10px rgba(168, 85, 247, 0.3);
}

.help-close-button {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.8rem;
    cursor: pointer;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.help-close-button:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #a855f7;
}

.help-modal-body {
    padding: 25px;
    overflow-y: auto;
    max-height: calc(80vh - 80px);
    scrollbar-width: thin;
    scrollbar-color: rgba(168, 85, 247, 0.5) transparent;
}

.help-modal-body::-webkit-scrollbar {
    width: 6px;
}

.help-modal-body::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
}

.help-modal-body::-webkit-scrollbar-thumb {
    background: rgba(168, 85, 247, 0.5);
    border-radius: 3px;
}

.help-section {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.help-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.help-section h4 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.help-section p {
    color: #d1d5db;
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

.help-section strong {
    color: #ffffff;
    font-weight: 600;
}

/* Mobile Responsive для модалки */
@media (max-width: 768px) {
    .help-modal-content {
        width: 95%;
        max-height: 85vh;
    }
    
    .help-modal-header {
        padding: 15px 20px;
    }
    
    .help-modal-header h3 {
        font-size: 1.2rem;
    }
    
    .help-modal-body {
        padding: 20px;
    }
    
    .help-section h4 {
        font-size: 1rem;
    }
    
    .help-section p {
        font-size: 0.9rem;
    }
}

.risk-section {
    margin-bottom: 20px;
}

.terminal-risk-score {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: none !important;
    border: none !important;
    padding: 0 !important;
    width: auto !important;
    height: auto !important;
    display: inline-block !important;
    text-align: left !important;
}

.terminal-risk-low { 
    color: #10b981 !important; 
}

.terminal-risk-medium { 
    color: #f59e0b !important; 
}

.terminal-risk-high { 
    color: #ef4444 !important; 
}

.risk-message {
    font-size: 1rem;
    margin: 0;
    padding: 12px 24px;
    border: 1px solid;
    font-weight: 600;
    display: block;
    width: 100%;
    border-radius: 8px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.risk-message.warning {
    color: #fca5a5;
    border-color: rgba(239, 68, 68, 0.4);
    background: rgba(239, 68, 68, 0.1);
}

.risk-message.ok {
    color: #86efac;
    border-color: rgba(16, 185, 129, 0.4);
    background: rgba(16, 185, 129, 0.1);
}

.risk-message.moderate {
    color: #fcd34d;
    border-color: rgba(245, 158, 11, 0.4);
    background: rgba(245, 158, 11, 0.1);
}

.risk-low { color: #10b981; }
.risk-medium { color: #f59e0b; }
.risk-high { color: #ef4444; }

.risk-message {
    font-size: 1rem;
    margin-bottom: 15px;
    padding: 12px 15px;
    border-radius: 8px;
    font-weight: 500;
}

.risk-message.warning {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}

.risk-message.ok {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #86efac;
}

.risk-message.moderate {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #fcd34d;
}

.activity-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.activity-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 10px;
    border: 1px solid rgba(168, 85, 247, 0.2);
    transition: all 0.3s ease;
}

.activity-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(168, 85, 247, 0.4);
}

.activity-label {
    font-size: 0.9rem;
    color: #d1d5db;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.activity-value {
    font-size: 1.1rem;
    font-weight: 600;
}

.activity-high { color: #10b981; } /* Высокая активность - зеленый (хорошо) */
.activity-medium { color: #f59e0b; }
.activity-low { color: #ef4444; } /* Низкая активность - красный (плохо) */

.more-button {
    background: rgba(168, 85, 247, 0.2);
    border: 1px solid rgba(168, 85, 247, 0.4);
    border-radius: 8px;
    padding: 12px 24px;
    color: #a855f7;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.more-button:hover {
    background: rgba(168, 85, 247, 0.3);
    border-color: rgba(168, 85, 247, 0.6);
    transform: translateY(-1px);
}

.more-button.expanded {
    background: rgba(168, 85, 247, 0.3);
    border-color: rgba(168, 85, 247, 0.6);
}

.more-button.expanded::after {
    content: " ▲";
}

.more-button:not(.expanded)::after {
    content: " ▼";
}

.detailed-info {
    display: none;
    padding-top: 20px;
    border-top: 1px solid rgba(168, 85, 247, 0.2);
}

.detailed-info.expanded {
    display: block;
    animation: fadeInDown 0.3s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.3s ease;
}

.detail-row:hover {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    padding-left: 10px;
    padding-right: 10px;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    color: #d1d5db;
    font-weight: 500;
    min-width: 150px;
}

.detail-value {
    color: #ffffff;
    font-weight: 600;
    text-align: right;
}

.address-link {
    color: #1e90ff;
    text-decoration: none;
    transition: color 0.3s ease;
    font-family: 'Courier New', monospace;
}

.address-link:hover {
    color: #60a5fa;
    text-decoration: underline;
}

.social-status {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.social-item {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.social-connected {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.social-missing {
    background: rgba(156, 163, 175, 0.2);
    color: #9ca3af;
    border: 1px solid rgba(156, 163, 175, 0.3);
}

.error-state {
    text-align: center;
    color: #ef4444;
    padding: 40px 20px;
}

.error-state h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.error-state p {
    color: #fca5a5;
    line-height: 1.5;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .terminal-section {
        padding: 30px 15px;
    }

    .terminal-title {
        font-size: 2rem;
    }

    .terminal-subtitle {
        font-size: 1.1rem;
    }

    .search-section {
        flex-direction: column;
    }

    .search-button {
        min-width: auto;
    }

    .activity-metrics {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .detail-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .detail-value {
        text-align: left;
    }

    .social-status {
        justify-content: flex-start;
    }
}

@media (max-width: 480px) {
    .terminal-title {
        font-size: 1.7rem;
    }

    .results-container {
        padding: 20px;
    }

    .agent-name {
        font-size: 1.2rem;
    }

    .risk-score {
        font-size: 1.5rem;
    }
}