/* ===== ТОРРЕНТ-БЛОК ===== */
.torrent-styled {
    background: linear-gradient(135deg, #1a1d23 0%, #22272e 50%, #1e2328 100%);
    border: 2px solid #3d4450;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4), 
                0 1px 3px rgba(0,0,0,0.3),
                inset 0 1px 0 rgba(255,255,255,0.03);
    padding: 20px 22px 18px 22px;
    margin: 25px auto 28px;
    max-width: 100%;
    min-width: 300px;
    color: #c6d4df;
    position: relative;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.torrent-styled:hover {
    border-color: #5aff8a;
    box-shadow: 0 6px 30px rgba(90,255,138,0.15),
                0 4px 20px rgba(0,0,0,0.4),
                inset 0 1px 0 rgba(255,255,255,0.05);
}

/* ===== ЗАГОЛОВОК ===== */
.torrent-styled .title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

/* ===== КНОПКА СКАЧИВАНИЯ ===== */
/* ===== КНОПКА СКАЧИВАНИЯ (обновлённая) ===== */
.btn-main-download {
    background: linear-gradient(135deg, #2ebd5e 0%, #25a84f 50%, #1e9443 100%);
    border: none;
    border-radius: 8px;
    color: #ffffff;
    padding: 14px 32px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 15px rgba(46,189,94,0.35),
                0 2px 4px rgba(0,0,0,0.2),
                inset 0 1px 0 rgba(255,255,255,0.15);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    user-select: none;
    transition: all 0.25s ease;
    outline: none;
    min-width: 200px;
}

.btn-main-download:hover {
    background: linear-gradient(135deg, #3dd672 0%, #2ebd5e 50%, #25a84f 100%);
    box-shadow: 0 6px 25px rgba(46,189,94,0.5),
                0 3px 8px rgba(0,0,0,0.25),
                inset 0 1px 0 rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.btn-main-download:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(46,189,94,0.3),
                inset 0 2px 4px rgba(0,0,0,0.1);
}

.torrent-title-text {
    color: inherit;
    font-size: 1em;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 350px;
}

/* ===== МАГНИТ-ССЫЛКА ===== */
.magnet-link {
    width: 46px;
    height: 46px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #2a3040 0%, #363d4d 100%);
    border-radius: 50%;
    border: 2px solid #4a5568;
    box-shadow: 0 3px 12px rgba(0,0,0,0.3),
                inset 0 1px 0 rgba(255,255,255,0.05);
    transition: all 0.25s ease;
    cursor: pointer;
    text-decoration: none;
    outline: none;
    flex-shrink: 0;
}

.magnet-link svg {
    width: 24px;
    height: 24px;
    display: block;
    transition: transform 0.25s ease;
}

.magnet-link:hover {
    border-color: #5aff8a;
    background: linear-gradient(135deg, #3a4a5a 0%, #4a5a6a 100%);
    box-shadow: 0 4px 18px rgba(90,255,138,0.25),
                0 3px 12px rgba(0,0,0,0.3);
    transform: scale(1.08);
}

.magnet-link:hover svg {
    transform: rotate(90deg) scale(1.1);
}

/* ===== ИНФОРМАЦИОННЫЙ БЛОК ===== */
.torrent-styled .cont {
    margin-top: 14px;
    font-size: 13px;
    line-height: 1.7;
    background: rgba(0,0,0,0.25);
    border-radius: 8px;
    padding: 12px 16px;
    border: 1px solid #3d4450;
    color: #8f98a0;
}

.torrent-styled .cont b {
    color: #c6d4df;
    font-weight: 600;
}

.status-verified {
    color: #5aff8a;
    font-weight: 700;
}

/* ===== АДАПТИВ ДЛЯ МОБИЛЬНЫХ ===== */
@media (max-width: 520px) {
    .torrent-styled {
        padding: 16px 14px 14px 14px;
        margin: 18px 10px 22px;
    }
    
    .btn-main-download {
        padding: 12px 20px;
        font-size: 14px;
        min-width: 160px;
    }
    
    .torrent-title-text {
        max-width: 180px;
        font-size: 0.9em;
    }
    
    .magnet-link {
        width: 42px;
        height: 42px;
    }
    
    .torrent-styled .cont {
        font-size: 12px;
        padding: 10px 12px;
    }
}

/* ===== БЕЛАЯ ССЫЛКА В КНОПКЕ ===== */
.torrent-link-white {
    color: #ffffff !important;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3),
                 0 0 8px rgba(0,0,0,0.15);
}

.torrent-link-white:hover {
    color: #ffffff !important;
}