/* Общие стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    width: 100%;
    font-family: 'Arial', sans-serif;
}

/* Главная страница */
.home-container {
    height: 100vh;
    width: 100vw;
    position: relative;
    overflow: hidden;
}

.background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 1;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2;
}

.hero-section {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 20px;
}

.team-name {
    font-size: 4rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    animation: fadeInDown 1s ease;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.slogan {
    font-size: 1.5rem;
    max-width: 800px;
    margin: 0 auto 2rem auto;
    animation: fadeInUp 1s ease 0.3s both;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.4;
}

.scroll-button {
    padding: 15px 40px;
    font-size: 1.2rem;
    background: transparent;
    color: white;
    border: 2px solid white;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease 0.6s both;
    backdrop-filter: blur(5px);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: bold;
}

.scroll-button:hover {
    background: white;
    color: black;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

/* Страница доксеров */
.doxers-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    padding: 40px 20px;
}

.page-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    color: #ffd700;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: fadeInDown 1s ease;
}

.definition-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid rgba(255, 215, 0, 0.3);
    transition: transform 0.3s ease;
}

.definition-card:hover {
    transform: translateY(-5px);
    border-color: #ffd700;
}

.term {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #ffd700;
}

.term-eng {
    font-size: 1.2rem;
    color: #aaa;
    font-style: italic;
    margin-left: 10px;
}

.definition {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #e0e0e0;
}

.instruction-section {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    padding: 30px;
    max-width: 800px;
    margin: 40px auto;
    border-left: 4px solid #ffd700;
}

.section-title {
    font-size: 2rem;
    color: #ffd700;
    margin-bottom: 25px;
    text-align: center;
}

.instruction-list {
    list-style: none;
    padding: 0;
}

.instruction-list li {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
    color: #fff;
}

.instruction-list li::before {
    content: "⚠️";
    position: absolute;
    left: 0;
    top: 0;
}

.instruction-list li:last-child::before {
    content: "📱";
}

.instruction-list li:first-child::before {
    content: "📸";
}

.button-container {
    text-align: center;
    margin-top: 50px;
}

.archive-button {
    padding: 15px 50px;
    font-size: 1.3rem;
    background: transparent;
    color: #ffd700;
    border: 2px solid #ffd700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: bold;
}

.archive-button:hover {
    background: #ffd700;
    color: #1a1a2e;
    transform: scale(1.05);
}

/* Страница архива позора */
.pozor-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #2c0a0a 0%, #1a1a1a 100%);
    color: #fff;
    padding: 40px 20px;
}

.pozor-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 50px;
    color: #ff4444;
    text-transform: uppercase;
    letter-spacing: 4px;
    text-shadow: 0 0 10px rgba(255, 68, 68, 0.5);
    animation: glitch 3s infinite;
}

.pozor-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    padding: 20px;
}

.pozor-card {
    background: rgba(30, 30, 30, 0.95);
    border-radius: 20px;
    padding: 25px;
    border: 1px solid #ff4444;
    box-shadow: 0 0 20px rgba(255, 68, 68, 0.3);
    transition: transform 0.3s ease;
}

.pozor-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 30px rgba(255, 68, 68, 0.6);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 2px dashed #ff4444;
}

.telegram-link {
    font-size: 1.3rem;
    color: #ff4444;
    font-weight: bold;
    word-break: break-all;
    position: relative;
    padding-left: 25px;
}

.telegram-link::before {
    content: "📱";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
}

.badge {
    background: #ff4444;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    animation: pulse 2s infinite;
}

.description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #ddd;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(255, 68, 68, 0.1);
    border-radius: 10px;
    border-left: 4px solid #ff4444;
}

.images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.image-container {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 3/4;
    cursor: pointer;
    transition: transform 0.3s ease;
    border: 2px solid transparent;
}

.image-container:hover {
    transform: scale(1.05);
    border-color: #ff4444;
    z-index: 10;
}

.pozor-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-container:hover .image-overlay {
    opacity: 1;
}

.zoom-icon {
    font-size: 2rem;
    color: white;
    text-shadow: 0 0 10px rgba(255, 68, 68, 0.8);
}

/* Модальное окно */
.image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.modal-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 0 50px rgba(255, 68, 68, 0.5);
    border: 2px solid #ff4444;
}

.close-button {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 40px;
    height: 40px;
    background: #ff4444;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(255, 68, 68, 0.8);
}

.close-button:hover {
    transform: rotate(90deg);
    background: #ff6666;
}

.modal-instruction {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    color: #aaa;
    font-size: 0.9rem;
    white-space: nowrap;
}

/* Анимации */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes glitch {
    0%, 100% {
        text-shadow: 0 0 10px rgba(255, 68, 68, 0.5);
    }
    33% {
        text-shadow: -5px 0 10px rgba(255, 68, 68, 0.5), 5px 0 10px rgba(255, 68, 68, 0.3);
    }
    66% {
        text-shadow: 5px 0 10px rgba(255, 68, 68, 0.5), -5px 0 10px rgba(255, 68, 68, 0.3);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Адаптивность */
@media (max-width: 768px) {
    .team-name {
        font-size: 2.5rem;
    }
    
    .slogan {
        font-size: 1.2rem;
    }
    
    .page-title {
        font-size: 1.8rem;
    }
    
    .term {
        font-size: 1.5rem;
    }
    
    .definition {
        font-size: 1rem;
    }
    
    .pozor-title {
        font-size: 2rem;
    }
    
    .close-button {
        top: -20px;
        right: -20px;
        width: 30px;
        height: 30px;
        font-size: 20px;
    }
}

/* Стили для статистики и фильтров */
.stats-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.stat-card {
    background: rgba(255, 68, 68, 0.1);
    border: 1px solid #ff4444;
    border-radius: 10px;
    padding: 15px 30px;
    text-align: center;
    min-width: 120px;
}

.stat-value {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: #ff4444;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: #aaa;
    text-transform: uppercase;
    margin-top: 5px;
}

.filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    background: transparent;
    color: #ff4444;
    border: 2px solid #ff4444;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: #ff4444;
    color: white;
}

.badge.doxer {
    background: #ff4444;
}

.badge.swatter {
    background: #ffaa00;
}

.evidence-date {
    color: #aaa;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.evidence-list {
    background: rgba(255, 68, 68, 0.05);
    border-radius: 8px;
    padding: 10px;
    margin: 15px 0;
    font-size: 0.9rem;
    color: #ddd;
    border-left: 3px solid #ff4444;
}

.no-results {
    text-align: center;
    font-size: 1.5rem;
    color: #aaa;
    padding: 50px;
    grid-column: 1 / -1;
}