/* ==================== СТРАНИЦА ӘДІС-ТӘСІЛДЕР ==================== */
.methods-page {
    min-height: 100vh;
}

.methods-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%);
}

.methods-container {
    max-width: 1200px;
    margin: 0 auto;
}

.methods-title {
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.methods-description {
    text-align: center;
    color: #666;
    font-size: 1.3rem;
    margin-bottom: 50px;
    font-style: italic;
}

/* ==================== КРЕАТИВНЫЙ СПИСОК ==================== */
.methods-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.method-item {
    background: white;
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    gap: 0;
    position: relative;
    overflow: hidden;
    min-height: 140px;
}

.method-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.method-item:hover {
    transform: translateX(10px) scale(1.02);
    box-shadow: 0 15px 60px rgba(0, 0, 0, 0.15);
}

.method-item:hover::before {
    opacity: 0.05;
}

/* Номер метода */
.method-number {
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding: 30px 40px;
    position: relative;
    z-index: 1;
    min-width: 150px;
    text-align: center;
    opacity: 0.3;
}

.method-item:hover .method-number {
    opacity: 0.6;
    transform: scale(1.1);
    transition: all 0.4s ease;
}

/* Контент */
.method-content {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 30px 20px;
    position: relative;
    z-index: 1;
}

.method-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
}

.method-item:hover .method-icon {
    transform: rotate(360deg) scale(1.1);
}

.method-icon i {
    font-size: 2rem;
    color: white;
}

.method-info {
    flex: 1;
}

.method-title {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 600;
    line-height: 1.4;
}

.method-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: #95a5a6;
}

.method-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Кнопки действий */
.method-actions {
    display: flex;
    flex-direction: row;
    gap: 10px;
    padding: 20px;
    position: relative;
    z-index: 1;
}

.method-btn {
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 140px;
    position: relative;
    overflow: hidden;
}

.method-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.method-btn:hover::before {
    width: 300px;
    height: 300px;
}

.method-btn i,
.method-btn span {
    position: relative;
    z-index: 1;
}

.method-btn-view {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.method-btn-view:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

.method-btn-download {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.method-btn-download:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Анимация появления */
.method-item {
    animation: slideInRight 0.6s ease forwards;
    opacity: 0;
}

.method-item:nth-child(1) { animation-delay: 0.1s; }
.method-item:nth-child(2) { animation-delay: 0.2s; }
.method-item:nth-child(3) { animation-delay: 0.3s; }
.method-item:nth-child(4) { animation-delay: 0.4s; }
.method-item:nth-child(5) { animation-delay: 0.5s; }
.method-item:nth-child(6) { animation-delay: 0.6s; }
.method-item:nth-child(n+7) { animation-delay: 0.7s; }

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ==================== НЕТ ФАЙЛОВ ==================== */
.methods-list .no-files {
    text-align: center;
    padding: 80px 20px;
    color: #999;
    background: white;
    border-radius: 20px;
}

.methods-list .no-files i {
    font-size: 5rem;
    margin-bottom: 20px;
    color: #ddd;
}

.methods-list .no-files p {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.methods-list .no-files-hint {
    font-size: 1rem;
    color: #bbb;
}

.methods-list .no-files code {
    background: #f5f5f5;
    padding: 3px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    color: #667eea;
}

/* ==================== АДАПТИВНОСТЬ ==================== */
@media (max-width: 1024px) {
    .methods-list {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .methods-title {
        font-size: 3rem;
    }
    
    .method-number {
        font-size: 3rem;
        min-width: 120px;
        padding: 20px 30px;
    }
    
    .method-icon {
        width: 60px;
        height: 60px;
    }
    
    .method-icon i {
        font-size: 1.7rem;
    }
}

@media (max-width: 768px) {
    .methods-section {
        padding: 40px 15px;
    }
    
    .methods-title {
        font-size: 2.5rem;
    }
    
    .methods-description {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }
    
    .method-item {
        flex-direction: column;
        text-align: center;
        min-height: auto;
    }
    
    .method-number {
        font-size: 3.5rem;
        min-width: 100%;
        padding: 20px;
        opacity: 0.5;
    }
    
    .method-content {
        flex-direction: column;
        padding: 20px;
        gap: 20px;
    }
    
    .method-info {
        text-align: center;
    }
    
    .method-meta {
        justify-content: center;
    }
    
    .method-actions {
        flex-direction: row;
        width: 100%;
        padding: 0 20px 20px;
    }
    
    .method-btn {
        flex: 1;
    }
}

@media (max-width: 480px) {
    .methods-title {
        font-size: 2rem;
    }
    
    .methods-description {
        font-size: 1rem;
    }
    
    .method-number {
        font-size: 3rem;
    }
    
    .method-icon {
        width: 50px;
        height: 50px;
    }
    
    .method-icon i {
        font-size: 1.5rem;
    }
    
    .method-title {
        font-size: 1.2rem;
    }
    
    .method-actions {
        flex-direction: column;
        gap: 10px;
    }
}

