/* --- БАЗА --- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #050505; }
::-webkit-scrollbar-thumb { background: #333; border-radius: 3px; }

/* --- ВИДЕО КАРТОЧКИ --- */
.video-card {
    background: #121212;
    padding: 6px;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
}

.video-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    /* Зеленоватое свечение при наведении */
    box-shadow: 0 10px 30px rgba(0, 255, 65, 0.1); 
    transform: translateY(-2px);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 0.7rem; /* Скругление внутри рамки */
    background: black;
}
.video-wrapper iframe {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
}

/* --- РЕНДЕРЫ (КРАСИВЫЙ GLOW) --- */
.render-item {
    position: relative;
    cursor: pointer;
    border-radius: 0.75rem;
    /* Убираем overflow hidden чтобы свечение выходило за рамки */
    z-index: 1; 
}

.render-item img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 2;
    background: #111;
}

.render-item:hover img {
    transform: scale(1.03);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Адаптивный свет сзади */
.adaptive-glow {
    position: absolute;
    inset: 0;
    z-index: 1; /* Под картинкой */
    background-size: cover;
    background-position: center;
    filter: blur(20px) saturate(1.5);
    opacity: 0;
    transition: opacity 0.3s ease, filter 0.3s ease;
    border-radius: 0.75rem;
    transform: translateZ(0); /* Hack for performance */
}

.render-item:hover .adaptive-glow {
    opacity: 0.7;
    filter: blur(30px) saturate(2);
}

/* --- КНОПКИ --- */
.contact-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    border: 1px solid;
    transition: all 0.2s ease;
}
.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.info-list-item {
    display: block;
    padding: 10px 14px;
    background: #151515;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 8px;
    color: #ccc;
    font-size: 0.9rem;
    transition: 0.2s;
}
.info-list-item:hover {
    background: #202020;
    color: white;
    padding-left: 18px; /* Небольшой сдвиг при наведении */
    border-color: #00ff41;
}