{% load static %}


    /* Базовые переменные для глубокой темы с акцентами */
    :root {
        --bg-dark: #0f0c29;
        --card-bg: rgba(30, 25, 55, 0.6);
        --neon-blue: #4facfe;
        --neon-purple: #8e2de2;
        --text-main: #f5f5f5;
        --text-muted: #b0b0c0;
    }

    .news-section {
        width: 100%;
        padding: 80px 20px;
        backdrop-filter: blur(20px);
        background: rgba(255, 255, 255, 0.03);
        min-height: 100vh;
        box-sizing: border-box;
    }

    .section-title {
        color: #ffffff;
        font-size: 48px;
        font-weight: 800;
        text-align: center;
        margin-bottom: 60px;
        text-shadow: 0 0 20px rgba(79, 172, 254, 0.4);
    }

    .news-container {
        max-width: 900px;
        margin: 0 auto;
    }

    .news-item {
        background: var(--card-bg);
        border: 1px solid rgba(255, 255, 255, 0.05);
        border-radius: 24px;
        padding: 40px;
        margin-bottom: 40px;
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4),
                    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .news-item:hover {
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5),
                    inset 0 0 20px rgba(142, 45, 226, 0.1);
    }

    .news-title {
        color: #ffffff;
        margin-bottom: 20px;
        font-size: 32px;
        font-weight: 700;
        line-height: 1.3;
    }
    .short-desc {
        color: var(--neon-blue);
        font-size: 18px;
        font-weight: 500;
        margin-bottom: 15px;
        line-height: 1.5;
    }

    .full-desc {
        color: var(--text-muted);
        font-size: 16px;
        line-height: 1.7;
        margin-bottom: 30px;
    }

    .news-slider {
        margin: 30px 0 15px 0;
        border-radius: 16px;
        overflow: hidden;
        background: rgba(0,0,0,0.4);
        width: 100%;
        position: relative;
    }

    .slide {
        outline: none;
        text-align: center;
        background: transparent;
    }

    .slide img, .slide video {
        display: inline-block;
        max-width: 100%;
        max-height: 500px;
        height: auto;
        object-fit: contain;
        border-radius: 12px;
        vertical-align: middle;
    }

    .slick-prev, .slick-next {
        width: 50px;
        height: 50px;
        background: rgba(255, 255, 255, 0.1) !important;
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        border-radius: 50%;
        z-index: 10;
        transition: all 0.3s ease;
        display: flex !important;
        align-items: center;
        justify-content: center;
    }

    .slick-prev { left: 15px; }
    .slick-next { right: 15px; }

    .slick-prev:hover, .slick-next:hover {
        background: var(--neon-purple) !important;
        box-shadow: 0 0 15px var(--neon-purple);
    }

    .slick-prev:before, .slick-next:before {
        font-size: 20px;
        color: #ffffff;
        opacity: 0.8;
        font-family: inherit;
    }

    .slick-dots { bottom: 15px; }
    .slick-dots li button:before {
        color: rgba(255,255,255,0.4);
        font-size: 12px;
    }
    .slick-dots li.slick-active button:before {
        color: var(--neon-blue) !important;
        text-shadow: 0 0 10px var(--neon-blue);
        opacity: 1;
    }

    .btn-glow-purple {
        display: block;
        margin: 50px auto;
        padding: 16px 40px;
        background: linear-gradient(135deg, var(--neon-purple) 0%, #4a00e0 100%);
        color: white;
        border: none;
        border-radius: 30px;
        font-size: 18px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 10px 20px rgba(142, 45, 226, 0.3);
    }

    .btn-glow-purple:hover:not(:disabled) {
        transform: translateY(-3px);
        box-shadow: 0 15px 30px rgba(142, 45, 226, 0.5);
    }

    .btn-glow-purple:disabled {
        background: #555;
        box-shadow: none;
        cursor: not-allowed;
        opacity: 0.7;
    }

    @media (max-width: 768px) {
        .news-section { padding: 40px 15px; }
        .section-title { font-size: 36px; margin-bottom: 40px; }
        .news-item { padding: 25px 20px; border-radius: 20px; }
        .news-title { font-size: 24px; }
        .slick-prev, .slick-next { width: 40px; height: 40px; }
    }
