<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>CSS Preview</title>
<style>
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #0a0a0a;
    color: #fff;
    font-family: 'SF Mono', 'Monaco', 'Courier New', monospace;
    min-height: 100vh;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(0, 255, 100, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 0, 100, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(100, 100, 255, 0.05) 0%, transparent 50%);
    background-attachment: fixed;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.header {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.title {
    font-size: 12px;
    font-weight: normal;
    letter-spacing: 0.3em;
    color: #666;
    text-transform: uppercase;
}

.subtitle {
    font-size: 10px;
    color: #444;
    margin-top: 8px;
    letter-spacing: 0.1em;
}

.domains-grid {
    display: grid;
    gap: 1px;
    background: rgba(255, 255, 255, 0.05);
    padding: 1px;
    margin-bottom: 40px;
}

.domain-item {
    display: block;
    background: #0a0a0a;
    padding: 20px;
    padding-bottom: 20px; /* Место для подсказки */
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.domain-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: transparent;
    transition: all 0.3s ease;
}

.domain-item:hover {
    background: rgba(255, 255, 255, 0.02);
    transform: translateX(3px);
}

.domain-item.online::before {
    background: #00ff88;
}

.domain-item.offline::before {
    background: #ff0044;
}

.domain-item.slow::before {
    background: #ffaa00;
}

.domain-item.type-tor {
    background: linear-gradient(135deg, rgba(155, 89, 182, 0.03) 0%, transparent 100%);
}

.domain-item.type-tor:hover {
    background: linear-gradient(135deg, rgba(155, 89, 182, 0.08) 0%, transparent 100%);
}

.domain-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.domain-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.domain-item.online .status-indicator {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.3); }
}

.type-icon {
    font-size: 14px;
    opacity: 0.7;
}

.domain-name {
    font-size: 14px;
    color: #ccc;
    letter-spacing: 0.02em;
}

.domain-item.type-tor .domain-name {
    font-size: 11px;
    font-family: 'Courier New', monospace;
    word-break: break-all;
}

.domain-meta {
    display: flex;
    align-items: center;
    gap: 15px;
}

.response-time {
    font-size: 11px;
    color: #666;
    font-variant-numeric: tabular-nums;
}

.http-code {
    font-size: 10px;
    color: #555;
    padding: 2px 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
}

.status-text {
    font-size: 10px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Новый стиль подсказки - внизу блока */
.copy-hint {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    text-align: center;
    font-size: 9px;
    color: rgba(255, 255, 255, 0.3);
    background: rgba(0, 255, 136, 0.03);
    padding: 4px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-top: 1px solid rgba(0, 255, 136, 0.05);
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
}

.domain-item:hover .copy-hint {
    opacity: 1;
    background: rgba(0, 255, 136, 0.08);
    color: rgba(255, 255, 255, 0.5);
    border-top-color: rgba(0, 255, 136, 0.2);
}

/* Специальный цвет для Tor доменов */
.domain-item.type-tor:hover .copy-hint {
    background: rgba(155, 89, 182, 0.1);
    border-top-color: rgba(155, 89, 182, 0.3);
}

/* Специальный цвет для офлайн доменов */
.domain-item.offline:hover .copy-hint {
    background: rgba(255, 0, 68, 0.05);
    border-top-color: rgba(255, 0, 68, 0.2);
    color: rgba(255, 100, 100, 0.5);
}

/* Специальный цвет для медленных доменов */
.domain-item.slow:hover .copy-hint {
    background: rgba(255, 170, 0, 0.05);
    border-top-color: rgba(255, 170, 0, 0.2);
    color: rgba(255, 200, 100, 0.5);
}

.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: #444;
}

.empty-icon {
    font-size: 48px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state p {
    font-size: 14px;
    margin: 10px 0;
}

.empty-state .hint {
    font-size: 12px;
    color: #333;
    margin-top: 20px;
}

.info-section {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

/* Градиентная линия сверху info-section */
.info-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(0, 255, 136, 0.5), 
        rgba(155, 89, 182, 0.5),
        rgba(255, 170, 0, 0.5),
        transparent
    );
    animation: gradient-shift 10s ease-in-out infinite;
}

@keyframes gradient-shift {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.info-item {
    text-align: center;
}

.info-label {
    font-size: 10px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.info-value {
    font-size: 24px;
    color: #00ff88;
    font-weight: normal;
    font-variant-numeric: tabular-nums;
}

.legend {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: #666;
}

.legend-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.footer {
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.footer-text {
    font-size: 10px;
    color: #444;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Адаптивность */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .domain-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .info-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 20px;
    }
    
    .legend {
        gap: 15px;
    }
    
    .copy-hint {
        font-size: 8px;
        padding: 3px;
    }
}

/* Анимация загрузки */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.domain-item {
    animation: fadeIn 0.3s ease-out;
}

/* Hover эффект для всей сетки */
.domains-grid:hover .domain-item:not(:hover) {
    opacity: 0.7;
}

/* Поддержка reduced motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

/* Дополнительные эффекты для статусов */
.domain-item.offline {
    animation: glitch 5s infinite;
}

@keyframes glitch {
    0%, 100% { transform: translateX(0); }
    92% { transform: translateX(0); }
    93% { transform: translateX(-2px); }
    94% { transform: translateX(2px); }
    95% { transform: translateX(0); }
}

/* Блик при наведении */
.domain-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.03), 
        transparent
    );
    transition: left 0.6s;
    pointer-events: none;
}

.domain-item:hover::after {
    left: 100%;
}
